Behold... FLASH OBJECTS!

root = sprite(x).getVariable("_root",false)
root.getStringFromDMX("myString")

False allows getVariable() to return a reference to the root timeline.
Then you can call functions on it.

HTH,
~Mathew



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kristian
Sent: Wednesday, August 13, 2003 5:45 PM
To: [EMAIL PROTECTED]
Subject: <lingo-l> Trigger FlashMX function from DMX.


Hi all,

just wondering if anyone has worked with triggering/calling flash
functions,
using lingo, from DMX? The flash function I'm trying to reach is inside
a
sprite that is a Flash object. What I want to do is (in pseudo)
something
like:

sprite(x).callFlashFunction("getStringFromDMX()", "myString")

It has to be functions and not just setting and getting variables.

Great list and thanks in advance.

/Kristian



[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