Jump to content
Search Community

Accessing Dynamic Movieclip

calvinalibra test
Moderator Tag

Recommended Posts

Hey All,

 

I'm trying to do something similar to:

var some_mc:MovieClip = new MovieClip();
addChild(some_mc);

 

Then I'm trying to access that movieclip

 

var ls:LiquidStage = new LiquidStage(this.stage,500, 550, 500, 550);
ls.attach(some_mc, ls.LEFT_CENTER, false, true, 0.75, {ease:Circ.easeInOut});

 

I know I'm supposed to give the movieclip a name, but that's not working when I try it that way either. Looks like there is a small simple step somewhere that i'm missing. Any thoughts?

Link to comment
Share on other sites

just a guess:

 

have you given some_mc an initial x and y value?

 

if not some_mc will probably remain jammed in the upper left corner close to 0,0

 

 

 

are you getting errors? what exactly isn't working?

Link to comment
Share on other sites

Well I'm trying to use the liquid stage so that when the page opens up, some_mc is floating in the middle, but nothing actually happens. When I scale, some_mc doesn't move at all. No errors which I find strange. I'll try messing around with the width/height to see if I can at least get it to shift that way.

Link to comment
Share on other sites

Did you embed your swf into your HTML page so that it stretches to fill the browser? If not, that'd explain why nothing happens when you resize :) Feel free to post an example FLA that we can publish ourselves. Oh, and you do have LiquidStage, right? (you're a "Shockingly Green" or corporate member, right?)

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...