PDA

View Full Version : give a command from Flash to Director


intogames20
08-21-2002, 07:19 PM
I have a shockwave movie that I want to import into director.
My pressing a button in the shockwave movie i want either to:

1. set the location of a sprite in director
2. set the visible of a sprite to 1 in director
3. set the member of a sprite in director

is there a way of doing this e.g. tell target?

Thanks for your help.

Rupert
08-22-2002, 12:23 AM
You said Shockwave and Flash but I'll assume you mean Flash cause you're here right?

We have been getting director 8.5 to do things (in this case set a custom cursor) via the following kind of code:

on (rollOver) {
// The getURL function will pass the string "lingo: cursorOn" to Director.
getURL ("lingo: cursorOn");
}

What you then need to do is get a Director handler to constantly watch for that sting from Flash and do something if it finds it. So basically it is almost all done in Director.

Hope that gets you started. Cheers R