SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Thread: How can I...

  1. #1
    SitePoint Member URBANd0g's Avatar
    Join Date
    May 2003
    Location
    nyc
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How can I...

    Using the loadmovie command, how can I resize the external swf file- to fit correctly into my root directory?

    Thank you-

    marie@gourad.com

  2. #2
    SitePoint Addict KelliShaver's Avatar
    Join Date
    Mar 2003
    Location
    Morehead, KY
    Posts
    308
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't believe you can do it when you initially load the movie, but you can always do it immediately after with MovieClip._height and MovieClip._width....

    Code:
    on (event)
    {
        loadMovie("myClip", level);
        myClip._width=400;
        myClip._height=200;
    }
    something like that should do it. I've never used it before (relatively new to flash myself) and haven't tested it, so you might want to double check the syntax in the ActionScript Directory if that doesn't do it.
    Last edited by KelliShaver; May 1, 2003 at 14:55.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •