Solved

Flash play movie question

Posted on 2011-02-13
9
452 Views
Last Modified: 2012-08-14
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
Comment
Question by:Revolution9
  • 5
  • 4
9 Comments
 
LVL 17

Expert Comment

by:deepanjandas
ID: 34885210
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
 

Author Comment

by:Revolution9
ID: 34888037
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
 
LVL 17

Expert Comment

by:deepanjandas
ID: 34888138
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
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 

Author Comment

by:Revolution9
ID: 34888151
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
 

Author Comment

by:Revolution9
ID: 34890053
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
 
LVL 17

Accepted Solution

by:
deepanjandas earned 500 total points
ID: 34893644
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
 

Author Closing Comment

by:Revolution9
ID: 34907133
I really appreciate your help in this.  You've gone the extra mile.  Thanks so much.
0
 

Author Comment

by:Revolution9
ID: 34907135
What did you do to stop the text from repeating?
0
 
LVL 17

Expert Comment

by:deepanjandas
ID: 34912929
Just placed a stop on the next frame where the text stopped, kindly check the timeline :)

Warm Regards
Deepanjan Das
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Flash builder 4.13 list scroller does not work 1 46
Google Chrome pepflashplayer.dll 8 177
Script to Delete registry entry based on Product name 6 169
Flash ActionScript 6 58
This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question