Positioning a level?

Hello, does anyone know if you can postion a level, rather than a movieclip.

Something like:

on (release) {
      
      loadMovie ("samples/ABB_web_portal.swf" ,"_level100");
setProperty (_level100, _x, +(250));
setProperty (_level100, _y, +(250));
}

Cheers
LVL 2
SideasAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Antonio EstradaTech Leader / Senior Web DeveloperCommented:
I'd recommend a different approach.

Create a new MovieClip (Ctrl+F8), give it a name like "loader" and same linkage identifier. Leave it empty. Then, you can either drag it into the main timeline (it's what I always do when I need a loader) or add it with ActionScript like this:

_root.attachMovie("loader","loader",this.getNextHighestDepth());

If you placed the MovieClip in the timeline, you'll need to select it (you'll see a little white dot with a cross when it's selected) and add an instance name on the properties panel (name it "loader").

Now, with the famous loader you can load any external file to any x or y position you want, and of course you can move it around when you load it... you could do this:

on(release) {
    Temp = _parent.loader; // or _parent._parent if it's too nested. If all fails, you can as well use _root.loader
    Temp.loadMovie("samples/ABB_web_portal.swf");
    Temp._x=250;
    Temp._y=250;
}

Good Luck.

-V
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ZefferCommented:
no you can't position a  level.

Z
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Flash

From novice to tech pro — start learning today.