Difference between revisions of "Flash"

From Wikicliki
Jump to: navigation, search
Line 69: Line 69:
 
== TROUBLESHOOTING ALARMING BUT SILLY PROBLEMS ==
 
== TROUBLESHOOTING ALARMING BUT SILLY PROBLEMS ==
  
Q: WHY DOES MY TEXT INPUT APPEAR LOPSIDED WHEN I FIRST ENTER IT IN??
+
Q: WHY DOES MY TEXT INPUT APPEAR LOPSIDED WHEN I FIRST ENTER IT IN??<br>
 
A: this may be because you are entering it into an instance of a movieclip which has been put in an angle. stop editing it in place and it will be straight when you first enter it, instead of disturbingly askew.
 
A: this may be because you are entering it into an instance of a movieclip which has been put in an angle. stop editing it in place and it will be straight when you first enter it, instead of disturbingly askew.

Revision as of 13:05, 22 August 2008

i only have limited vegetable powers of Macromedia Flash (now known as Adobe Flash), so i am slowly figuring it out while making Flash Banners.

SWF to AVI

to convert swf to avi, use: swf2avi

Flash Banners

Standard Flash Banner Sizes:
250 x 250 Square
200 x 200 Small Square
468 x 60 Banner
728 x 90 Leaderboard
300 x 250 Inline Rectangle
335 x 280 Large Rectangle
120 x 600 Skyscraper
160 x 600 Wide Skyscraper

I reckon the three most important sizes are: Inline Rectangle, Banner, and Skyscraper.

Actionscripted Tweening

Preloader

stop();
onEnterFrame = function(){
	if (_root.getBytesLoaded() == _root.getBytesTotal()){
		delete onEnterFrame;
		play();
	}
}

Clicktag

For Google:

on (release) {
if (clickTAG.substr(0,5) == "http:") {
getURL(clickTAG, "_blank");
}
}

For others (eg: ad2one):

on (release) {
getURL(clickTag, "_blank");
}

Reducing File Size

  • Compress images in photoshop before adding them to your flash library.
  • Save duplicated objects as movieclips and reinsert them as iterations of the same mc.
  • Shorten the length of loops.

Effects I like

http://page-flip.com/

Trace Bitmap

Trace Bitmap function - posterise effect

TROUBLESHOOTING ALARMING BUT SILLY PROBLEMS

Q: WHY DOES MY TEXT INPUT APPEAR LOPSIDED WHEN I FIRST ENTER IT IN??
A: this may be because you are entering it into an instance of a movieclip which has been put in an angle. stop editing it in place and it will be straight when you first enter it, instead of disturbingly askew.