flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From npem <philip.med...@gmail.com>
Subject Error #2006: The supplied index is out of bounds
Date Sat, 27 Feb 2016 12:51:14 GMT
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.

Mime
View raw message