i want to write a method x which takes an argument y. i cannot anticipate what type the argument is going to be until run-time. it might be a number or a string or an array or who knows what?

but i am not sure how to do this in actionscript because it is strongly typed. normally what is done is

public function x(y:String):void
{

}

but this won't do because y is limited to being of type String, whereas in the method i want to write, the type of y is not known until run-time.

how do i do this in actionscript?

ja?
http://vispo.com
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to