A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [help] internal swf link?

  1. #1
    Member
    Join Date
    Apr 2005
    Posts
    50

    [help] internal swf link?

    Hi. Im sure there is a way to this. Im just not sure how. And its causing me to have a huge headache! ha ha ha

    I have a flash document with thumbnails in and I have AS on each of these thumbnails. They are each buttons.

    So when you click on one of these buttons a swf will load into this empty MC. Its something like this.

    on (release) {
    _root.body_all.body_pants = "shorts_yellow";
    _root.exampleBottoms.loadMovie("yellowshorts.swf") ;
    //Unload Dresses
    _root.exampleDress.unloadMovie("blacktubedress.swf ");
    }


    I want to know if you can use this in a different way so that the swf isn't loading externally, but maybe there is some sort of linkage within the library or inside the document? Hope this makes sense?

    The reason I'm asking is cause at the moment some of these swf's are taking too long to load on the server. Is there someway of making them load quicker or something?

    Thanks so much!!

  2. #2
    Senior Member
    Join Date
    Aug 2000
    Location
    Montréal
    Posts
    14,141
    If you use linkage and attachMovie(), it will be instantaneous. But your main swf will take longer to load. One way or the other, you will need to load these images. Optimize them in Photoshop (save for web) if they are raster images, or use vector images which should weigh less if there aren't too detailled.

    gparis

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