PDA

View Full Version : AS3 StageManager



mprzybylski
March 28th, 2008, 04:54 PM
View Example (http://evolve.reintroducing.com/_source/classes/as3/StageManager/StageManagerExample.html)
[/URL][URL="http://evolve.reintroducing.com/2008/03/28/as3/as3-stagemanager/"]View Blog Post (http://evolve.reintroducing.com/_source/classes/as3/StageManager/StageManager.zip)

The StageManager aligns items according to their selected alignment mode. You have the ability to resize your items with "easing" or "instant" modes as well. It also dispatches an event, ON_RESIZE, that allows for further manipulation of items to the stage sizing.

This is a port of my AS2 StageManager but I've changed some stuff around since you can now align not just movie clips but sprites and other display objects as well.

dail
March 28th, 2008, 05:34 PM
Nice approach to implementing this kind of functionality.

Dark Viper
March 28th, 2008, 07:03 PM
How do you use the example?

mprzybylski
March 28th, 2008, 07:41 PM
i'm not sure what you mean by how do you use the example? You just open it up in Flash and run it...

Digitalosophy
March 29th, 2008, 09:11 AM
^ lol.

Nice work man - I recently had to do something very similar is AS 2. Unfortunately I didn't know about your AS 2 manager at that time :lol:.

ajcates
March 29th, 2008, 11:16 AM
Very nice, I like the animating effects.

Dark Viper
March 29th, 2008, 12:25 PM
Umm ok, what is the example showing?

Gazurt
March 29th, 2008, 05:14 PM
^ lol :D

Nice work man.I love the class ;)

Templarian
March 29th, 2008, 08:01 PM
@Dark Viper, it is showing you... how to... you know... well you know.

Very nice. works very smoothly.

Dark Viper
March 30th, 2008, 04:28 AM
:upset:

Digitalosophy
March 30th, 2008, 09:17 AM
Umm ok, what is the example showing?

hehe. Seriously?

andrewfitz
March 30th, 2008, 12:20 PM
Dark Viper: Try resizing the window, you'll see then ...I hope.

Dark Viper
March 31st, 2008, 10:58 AM
Ah, see, now I understand!

I can't remember the last time I resized my browser as its maximized all the time.

mprzybylski
March 31st, 2008, 11:01 AM
lol, sorry, i guess i didn't realize it wasn't so obvious, but StageManager should be a clue :P