Groups | Blog | Home
all groups > flash actionscript > june 2006 >

flash actionscript : reusing a progress bar


-->dan mode
6/30/2006 2:13:23 PM
Here is a sample:
http://www.smithmediafusion.com/blog/?p=31

Let me know if you have any questions.


--


Dan Mode
*THE online Radio* http://www.tornadostream.com
*Must Read* http://www.smithmediafusion.com/blog
*Flash Helps* http://www.smithmediafusion.com/blog/?cat=11

[quoted text, click to view]

FlashForumName
6/30/2006 6:57:37 PM
I have a progress bar that uses a loader as it's source. I load various
external swf's into this loader based on the users' actions. The problem is,
after I load the first external swf then set the progressbar to invisble or
transparent (tried both approaches), when I make the progressbar visible or
non-transparent again, it just stays at 100% and does not update. Any
thoughts? I've even tried changing the source in between but to no avail. Any
help would be appreciated.

listenerObject2 = new Object();
listenerObject2.complete = function(eventObject)
{
loadbar2._visible = false;
}
loadbar2.addEventListener("complete",listenerObject2);


then later on:

loadbar2._visible = true;
LoadIntro.contentPath = "SensorSpec.swf";
LoadIntro.load();
AddThis Social Bookmark Button