Just a shot in the dark (I could be totally wrong on syntax),
but try this code in your Flash piece:

on (release) {
thatMessage = "introduction";
getURL("LINGO:#nextMarker, " & thatMessage);
}

Charlie Fiskeaux II
Media Designer
The Creative Group
www.cre8tivegroup.com
859/858-9054x29


----- Original Message -----
From: "Mendelsohn, Michael" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 03, 2002 3:54 PM
Subject: <lingo-l> Passing string from Flash to Director


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!]

Reply via email to