if you want to return diferent types in one function you dont specify any return data type

function foo () {...}

if you wanna use an auxiliary 'object' to use as a reference to another, try to use the same data type

...
var auxVideo : Video = myVideo;
...

--
Pedro Taranto

_______________________________________________
Flashcoders@chattyfig.figleaf.com
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

Reply via email to