Jump to content


LiquidStage Problems

Recommended Posts



All im trying to do is pin an object to the bottom left of the stage. This works fine when I view the swf in the flash player or when i compile with the Flash IDE and view it in a browser window. But when I comile it with the Flex SDK and view it in a browser window it no longer works. The stage.stageWidth and height trace out properly though.


Has anyone else had this problem?








Heres the code:




import flash.display.MovieClip;

import com.greensock.layout.LiquidStage;


var controls:MovieClip = new Controls();



controls.x = 10;

controls.y = stage.stageHeight - controls.height - 10;


var ls:LiquidStage = new LiquidStage(this.stage, 550, 400, 550, 400);

ls.attach(controls, ls.BOTTOM_LEFT);



Link to comment
Share on other sites

Would you mind sending me your Flex project so that I can compile it and see the issue? It doesn't need to be your production files - the simpler the better.


And are you saying that when the stage resizes, your object doesn't move at all?

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.