Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (37)

Sign In or Sign Up now to post a comment!
  • thank you very much you just save my work.ahaha!!!

  • Does it work with laptop? i don't have a mouse...it desn't seem to work..or i'm doin' it wrong :/

  • please dont talk like that (1:51 BLUE BAR!

    )

  • please dont talk like that (1:5`)

  • please dont talk like that (1:52)

  • 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

  • Thanks!

    I don't get why you pronounce "ball" like that, but thanks for the vid anyway... ;)

  • this is what i need! thanks man!

    is there a way to make the zoom smoother?

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

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

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

  • Is there anywhere that "Facebook game style board" tutorial ?

    I Cant find it anywhere and it is exactly what I needed.

  • Is there any way to make them grow by less than 3?

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

  • NIce tutorial!!!

    also run in actionscript 2.0?

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

  • 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

    Intead of use RedBall >>Use>> this.Redball

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

    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 mouseListener = new Object(); mouseListener.onMouseWheel = function (delta) { if (delta > 0) {scale += steps; _root.YOUROBJECT._height += _root.YOUROBJECT._height * 0.2 ; _root.YOUROBJECT._width += _root.YOUROBJECT._width * 0.2;} else if (delta < 0) {ecale -= steps; _root.YOUROBJECT._height -= _root.YOUROBJECT._height * 0.2 ; _root.YOUROBJECT._width -= _root.YOUROBJECT._width * 0.2; }} Mouse.addListener(mouseListene­r);
  • @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.

  • thank you but you're not my type . . . cheers Adam!

  • Nice tutorials. 

  • cant wait for the facebook game can u upload it when u see my message

  • What will be the alternative for the computers not having mouse wheel or laptops...

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

  • subtitles in spanish please! :P

    nice tutorial!

  • great stuff mang

  • nice tutorial adam and it works thanks man :)

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

  • Thanks man!

  • Thank you for taking note of my sexiness, Adam =D

  • "Hello. You're sexy."

    XD

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