A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Right Click and Zoom effect

  1. #1

    Right Click and Zoom effect

    I'm making a shooting game and I would like a SIMPLE zoom effect.

    I've noticed that the right click method and clicking "zoom in" is exactly what I want. Is there a way to initiate that exact same function, but say once the user hits spacebar?


    I realize there are probably other ways I could do it, such as grabbing all of the children and scaling them times 2. But I figure flash seems to have that method packed in already, so is there a way I can just grab that way I've said and use it?


    Thanks

  2. #2
    Intermediate Game Dev pseudobot's Avatar
    Join Date
    May 2008
    Location
    New Zealand
    Posts
    561
    Nope, but having a movieclip containing all other movieclips and scaling that will work with no problem.
    Needs an update...

  3. #3
    Funkalicious TOdorus's Avatar
    Join Date
    Nov 2006
    Location
    Nijmegen, Netherlands
    Posts
    697
    Really, you can't rescale the stage?

Tags for this Thread

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