RE: [Flashcoders] Selection.getFocus()

2006-10-19 Thread Steven Sacks | BLITZ
> 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()

Re: [Flashcoders] Selection.getFocus()

2006-10-19 Thread Muzak
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

Re: [Flashcoders] Selection.getFocus()

2006-10-19 Thread David Buff
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:

Re: [Flashcoders] Selection.getFocus()

2006-10-19 Thread David Buff
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

Re: [Flashcoders] Selection.getFocus()

2006-10-19 Thread Zárate
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

Re: [Flashcoders] Selection.getFocus()

2006-10-19 Thread Michael Stuhr
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