Added: 4 years ago
From: AModernFocus
Views: 20,848
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (17)

Sign In or Sign Up now to post a comment!
  • 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...

  • Fantastic you helped me so much.

  • im confused, when u break it, does it still called movie clip?

  • I'm gonna do "AppleBee's", or Ctrl - B to break it down.

    4:19

  • Seriously, I was once lost, now I'm found :P Thanks for the tutorial-much respect!

  • thank you! just what i needed. :-)

  • 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!

  • 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

  • It was very helpful, but I couldn't read the important code at the end. Hope to help us learn more, thanks!

  • 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.

  • I appreciate you doing this. It was a big help.

  • very well explained flash tut. :) tnx..

  • 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.

  • Just begun to lear flash. Thanks for the ecxellent tutorial! Clear, step by step, and well presented!

  • hi u got me completly lost with that editing, my question is where did the word 'movieclip1' start to appear in this whole process?

  • 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)

    movieclip1.onRollOver = function(){ movieclip1.gotoAndPlay("normal­");

    }

    movieclip1.onRollOut = function(){ movieclip1.gotoAndStop("normal­");

    }

    movieclip1.onPress = function(){ movieclip1.gotoAndPlay("over")­;

    }

  • 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....

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more