This content has been marked as final. Show 4 replies
You can create a filmLoop using Director that can be controlled to a limited extent. If you search the Lingo forum for filmloop control, you'll find a lot of information. Likewise, you can use a Flash .swf. If your .swf has more than one frame, you can test the Flash sprite's _currentframe and _totalframes properties to tell when the .swf has finished. Alternately, you could set the value of a variable in the Flash .swf when it has finished and then test for that variable in the Director movie.
OK, variables created in Flash, after I render my flash movie, are recognized in Director.....thats really cool. I will try that.
you can also do it with LDM.
you have access to this LDM e.g.
sprite(where this LDM is in the score).movie. ........
or you can share globals between main movie and LDM
eg a Ready_flag
at beginsprite of the LDM set flag to "false" and then
loop until flag get "true"
inside the LDM set the flag to "true" if LDM has reached the
Here's on example of how you can trigger an action when a filmloop reaches the end:
If you want the action to trigger before the filmloop reaches the end, simply move the sprite with the action behavior to an earlier frame and recreate the filmloop.