Re: [flexcoders] eval() function removed in AS 3.0 ??

2006-12-11 Thread Ben Marchbanks
Change it to: > var oMyObject:Object = this["myString" + myVar]. > > Tracy > > -Original Message- > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of {reduxdj} > Sent: Saturday, December 09, 2006 4:05 PM > To: flexcoders@yahoog

RE: [flexcoders] eval() function removed in AS 3.0 ??

2006-12-11 Thread Tracy Spratt
j} Sent: Saturday, December 09, 2006 4:05 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] eval() function removed in AS 3.0 ?? from an earlier post about this topic: You need to roll it on your own. You could split the given path into its parts and try to evaluate one piece after the o

Re: [flexcoders] eval() function removed in AS 3.0 ??

2006-12-09 Thread {reduxdj}
from an earlier post about this topic: You need to roll it on your own. You could split the given path into its parts and try to evaluate one piece after the other until you come to the end. public function eval( scope : Object, path : String ) : Object { if( path == null ) return null;

Re: [flexcoders] eval gone in AS3, how to get reference to movieclip via target name?

2006-03-06 Thread Abdul Qabiz
a typed variable for it though…   Matt   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tom Bray Sent: Saturday, March 04, 2006 5:22 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] eval gone in AS3, how to get reference to movieclip via targ

RE: [flexcoders] eval gone in AS3, how to get reference to movieclip via target name?

2006-03-05 Thread Matt Chotin
Bray Sent: Saturday, March 04, 2006 5:22 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] eval gone in AS3, how to get reference to movieclip via target name?   I have a question that's almost related. In AS3, how can I instantiate a class, com.foo.MyClass, using the s

Re: [flexcoders] eval gone in AS3, how to get reference to movieclip via target name?

2006-03-05 Thread Tom Bray
I have a question that's almost related.In AS3, how can I instantiate a class, com.foo.MyClass, using the string "com.foo.MyClass"?  The reason I ask is that I'd like to load an XML file and use it to dynamically create components at runtime.  Something like this:     Thanks,TomOn 3/3/06, Gordo

RE: [flexcoders] eval gone in AS3, how to get reference to movieclip via target name?

2006-03-04 Thread Boon Chew
I am not using Flex, I am mostly curious what I would have to do to my existing Flash actionscript code when AS3 is out for Flash.Gordon Smith <[EMAIL PROTECTED]> wrote:Whoa not only is there no eval(), there's no _target, no _level0, and no _global! Plus, yo

RE: [flexcoders] eval gone in AS3, how to get reference to movieclip via target name?

2006-03-03 Thread Gordon Smith
Whoa not only is there no eval(), there's no _target, no _level0, and no _global! Plus, you should almost always use Sprite instead of MovieClip.   So what are you really trying to do? Are you using Flex or just pure AS3? Where are you getting a string like "sprite1.sprite2.sprite3"

RE: [flexcoders] eval()

2005-11-22 Thread Merrill, Jason
Yeah, [].   And good riddance to eval(). Jason Merrill   |   E-Learning Solutions   |  icfconsulting.com From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Philippe Maegerman Sent: Tuesday, November 22, 2005 4:22 PM To: flexcoders