A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Loading a external .swf ....

  1. #1
    Registered User
    Join Date
    Jan 2001
    Posts
    58

    Loading a external .swf ....

    i need to load a external .swf lets say test.swf into a move and scale it to lets say 80 x 80 anyone help?

  2. #2
    How should I know!? Biff Tanon's Avatar
    Join Date
    Jun 2001
    Posts
    748
    depending on what you mean by scale...
    On your "shell" page, make an empty MC and call it something like...container or something.
    if its just going to load in without a button calling it in, have an action set up like:

    loadMovie("your file here.swf", "_root.container");

    the empty mc you created will automatically take whatever size the external MC is that you are calling in. So I would just make the external .swf file the size I need, and then read it in. The empty MC will read your external file in from top to bottom, left to right. So you need to place the little white dot in like the upper left corner of where you want it to load.
    Hope this helps some! Good Luck!
    [something cool goes here]

  3. #3
    Registered User
    Join Date
    Jan 2001
    Posts
    58
    ty sorted it.

  4. #4
    Registered User
    Join Date
    Jan 2001
    Posts
    58
    ty sorted it.

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