Shockwave control events

ultraman

Well-known member
Joined
Dec 31, 1969
Messages
138
Location
Quebec, Canada
Hi there !

My problem today is that I want to add a splash screen with a .swf movie in it (kinda like EA Sports- Its in the game). I can make it play without any problem whit the Shockwave Player control, but I dont know when the movie is over ? I searched for some events, nothing. Then I tried a timer where I can test some properties. Theres a IsPlaying() method and a Playing property, both always returns false.

There no real help on that control either...

Can you help me whit that one ?
 
Ok, guys it works now. My mistake to set the playing proprety in the Property window in desing time. You have to set it to False and Change it in runtime to True, so as soon as the movie ends, it changes back to False.

It would be good to be able to catch the click event, but it doesnt seems important for Macromedia, because there is no such events. Since the control fill my form and theres no border, I cant catch it with the Form.
 
You could use FSCommand in Macromedia Flash.

You can catch them on form.

So on last frame in splash movie add
FSCommand (command name, args)
FSCommand (dosomething, args (over, finished etc.))

Igor
 
Back
Top