A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: bounding box issue when zooming MC

  1. #1

    bounding box issue when zooming MC


    I have a movie clip approx. 1100px wide, 1100px high that is scalable and draggable by the user.

    My problem is obviously this means that with standard

    if (_y>=1100)

    type code, when the MC is zoomed in or out, you are either stopped from seeing all the MC, or it can all be dragged off stage.

    Does anyone have any ideas as to the best way to stop this happening, so that when the user drags the clip they are never stopped from seeing it all, and are never able to drag it off stage.

    (they can zoom from 50% to 200%)

    Any help / tutorials or ideas would be great as this is stretching my maths ability!!!

  2. #2
    so noone has any ideas then?!!

  3. #3
    Senior Member
    Join Date
    May 2001
    I think, you can try something like this:


    just an idea.

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