Preloading in CS3

Hi Everyone,
I hope someone can help me from this forum. I am setting up
my preloading for CS3. I went through a tutorial,
everything works great when I test the movie, but when it's
uploaded on the internet, the preloading
numbers and preloader bar do not show up.
Below is my website
http://www.franchelle.com
Can someone help?
Thanks in Advance!

I have found the code:
var myRequest:URLRequest = new URLRequest("insitev3A.swf");
var myLoader:Loader = new Loader ();
myLoader.load(myRequest);
myLoader.contentLoaderInfo.addEventListener(Event.INIT
,initHandler);
myLoader.contentLoaderInfo.addEventListener(Event.OPEN,showPreloader);
myLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,showProgress);
myLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,showContent);
var myPreloader:Preloader = new Preloader();
function initHandler(e:Event) {
MovieClip(LoaderInfo(e.target).content).stop();
function showPreloader(event:Event):void {
addChild(myPreloader);
myPreloader.x = stage.stageWidth/2;
myPreloader.y = stage.stageHeight/2;
function showProgress(event:ProgressEvent):void {
var percentLoaded:Number =
event.bytesLoaded/event.bytesTotal;
myPreloader.loading_txt.text = "Loading - " +
Math.round(percentLoaded * 100) + "%";
myPreloader.bar_mc.width = 198 * percentLoaded;
function showContent(event:Event):void {
removeChild(myPreloader);
addChild(myLoader);
MovieClip(LoaderInfo(event.target).content).play();

Similar Messages

  • CS3, MFC70.dll is missing JS Error - AQW.js, TypeError:AdvancedQueryWizard.preload is not a function

    Hi guys,
    BE SURE TO READ THE UPDATE BELOW....
    I have searched both Google and the Forums, but cannot find anything on this one.  Here is the history and both errors:
    Recently upgraded to new machines with an upgrade to Windows 7 from XP prof.  I personally installed the CS3 (web premium, upgraded from previous version) and all went well.  The only change was that I did not install all of the previous versions of Dreamweaver, like I had on my old PC.  I opened DW, pulled in all of my websites from the backup (work as a web developer/graphics designer) and all worked fine.
    I left for Christmas vacation, remoted in a few times, so I know my laptop was fine, never lost power, etc., but never did have to open DW during that time.
    Got back this week, had to make a change to a page that contains the XMLFlashSlideshow (v3).  Opened Dreamweaver and got the first of two errors: "MFC70.DLL is Missing"  The message indicated a reinstall would take care of the problem.  I clicked ok, and then I got this error message:
    While executing onLoad in AQWLoad.htm, the following JavaScript error(s) occured:
    At line 60 of file "C:/Program Files (x86)\Adobe\Adobe Dreamweaver CS3\Configuration\Startup\..\Shared\AQW\AQW.js": TypeError:AdvancedQueryWizard.preload is not a function
    When I clicked OK, the message appeared again immediately.  I clicked ok again, and Dreamweaver began to open.
    I figured I could make the change and troubleshoot after, but when I went in, I could not longer see the box I normally see to click on to edit for the slideshow.  These error messages occur every time I open Dreamweaver, even after a reinstall.  I did not have this page, nor even this site as the default when first opening DW when the errors first occurred.
    UPDATE:  These errors do not seem to occur the first time Dreamweaver is run, be do occur each time afterwards.
    I have also noticed that I cannot print from Word 2007 to the Adobe printer driver as I always have.  Not sure if that is related or not.
    Any ideas, anyone else run into this?
    Thanks for anything help you can send my way.
    Thanks,
    Suzanne

    For the JS error: http://kb2.adobe.com/cps/405/kb405604.html
    If mfc70.dll is really missing, that is a core Windows file.  If you need to fix that you need to have your Windows 7 disc ready and run "sfc /scannow" in the command prompt.  You may need your Windows 7 if the file cannot be repaired and has to be restored.  This can affect all aspects of your system and not just Dreamweaver if there is really a problem there. 
    The Word -> Adobe Printer is another issue.  You may want to post that in the Acrobat forums along with the version of Acrobat Professional you are using.

  • Preloader AS2 wont work in FL CS3?!

    this is strange and i can only think it's me who's missing
    something.
    i have a preloader script i used with Flash 8 but when i try
    to attach it in the movie i made in FL CS3 it doesn't work (the new
    movie is in AS2).
    can anyone tell what i'm doing wrong??
    Here's the code

    it's WindowsXP x64 bug again!! I tried the same code on
    another computer running XP (x32) and all looks as it should, i try
    the same .fla at x64 and script won't work.
    should i post this somewhere else???

  • Preloading in Flash CS3/Actionscript 3

    I am wondering if anyone know why this is happening:
    I built a preloader based on code from the net. Once the
    preloader plays through (in simulated download) it opens to the
    first "stop();" in the MC timeline instead of starting at frame 1.
    Here is the code I am using:

    I have found the code:
    var myRequest:URLRequest = new URLRequest("insitev3A.swf");
    var myLoader:Loader = new Loader ();
    myLoader.load(myRequest);
    myLoader.contentLoaderInfo.addEventListener(Event.INIT
    ,initHandler);
    myLoader.contentLoaderInfo.addEventListener(Event.OPEN,showPreloader);
    myLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,showProgress);
    myLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,showContent);
    var myPreloader:Preloader = new Preloader();
    function initHandler(e:Event) {
    MovieClip(LoaderInfo(e.target).content).stop();
    function showPreloader(event:Event):void {
    addChild(myPreloader);
    myPreloader.x = stage.stageWidth/2;
    myPreloader.y = stage.stageHeight/2;
    function showProgress(event:ProgressEvent):void {
    var percentLoaded:Number =
    event.bytesLoaded/event.bytesTotal;
    myPreloader.loading_txt.text = "Loading - " +
    Math.round(percentLoaded * 100) + "%";
    myPreloader.bar_mc.width = 198 * percentLoaded;
    function showContent(event:Event):void {
    removeChild(myPreloader);
    addChild(myLoader);
    MovieClip(LoaderInfo(event.target).content).play();

  • Preloader Issues Flash CS3 Actionscript 2

    My preloader is acting all sorts of strange. I have other
    layers that are supposed to be visible at the same time as the
    preloader, and sometimes they are there, but sometimes only the
    dynamic text box of the preloader shows and nothing else. It seems
    to happen about every other time I load or refresh the page.
    Can anyone tell me why this might be happening? It's working
    half the time.
    Is it something with the way my layers are ordered that the
    rest aren't showing up?
    Here is the link to the site:
    www.kathryngillespie.com
    I know it takes a while to load on some connections...I'm a
    flash newbie and I'm going to go back and change the section with
    the images and optimize them better to get the size down.
    I can also email a picture of my time line setup because I
    don't see an option to post it here.
    Thanks in advance!

    I found the solution!
    it's vista who makes it lag :(
    i set the compatibily to windows XP and now it runs fast as
    hell :D

  • Looking for a preloader that would work with my fullscreen (liquid) flash

    Hi!
    I'm building my own Flash website using a fullscreen (liquid
    layout) Flash tutorial that I found somewhere (can't remember
    where)...
    I was having problems with a preloader that I've been using
    (modifying) for my Flash jobs... I decided to keep working on my
    website anyway and get back to that later... But now it's just
    annoying me and I'd really love to figure out how to get a
    preloader to work with my site.
    My site is not complete yet, and it's probably not built the
    best way it should (my first full-flash website!.. plus I'm a
    designer, I really suck with code) but here's a link to download my
    zipped .fla file (Flash CS3) + fonts (don't know if you need that
    but anyway):
    http://www.studioorangedesign.com/SOD_site.zip
    Hopefully, you guys can tell me how I could get a preloader
    to work with my site.
    All I really need is to have a really simple clean font that
    shows a percentage going up or a bar filling up... nothing fancy
    needed here...
    Thanks!

    Hi there,
    The following code is what I use for preloading. You have to
    put it on the first frame. I think you will be able to attach it to
    your own code.
    //Actionscript 3
    stop();
    this.addEventListener(Event.ENTER_FRAME,testInterval);
    function testInterval(e:Event):void{
    var nLoadedBytes:Number = loaderInfo.bytesLoaded;
    var nTotalBytes:Number = loaderInfo.bytesTotal;
    //trace (nLoadedBytes / nTotalBytes * 100)
    percent.text = Math.round(nLoadedBytes / nTotalBytes * 100)+
    “% complete”;
    //trace (nLoadedBytes / nTotalBytes * 100)
    if (nLoadedBytes >= nTotalBytes) {
    trace(”load complete”);
    this.removeEventListener(Event.ENTER_FRAME,testInterval);
    play();
    //End
    Creation site internet |
    Radins
    |
    Jeux Concours |
    Programme TV

  • Preloader loading problem

    Hi, everyone!
    I've made a preloader in Flash CS3 with AS2. It has the
    following code
    in theory it works, but if i test it, first it shows nothing,
    and after a while it become visible and shows the preloader bar
    loading from 90%.
    the 'preloader' in the code is a movieclip. it contains a 100
    frame shape tween.
    Does anyone know, why it isn't visible at the beginning? How
    can i fix it?

    You have to keep in mind what is actually going on when Flash
    is checking the progress of the download. There are a whole lot of
    processes going on. Flash has to spend most of its time and energy
    in the actual download, not in the reporting. The amount of the
    content that is reported at first and the size of each subsequent
    chunk will not start at 1% and proceed at orderly intervals. The
    result that you get when auditing the download process will depend
    on the contents of the file that is downloaded, how large the file
    is, the speed of the connection and the speed of the computer's
    processor.
    Remember, the purpose of showing a download progress is not
    to show how long it takes, but to provide a visual que to the user
    so that they will know that your site is not stalled. You really
    want to design so that you don't need a loading screen.

  • Preloader Syntax Error

    Need help with ActionScript 2.0 and Player 9. I am trying to
    update my flash pages with Player 9.0 and discovered an
    incompatibility with the preloader code. I keep getting this
    message:
    **Error** Symbol=preloader, layer=background, frame=1, Line
    6: Syntax error.
    _parent.bytes = int(isloaded/1000) add " KB of " add
    int(total/1500) add " KB";
    **Error** Symbol=preloader, layer=background, frame=1, Line
    7: Syntax error.
    _parent.percent = int(p) add "% LOADED";
    Total ActionScript Errors: 2, Reported Errors: 2
    Any help would be greatly appreciated. Thanks!

    With Flash CS3 the "add" operator was removed -- it had been
    depriciated sinc Flash 6 (I think).
    So use "+" instead. Like this:
    _parent.bytes=int(isloaded/1000) + " KB of "+int(total/1500)
    +" KB."

  • Preloader works in Flash, but not after upload

    Hi all. I'm having problems with a preloader. When I test the
    preloader in Flash (using the simulate download option) it works
    like a charm. I publish and upload the file to the server...and
    when you visit the site, you just get a blank white page until
    everything is loaded. I have included the code. Please
    remember...it works correctly when simulating a download in Flash,
    but it does not work at all after upload. Any ideas?
    Thanks for the help!

    Naw...didn't work. I'm use CS3 and all the preloaders I ever
    did (using the same code) in CS2 worked fine. I'm creating the .swf
    using Actionscript 2.0 (not 3.0). Is there a problem when the
    document gets published with CS3 which would stop the preloader
    from working on the server?

  • Cs4 as3 preloader

    Hi,
    Is there a surestarter preloader in AS3 with CS4? Meaning here, showing a progress bar or percentage value before loading the main swf, right away at the start of the  loading.
    I tried 3 different versions:
    1- I used the code from a video (and accompanying files), and simply changed the content.swf to my own swf file (rename my swf content.swf), so that the original code would load my swf instead of the original content.swf. (original content.swf was too small to see anything before loading, because my loading speed is too fast).
    Here is the code from the original preloader (loads a small swf which then loads the main swf file):
    var l:Loader = new Loader();
    l.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, loop);
    l.contentLoaderInfo.addEventListener(Event.COMPLETE, done);
    l.load(new URLRequest("content.swf"));
    function loop(e:ProgressEvent):void
    var perc:Number = e.bytesLoaded / e.bytesTotal;
    percent.text = Math.ceil(perc*100).toString();
    function done(e:Event):void
    removeChildAt(0);
    percent = null;
    addChild(l);
    and here is the link to the file:
    http://www.raidcanada.com/preloader-org-test.html
    2- used the code suggested, which does the preloading directly in the main swf file:
    stop(); 
    //Import the required assets
    import flash.display.*;
    //Stop the playhead while loading occurs
    this.stop();
    //Create a listener to call the loading function as the movie loads
    this.loaderInfo.addEventListener (ProgressEvent.PROGRESS, PL_LOADING);
    /*This is the main function, basically it grabs the total and loaded bytes,
    calculates a percentage, and displays it by stretching the bar and adjusting
    the textfield display. If your bar/textbox instancenames are NOT lbar/lpc,
    you'll need to adjust this code to match your instance names*/
    function PL_LOADING(event:ProgressEvent):void {
    var pcent:Number=event.bytesLoaded/event.bytesTotal*100;
    //Stretch the bar
    lbar.scaleX=pcent/100;
    //Display the % loaded in textfield
    lpc.text=int(pcent)+"%";
    //If the movie is fully loaded, kick to the next frame on the main timeline
    //You may wish to change the gotoAndStop(2) to a gotoAndPlay(2)
    if(pcent==100){
    this.gotoAndPlay(2);
    This one doesn't work either, and if you refresh the page, you get only the bar, instead of refreshing the main swf.
    http://www.raidcanada.com/test/test-2.html
    3- use the code suggested to replace the preceding version:
    stop();
    addEventListener(Event.ENTER_FRAME,checkLoad);
    function checkLoad(e:Event):void {
    var pcent:Number=this.loaderInfo.bytesLoaded /this.loaderInfo.bytesTotal*100;
    lbar.scaleX=pcent/100;
    lpc.text=int(pcent)+"%";
    if (pcent==100) {
    removeEventListener(Event.ENTER_FRAME,checkLoad);
    this.gotoAndPlay(2);
    This one loads correctly (without the percentage or progress bar) and the refresh is OK.
    http://www.raidcanada.com/test/test-1.html
    The idea is to have this page load correctly showing a percentage sign and a progress bar until the loading is complete for this page:
    http://www.raidcanada.com/entete-multi-hiver-1-test.html
    Every time I test the swf directly in Flash CS4 with the simulated download, I get the progress bar and percentage correctly.
    I also tried with Firefox and get the same results.
    FLAs are at:
    http://www.raidcanada.com/test/test-1.fla
    http://www.raidcanada.com/test/test-2.fla
    and screenshots of FLASH (showing the progress bar in "test movie" with simulated download):
    http://www.raidcanada.com/test/screenshot-test-1.jpg
    http://www.raidcanada.com/test/screenshot-test-2.jpg
    Am I missing something?
    THank you in advance

    Hi,
    I am using Internet Explorer 8, version 8.0.7600.16385 with Windows 7 Ultimate or Firefox 3 version 3.5.9
    If I flush the cache and load the page:
    http://www.raidcanada.com/entete-multi-hiver-1-test.html
    It takes about 5 seconds with a blank screen before I get the main swf displayed.
    If I load the page: http://www.raidcanada.com/test/test-1.html
    It takes about 1 second with a blank screen before I get the main swf displayed. The main swf file is much smaller.
    I also did a lot of tests, and still the same problem. Temporarely, on the production site, I ended up installing a static Image saying "Loading", without the code, which then loads the large swf. But some customers are seeing the "Loading" for 14 sec to 24 seconds, depending of the swf file.
    I know the code suggested is probably working with CS3 and AS2, but I need to make it work with CS4 and AS3, because my other code is all in AS3, built with CS4. As I said before, if I make a simulation, the simulation is perfect.
    Thanks

  • CS3 Crashing for fun

    Hi,
    I've just started a new job this week where I'm working as the in-house videographer & I'm experiencing a massively frustrating issue with CS3 - Premiere in particular (although this problem isn't limited to Premiere) where it's crashing on me almost every ten minutes. I've tried to establish if there is any pattern to my activity e.g. crashing on a render, capture etc, but all I've been able to see (thanks to timing my sessions on my phone) is that it the programme will crash anywhere between 7mins to 10mins into using Premiere. Everytime it's crashed there has been, thus far, no error messages thrown up.
    I'm working off of a Mac Pro - the hardware overview of the system is as follows:
      Model Name:          Mac Pro
      Model Identifier:          MacPro2,1
      Processor Name:          Quad-Core Intel Xeon
      Processor Speed:          3 GHz
      Number Of Processors:          2
      Total Number Of Cores:          8
      L2 Cache (per processor):          8 MB
      Memory:          3 GB
      Bus Speed:          1.33 GHz
      Boot ROM Version:          MP21.007F.B06
      SMC Version (system):          1.15f3
      Serial Number (system):          C0736083UPZ
      Hardware UUID:          00000000-0000-1000-8000-0019E3FA0A36
    Any help or advice on this matter would be greatly appreciated
    Matt

    I can recommend two things.  First, upgrade to a self-built (or custom-built)* Windows 7 machine using an i7 processor and at least 8GB of RAM.  Second, upgrade to CS 5.5.  Chances are overwhelmingly good that will solve any issues you currently have.
    *You want a system build specifically for editing.  Off the shelf computers come with all kinds of junk preloaded that can interfere with the smooth operation of such sophisticated applications.

  • Help with simple preloader- please

    hello,
    i'm trying to get a simple preloader and progress bar working
    for a swf file. The problem is the main swf. movie starts playing
    under preloader before the preloader is finished. So when the
    preloader has finished you are already well into the main movie.
    (After the movie loops you can see the first part that was missing
    during the preload.) This is the AS that i found from a web site
    (MonkeyFlash), it is AS 3. Below is the script.
    here is a link to the page with the movie:
    http://www.aquatichealings.com/new/
    Also is it not advisable to use AS3 because it will only work
    in Flash 9 and not below and most people may not have 9? Should i
    be starting over in AS2. I had built a AS2 in Flash CS3 but had the
    same problem.
    Please kindly advise on how to make it work correctly. I'd
    really appreciate some help, i've gotten books and scoured the web
    for different methods and i'm afraid i'm a bit of a numb skull with
    Flash and can not seem to get a simple preloader and progress bar
    working correctly. THANKS!
    gregory
    var myRequest:URLRequest = new URLRequest("aquatic-h.swf");
    var myLoader:Loader = new Loader();
    myLoader.load(myRequest);
    myLoader.contentLoaderInfo.addEventListener(Event.OPEN,showPreloader);
    myLoader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS,showProgress);
    myLoader.contentLoaderInfo.addEventListener(Event.COMPLETE,showContent);
    var myPreloader:Preloader = new Preloader();
    function showPreloader(event:Event):void {
    addChild(myPreloader);
    myPreloader.x = stage.stageWidth/2;
    myPreloader.y = stage.stageHeight/1.2;
    function showProgress(event:ProgressEvent):void {
    var percentLoaded:Number =
    event.bytesLoaded/event.bytesTotal;
    myPreloader.loading_txt.text = "Loading - " +
    Math.round(percentLoaded * 100) + "%";
    myPreloader.bar_mc.width = 198 * percentLoaded;
    function showContent(event:Event):void {
    removeChild(myPreloader);
    addChild(myLoader);
    }

    ... the pre-loader clip must be accompanied by a "stop"
    perhaps a "stop all sounds", too ActionScript on the action layer
    of the main timeline.
    I keep it simple and ask my prloader to not let the main
    timeline play until the final frame of the movie has loaded. The
    final frame is accompanied by a frame labeled "End" on a layer of
    the main timeline of just labels.

  • Preloader keeps looping- desperate

    Hi,
    I'm having issues with a preloader on my website. I made it
    in a seperate swf from my main site using the progress bar
    component but I added an animation movie clip to go along with it.
    the issue i'm having is coming up with script to stop my animation
    movie clip when my website loads. Right now my progress bar loads
    and then disappears but my animation continues playing over my
    website menu. I'm so frustrated with this, I been looking at sites
    all day trying to find script that might work. I need some code to
    make my animation disappear when my site loads. I'm using CS3
    action script 2.0. Any help would be greatly greatly appreciated.
    the malfunctioning awfulness of my preloader can be viewed at
    www.jenniferwaydesign.com

    Hi,
    Sorry, No I was just trying something and the animation
    disappeared entirely but no the problem is still there, I put the
    original swf file with the faulty animation script back up so it
    should show it now.
    yes, it is a large flash file and i think eventually i'll
    have to do that but for time's sake at the moment what i have just
    has to work for resumes until i have the time to go in and redo
    everything
    I've been trying to use event listeners, i'm just having a
    difficult time applying the percent loaded in my progress bar to my
    animation movie clip to make it go away when the event is
    loaded.

  • Preloader code

    I'm using the code from this tutorial for a preloader.  Though I am not using a dynamic text field like the tutorial says.
    I took the line referring to the dynamic text field out of the code, but it's still not working?
    The animation has 2 frames with movie clips in each. One for the preloader and one for the main content.
    Do I need to put somekind of stop or non-looping code in here so it doesn't go back to frame 1(preloader)??
    http://schoolofflash.com/blog/2008/04/flash-cs3-tutorial-actionscript-3-preloader/
    this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, onProgress);
    this.loaderInfo.addEventListener(Event.COMPLETE, onComplete);
    function onProgress(e:ProgressEvent):void
        var loaded:Number = e.target.bytesLoaded;
        var total:Number = e.target.bytesTotal;
        var pct:Number = loaded/total;
        loader_mc.scaleX = pct;
    function onComplete(e:Event):void
        nextFrame();

    You would do well to have stop(); commands in both frames, though I believe nextFrame() includes a stop action in its landing procedure.
    You might want to consider an alternative approach for a preloader design.  Here's a link to another tutorial...
    http://www.gotoandlearn.com/play?id=85

  • Preload extern swf results in weid behavior. It this normal?

    Hello,
    I tried to load an external swf file. In this swf file i have an embeded movie so that i see the preloader in action.
    What happens is, that while preloading i hear the movie playing in the background.
    So when the external swf is at for example 20% preloading the timeline is already playing in the external swf.
    Isn't that weird?
    I also noticed that the Event.INIT get's executed sooner for example at 17%  progress.  This should be at 100% is it not?
    And in CS3 i get the error while previewing the bandwidth profiler:
    Error #2044: Unhandled IOErrorEvent:. text=Error #2036: Load Never Completed.
    Does anyone know what is going wrong?
    Regards,
    Chris
    This is the code i use:
    package {
    import flash.display.LineScaleMode;
    import flash.display.DisplayObject;
    import flash.net.URLRequest;
    import flash.display.Loader;
    import flash.display.Sprite;
    import flash.events.Event;
    import flash.events.ProgressEvent;
    import flash.display.MovieClip;
    * @author chris
    public class PreloadMain extends MovieClip {
    private var _loaderSprite:Sprite;
    private var _request : URLRequest;
    private var _loader : Loader;
    private var _myMovie:Sprite;
    public function PreloadMain() {
    addEventListener(Event.ADDED_TO_STAGE, init);
    private function init(event:Event):void {
    _request = new URLRequest("../swf/main.swf");
    _loader = new Loader();
    _loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, loadProgress, false, 0, true);
    _loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadingComplete, false, 0, true);
    _loader.contentLoaderInfo.addEventListener(Event.INIT, loadInit)
    _loader.load(_request);
    drawLoader();
    private function drawLoader():void {
    trace("draw");
    _loaderSprite = new Sprite();
    _loaderSprite.graphics.lineStyle(1, 0x000000,1,false, LineScaleMode.NORMAL );
    _loaderSprite.graphics.beginFill(0x0000FF, 1);
    _loaderSprite.graphics.drawRect(0, 0, 150, 20);
    _loaderSprite.graphics.endFill();
    _loaderSprite.x = stage.stageWidth/2 -_loaderSprite.width/2 ;
    _loaderSprite.y = stage.stageHeight/2 - _loaderSprite.height/2;
    addChild(_loaderSprite);
    function loadProgress(event:ProgressEvent):void
        var percentLoaded:Number = event.bytesLoaded / event.bytesTotal;
        percentLoaded = Math.round(percentLoaded * 100);
      _loaderSprite.scaleX = percentLoaded/100;
       trace("loaded " +String(uint(percentLoaded)) + "%" );
        //this.percentLoaded.text = String(uint(percentLoaded)) + "%";
    function loadingComplete(event:Event):void
      removeChild(_loaderSprite);
      _myMovie = Sprite(_loader.content);
      addChild(_myMovie);
    _loader.contentLoaderInfo.removeEventListener( ProgressEvent.PROGRESS, loadProgress);
    _loader.contentLoaderInfo.removeEventListener(Event.COMPLETE, loadingComplete);
    _loader = null;
       trace("Load Complete");
    function loadInit(event:Event):void {
    trace("load Init");

    It is normal to receive Event.INIT before Event.Complete because on Init event you may access as3 on loaded swf, but the symbols of library may still downloading.

Maybe you are looking for

  • How can I make a FlashAlbumExporter background transparent?

    I really like the very cool FAE (as suggested on this most excellent forum) but the gui offers no choice as for background opacity. A little search on the net reveals a few ideas but none of them seem to work. I am using the following iframe code in

  • Page cropping problem in Acrobat XI

    I have a title built in InDesign that I export in PDF for the printer. I discovered over successive runs that I needed to shift the y axis a tad and widen the gutter to get the best production results. Here is the routine for doing so in Acrobat Pro

  • Linked Images : Automatic Folder Creation for linked images?

    Best Rgards Mac OSX 10.9.3 InDesign CC (9.2.1) Presently: 120 page Blurb publishing with 190 images I have created a large number of INDD documents that I piece together from many sources, such as file folders, internet searches, external drives, ema

  • Is there a way to get full  screen?

    hello this my first imac, could someone please tell me if full screen mode is possible and how to do it? thanks for any help.

  • "the attachment size exceeds the allowable limit" when trying to move email

    I am just trying to archive deleted items yet when I even highlight a small range and try to move them to the archive I get the attached error. I've done and advanced find in the deleted items folder for attachments larger than 1MB and already moved