Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

using external media (external mov and swfs) in MX

Status
Not open for further replies.

AudreyLucy

Technical User
Jul 19, 2002
42
US
Hi,
I'm a newbie to Director...In fact, this is my very first project in Director. I started this project in Flash MX, which I'm fairly proficient in...This project is a CD that uses video extensively.
I knew that Flash wouldn't be able to handle the video, but my employer wanted to try it anyway...After I had created the entire interface and tested one movie clip it was aparent, at that time that the videos would be too big for Flash to load.
My issue at this point, is calling these videos when the actionScript buttons, within my Flash interface, are clicked... I want Flash to tell Director to load an external Quicktime (.mov) file WITHIN the main Director file. I know I have to have this on my button in Flash:
on(release){
get URL("event:myMovie");
}
Where should the Lingo that pulls up myMovie go, in Director?
Should it go on the first KeyFrame in Director? I have a tutorial that says to import the video and put it in a frame label named "movie 1". This is the Lingo the tutorial says to use:
on myMovie
go to frame "movie1"
end
If I'm calling external media files, should the Lingo say something else? What should that look like? Where should that Lingo be in the Score? The tutorial does not go into that detail.
And if I want to load a differnt video, how do I tell Director to unload the previous video, so it doesn't hog the memory?
I would really appreciate your help or suggestions on this..
 
Your
Code:
myMovie
handler should be in the Movie Script, so it can be called from anywhere.

You won't need any special lingo for straight video playback.

Director handles unloading videos automatically, but if you want to force it, use
Code:
unload
or
Code:
unLoadMember
command.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top