Skip navigation
Currently Being Moderated

How to export Flash Ad?

Sep 11, 2009 12:03 PM

I'm a beginner and everytime I export my Flash Ad, it shows up as black screen (my background color).  And everytime I play it back in Flash, I have to press return to get to the next frames.  What am I doing wrong??

 
Replies
  • Currently Being Moderated
    Sep 13, 2009 11:38 AM   in reply to audreylorea

    You must have a stop(); action on the first frame. delete that and it should play.

     
    |
    Mark as:
  • Currently Being Moderated
    Mar 30, 2011 9:31 AM   in reply to audreylorea

    Publish as AS 2.0 and add this script

     

    stop();

    var interval:Number = setInterval(

                                                                function():Void {

                                                                        play();

                                                                        clearInterval(interval);

                                                                },

                                                                3000

                                                                );

     

    This will pause your animation and then start it up again.

    The 3000 on the second to last line is 3 seconds - change to however long you want to pause (2000 for 2 seconds etc)

     

    Create new AS timeline for each separate pause. Where you want the animation to pause on the timeline add a Keyframe and apply above script to this frame.

     

    This works great for me.

    Make sure you create new AS timeline for each pause - pauses won't work in your document if the script for multiple pauses is on the same timeline.

    good luck

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points