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!

Play Flash animation in DIrector?

Status
Not open for further replies.

AndreiR

Programmer
Aug 29, 2002
4
US
Hello everybody!
Does anybody know how to make play a Flash animation inside the Director's movie without dragging the whole length of the animation on the stage?
Thank you for your help.
 
Use this in a frame behavoir:

on exitFrame me
if sprite(1).frame<sprite(1).member.FrameCount then play the frame
end if
end

In this example, when sprite 1 is your flash movie, it will keep playing the frame unitl the flash movie's animation has concluded.

 
Thanks archerofloaf!
this helped a lot.

AndreiR
 
I have tried this but the playhead just keeps playing... am I doing something wrong???
 
Well, are you using the Stop actionscript in your Flash movie. That might have something to do with the problem. And make sure the flash movie is in channel 1.
 
Each flash sprite has a playing property.
__________________
on exitFrame

if sprite(yourFlashSprite).playing then
go the frame
else
go to &quot;JumpSomewhere&quot;
end if

end
__________________

Put this on the desired frame as a frame script.

Mayuresh
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top