|
Prev: Importing Swf
Next: taskbar problems
From: Halian on 24 Jun 2005 11:41 i have a flash movie in director: in the main timeline of that movie it has only 2 frames frame 1 has a preloader, frame 2 has a movie clip that contains 80 frames i only have 9 frame in director to play with. so i need it to somehow play the whole flash movie in 1-9 frames. playing it in director it only recognizes the two frames and never plays the whole clip. how can i get director to play the whole movie. this movie is intended to be an intro to the main director file. both versions are MX 2004 thanks -Carl
From: Mike Blaustein on 24 Jun 2005 12:33 Put this script into the frame script on the 2nd frame of the flash sprite: on exitFrame me go to the frame end That way it will play the whole thing. You will need to provide some way to get out of the Flash screen, either a button to progress or a script to test if the Flash is done then make it jump to the next frame where the Director portion of the movie begins...
From: Halian on 27 Jun 2005 08:54 i've been through that...the problem is ... that director thinks the flash movie is done playing because the main timeline only has 2 frames. so what happens is that it plays the two frames then continues on with the rest of the director stuff. i did get it to work...though not how i wanted...but it works. i ended up stretching the main timelines frame to the length of the total frames of the movie. what really stinks...is that director only picks up frames that are in the main timeline. for instance: even though i stretched the main timeline to the length of the embedded MC (80 frames), director would still stop in the middle because i had movieclips inside that movie clip also. so i ended up having to include every movie clips total frames and then make the main timelines framecount...that amount. this is not good integration in my opinion. i would think that both apps being macromedia products...there shouldn't be any of this hassle.
From: Mike Blaustein on 27 Jun 2005 10:19 I've done this plenty of times by putting the flash sprite into a single frame in Director, with a "go to the frame" script on that frame in the Director Score. It will play the entire Flash movie from start to finish. There is no need to make the Flash sprite stretch out to play all the frames therein.
From: Halian on 27 Jun 2005 10:47
you misunderstood. yes i'm aware that putting a flash sprite into a single frame in Director with a "go to the frame" script will play the flash movie. where you misunderstood. Director will only recognize frames on the main TimeLine of the flash file. in order for Director to recognize a full flash movie. The movie either has to be all done on the main timeline or the MC on the main timeline has to have the same total amount of frames in it as the whole animation. example: my flash animation has one frame on the main timeline. it's a movie clip. that movie clip contains 80 frames. plus 2 other movie clips of 30 frames each. so there is a total of 140 frames. leaving one frame in the main timeline, director will only see that one frame and think the movie is done playing. so i have to stretch that frame (in Flash) to contain the full 140 frames. my original question was....how do i get director to recognize the full flash movie....and not just the amount of frames in the main timeline. what if i did this entire flash movie in action script on one frame....director would never play it being that there's only one frame....so how do we get director...to see a whole movie and not just count frames? |