FFILES.COM NEWS SUBMIT A FILE REGISTER CONTACT
username:
password:
register | login help
Pending listings (4)

Resizing and MC Aligning Example

Full size (700x500)
Previous overall listing: PV3D Cube V2 Previous in Templates: Interactive Intro and template Next overall listing: zoom menu Next in Templates: smooth transitions with fullscreen alignment

When I started to learn flash, aligning was a real challange for me. I made this little example for a friend and I thought, I should give it away for other... more >

Keywords: align   resize

user bulutemektar Author URL no website
Listing URL none
Downloads 849 Views 14561
bulutemektar  

User ratings for Resizing and MC Aligning Example.

Donate Add to favorites Subscribe to comments
Report listing
Download  (Flash 9, AS 3.0)

More listings by bulutemektar

Bubble Maker
Bubble Maker

Comments

You need to LOGIN to post a comment.
user kkarkhanis
kkarkhanis: 12 months ago

i want to same bottom middle align in Ac 2.0. It's possible please send me

user anayak.16
anayak.16: 1 year ago

thank you Bulumektar

user bulutemektar
the listing author bulutemektar: 1 year ago

@anayak.16:
Ok. Open this fla and change AS3 to AS2. Then go to the frame with actions, delete all the actions and paste this one:

Stage.align = "TL";
Stage.scaleMode = "noScale";

Stage.addListener(this);

function onResize() {
// Background
background._height = Stage.height;
background._width = Stage.width;
background._x = 0;
background._y = 0;
// Clips
TL._x = 0;
TL._y = 0;
L._x = 0;
L._y = (Stage.height / 2);
BL._x = 0;
BL._y = Stage.height;
T._x = (Stage.width / 2);
T._y = 0;
C._x = (Stage.width / 2);
C._y = (Stage.height / 2);
B._x = (Stage.width / 2);
B._y = Stage.height;
TR._x = Stage.width;
TR._y = 0;
R._x = Stage.width;
R._y = (Stage.height / 2);
BR._x = Stage.width;
BR._y = Stage.height;
}
onResize ();

Test your movie, have fun!
Now it is in AS2 :)

user anayak.16
anayak.16: 1 year ago

Will this work in as2 plz

user bulutemektar
the listing author bulutemektar: 1 year ago

you're welcome ;)

show all 18 comments