Sunday, April 4, 2010

How to do something before the...

聽聽聽 I want to use Lingo to do something before everything is seen (before the first frame, and before the exe interface appears). But I don't know how to realize.

聽聽聽 For example, I want to run the code:

聽聽聽聽聽聽聽 alert(''test begin!'')

before everything is seen. I have tried to write the statement in startMovie(), prepareMovie(), prepareFrame(), and beginSprite(), and all failed. In all case, the alert message is popped after the interface appears.

聽聽聽 How to do? Thanks!

How to do something before the...

It depends on exactly what you want to do. In some cases you might have to set your movie to open with a stage size of 1 x 1, or completely off screen, before you do what you want and resize/move it. In other situations the lingo.ini file can be used to execute the #startup handler. However, you should only rely on this handler to set global variables - some objects, like cast members, sprites, etc. aren't available. Refer to the existing lingo.ini file in your Director\Configuration\聽 folder

video editing machine

is it possible or is there a video editing machine (pc) that dont need or without an Operating System on it?

if so, how?

thanks

video editing machine

And just what video editing software do you intend to run on a computer with no operating system?

video editing machine

i know its a novice query that's why i ask if its possible

anyway, thanks

About the same question as:

Is it possible or is there a car to drive?without an engine in it?

If you want a video editing appliance (not a PC, no general purpose OS) take a look at this site for the Casablanca video editing appliance.?This model starts at $3500.

very, very helpful

thank you very much

I need to start black, fade to white...

That sounds really simple.?I have the first clip.?I have found the Dip to Black and Dip to White transforms, but I'm almost certain I'm missing some other key ingredients.?Like maybe a black frame that I could streatch to a suitable length on the timeline, then maybe a white frame that I could also streatch to a suitable line on the time line?

Suggestions?

I need to start black, fade to white...

What you are looking for is Black Video and Color Matte, set to white. These will be found in the menu from the New icon.

Good luck,

Hunt

I need to start black, fade to white...

Another way to do the White Video is to do a Title, where you use a white rectangle, that takes up the entire frame. Now, I would go with the Color Matte, but wanted to mention this.

Good luck,

Hunt

Not so long ago at another forum, I got involved in a thread on fade to white etc.

Would any of its content be of interest? (If so, see later part of thread.)

http://www.elementsvillage.com/forums/showthread.php?t=46148

ATR

cs4 internet explorer error. help please

I try to install cs4 premium. it scans my computer then displays ''please exit : internet explorer to continue''

Internet explorer is not running. i pulled up task manager to check, i also checked if any ''behind the scene'' programs of internet were running under the processes tab. nothing of internet explorer is running. I even hard rebooted the computer and just tried restarting it. Nothing seems to work out. I even took it to Office Depot, they couldn't figure it out nor could i searching forum after forum. i can't get a hold of adobe tech support so anyones help? thank you

cs4 internet explorer error. help please

Hi,

Even though it is not running

you still need to end the proccess

you will find it in the task manager

or, is it explorer you need to stop?

Phillip

cs4 internet explorer error. help please

Ya, i need to figure out how to stop internet explorer even though its not running. i cant end the process of internet explorer if its not running in the first place. not sure what to do...

Can you use a Movie Clip in the...

Can you use a Movie Clip in the UILoader?

Thanks, Oarswoman

Can you use a Movie Clip in the...

you can load a swf using the uiloader.?is that what you're trying to do?

Can you use a Movie Clip in the...

No a movieclip. But if I save it as a swf. will tthat work?

Thanks

Sent from my iPod

a movieclip doesn't need to be loaded.?it's already in your swf.

if you have a movieclip in your library that you want to add using actionscript, assign it a class name and use the ''new'' constructor. for example, if your movieclip's class name is MC1, use:

var mc1:MC1=new MC1();

to create mc1, an instance of MC1.?to add your movieclip to the display list use:

addChild(mc1);?// from a display list object (like the main timeline).

Isn't a Movie clip already cosidered a class?

Could you please state the code that would let me load a movieclip to the UILoader?

Thanks, Oarswoman

movieclips can't be loaded and therefore the uiloader class can't load a movieclip.

do you have a movieclip in your library that you're trying to add to the stage using actionscript?

Thank you for the answer to the original question

Oarswoman

you're welcome.

