Hi Tom, What is the relative execution speed of these functions ie about the same as in flash or about the same as director?
Thanks Dave ----- Original Message ----- From: "Thomas Higgins" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 25, 2002 11:59 PM Subject: RE: <lingo-l> ANN: Director MX > All, > > > Oh, that's good - Flash's array functions will be nice to > > have available. > > And the Math object too... :) > > gMath = newObject("Math") > > -- use the math object's floor method > gMath.floor(3.6) > -- 3.0000 > > -- use the math object's arc cosine method > put gMath.aCos(-1) > -- 3.1416 > > And so on... Basically any Flash object that supports the 'new' creator method, or the Math, Camera and Microphone objects (those three are implicitly global and present, no need to create them) can be created and referenced via Lingo. For other objects that are created inside a SWF itself you can grab references using the modified getVariable() command: > > gFoo = spriteRef.getVariable("gVarName",false) > > The false tells it to get a proper reference instead of a string representation, thus you can make Lingo references to objects spawned within your SWF. Sweeeeet. > > Cheers, > Tom Higgins > Product Specialist - Director Team > Macromedia > > . > [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!] > > ______________________________________________________________________ __ > This email has been scanned for all viruses by the MessageLabs SkyScan > service. For more information on a proactive anti-virus service working > around the clock, around the globe, visit http://www.messagelabs.com > ______________________________________________________________________ __ ________________________________________________________________________ This email has been scanned for all viruses by the MessageLabs SkyScan service. For more information on a proactive anti-virus service working around the clock, around the globe, visit http://www.messagelabs.com ________________________________________________________________________ [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!]