Hello all...
I'm seeking a bit of simple advice on passing a message from a flash asset
to a behavior placed on its sprite on the Director stage. Right now, my
handler isn't even getting called. Any thoughts are appreciated. Have a
nice holiday.
- Michael Mendelsohn
================================================================
In flash (on a button in a movie clip nested in the main movie)
================================================================
on (release) {
thatMessage = "introduction";
getURL("event:nextMarker, " & thatMessage);
}
===================================================================
In Director (in a behavior script on the sprite that holds the swf)
===================================================================
property pSp
on beginSprite(me)
pSp = sprite(me.spriteNum)
end
on nextMarker(me, thisMessage)
put thisMessage
end
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email
[EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for
learning and helping with programming Lingo. Thanks!]