Jump to content
Search Community

triggering a x cord movement using liquid stage

icekomo test
Moderator Tag

Recommended Posts

This is something that I have been working on for some time, and I just can't seem to wrap my head around about how to get it working.

I have a moveclip that is pinned to the Top_Right of my screen. This works just fine, the problem is how ever when I roll over that movieclip and attempt to change it's x(by 165 pixels) postion and then when you roll out, to change it back to where it came from. It uses the x cord of the flash stage size, so when you roll over it it it zooms towards the center of the screen.


Here is the code I am working with:

//set the LS and attach it

var ls:LiquidStage = new LiquidStage(this.stage,1024,1300,1000,800);

ls.attach(contactSection, ls.TOP_RIGHT);


//this is from my class file for the movieclip that I am trying to move:




public function moveBgOut(event:MouseEvent):void


//fade out envelope


//moves all the content








public function moveBgIn(event:MouseEvent):void


//moves content back








I need to some how use the x cords of the actual screen of the browser and not just the stage of the flash....is the correct in the way of thinking?

Thanks so much!

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.
  • Create New...