A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Search found nothing.

  1. #1
    Senior Member
    Join Date
    Apr 2003
    Posts
    138

    Search found nothing.

    I was looking at some of the questions that people are asking. One that tickled me was on how to make a background mc shrink or get larger to fit an image. I looked all over this website and can't find any example movies. How is this accomplished or where is a good fla to see how? Thanks.

  2. #2
    Flashkit Jedi

    Join Date
    Jul 2001
    Location
    Coruscant System
    Posts
    3,426
    Assuming the image is converted to a clip or loaded into a clip, you can use the following code:

    Code:
    backmc._x = imagemc._x;
    backmc._y = imagemc._y;
    backmc._width = imagemc._width;
    backmc._height = imagemc._height;
    XFM

  3. #3
    Senior Member pellepiano's Avatar
    Join Date
    Feb 2000
    Location
    Stockholm, Sweden
    Posts
    15,151
    Lots of threads about this, some with code examples....

    http://www.flashkit.com/board/search...der=descending

    -Pelle Piano
    // Image Gallery
    www.studiobild.com
    // Photo Blog
    http://talesofthepixel.blogspot.com

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