> 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()
ctober 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 c
Hi again...
eval works but it's a old fonction... I'm not sure it works good in AS 2.0
David Buff
- Original Message -
From: "Michael Stuhr" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list"
Sent: Thursday, October 19, 2006 5:08 PM
Subject:
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
extractObjectRecurs(aRankObject:Object,aPathArray:Array,aI
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.getFoc
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:
http://chattyfig.figle
6 matches
Mail list logo