Share Posted August 7, 2010 Hi I'm getting a Stack overflow with LiquidStage it happens when I try to resize the browser Here is the error does anyone have any ideas what might be causing this? Error: Error #1023: Stack overflow occurred. at flash.display::DisplayObject/globalToLocal() at com.greensock.layout::LiquidStage/updateItems() at com.greensock.layout::LiquidStage/update() at com.greensock.layout::LiquidStage/set retroMode() at com.greensock.layout::LiquidStage/attach() at Main/onLiquidStageUpdate() at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at com.greensock.layout::LiquidStage/update() at com.greensock.layout::LiquidStage/set retroMode() Link to comment Share on other sites More sharing options...
Share Posted August 8, 2010 Almog and I connected off-thread and worked this out. The problem had to do with the fact that he was attaching the same objects over and over again every time the stage resized which wasn't necessary (LiquidStage handles all that automatically). In fact, it caused an endless loop because when an object first gets attached, LiquidStage must run an update cycle which temporarily resizes the stage (when reconcile is true), causing the resize handler to get called, which was attaching things again, etc. Link to comment Share on other sites More sharing options...
Author Share Posted August 8, 2010 Thanks for the great support. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now