I'm having a similar problem to a lot of other people - following the tutorial exactly but the stop action doesn't seem to work, the tween just keeps looping and the symbol doesn't respond to any mouse action.. am I missing something?
I'm using CS5 not CS3 though, and it would only let me use 'Classic Tween' as Motion Tween generated an error and wouldn't work..
Good tutorial though, help on this would be appreciated :)
I was wondering how I can use thisbutton to play another movieclip instead of opening an URL. I´m making a flash site and is a noob at as3.
Allso is there a way to unload surtain movieclips when the butten is clicked? Or go to to a surtain frame in the main timline (scene 1)
I have a menu with buttons using the functions in your tutorial. And I want those buttons to play separate movieclips (as pages). Or go yo a surtain frame in the scene 1 timeline
Hi Pong, I've typed in the code here in actionscript but when I test the movie in flash the button's tint simply flashes on and off because of the motion tween. It doesn't wait for me to scroll over it to change colors and it doesn't access the URL I put in the code. I copied what you wrote line for line...what's causing these problems?
This tutorial has been super helpful... as a total newbie I was able to create a whole navigation bar with rollover effects. My only question is, how do I get about creating a link to each individual button in the nav bar?
In the description, I see you wrote instructions for us to write
btn.buttonMode=true;
Where should we write that? e.g At the screen you show on your video at 1minute, where you create the movie clip for your oval? Or when at around 1min30 you create an instance of it called btn? Or maybe on action layer keyframes?
I havent tried writing it anywhere yet. My button doesnt work. My flash project will publish but says: Cannot access a property or method of a null object reference.
Static text, in this context, just enabled the selectable-text-cursor (the thing that looks like a capital "I") to appear invisible to the user.
In fact, there are 3 different types of text fields: input text, dynamic text, and static text. Input text captures input from the user, dynamic text is a text field for the computer to input text (programaticly), and static text, as the name suggests, is just static - it doesn't change.
Good tutorial but its much better to have the AS code inside the movieclip if you want to use this several times like in a menu. instead of refer to btn just make another AS layer in the movieclip and refer to "this" like:
Very well explained. I was looking for something like this. And the great thing is you explain what each line of AS means so I can apply this to other styles of animated buttons.
The screen recording software that I use is called Screenflow. It's much like Camtasia for the PC (if you've heard of it.) If I recall correctly, it is $100... or you can just torrent it, like I did:P
how do i now take this "button" that I have made and insert it into another flash file so I can make multiple buttons, and insert them all along the side of my flash so when i post it to my page it is all one file?
Your question isn't 100% clear to me, but I think this is what you're asking:
You can take the MovieClip and copy it, along with the "Actions" layer, into a separate Flash file (your desired Flash file). From there, you can duplicate the symbol: (Modify -> Symbol -> Duplicate Symbol). Duplicating a symbol keeps all of the properties of the symbol that you are duplicating, but distinguishes the duplicate symbol from the original symbol. You duplicate the MovieClip x amount of times and then save.
Nice lesson. Which recording software did you use? I like the features. Also, while you were typing the codes it was hard to read. Can I get the files? or a higher resolution video? Thank you.
Thank you so much for this tutorial!!! I was able to change what you had to do what I wanted and I couldn't find help like this anywhere! One question though. I try to have one of my buttons link to a URL. It opens a new browser window, but then It adds "%00" onto the end of the address so I get an "Invalid URL Request" on a blank page. Do you know how I can fix this? In the end I'm just wanting to use the finished product as an swf file on a CD. Thanks!
Haha. Yeah, ActionScript 3.0 was very confusing for me, and trying to figure it out on my own was one of the worst decisions I ever made! Well, I'm glad I could help you out!
u say double click oval.. but when I double click it.. I dont have a timeline anymore
cubeworld3 3 weeks ago
You are the best! your tutorial is simple but stunning! I've got it working! Great ! you saved my day! ;-)
Nemesis8245 2 months ago
thx man ur the best thx again
sofsof2009 3 months ago
cảm ơn bạn rất nhiều ^^! (VietNamse)
Thank you very much!
Leepmusic 4 months ago
I'm having a similar problem to a lot of other people - following the tutorial exactly but the stop action doesn't seem to work, the tween just keeps looping and the symbol doesn't respond to any mouse action.. am I missing something?
I'm using CS5 not CS3 though, and it would only let me use 'Classic Tween' as Motion Tween generated an error and wouldn't work..
Good tutorial though, help on this would be appreciated :)
K8y91 6 months ago 2
THANK YOU LITTLE MASTER. Very useful.
gabrielirlanda 6 months ago
What did you say at 4:40
It sounds wrong
tf2tworules 7 months ago
Hi, i was trying to add another button like this to the same movie but it keeps looping the first one i made, any idea why?
labyrinth14 8 months ago
This has been flagged as spam show
gracias me ayudo mucho
cristianplatanazo 10 months ago
gracias me ayudo mucho
cristianplatanazo 10 months ago
homeBtn1.addEventListener(MouseEvent.ROLL_OVER,homeBtn1Over);
homeBtn1.addEventListener(MouseEvent.ROLL_OUT,homeBtn1Out);
function homeBtn1Over(event:MouseEvent):void{ homeBtn1.gotoAndPlay("over");
{
function homeBtn1Out(event:MouseEvent):void{ homeBtn1.gotoAndPlay("out");
homeBtn1.buttonMode=true;
}
}}
that is my code SO WHY THE HELL AM I STILL GETTING ERRORS
Bajansilva 10 months ago
My button caused everything to loop.. is stop(); not working or am i missing something?
AcousticTim 1 year ago
@AcousticTim I'm getting the same problem... :S
K8y91 6 months ago
YOLL M8 CAN U PLEASE MAKE MORE ADOBE HOW TO VIDEOS THE DIFFRENT AFFECTS AND STUFF
SuperRikstar 1 year ago
What if you roll out before the start animation finishes?
Addle1618 1 year ago
understandable but it just screwed up my flash film
WilligsPage 1 year ago
Hello and thanks for a great tutorial.
I was wondering how I can use thisbutton to play another movieclip instead of opening an URL. I´m making a flash site and is a noob at as3.
Allso is there a way to unload surtain movieclips when the butten is clicked? Or go to to a surtain frame in the main timline (scene 1)
I have a menu with buttons using the functions in your tutorial. And I want those buttons to play separate movieclips (as pages). Or go yo a surtain frame in the scene 1 timeline
RoxRon1 1 year ago
Never mind... Figured it out :-)
RoxRon1 1 year ago
Actually never mind, I simply forgot to put a capital T on YouTube on the first line. It works perfectly now. Great tut keep it up.
Metalaseylypse 1 year ago
Hi Pong, I've typed in the code here in actionscript but when I test the movie in flash the button's tint simply flashes on and off because of the motion tween. It doesn't wait for me to scroll over it to change colors and it doesn't access the URL I put in the code. I copied what you wrote line for line...what's causing these problems?
Metalaseylypse 1 year ago
The tutorial stop after 1.26 :(
Lonni88 1 year ago
r u a boy or a girl????
thornhark 1 year ago
WOOOOOooooooooow was this to compliacated for anyone else????
thornhark 1 year ago
very very helpful!Thanks a lot for sharing this tutorial.It worked perfectly.Good luck!
emyanuel 1 year ago
Thanks dude. Very nice.
Naresh7080 1 year ago
Hi PONGStudios!
This tutorial has been super helpful... as a total newbie I was able to create a whole navigation bar with rollover effects. My only question is, how do I get about creating a link to each individual button in the nav bar?
Thanks!
uhgabyzinha 1 year ago
ok, I'm a CS3 (basically COMPLETE) n00b.
seeing as you know this much, you must know how to do the thing (n00b term) where you click on something and it brings you to another specified frame?
--and then on that frame, you can click another thing--
Because I'm trying to make a Dating Sim for Deviantart, and I JUST downloaded this, i know NOTHING.
GaarasGaal 1 year ago
@GaarasGaal i have that same problem i cant figure out how to do that!!
thornhark 1 year ago
hi PONGstudios
i have problem here
in 05:21 my flash dosnt have "URLrequest" command
when i type U, its only appear "UIscrollbar" and "video" command
what should i do?
thx ^^
wanderoars 1 year ago
sry, i think the url request dont have problem with the program
can u just send me what should i type after that till finish?
i cant see the word clearly
(sry for bad english)
wanderoars 1 year ago
Thank you, welldone
zgtern 1 year ago
U r a lifesaver for those of you who have problems with the actionscript check for spelling that helped me big time. THANK YOU PONGstudios
zapatosnegros 1 year ago
Hi PONGStudios,
In the description, I see you wrote instructions for us to write
btn.buttonMode=true;
Where should we write that? e.g At the screen you show on your video at 1minute, where you create the movie clip for your oval? Or when at around 1min30 you create an instance of it called btn? Or maybe on action layer keyframes?
I havent tried writing it anywhere yet. My button doesnt work. My flash project will publish but says: Cannot access a property or method of a null object reference.
TableWolfMusic 1 year ago
@TableWolfMusic Apply the "buttonMode" method on the Actions layer (where you wrote the code.)
Also, make sure that the "button" is a MovieClip, and that it has an instance name of "btn."
If you have any further questions/problems, do not hesitate to ask.
Thanks for watching.
PONGStudios 1 year ago
LOVE IT! I was searching for this tut. so much!
crashmix 2 years ago
Nice tutorial but very complicated for a noob like me haha
marionetadelplaneta 2 years ago
Do you know how to change the mouse cursor to a pointer when you rollover the button?
Scurl123 2 years ago
Static text, in this context, just enabled the selectable-text-cursor (the thing that looks like a capital "I") to appear invisible to the user.
In fact, there are 3 different types of text fields: input text, dynamic text, and static text. Input text captures input from the user, dynamic text is a text field for the computer to input text (programaticly), and static text, as the name suggests, is just static - it doesn't change.
For more information, see the Flash Help File.
PONGStudios 2 years ago
Comment removed
timaging 2 years ago
not sure why, but this isn't working for me.
timaging 2 years ago
Awesome i used this :0 thanks
MannyFucksConquer 2 years ago
Good tutorial but its much better to have the AS code inside the movieclip if you want to use this several times like in a menu. instead of refer to btn just make another AS layer in the movieclip and refer to "this" like:
this.addEventListener();
klorinsky 2 years ago 4
Yeah, that is a good point. The code should be inside of a MovieClip. I didn't think about that when I made this tutorial.
Thanks for your feedback.
PONGStudios 2 years ago
Hey guys... if you wanna know more about ActionSCript 3.0... just watch this video.. trust me... it's worth it!
CDNM101 2 years ago
Thank-you for that kind comment :)
PONGStudios 2 years ago
great tutorial!
022PHIL 2 years ago
Very well explained. I was looking for something like this. And the great thing is you explain what each line of AS means so I can apply this to other styles of animated buttons.
+1
bavlondon 2 years ago
thanks, but the rollover only seems to work once.
after the initial rollover only the out plays for me? thx for tutorial.
wiremanart 3 years ago
just what I was looking for, cheers mate
markwd 3 years ago
I'm amazed at the fluency with which you explain everything considering your age! I am so impressed with this tutorial. Thanks!
sakuraness 3 years ago
Thank-you! Glad I could help!
PONGStudios 3 years ago
a lota work for some punk ass button...but hey....thats flash for ya...good vid btw.
darpachief 3 years ago
Thank-you. Hope this helped.
PONGStudios 3 years ago
Thank you so much! I had no idea how to use AS3, and now I can remember how to do this by heart! Thank you so much again.
P.S. What recording software do you use? I make tutorials to, but I have iShowU, and I need a zoom in and zoom out thin, i too am using a mac.
Manifest222 3 years ago
The screen recording software that I use is called Screenflow. It's much like Camtasia for the PC (if you've heard of it.) If I recall correctly, it is $100... or you can just torrent it, like I did:P
PONGStudios 3 years ago
how do i now take this "button" that I have made and insert it into another flash file so I can make multiple buttons, and insert them all along the side of my flash so when i post it to my page it is all one file?
tznuk 2 years ago
Your question isn't 100% clear to me, but I think this is what you're asking:
You can take the MovieClip and copy it, along with the "Actions" layer, into a separate Flash file (your desired Flash file). From there, you can duplicate the symbol: (Modify -> Symbol -> Duplicate Symbol). Duplicating a symbol keeps all of the properties of the symbol that you are duplicating, but distinguishes the duplicate symbol from the original symbol. You duplicate the MovieClip x amount of times and then save.
PONGStudios 2 years ago
Nice lesson. Which recording software did you use? I like the features. Also, while you were typing the codes it was hard to read. Can I get the files? or a higher resolution video? Thank you.
RickyLyPLLC 3 years ago
thank you, helpful, concise and allows a good understanding of what is actually being done processor wise with the scripting. Go Canada! :D
truther911 3 years ago
I don't know why, but it doesn't seem to want to let me post the address
cluUser 3 years ago
Thank you so much for this tutorial!!! I was able to change what you had to do what I wanted and I couldn't find help like this anywhere! One question though. I try to have one of my buttons link to a URL. It opens a new browser window, but then It adds "%00" onto the end of the address so I get an "Invalid URL Request" on a blank page. Do you know how I can fix this? In the end I'm just wanting to use the finished product as an swf file on a CD. Thanks!
cluUser 3 years ago
Sorry man. I don't know how why that is happening. What website are you trying to link to and I will try it in my Flash.
tutcafe 3 years ago
but that button doesn't look like a button because when you put the mouse over the image... the cursor don't change
chumox 3 years ago
where can i copy that thing!!
crandybloody 3 years ago
Thank you so much for this! Trying to figure AS 3 on my own was giving me a headache, but you explained it all so well! Thank you again!
alexieldefanel 3 years ago
Haha. Yeah, ActionScript 3.0 was very confusing for me, and trying to figure it out on my own was one of the worst decisions I ever made! Well, I'm glad I could help you out!
PONGStudios 3 years ago
thanks alot, plz keep the good work
nnn3556 3 years ago
Will do!
PONGStudios 3 years ago
Amazing ¡¡ , your video is very nice and it help me to get start with flash-actionscript, thanks you, from canary islands
bheatcoker 3 years ago
Thank-you. Glad I could help!
PONGStudios 3 years ago