A webmaster forum specifically catering for Australian site owners. We discuss site development, marketing and management issues.
Please welcome our newest member, freeza!
Spice up your web site with the ultimate community message board solution!
Fake Id'sGet fake Id's made right now!
vBSEOSearch Engine Optimization for your VBulletin Forum.
AdminFusion
»
actionscripters
| | #1 |
| | #2 |
| | #3 |
| | |||||
|
Title: Apprentice Join Date: Oct 2005 Posts: 481 ![]() | I can code Actionscript, but I don't have any basic codes as I don't really see the need to keep a list of simple ones. Just code when I create A great resource
__________________ Well I thought it was cool ![]() | ||||
| |
| | #4 |
| | |||||
|
Title: Forum Enthusiast Join Date: Oct 2005 Posts: 2,139 Location: Maryland, US ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | its pretty simple. first make a new frame on the 1st frame and put your start button or whatever you want to start it, make it a movie clip (F8) and name it whatever, now give it an instance name of btnStart (you can use whatever but just make sure you change it in the AS what i give you) open up your actions panel and put this in there Code: stop();
btnStart.onPress = function() {
gotoAndPlay("movie");
}; ok now at the very end of your movie make another frame right after it so if your movie was till the 100th frame make it 101 ![]() make a button and then give it the instance name of "btnReplay" now open up your actions panel and make sure you still dont have the btnReplay in your selection and then put this for the actions Code: stop();
btnReplay.onPress = function() {
gotoAndPlay("movie");
}; | ||||
| |
| | #5 |
