A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Loaded swf size

  1. #1
    I've loaded an external swf into my movie, trying both loading onto a level and into a movie clip. Each time I do, the movie is larger than the size I had set. Its a continuosly scrolling image...the actually image is about 1000 pixels, but only the 400 within the movie are supposed to show. what gives? I've tried doing a SetProperty of the width of the movieclip I loaded it into, but that seems to make it dissapear...

    thanks
    b

  2. #2
    Member
    Join Date
    Jan 2002
    Location
    Dallas, TX
    Posts
    47
    the movie disappears because unfortunatly you can't set the size until it's fully loaded. there have been a few people asking about resizing JPGs when they are imported and have had the same problems. search for one of those and you should find some good code.

    hope that helps,
    john

  3. #3
    The file is only 16k...it should be instant on my machine.

  4. #4
    Member
    Join Date
    Jan 2002
    Location
    Dallas, TX
    Posts
    47
    i hear you man. it kinda stinks, but:
    1) it should be instant, but you still have to use the onload command.
    2) when you actually publish your movie, you will have to worry about it.

    John

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