var vegetables:Array = new Array("spinach",
"green pepper",
"cilantro",
"onion",
"avocado");
var spliced:Array = vegetables.splice(2, 2);
trace(vegetables); // spinach,green pepper,avocado
trace(spliced); // cilantro,onion
vegetables.splice(1, 0, "cilantro", "onion");
trace(vegetables); // spinach,cilantro,onion,green pepper,avocado
http://livedocs.adobe.com/flex/3/langref/Array.html#splice%28%29
星期三, 1月 06, 2010
Flex Array Insert Function ( spliced )
星期五, 11月 27, 2009
Amazon S3 crossdomain.xml
Step1.
Use S3 Firefox Organizer to login your s3 account
Step2.
Create a [bucket](folder under your s3 root)
Step3.
Upload crossdomain.xml to this [bucket]
Step4.
Right click the crossdomain.xml and select "Edit ACL"
Step5.
Make "Everyone Read" checked
Step6.
Now you can access crossmain.xml
http://[bucketname].s3.amazonaws.com/crossdomain.xml
星期四, 9月 24, 2009
訂閱:
文章 (Atom)