What relly seems to bug the s-t out of Director is leaving out the "," when
passing variables...

So the getURL "must" look like this:

//one var
getURL("event: someLingoHandler,\"" + var_someFlashVariable + "\"");

//two vars
getURL("event: someLingoHandler,\"" + var_someFlashVariable1 + "\",\"" +
var_someFlashVariable2 + "\"");

Using it right now in DMX/FMX.

//Kristian

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Charlie Fiskeaux II
> Sent: den 2 september 2003 19:09
> To: [EMAIL PROTECTED]
> Subject: Re: <lingo-l> Flash text box link not triggering 
> Director behavior
> 
> 
> Try either of these in the Flash inside Director:
> getURL("event: someLingoHandler\(" + var_someFlashVariable + "\)");
> 
> or
> getURL("lingo: someLingoHandler\(" + var_someFlashVariable + "\)");
> 
> Then in Director:
> on someLingoHandler me, FlashVar
>   doSomethingWithFlashVar(FlashVar)
> end
> 
> Charlie Fiskeaux II
> Media Designer
> The Creative Group
> www.cre8tivegroup.com
> 859/858-9054x29
> cell: 859/608-9194
> 
> ----- Original Message ----- 
> From: "Kristian" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, September 02, 2003 12:46 PM
> Subject: RE: <lingo-l> Flash text box link not triggering 
> Director behavior
> 
> 
> > look below for code.
> >
> > I am using a frame script in director for retrieving the 
> variable(s) 
> > and then passing them on, don't know why I can not reach a movie 
> > script
> handler
> > instantly. Anyone?
> >
> > Well the code works.
> >
> > //Kristain
> >
> > >
> > > Hi list...
> > >
> > > I have a Flash asset with a text box that has a link in 
> it. In the 
> > > Flash property inspector there's a link field, and I figured you 
> > > could type actionscript there to be executed, just like the link 
> > > field in the text inspector in Director where you can 
> type a lingo 
> > > handler.  Maybe I'm doing something wrong, but none of the below 
> > > work when filled into that field in the Flash property 
> inspector.  I 
> > > want the link in the flash text box in that Flash asset 
> to trigger a
> > > Director handler.  It's easy enough with getURL in Flash on a
> > > button, but apparently, this is not intuitively the case for
> > > text boxes!?!?
> > >
> > > Any tips are appreciated, as always.
> > > - Michael M.
> >
> >
> > > ______________________________________________________________
> > > _________
> > >
> > > event: linkFromFlash(www.eqsafetysys.com) -- error comma expected
> > > event: linkFromFlash(me, www.eqsafetysys.com)
> > > event: linkFromFlash(me, \"www.eqsafetysys.com\")
> > > event: linkFromFlash("www.eqsafetysys.com")
> > > event: linkFromFlash("www.eqsafetysys.com");
> > > getURL(linkFromFlash(www.eqsafetysys.com)) -- does 
> nothing, with or 
> > > without the semicolon
> >
> > //flash
> > getURL("event: someLingoHandler\"" + var_someFlashVariable + "\"");
> >
> > //director frame script
> > on getTheFlashVar me, getFlashVar
> > doSomethingWithFlashVar(getFlashVar)
> > 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!]
> 
> 
> [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