dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Changing the size of a loaded in movie

  1. #1
    Random logic?
    Join Date
    Oct 2000
    Posts
    410

    Changing the size of a loaded in movie

    Hi, is it possible to load an swf into another but have it loaded in one a 50% its normal size (without editing the swf that's being loaded in...)

    M@)

  2. #2
    FK's Geezer Mod Ask The Geezer's Avatar
    Join Date
    Jul 2002
    Location
    Out In The Pasture
    Posts
    20,490
    Let's say your loading one swf into a movie clip named box2. On the frame you want it to load at, add a frame action:

    box2.loadMovie("steam2.swf");
    box2._xscale = 50;
    box2._yscale = 50;

    Or, you could add it to a button:

    on(release){
    loadMovie("steam2.swf", "box2");
    box2._xscale = 50;
    box2._yscale = 50;
    }

  3. #3
    Random logic?
    Join Date
    Oct 2000
    Posts
    410
    Cheers iaskwhy, that really helped...

    M@)

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