I modified the JSStore example to a simple tabbed template, using only two
of the tabs and not displaying the third (but leaving unchanged the code
that handles the third). I have received this error twice at run time. The
app compiles and runs, the following notice comes up, and then after a few
seconds the browser crashes (I have a few seconds to grab the text before
everything freezes). If I start an entirely new project and copy over code
(usually moving back a bit in the development process), it goes away. The
time during development at which the error appears seems unpredictable and
not clearly linked to anything that I am doing.
Is this related to the tabbing in FlexJS and the complexity that I have had
to comment out in the JSStore example (the error notice does mention
StatesWithTransitions)? Is there template code somewhere for a stable tabbed
application in FlexJS (no animation, nothing fancy, only two or three tabs)?
VerifyError: Error #1030: Stack depth is unbalanced. 2 != 0.
at
org.apache.flex.core::ContainerBase/addedToParent()[/Users/aharui/git/flex/release/flex-asjs/frameworks/projects/Core/src/main/flex/org/apache/flex/core/ContainerBase.as:207]
at
org.apache.flex.core::UIBase/addElement()[/Users/aharui/git/flex/release/flex-asjs/frameworks/projects/Core/src/main/flex/org/apache/flex/core/UIBase.as:1093]
at
org.apache.flex.html.beads::ContainerView/addElement()[/Users/aharui/git/flex/release/flex-asjs/frameworks/projects/HTML/src/main/flex/org/apache/flex/html/beads/ContainerView.as:148]
at
org.apache.flex.core::ContainerBase/addElement()[/Users/aharui/git/flex/release/flex-asjs/frameworks/projects/Core/src/main/flex/org/apache/flex/core/ContainerBase.as:139]
at
org.apache.flex.core::StatesWithTransitionsImpl/apply()[/Users/aharui/git/flex/release/flex-asjs/frameworks/projects/Effects/src/main/flex/org/apache/flex/core/StatesWithTransitionsImpl.as:309]
at
org.apache.flex.core::StatesWithTransitionsImpl/stateChangeHandler()[/Users/aharui/git/flex/release/flex-asjs/frameworks/projects/Effects/src/main/flex/org/apache/flex/core/StatesWithTransitionsImpl.as:145]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at org.apache.flex.core::ContainerBase/set
currentState()[/Users/aharui/git/flex/release/flex-asjs/frameworks/projects/Core/src/main/flex/org/apache/flex/core/ContainerBase.as:416]
at ColorsFlexJS/prebake2()[C:\Users\fries\Adobe Flash Builder
4.7\ColorsFlexJS\src\ColorsFlexJS.mxml:140]
at Function/http://adobe.com/AS3/2006/builtin::apply()
at
org.apache.flex.core::CallLaterBead/makeCalls()[/Users/aharui/git/flex/release/flex-asjs/frameworks/projects/Core/src/main/flex/org/apache/flex/core/CallLaterBead.as:122]
at
org.apache.flex.core::CallLaterBead/enterFrameHandler()[/Users/aharui/git/flex/release/flex-asjs/frameworks/projects/Core/src/main/flex/org/apache/flex/core/CallLaterBead.as:111]
Thanks,
Lane.
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus