00:00
00:00
Newgrounds Background Image Theme

SpeakyDooman just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

BasicActionscriptTutorial

Share Collapse

Author Comments

Ummm.... I kinda just made this out of bordem and also alot of people that are new to flash keep asking for some basic stuff so here it is. Don't pay attention to the lack of effort put into this. It actually took me 10 hours or so to make it right. Well I hope you new guys enjoy and have fun.

Log in / sign up to vote & review!

It's helpful.

I knew AS from before, but I guess it's helpful for people that's new to ActionScripting. You should make the graphics better, cause they weren't really good, but it's helpful!

mechanixnut responds:

Thanks. I only made the graphics that way beacuse it makes things easy to understand. If my graphics are too good and crazy stuff happens people will get either confuzed or lost in their thought.

useful

this is very useful i will check this out for later use thanks alot!

mechanixnut responds:

awesome glad to help

cool

My advices, to make your tutorial better:
Movie Clips are better to use as a buttons, but at the beggining buttons are ok.

Don't use on(release){...};
instead better use:
make a Movie Clip (or button) with an instance name, for example: "myButton_", and in the keyframe place code:
myButton_.onRelease = function() {...};
To make an animation, on for other purposes you can use also
myButton_.onRollOver = function() {...};
myButton_.onRollOut = function() {...};

Do not use _root. If you import movie for example, the imported movie _root, becomes the importing movie _root, and that can mess things up.

Don't use:
tellTarget (_root.loader) {
gotoAndStop (_root.percentbytes);
}
instead:
loader.gotoAndStop(percentbytes);

Good luck :]

mechanixnut responds:

ok thanks ill look into that and i might add that into the tutorial at a later date when i get used to using it.

It is as 2.0 or as 1.0 ?

I never used as 1.0, so i dont know if you shold start using as 2.0, or you just use obsolete instrunctions (like "on(release)" instead of myButton.onRelease ).
I dont know if anyone should find it helpfull, because when you lern, you should lern the right way from the beggining.
In my opinion you should lern more yourself, then think about teaching others.
No offence, ofcourse!

mechanixnut responds:

lve never used as 1.0 either everything there is for as 2.0 lm sure quite a few could find it usefull. l still find things here that are useful in other animations that l am doing.

helpful

thanks 5/5 10/10

Credits & Info

Views
4,892
Faves:
11
Votes
7
Score
3.98 / 5.00

Uploaded
Mar 6, 2008
7:21 AM EST