yes.in swf it is length 3,but in flexjs,it is length 1
------------------ 原始邮件 ------------------ 发件人: "Deepak MS [via Apache Flex Development]"<ml-node+s2333347n49786...@n4.nabble.com>; 发送时间: 2015年11月3日(星期二) 下午4:24 收件人: "lizhi"<s...@qq.com>; 主题: Re: vector error I tried that and it seems to work fine without any error: http://pasteboard.co/1R8mV6A1.png Version I am using is Flex 4.14.1 FP 17.0 AIR 18.0 On Tue, Nov 3, 2015 at 9:11 AM, lizhi <[hidden email]> wrote: > var arr:Vector.<Number>=Vector.<Number>([1,1,1]); > just try this line > > > > > ------------------ Original ------------------ > From: "Alex Harui [via Apache Flex Development]"< > [hidden email]>; > Date: 2015年11月3日(星期二) 凌晨0:45 > To: "lizhi"<[hidden email]>; > Subject: Re: vector error > > > > What was the error? We have a similar test in our test suite and it is > passing. > > -Alex > > On 11/2/15, 12:16 AM, "lizhi" <[hidden email]> wrote: > > >as3 > > > >var arr:Vector.<Number>=Vector.<Number>([1,1,1]); > > > >error > > > > > > > >-- > >View this message in context: > >http://apache-flex-development.2333347.n4.nabble.com/vector-error-tp49772 > . > >html > >Sent from the Apache Flex Development mailing list archive at Nabble.com. > > > > > If you reply to this email, your message will be added to the discussion > below: > > http://apache-flex-development.2333347.n4.nabble.com/vector-error-tp49772p49775.html > To unsubscribe from vector error, click here. > NAML > > > > -- > View this message in context: > http://apache-flex-development.2333347.n4.nabble.com/vector-error-tp49772p49782.html > Sent from the Apache Flex Development mailing list archive at Nabble.com. > If you reply to this email, your message will be added to the discussion below: http://apache-flex-development.2333347.n4.nabble.com/vector-error-tp49772p49786.html To unsubscribe from vector error, click here. NAML -- View this message in context: http://apache-flex-development.2333347.n4.nabble.com/vector-error-tp49787.html Sent from the Apache Flex Development mailing list archive at Nabble.com.