Full Browser/Full Screen Flash

The code for full screen/full browser is really simple. In fact, the only code that is needed is to make sure that the objects within the SWF itself does not scale - and a line of code to align it to the Top Left of the browser.

[code lang="actionscript"]
Stage.scaleMode = “noScale”;
Stage.align = “TL”;
[/code]

The rest depends on your publish settings(Ctrl + Shift + F12). What you need to do is to set the width and height to 100 Percent. Remember to change the dimensions to percentage.

I’ve attached a file, which I don’t remember where I got from. =x

The code features a onResize Handler, which is important for full screen flash as well. This is because you need this listener to check if the user resized the browser, then change the positions of the elements in the SWF accordingly.

The flash file contains the HTML, the SWF, and the FLA file for this. In the center, is a text field containing the dimensions of the Flash. Open the index.html and try resizing the browser, and you will see that the text field will always be in the center. This is done by adding lines of code to set the _x and _y of the text field within the onResize handler.

[code lang="actionscript"]
this.onResize = function() {
//– Called when browser is resized.
this.txtDimentions._x = (Stage.width/2)-(this.txtDimentions._width/2);
this.txtDimentions._y = (Stage.height/2)-(this.txtDimentions._height/2);
this.txtDimentions.text = Stage.width+”x”+Stage.height;
};
[/code]

I hope you guys enjoyed this little tutorial. A lot of people have asked me how I did QwertyDesign, and well, here is the base of what started QD.net.

Project Files: FullBrowserFlash

60 more places to get Design Inspiration

Link: http://freelanceswitch.com/designer/60-more-places-to-get-design-inspiration-online-and-off/

This is a lazy post. This post only contain a link. :)

FaveUp

Here’s a new gallery of cool and nice logos, websites, and business cards.

A good place to find inspiration.

http://www.faveup.com/

Sites like this, really save me money from Kinokunia. =P

Web 2.0 Buttons

Entered a contest at Sitepoint for some fast cash.

I quite liked how these turn out. =)

Button 1

Button 1 in various colours

Button 2

Button 3

Polurnet ReDesign

Redesign of Polurnet, this is the start.

http://www.designfission.com/polurnet/

InfoResourceNet Redesign

Here’s a redesign for a big content based website. The owner wanted lots of eye candy, and so, I chose to use fast loading and small Icons to spice up the website.

Reseller Max Plans Packages Redesign

Here’s a redesign for a part of a page to showcase the featured plans that Reseller Max sells.

http://www.designfission.com/resellermax/

go3 WebHosting Design

go3 WebHosting design. Design only. Done in 3 hours with photoshop. Icons are done in Illustrator.

e3 Distribution Design

A redesign for a local gaming wholesaler. I used the old database which a friend created and redesigned all the frontend and backend.

e3distribution.com

Paintball Supply Web Design

Design for a Paintball Supply site.

PaintballSupply