A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: external SWF preloader text box problem

  1. #1
    Senior Member
    Join Date
    May 2006
    Posts
    119

    external SWF preloader text box problem

    I am having a problem where this external SWF preloader (from the GOTOANDLEARN) tute, does not display the text even though I have the text box set up and everything in place. it also, on load, displays the loader (less the text box) when the code states it should not be visible.

    can anyone help out?

    var mcl:MovieClipLoader = new MovieClipLoader();

    var mclL:Object = new Object();

    mclL.onLoadProgress = function(target,loaded,total) {
    loader.percent.text = Math.round((loaded/total) * 100) + "%";
    }

    mclL.onLoadInit = function() {
    loader._visible = false;
    loader.percent.text = "";
    }

    mcl.addListener(mclL);



    s_past_mc.onRelease = function () {
    loader._visible = true;
    mcl.loadClip("SB_Simple_Present.swf", holder2);
    }

  2. #2
    Senior Member
    Join Date
    Nov 2000
    Location
    Allentown PA
    Posts
    350
    did you try traceing the text to make sure it's working at all?

    mclL.onLoadProgress = function(target,loaded,total) {
    trace(Math.round((loaded/total) * 100) + "%");
    }
    http://www.Freq-Fest.com

  3. #3
    Senior Member
    Join Date
    May 2006
    Posts
    119
    I do not get trace results when I put that in....this is strange
    and my .fla is too big to post.

    any suggestions? this code is exactly as the tute states.

    Mark

  4. #4
    Senior Member
    Join Date
    May 2006
    Posts
    119
    OK, I tried open the souce files, and I guess this was a flash 8 tute.
    could anyone tell me if anything in this script is native to only flash 8?

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