A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Preload Large SWF Presentation.

  1. #1
    Junior Member
    Join Date
    Oct 2011
    Posts
    5

    Preload Large SWF Presentation.

    Hi,

    My clients have alarge flash presentation (kind of microsite) which is 18MB of size.

    How can i embed it to their site, and have a preloader for it.

    The Clients dont have the FLA, as the developer didnt provide, as is out of reach.

    I am a Zero-Flash knowledge, just a small time web (CSS/HTML) developer.

    http://blueprintkwt.webs.com/ppt/BV_...esentation.swf

  2. #2
    Junior Member
    Join Date
    Oct 2011
    Posts
    5
    Sorry for the wrong URL, please check this:
    http://blueprintkwt.webs.com/ppt/BV-...esentation.swf

  3. #3
    Junior Member
    Join Date
    Oct 2011
    Posts
    5
    So anyone to guide me on this?

  4. #4
    Prid - Outing Nig 13's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    1,864
    So, you want to make a Preloader in Flash?
    I am back, guys ... and finally 18 :P

    BRING BACK THE OLD DESIGN!! OR AT LEAST FIX THE AS TAGS

  5. #5
    Junior Member
    Join Date
    Oct 2011
    Posts
    5
    Yes, Need to have a preloader and also need to reduce the swf size (18MB) so it loads faster.

  6. #6
    Prid - Outing Nig 13's Avatar
    Join Date
    Jul 2006
    Location
    Norway
    Posts
    1,864
    To load, make a Dynamic Text Field, give it a Var(iable) name of my_preloader, and then on your frame, write this code:

    Actionscript Code:
    onEnterFrame = function(){
        loaded = getBytesLoaded()/getBytesTotal()*100;
        my_preloader = Math.floor(loaded);
        if(loaded == 100){
            play();
            delete onEnterFrame;
        }
    }

    To reduce your file, load your images and other large stuff dynamically, or at least try to narrow down the amount of images, as they use alot of space. Also, in your Library, right-click all your imported images, select Properties, and then under Quality, click on Custom and decrease the number!
    Last edited by Nig 13; 10-05-2011 at 07:48 AM.
    I am back, guys ... and finally 18 :P

    BRING BACK THE OLD DESIGN!! OR AT LEAST FIX THE AS TAGS

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