Payday Loans Online Payday Loans Online

Todd Rothe : UI/UX Developer

it's pronounced rowth-ee

By 2g1c2 girls 1 cup

PopupManager RangeError: Error #2006: The supplied index is out of bounds.

While working with PopupManager I came accross Error #2006: The supplied index is out of bounds.

I’m building an AuthenticationModule that i can use in multiple applications. It consists of your standard login fields and a button to display the users account information in a popup that is loaded into, and centered over, the parent container (not the authentication module). Click the User Info button to open the popup and then click the popup to close it – do this a few times and you’ll get Error #2006.

You can see the code below, but to cut to the chase: when adding a local object as the child of the PopupManager you must first remove the object from the local display list or you will get Error #2006.
blog post provided by toddrothe.com

AuthenticationModule.mxml
PopupManagerError.mxml (simple shell application)


AuthenticationManager.mxml
Authentication Module

 

No Responses to “PopupManager RangeError: Error #2006: The supplied index is out of bounds.” (post new)

 

Leave a Reply

You must be logged in to post a comment.