Wow great job ... been searching for this info for awhile... helped me with my final project for school... i didnt want to be restricted to simple buttons although its only an intro class... wish you were my teacher...
You dont know how many days I've spent looking for this answer. From on(press) to onMouseDown.... I couldn't get my movieclip button to work. onPress was the answer. THANK YOU!
if you look at the title of the video you will see that it states AS2 which I would assume is Action Script 2.0. So if you read it all you will see that your time was not wasted by the creator of this video, just yourself...cheers
the code in question has since been put in the video's description in the upper left hand corner of this very webpage. I even have a link to my FLA file from my own website in the description as well.
Thank you for pointing out how you can type script on the wrong object. It is frustrating. I like your tutorials. They are so thorough and easy to understand.
the term 'movieclip1' was applied as an instance name of that movie clip "button". If you look at the timecode of 8:55. You will see that on the properties screen at the bottom, the term 'movieclip1' has been typed into the Instance Name textbox of the properties of that movie clip. That step too it seems must have been left out. Remember, if you get horribly lost, you can always download the FLA from my site listed in the description above. Hope this helps!
Thanks man. Showed that to a friend who i wanna get into flash and he picked it up pretty quick :) You played off the mistake pretty well too..i wouldn't have known you didn't mean to mess up if you didn't write it
you should signify that you're coding in Actionscript 1 & 2. I was hoping to learn some AS 3.0 but didn't realize that you were using 1 until later...kind of wastes time for people who really need to learn what they need quickly :\
great so far, I lost you at 8:48 seconds where did you get that code from? we were walking along then you had a bunch of action script and i didn't, dunno how you did that but you lost me completely
wow, big editing mistake on my part....ok...I apparently cut out a huge part of my actionscript....the code below belongs on Actions layer, frame 1 (which is what you see me correcting around 8:50-9:00..I had it in the wrong place)
What you see above is actionscript syntax...movieclip1 is what we called our instance...and OnRollOver, OnRollOut, and OnPress are events we are testing for...case sensitivity does matter...the best way to know if you have typed one of the events correctly is whether it turns blue...if it doesn't you either misspelled or did incorrect capitalization. Let me know if I screwed anything else up....
Wow great job ... been searching for this info for awhile... helped me with my final project for school... i didnt want to be restricted to simple buttons although its only an intro class... wish you were my teacher...
JDp8ntz 2 months ago
Fantastic you helped me so much.
TheBlender3dJedi 3 months ago
im confused, when u break it, does it still called movie clip?
aleqsama 9 months ago
I'm gonna do "AppleBee's", or Ctrl - B to break it down.
4:19
TheRyanAkers 1 year ago
Seriously, I was once lost, now I'm found :P Thanks for the tutorial-much respect!
newyoungponyclub25 1 year ago
thank you! just what i needed. :-)
gabgabgabster 2 years ago
THANK YOU DUDE! THANK YOU!
You dont know how many days I've spent looking for this answer. From on(press) to onMouseDown.... I couldn't get my movieclip button to work. onPress was the answer. THANK YOU!
XTREEMMAK 2 years ago
if you look at the title of the video you will see that it states AS2 which I would assume is Action Script 2.0. So if you read it all you will see that your time was not wasted by the creator of this video, just yourself...cheers
fridge2305 2 years ago
It was very helpful, but I couldn't read the important code at the end. Hope to help us learn more, thanks!
jteichma 3 years ago
the code in question has since been put in the video's description in the upper left hand corner of this very webpage. I even have a link to my FLA file from my own website in the description as well.
AModernFocus 3 years ago
I appreciate you doing this. It was a big help.
joebangs4589 3 years ago
very well explained flash tut. :) tnx..
terramitsu 3 years ago 2
Thank you for pointing out how you can type script on the wrong object. It is frustrating. I like your tutorials. They are so thorough and easy to understand.
pixiecherries 3 years ago
Just begun to lear flash. Thanks for the ecxellent tutorial! Clear, step by step, and well presented!
sacopenapa 3 years ago
hi u got me completly lost with that editing, my question is where did the word 'movieclip1' start to appear in this whole process?
kkepaja 4 years ago
the term 'movieclip1' was applied as an instance name of that movie clip "button". If you look at the timecode of 8:55. You will see that on the properties screen at the bottom, the term 'movieclip1' has been typed into the Instance Name textbox of the properties of that movie clip. That step too it seems must have been left out. Remember, if you get horribly lost, you can always download the FLA from my site listed in the description above. Hope this helps!
AModernFocus 4 years ago
Thanks man. Showed that to a friend who i wanna get into flash and he picked it up pretty quick :) You played off the mistake pretty well too..i wouldn't have known you didn't mean to mess up if you didn't write it
topgunn85 4 years ago
you should signify that you're coding in Actionscript 1 & 2. I was hoping to learn some AS 3.0 but didn't realize that you were using 1 until later...kind of wastes time for people who really need to learn what they need quickly :\
seraphim317 4 years ago
great so far, I lost you at 8:48 seconds where did you get that code from? we were walking along then you had a bunch of action script and i didn't, dunno how you did that but you lost me completely
marcbluecollar 4 years ago
wow, big editing mistake on my part....ok...I apparently cut out a huge part of my actionscript....the code below belongs on Actions layer, frame 1 (which is what you see me correcting around 8:50-9:00..I had it in the wrong place)
movieclip1.onRollOver = function(){ movieclip1.gotoAndPlay("normal");
}
movieclip1.onRollOut = function(){ movieclip1.gotoAndStop("normal");
}
movieclip1.onPress = function(){ movieclip1.gotoAndPlay("over");
}
AModernFocus 4 years ago
What you see above is actionscript syntax...movieclip1 is what we called our instance...and OnRollOver, OnRollOut, and OnPress are events we are testing for...case sensitivity does matter...the best way to know if you have typed one of the events correctly is whether it turns blue...if it doesn't you either misspelled or did incorrect capitalization. Let me know if I screwed anything else up....
AModernFocus 4 years ago