When I import a flash movie, how can I synchronize it. I mean, that excaly after it is finished something else will start. I heard it is something with Cue points. What are they? and how can I create them?
ok, I don't remember the EXACT code to do, but in director you will need a handler for external events
on evalscript vExternalRequest
....place logic code here
end
then in your flash you need to pass out a command, I think its via the FSCommand but I could be wrong (I'm not much of a flash user), could be via a getURL but try FSCommand first.
Now the way I do this is my evalscript code is this (code may not be 100% correct)
on evalscript vExternalRequest
do vExternalResuest
end
then the FSCommand from flash may be something like
go to frame 10
sprite(20).visible = false
or any other single line of code. I also use calls to other handlers for example
MoveToFrame("framename"
and have a handler called MoveToFrame.
I think, if I understand what you want to do, i.e. pause the Director movie until the Flash file finishes, use this:
on exitFrame
if sprite(1).frame < sprite(1).member.frameCount then
go to the frame
end if
end on
Where sprite(1) is your imported flash .swf.
If I remember right, cue points are used only with Quicktime digital video, which you can only insert into a video file on a Mac. Is this right, anybody?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.