Not adding via AScript.

I agree it's a bug.
Will try to tidy this up and create a bug report for this.

As I know the height and the number f objects, I'' try this with just a
group
(which doesn't have this problem)
and lay them out by positioning then with an absolute 'y' value, but
it is pretty inelegant:-(

Unless anyone has a better idea?

Phil.

On Sat, Feb 27, 2016 at 2:41 PM, Clint M [via Apache Flex Users] <
ml-node+s2333346n12070...@n4.nabble.com> wrote:

> Ya I encountered this as well a few weeks ago.
>
> There's a bug in ScrollableStageText that blows out the layout algorithm.
> It's trying to set the viewPort Rectangle of a stageText to a value that's
> greater than 8192px wide.
>
> I don't think there's a bug filed for this so please file one if you have
> time.
>
> As a workaround (until the bug is fixed) give the group a maxWidth of
> something less than 8192px to prevent the textInputs from expanding
> outside
> the 8192px bounds.
>
> On Sat, Feb 27, 2016 at 4:51 AM, npem <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=12070&i=0>> 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.
> >
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://apache-flex-users.2333346.n4.nabble.com/Error-2006-The-supplied-index-is-out-of-bounds-tp12068p12070.html
> To unsubscribe from Error #2006: The supplied index is out of bounds, click
> here
> <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=12068&code=cGhpbGlwLm1lZGxhbUBnbWFpbC5jb218MTIwNjh8OTcwMjY1NTIz>
> .
> NAML
> <http://apache-flex-users.2333346.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>



-- 
Philip Medlam




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

Reply via email to