It looks like there’s two ways to instantiate Vectors with values?

1. var foo:Vector.<Foo> = <Foo>[foo,baz,bar];
2. var foo:Vector.<Foo> = Vector.<Foo>([foo,baz,bar]);

1. https://stackoverflow.com/a/18050638
2. 
https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Vector.html

Do both of these work in Royale?

Harbs

Reply via email to