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

AS3 Animated Boxes v2.0

Previous overall listing: Expandable menu bar2 Previous in Animations: Pandit Song Next overall listing: running horse Next in Animations: running horse

This is an animation that chops up a 400px box into 40px X 40px cubes then animates them off stage. It uses the BitmapData class to make copies of the original... more >

user theranch Author URL thespikeranch.com
Listing URL none
Downloads 3326 Views 25270
theranch  

User ratings for AS3 Animated Boxes v2.0.

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

More listings by theranch

AS3 Animated Boxes
AS3 Animated...

Comments

You need to LOGIN to post a comment.
user ms.webtech
ms.webtech: 1 year ago

Hi,

Anyone can tell me, how to add image rather then text

Thanks

user brunobrunobruno
brunobrunobruno: 3 years ago

anyone have any ideia how to load a image backgroung replacing de gray background inside the gray boxes tnx

user nikedib
nikedib: 3 years ago

awsome my friend

user raylea100
raylea100: 4 years ago

Really Really Good

user theranch
the listing author theranch: 4 years ago

For the sample I linked to on my site (in these comments), I just added an Array of strings and some vars...
var num:Number = 0;
txtString = "1 blah blah blah";
txtString1 = "2 blah blah blah;
txtString2 = "3 blah blah blah";
txtArray = [txtString,txtString1,txtString2];

Then I just changed the text line to: tf.text = txtArray[num];
and then when the makeBox() function is called I add to the num variable like this:
num++;
I also check to see if the current array item is the last then reset num to 0 using an if statement so when you play it again it loads the first string. Challenge yourself to figure it out from these notes. You have the code and can create other buttons by duplicating what I wrote.

show all 11 comments