As it's AS2, you might think about making it so doMyArrayFunction will
not expect an array, but will take anything:
class ArrayTest {
public function ArrayTest(a) {
trace(a[0]);
}
}
new ArrayTest([1,2,3,4]);
works fine.
Jim Kremens
_______________________________________________
[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