A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: How do zoom in and out ?

  1. #1
    Senior Member Celtic_K's Avatar
    Join Date
    Dec 2004
    Posts
    238

    How do zoom in and out ?

    k i wanna start the animation zoomed in an object all the way and then i zoom out , i dont wanna change the size of the object thats gonna make it look like the object is moving i wanna make it look like the camera is moving. any1 know any tutorials for this ? thanx

  2. #2
    Senior Member Celtic_K's Avatar
    Join Date
    Dec 2004
    Posts
    238
    ne1?

  3. #3
    Banned NTD's Avatar
    Join Date
    Feb 2004
    Posts
    3,438
    Hi,

    Unfortunatly with flash, your stuck with moving things around a fixed camera position. I hope in future versions there is a camera object that can be manipulated, but for now, there are only workarounds. Here is a nice tutorial for creating a simulated camera object, but like most zooming, it requires scaling the target to the camera and not the camera to the target but it still achieves a nice effect...

    http://www.19.5degs.com/element/493....aphy-technique

    Here is another version...

    http://www.oreillynet.com/pub/a/java...ks.html?page=2

  4. #4
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Speaking of only posting links...

  5. #5
    Banned NTD's Avatar
    Join Date
    Feb 2004
    Posts
    3,438
    Only because they explain it better than I can. I have a working demo if you would like but it doesn't explain the process. I guess I could send it to him in a PM.
    Last edited by NTD; 12-28-2004 at 06:01 PM.

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