Hi,
talking about square brackets, dunno how relevant this would be in the post
but you could also use it to make function calls:
function foo(param1:String,param2:String):void{
trace(param1+" "+param2);
}
this function can be called by using:
foo("hello","world!");
or
*this["foo"]("hello","world");
*
P
On 10/11/06, Steven Sacks | BLITZ <[EMAIL PROTECTED]> wrote:
Sorry for the confusion. I wasn't referring to the typecasting just the
instantiation. You should still use
myArray:Array = [];
and
myObject:Object = {};
BLITZ | Steven Sacks - 310-551-0200 x209
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com