Lieven Cardoen schrieb:
FlashCoders,
Selection.getFocus() gives back a String. Is there a way to get the
Object?
eval()
micha
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
Exactly. I was amazed too first time I saw it.
As micha said, you can do
getFocusObject():MovieClip{
eval(Selection.getFocus());
}
Any ideas why is working that way?
Cheers
On 10/19/06, Michael Stuhr [EMAIL PROTECTED] wrote:
Lieven Cardoen schrieb:
FlashCoders,
Selection.getFocus()
Hi
I did something like this before... You can do a recursive method parsing
the path like this:
function extractObject(aPath:String):Object {
return extractObjectRecurs(this, aPath.split(.), 0);
} // end extractRunTime
function
: [Flashcoders] Selection.getFocus()
Lieven Cardoen schrieb:
FlashCoders,
Selection.getFocus() gives back a String. Is there a way to get the
Object?
eval()
micha
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search
, October 19, 2006 7:10 PM
Subject: Re: [Flashcoders] Selection.getFocus()
Hi again...
eval works but it's a old fonction... I'm not sure it works good in AS 2.0
David Buff
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options
eval() is not deprecated.
You're right. It's more than deprecated. It's been removed altogether
in the next version of Flash.
http://livedocs.macromedia.com/flex/2/langref/migration.html
Global Functions
eval() Removed
No screen name said on Jul 22, 2006 at 7:59 AM :
Why was eval()
6 matches
Mail list logo