A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: how can i make some action happen when i click the mouse button?

  1. #1
    Senior Member
    Join Date
    Apr 2000
    Posts
    136
    i want the action to change when i click the mouse button, but i don't want to use a button, how can i do it?

  2. #2
    Moderator
    FK Junkie
    TiefighT's Avatar
    Join Date
    Aug 2000
    Posts
    683
    I don't think there is a way in flash other than a button, what are you trying to do?

    thanks

  3. #3
    Senior Member
    Join Date
    Apr 2000
    Posts
    136
    i'm making a break-out game, and i want the ball to go up when i click.

  4. #4
    Senior Member
    Join Date
    Jun 2000
    Posts
    911
    You can use onClipEvent () on a movie clip:
    Code:
    onClipEvent (mouseDown) {
            -- mouse is pressed without a button --
    }
    Good luck.

  5. #5
    Moderator
    FK Junkie
    TiefighT's Avatar
    Join Date
    Aug 2000
    Posts
    683
    I stand corrected

    thanks ahab, that could come in handy...

  6. #6
    Senior Member
    Join Date
    Apr 2000
    Posts
    136
    cool thank's

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center