A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: [F8] Zoom Content In ScollPane?

  1. #1
    Senior Member
    Join Date
    Sep 2003
    Posts
    356

    [F8] Zoom Content In ScollPane?

    Is it possible to zoom in and out content (images and SWF's) that has been loaded into a Scrollpane??

    I tried a search on this forum and can not seem to find what I need.


  2. #2
    Senior Member
    Join Date
    Sep 2003
    Posts
    356
    Why doesn't anybody answer my posts lately?


  3. #3
    Senior Member
    Join Date
    Sep 2003
    Posts
    356
    Well.. I got the content to zoom in/out.

    comMainScrollPane.content._xscale += 25;
    comMainScrollPane.content._yscale += 25;

    However, I want to get the original width - height of the loaded content so I can have a button that puts the image back at it's orgianl size.

    Any ideas?

  4. #4
    Senior Member
    Join Date
    May 2002
    Location
    USA
    Posts
    371
    yeah, you can do that...

    the original width and height would just be represented as:

    mc._xscale = 100
    mc._yscale = 100;

    Know what i mean?

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