.
component categoriescomponent categories
overview
features
help & support
downloads
buy now

3.7/5
Report this file Ask author
Posted by : Mott 44 purchases
Package includes: FLA
Opens with: Flash CS3, Flash CS4
AS Version: ActionScript 3.0
Viewable with: Flash Player 9 and above
Flash knowledge required: N/A
Documentation: N/A


Preview file



Fullscreen Stage Align Pattern AS3

Programing language used: ActionScript 3.0 [AS3]


"Fullscreen Stage Align Pattern AS3" allows you to keep the movieclips aligned to where you want them to be aligned, with the confort and customizability of ActionScript 3.0.


Features:


Align on Resize:
Whenever someone resizes the browser with will automaticly smoothly move each movieclip to their specific place on stage.

Customizable margins:
Allows you to change the vertical and the horizontal margins, only by replacing the value of a simple varieble!

High customizable Tween motion:
Thanks to a tweening machine, Tweener, all the movieclips move smoothly, there are up to 41 tweening equations, this means that you will be able to change the way the movieclip move simply by changing the value of a single varieble.
In addition, you can also control the time that the movieclips take to be fully aligned, changing the value of a simple varieble.

Fullscreen pattern fill:
This feature fills the screen with a pattern whenever you resize the stage, so you always get a smooth and clean background without pixelation or distortion, you can use your favorite pattern or you can use the free included pattern i've created.


Embedded font:
Free Orgdot font, Teachers Pet Sans Serif, embedded in the file so even the user havent got this font installed he will be able to see it.


Enjoy :)


My portfolio



Tagstags
Please « login » to add tags.
« Previous 1 2 Next »

mylifeinfiction mylifeinfiction
 
Has bought the file

Can anyone let me know some step by step instructions on how to install this into my Flash doc???

I am New to using componets.. Any help would be great.

Ernie*

blueworks blueworks
 
Has bought the file

Hi! I just purchase your component. Is there a way to delete the pattern option??
Because I already have a var url:String = “movie.swf”; and it is in conflict. Or how can I bypass this?

blueworks blueworks
 
Has bought the file

Mott Mott Component author
 

Hey, you are right, if you get a blur effect on the font you should use Math.round.


I didnt add it in the file because i didnt think it was necessary since I tried it with every resolution and every browser and all seemed fine.


Also I’m not selling Tweener nor the pixel font, so I don’t have the right to include the files in the package, since I don’t own their license.

Micropixel Micropixel
 
Has bought the file

I think this should be in the file, my friend. When I have my width not dividable by 2 (for example 799, 9, 43) for whatever reason, this will cause blurring pixel-perfect images and pixel fonts.


If my stage is 800, the stage/2 is 400. That is ok.
If my stage is 799, the stage/2 is 399.5 -> BLUR.


I’ve been playing with it for a while and the solution is simple.


So to give an example how to fix this:


Tweener.addTween(centerMC, { x:stage.stageWidth / 2, y:stage.stageHeight / 2, time:transitionTIME, transition:transitionTYPE} ); 


change into:


Tweener.addTween(centerMC, { xstage.stageWidth / 2 - Math.round(stage.stageWidth / 2)   stage.stageWidth / 2), ystage.stageHeight / 2 - Math.round(stage.stageHeight / 2)   stage.stageHeight / 2), time:transitionTIME, transition:transitionTYPE} ); 


That means it adds 0 or 0.5 pixels to the result and everything is crisp clearly without needing Width and Height dividable by 2.

Micropixel Micropixel
 
Has bought the file

Ok, it started to work for me. there are files to be downloaded mentioned in the help file (it would be better to be put inside the package).


I have another problem. The pixel fonts are not always shart, especially leftMidMC, centerMC, rightMidMC. I guess it has to do something with the counted position getting divided by 2, do it’s not always round number but may end up being in position with 0.5 which blurrs the text and sharp edges.


Is there anything possible to do around that?

Mott Mott Component author
 

Hey, did u downloaded the font and installed it on you system?


The font is embedded on the published file, if you don’t have the font and try to publish in your system it won’t embed a font that doesn’t exist on your system.

Micropixel Micropixel
 
Has bought the file

That’s funny. I just open the fla file, publish it and it doesn’t work problems with embed font.

feimus feimus
 
Has bought the file

helo Mott! nice, I?m using your Stage align file, but I?m having a serious problem , the Bitmapdata, ArgumentError: Error #2015: Objeto BitmapData no v?lido. at flash.display::BitmapData() at microscopio_fla::MainTimeline/fill_background() at microscopio_fla::MainTimeline/onStageResize(), I cannot solve the problem, the pattern is in the same directory.. it?s all ok, and if click ok in the messaje that I wrote, all works fine but each time that I go to the page the error shows!! do you know how can I fix this or take out the advise ?
Thanks!

Mott Mott Component author
 

You should read the Help File first.

« Previous 1 2 Next »

 
featured componentsfeatured components