|
Prev: Text magnify
Next: Director not Playing full flash swf.
From: ninja.turtle on 15 Jun 2005 11:35 Newb here... Was just wondering how I define my .swf file and make it play. I did a search found some helpful stuff played around and didnt have a clue, so if someone could explain it please.. Thanks in advance Reagards Chris
From: Rob Dillon *TMM* on 15 Jun 2005 15:32 Open a new Director movie. Select import from the file menu. Find your Flash movie and import it. Open the cast window. You should see your Flash movie in the cast. Select it. Open the Property Inspector window. If the "Flash" tab is not selected, select it. You will see a list of properties that you can set for your Flash movie. Image, audio and loop will be checked by default. Use the question mark button on the property inspector to find out about each of these properties. Go back to the cast window. Drag the Flash movie from the cast to the stage. This will create an instance of the Flash movie as a sprite. In the score window, go to the frame script space at the top of the window, just above the row of frame numbers. Select a frame above your Flash movie. Double click on this space to open a frame script window. You should see "on exitFrame me", a blank line and "end" in the window. In the blank line type "go to the frame". This will hold the playback head in that frame. Play the movie. -- Rob _______ Rob Dillon Team Macromedia http://www.ddg-designs.com 412-243-9119 http://www.macromedia.com/software/trial/
From: ninja.turtle on 16 Jun 2005 03:58 I already have it imported but what i am doing is a brief run down: Interactive for the predator movie I made a bio section for the charactes and when you click on the character i wanted it to play the swf and when its finished playing go back to the bio main screen to select another character and so on..... Now it just sayes undefiend etc (i have it in the same line as the button" Any more sugggestions?? Regards Chris
From: jasonfrncs@tiscali.co.uk on 16 Jun 2005 10:08 Just a newb myself but... You need to give your swf a sprite name, you can do this in the property inspector. Then you can use that name in your lingo script to refer to the sprite and make it play on mouse up or whatever. Something like: -- script placed on character-- on mouseUp me sprite("swf sprite name").play() end mouseUp Then I suppose you'd have to make sure the swf has a some kind of buffer frame (a blank frame with a stop) as its first frame so it doesn't show when its on the timeline until its playing, and when its finished playing it can return back to that first buffer frame and stop there again, making it invisible again. Hope that helps.
|
Pages: 1 Prev: Text magnify Next: Director not Playing full flash swf. |