• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 483
  • Last Modified:

Flash play movie question

I'm creating a flash animation that has text to introduce a movie.  When the text is finished, I want to insert an action script keyframe in the timeline that will play a flash video on the same stage as the previous text animation.

I thought there was a play movie action in ActionScript 2.0 (or 3.0).

Can you help me out on this?
0
Revolution9
Asked:
Revolution9
  • 5
  • 4
1 Solution
 
deepanjandasCommented:
Are you referring to a FLV movie by mention flash movie?
Then you will have to use the FLVPlayback component and just pass the contentPath for the component for the flv to play.

Kindly confirm first and also share the code snippet that you have already created, that will give me a point to provide the necessary code to be placed.

Warm Regards
Deepanjan Das
0
 
Revolution9Author Commented:
I haven't generated any code yet.  In the Action Script 2.0 drop down menu, what do I put in the timeline to 'play movie'.?  Yes, the movie I want to play on the stage is a .flv file.
0
 
deepanjandasCommented:
Insert a keyframe after your text animation ends place this code:

stop();

Now drag a FLVPlayback component from the component panel and place it on stage .
Select the component and open its Properties panel, scroll to source property and click on the field to enter its value.
A select file dialog will open up, browse your flv file and click Ok.

And you are done. Compile and see the video playing after your text animation ends.

Warm Regards
Deepanjan Das
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
Revolution9Author Commented:
That's the answer I was looking for!  Sounds good, I will do it today and then if successful I will close this out.  Thanks so much for getting back to me quickly.
0
 
Revolution9Author Commented:
Deepanjandas - I've done what you suggested - when it comes time for the video to play, the text keeps repeating itself.  I am going to try and attach the .flv file and the .swf file.  Does the video need to be in the exact same directory as the .fla file? introVideo.fla
0
 
deepanjandasCommented:
I have created the keyframe with the video component. Just update the source as instructed on the frame within.
introVideo.fla

Warm Regards
Deepanjan Das
0
 
Revolution9Author Commented:
I really appreciate your help in this.  You've gone the extra mile.  Thanks so much.
0
 
Revolution9Author Commented:
What did you do to stop the text from repeating?
0
 
deepanjandasCommented:
Just placed a stop on the next frame where the text stopped, kindly check the timeline :)

Warm Regards
Deepanjan Das
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now