Architecturally speaking, that's a bad idea. There's probably a strongly
typed
solution to what you're doing. Can you provide detail about what you need
to accomplish so we can help you figure out a better solution?
i expect
public function x(y:*):void
{
}
will do the job.
the public method is for an object that uses the sharedObject to implement
'flash cookies'. the method is to set an arbitrary property of the
sharedObject. so x would take two parameters. a property s and its value y.
and it sets s to y.
ja
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders