preloader problem!!!

This is a discussion on "preloader problem!!!" within the Starting Out section. This forum, and the thread "preloader problem!!! are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Starting Out

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Apr 23rd, 2007, 11:48
New Member
Join Date: Apr 2007
Location: Ireland
Age: 24
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
preloader problem!!!

hi im new to this forum so im sure you have been asked this a lot, ive been working on a website, ive placed prloaders on the content so when you select a button it will load an external swf file. the external swf is made up of several images and when you select the button it will go through them. problem is that the preloader is loading, but once it has loaded the first image of the external swf it displays the image whilst its still loading the rest of the swf. is there anything i can do so that the swf will not be diplayed until it has loaded completely? the website is www.zinkfilms.com, if you go to the animation section you will see what im talking about. here is the code i used in the preloader...

Code: Select all
var myMCL:MovieClipLoader = new MovieClipLoader();
var myListener:Object = new Object();

myMCL.addListener(myListener);

myListener.onLoadProgress = function(target_mc:MovieClip, bytesLoaded:Number, bytesTotal:Number) {
    var loaded:Number = Math.round((bytesLoaded/bytesTotal) * 100);
    progressBar.gotoAndStop(loaded);
}

myListener.onLoadInit = function (target_mc:MovieClip) {
    progressBar._visible = false;
}

myListener.onLoadStart = function (target_mc:MovieClip) {
    progressBar._visible = true;
}

myMCL.loadClip("http://www.lynda.com/flash8esst/clouds-lrg.jpg", "container");

Last edited by karinne; Apr 23rd, 2007 at 12:21. Reason: Please use [code]...[/code] tags when displaying code!
Reply With Quote

Reply

Tags
simon

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
PreLoader Problem monkeygraphik Flash & Multimedia Forum 3 Sep 19th, 2007 17:43
another preloader problem aaaaah ahwell Flash & Multimedia Forum 12 Sep 17th, 2007 18:10
preloader problem alexgeek Flash & Multimedia Forum 6 Sep 5th, 2007 18:23
flash preloader problem sathishbabu Flash & Multimedia Forum 1 Sep 5th, 2007 12:50
Help with preloader huminuh83 Flash & Multimedia Forum 4 Jan 6th, 2007 20:10


All times are GMT. The time now is 05:21.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43