Is there a way I can make the wheeled object be in front of the other ones? I have the problem that my object is behind the other ones around it when I wheel in on it and make it bigger... just asking... oO
I meant I have a button that I want people to be able to scroll (with the mouse wheel since it's a nob (potentiometer) and have it make my child movie clip play 1 frame per mouse wheel event. I'll check in the help section again but so far so, lost ;)
Great vid, thanks for sharing. I need to do something like this but not zooming. I need have a circle and outside of it there's a movie clip that I want to rotate one frame of it's movie clip per mouse wheel. The movie clip is called arrow, so I imaging it would be something like gotoAndStop("NextFrame"); for + and PrevFrame for - but not sure how to write that. I'm not new to Flash, but am very new to AS3. Any help would be greatly appreciated but either way, thanks again. I Learned a lot.
Sorry some how it didn't worked for me like video shows , I got it working replacing redball with "this.redball" but I used this next code, since it worked for me for any object
I'm making an interactive Flow from Microsoft Visio to flash, adding Onmouse over info, on click event showing windows with info, draging that windows effects etc...
@honey1313131313 - You would place zoom in and zoom out buttons like it has on Google maps. And make them manipulate the size just like the wheel does.
you could make the code better by geting rid of the if statement and changing zoomAmount to deltaVar eg:
event.target.width += deltavar;
event.target.height += deltavar;
hope this helps anyone however you cant manually controll the zoom speed but the user can because event.delta comes back with the amount of lines per scroll click which is set by the user in the settings however the default is 3 and most people dont change it.
thank you very much you just save my work.ahaha!!!
providence99ph 4 months ago
Does it work with laptop? i don't have a mouse...it desn't seem to work..or i'm doin' it wrong :/
automaticchic 7 months ago
please dont talk like that (1:51 BLUE BAR!
)
potter503 7 months ago
This has been flagged as spam show
please dont talk like that (1:51
)
potter503 7 months ago
please dont talk like that (1:5`)
potter503 7 months ago
please dont talk like that (1:52)
potter503 7 months ago
Is there a way I can make the wheeled object be in front of the other ones? I have the problem that my object is behind the other ones around it when I wheel in on it and make it bigger... just asking... oO
Lebensbaustein 8 months ago
Thanks!
I don't get why you pronounce "ball" like that, but thanks for the vid anyway... ;)
Lebensbaustein 8 months ago
this is what i need! thanks man!
is there a way to make the zoom smoother?
sharksystem1 8 months ago
I got this:
"1120: Access of undefined property event" referring to the "event.delta".
I also tried MouseEvent.delta but to no avail.
I have imported the right events and stuff (everything from display, events and ui) so that can't be the problem.
paddotk 11 months ago
Wow, I should have proof read /doh.
I meant I have a button that I want people to be able to scroll (with the mouse wheel since it's a nob (potentiometer) and have it make my child movie clip play 1 frame per mouse wheel event. I'll check in the help section again but so far so, lost ;)
Danbo342 1 year ago
Great vid, thanks for sharing. I need to do something like this but not zooming. I need have a circle and outside of it there's a movie clip that I want to rotate one frame of it's movie clip per mouse wheel. The movie clip is called arrow, so I imaging it would be something like gotoAndStop("NextFrame"); for + and PrevFrame for - but not sure how to write that. I'm not new to Flash, but am very new to AS3. Any help would be greatly appreciated but either way, thanks again. I Learned a lot.
Danbo342 1 year ago
Is there anywhere that "Facebook game style board" tutorial ?
I Cant find it anywhere and it is exactly what I needed.
raichz 1 year ago
Is there any way to make them grow by less than 3?
MythOfEchelon 1 year ago
But the addEventListener is added to the stage.
a.k.a stage.addEventListener in this case.
How is it that event.target is the circles ? I know it works...but why ?
Bracerjack 1 year ago
NIce tutorial!!!
also run in actionscript 2.0?
5plan13 1 year ago
You can also increase with a negative number, so the object would shrink. This way you dont need to type an if...else... statment. Example :
this.width += zoomAmount * deltaVar;
suggie1337 1 year ago
I did like you said in the video but for some reason it's not working for me.
I do have Flash CS3 & the ActionScript 3.0 but I don't know what went wrong. :(
So, I don't know if I'm missing something or that I need to try something else.
AwesomeGirl86 1 year ago
@AwesomeGirl86
Intead of use RedBall >>Use>> this.Redball
kikeub 1 year ago
@kikeub
Can you please clarify just a little bit.
Do I add it to the code or do I select the red ball and add the code in there?
Just wondering.
AwesomeGirl86 1 year ago
@AwesomeGirl86
Sorry some how it didn't worked for me like video shows , I got it working replacing redball with "this.redball" but I used this next code, since it worked for me for any object
kikeub 1 year ago
kikeub 1 year ago
@AwesomeGirl86
I'm making an interactive Flow from Microsoft Visio to flash, adding Onmouse over info, on click event showing windows with info, draging that windows effects etc...
If you need somenthig I can help.
kikeub 1 year ago
thank you but you're not my type . . . cheers Adam!
ynski85 1 year ago
Nice tutorials.
Naresh7080 1 year ago
cant wait for the facebook game can u upload it when u see my message
SquizzMedia 1 year ago
What will be the alternative for the computers not having mouse wheel or laptops...
honey1313131313 1 year ago
@honey1313131313 - You would place zoom in and zoom out buttons like it has on Google maps. And make them manipulate the size just like the wheel does.
flashbuilding 1 year ago 3
subtitles in spanish please! :P
nice tutorial!
pablop42 1 year ago
great stuff mang
MrShawnlloyd 1 year ago
nice tutorial adam and it works thanks man :)
yutubezone 1 year ago
you could make the code better by geting rid of the if statement and changing zoomAmount to deltaVar eg:
event.target.width += deltavar;
event.target.height += deltavar;
hope this helps anyone however you cant manually controll the zoom speed but the user can because event.delta comes back with the amount of lines per scroll click which is set by the user in the settings however the default is 3 and most people dont change it.
karrotsrkool 1 year ago
Thanks man!
qeqoOu 1 year ago
Thank you for taking note of my sexiness, Adam =D
MasterJake777 1 year ago
"Hello. You're sexy."
XD
TheArmogohma 1 year ago 25