A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: [RESOLVED] [Help] Load SWF and Scroll / Mask

  1. #1
    Member
    Join Date
    Dec 2005
    Posts
    61

    resolved [RESOLVED] [Help] Load SWF and Scroll / Mask

    Using Flash 9 AS3.

    Attached is a prototype of a project I'm working on... Load the interface.swf and click on the button "load viewer" to load the map.swf file into interface.swf.

    Map.swf contains an image to move around with the buttons. The problem is the image (which is larger than map.swf) along the outside of the map.swf is still visible. How can I get the image to only appear within the bounds of map.swf and not outside the edges?

    The attached zip also contains fla files for both interface and map.

    I experimented with mask could couldn't get anything to work.

    Thanks for any help... a screen capture of the issue is below (the white background is the "interface"... that loads the grey viewer)

    Brent



    Click here to download zip file with source files in Flash 9 format

  2. #2
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,448
    Just put a separate mask as MovieClip over the window. Then write:

    image_mc.mask = myMask;
    - The right of the People to create Flash movies shall not be infringed. -

  3. #3
    Member
    Join Date
    Dec 2005
    Posts
    61
    Hehe... it works...so simple. Thanks...

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