Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 02-12-2010, 12:28 PM   #1
Registered User
Join Date: Feb 2010
Posts: 1
Default AIR error 2006 after loading <mx:HTML>

I am new in AIR/Flex. I have created a browser using <mx:HTML>. During the loading, I am getting the following error:

RangeError: Error #2006: The supplied index is out of bounds.
at flash.display:isplayObjectContainer/getChildAt()
at mx.core::Container/getChildAt()
at mx.containers.utilityClasses::BoxLayout/updateDisplayList()
at mx.containers::Box/updateDisplayList()
at mx.core::UIComponent/validateDisplayList()
at mx.core::Container/validateDisplayList()
at mx.managers::LayoutManager/validateDisplayList()
at mx.managers::LayoutManager/doPhasedInstantiation()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/callLaterDispatcher2()
at mx.core::UIComponent/callLaterDispatcher()

I did not creating or adding or removing any child from my mxml file. My code snippet of mxml file is:

			public function set jumpToUrl(value:String):void
				_jumpToUrl = value;
				if (value != "" && value != null)
					txtLocation.text = value;

			private function launchURL():void
				htmlBrowser.location = txtLocation.text;		

		<controls:TextInputOnScreen id="txtLocation"

				<mx:DropShadowFilter alpha="0.5"
									 inner="true" />
<mx:HTML id="htmlBrowser"
			 height="{this.height - 50}"


I would be glad if anyone help me about this issue.
kokababu is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 10:00 PM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.