Groups | Blog | Home
all groups > flash (macromedia) > january 2005 >

flash (macromedia) : preloader problems



oliver_problemchild
1/5/2005 10:34:34 PM
You can see the problem if ya surf to www.swahiliproductions.com and click on
one of the buttons
this is how i wrote the actionscript for it

thanks,
O

var pbListener: Object = new Object();
pbListener.progress = function(evt) {
suggesties_pb._visible = true;
};
pbListerer.complete = function(evt) {
suggesties_pb._visible = false;
};

suggesties_pb.addEventListener("progress",pbListener);
suggesties_pb.addEventListener("complete",pbListener);
NSurveyor
1/5/2005 10:40:01 PM
You mispelled Listener in your complete function.


pbListerer.complete = function(evt) {//<--Mispelled
suggesties_pb._visible = false;
};

oliver_problemchild
1/6/2005 9:34:36 AM
hey,...thank you very much!
Stupid i didn't see it...
Now it works offline...just need to manage that it also works online

see ya,
AddThis Social Bookmark Button