Hi Michael. In ActionScript & is bitwise AND. Try with + instead.
Regards,
Rui Dantas
"Mendelsohn, Michael"
<michael.mendelsohn@fmglo To:
"'[EMAIL PROTECTED]'"
bal.com> <[EMAIL PROTECTED]>
Sent by: cc:
[EMAIL PROTECTED] Subject: <lingo-l> Passing
string from Flash to Director
tworks.net
03-07-2002 20:54
Please respond to lingo-l
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!]
[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!]