if you can, please mark this thread as answered.

  • liquid eye liner
  • Problem opening PDF after creating it...

    Hello,

    I am creating a pdf document and outputting it as a string using:

    $mypdf = $pdf-%26gt;Output('', 'S');

    I am then putting it into a database as a BLOB and redirecting to page y using:

    $insertSQL = sprintf(''INSERT INTO PDF_file (pdf_name) VALUES (%s)'',
    ?GetSQLValueString($mypdf, ''text''));

    mysql_select_db($database_files, $files);
    $Result1 = mysql_query($insertSQL, $files) or die(mysql_error());

    I have a link on page y called:

    %26lt;a href=''home.php?pdf_id=%26lt;?php echo $row_getPDF['pdf_id'];?%26gt;''%26gt;Click here to view your PDF.%26lt;/a%26gt;

    When whoever clicks the link, the following is processed:

    if (isset($_GET['pdf_id'])) {
    header(''Content-type: application/pdf'');
    header('Content-disposition: attachment; filename=''myresume.pdf''');
    echo $row_getPDF['pdf_name'];
    }

    A box opens and I am giving the option to open or save the file. The pdf downloads but when I try to view it there is a couple lines present on the second page and that's it. The pdf is either not being stored properly or not downloaded properly. It works just fine when I am not converting it into a string. Any help is appreciated.

    Thanks,
    Kelsey

    Problem opening PDF after creating it... It works just fine when I am not converting it into a string. Problem opening PDF after creating it...

    The reason I am storing it in the database is because the pdf file being created needs to be sent to multiple users if needed and viewed by multiple users. Or is there a way to do this without storing it locally on a computer??I have done more looking into the problem though and it seems like there is an issue in storing the string in the database and retrieving it. So what I have done is the following:

    //create pdf, convert to string, assign it to a variable, and get pdf name from form

    $pdf_content = $pdf-%26gt;Output('$pdf', 'S');

    $fileName = $_POST['pdf_name'];

    $fileName .= '.pdf';

    //insert into database

    $insertSQL = sprintf(''INSERT INTO my_table (pdf_name, pdf_content) VALUES (%s, %s)'',
    GetSQLValueString($fileName, ''text''),
    GetSQLValueString($pdf_content, ''text''));
    ?mysql_select_db($database_mydatabase, $mydatabase);
    ?$Result1 = mysql_query($insertSQL, $mydatabase) or die(mysql_error());

    ?$insertGoTo = ''/view/pdf.php'';
    ?if (isset($_SERVER['QUERY_STRING'])) {
    ?$insertGoTo .= (strpos($insertGoTo, '?')) ? ''%26amp;'' : ''?'';
    ?$insertGoTo .= $_SERVER['QUERY_STRING'];
    ?}
    ?header(sprintf(''Location: %s'', $insertGoTo));

    Then on the page ''pdf.php'' I have a link to click on the pdf:
    %26lt;a href=''home.php?pdf_id=%26lt;?php echo $row_getPDF['pdf_id'];?%26gt;''%26gt;%26lt;?php echo $row_getPDF['pdf_name'];?%26gt;%26lt;/a%26gt;

    After creating the url I have:

    if (isset($_GET['pdf_id'])) {

    ?$fileType = 'application/pdf';
    ?header(''Content-type: ''.$fileType.''; charset=UTF-8'');
    ?header(''Content-disposition: attachment; filename=''.$row_getPDF['pdf_name']);
    ?echo $row_getPDF['pdf_content'];

    }

    When I open the pdf, the pdf is corrupted and only a couple lines of the original pdf work. I have tried using?''$_SESSION['pdf_content'] = $pdf-%26gt;Output('$pdf', 'S');'' and replacing ''echo $row_getPDF['pdf_content'];'' with?''echo $_SESSION['pdf_content'];'' and it works just fine. So what am I doing wrong when storing it in the database? The ''pdf_content'' column is set to MEDIUMBLOB.

    I just got it working. I was missing the function addslashes() on the pdf string. The tutorial I was following wasn't using it. Thanks anyways for the help.

    Export plug-in to Gallery2 not working

    I just switched from Aperture to Lightroom 2.4 at work and am trying to use the export plug-in to upload images into my school's Gallery2 site. I can log on and retrieve the list of all of my Gallery2 image galleries from within the plug-in, but when I attempt to upload images, I receive this message:

    postMultipart: chunk must contain either value or filePath

    I had been uploading images to Gallery2 through an Aperture export plug-in, and so the issue must rest with Lightroom. To add to the mystery, I am using the identical plug-in with Lightroom 2.4 at home to upload images to my own Gallery2 website, and am having no problems.

    Needless to say, any suggestions will be much appreciated.

    Export plug-in to Gallery2 not working

    I just downloaded the most recent LR to Gallery export plug-in (creation date 1/29/09) and now receive this message when attempting to log on:

    [string ''GalleryRemoteProtocol'']:221: attempt to concatenate field 'authToken' (a nil value)

    My workplace has recently implemented some heavy security measures on its website, where the image gallery resides. I wonder is some of those are responsible.

    As before, suggestions welcome ...