Are you adding any of them or removing any via AS3?  Usually that error is 
produced when using something like addItemAt or getItemAt and supplying it with 
an invalid index.

Sent from Yahoo Mail on Android 
 
  On Sat, Feb 27, 2016 at 7:51 AM, npem<philip.med...@gmail.com> wrote:   Hi, 
I'm coding an Air Mobile application
(Flex SDK 4.14.1, AIR SDK 16.0.0.292)

I have encountered a problem when adding elements to a VGroup

eg
*    <s:VGroup>
            <s:TextInput width="250" height="190" text="One"/>
            <s:TextInput width="250" height="190" text="Two"/>
    </s:VGroup>*

This is fine, but when I add a larger number of TextInputs
(26 on the Android phone I am testing on)
I get the error below

(Note that this is a test to reproduce the error with a more complex
project)

Is there a workaround for this?

Thanks in advance,

Phil



*
[Fault] exception, information=ArgumentError: Error #2006: The supplied
index is out of bounds.
at flash.text::StageText/set viewPort()
at
spark.components.supportClasses::ScrollableStageText/updateViewPort()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ScrollableStageText.as:1650]
at
spark.components.supportClasses::ScrollableStageText/commitProperties()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/mobilecomponents/src/spark/components/supportClasses/ScrollableStageText.as:1356]
at
mx.core::UIComponent/validateProperties()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/framework/src/mx/core/UIComponent.as:8751]
at
mx.managers::LayoutManager/validateProperties()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/framework/src/mx/managers/LayoutManager.as:605]
at
mx.managers::LayoutManager/doPhasedInstantiation()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/framework/src/mx/managers/LayoutManager.as:821]
at
mx.managers::LayoutManager/doPhasedInstantiationCallback()[/Users/erik/Documents/ApacheFlex/git/flex-sdk4.14.1/frameworks/projects/framework/src/mx/managers/LayoutManager.as:1188]
*




--
View this message in context: 
http://apache-flex-users.2333346.n4.nabble.com/Error-2006-The-supplied-index-is-out-of-bounds-tp12068.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
  

Reply via email to