Topic: My External buttons are not working (Page 1 of 1) |
|
---|---|
Obsessive-Compulsive (I) Inmate From: |
posted 06-03-2008 17:39
Hi there, I have a main.fla where I keep my mcHolders and mcLoaders. code: var mcl3:MovieClipLoader = new MovieClipLoader(); var mclL3:Object = new Object(); mclL3.onLoadProgress = function(target,loaded,total) { centerLoader.percent3.text = Math.round((loaded/total) * 100) + "%"; } mclL3.onLoadInit = function() { centerLoader._visible = false; centerLoader.percent3.text = ""; } mcl3.addListener(mclL3); _root.currMovie = "news"; mcl3.loadClip(_root.currMovie+".swf",centerHolder);
code: var mcl4:MovieClipLoader = new MovieClipLoader(); var mclL4:Object = new Object(); mclL4.onLoadProgress = function(target,loaded,total) { _root.centerLoader.percent3.text = Math.round((loaded/total) * 100) + "%"; } mclL4.onLoadInit = function() { _root.centerLoader._visible = false; _root.centerLoader.percent3.text = ""; } mcl4.addListener(mclL4); menuOT.b1.buttonText.buttonText.text = "PRODUCTS"; menuOT.b1.onRelease = function() { if (_root.currMovie == undefined || _root.currMovie != "products") { _root.currMovie = "products"; _root.mcl4.loadClip("products.swf",topHolder); _root.mcl3.unloadClip("news.swf",centerHolder); } }
|
Maniac (V) Inmate From: Brisbane, Australia |
posted 06-25-2008 01:52
Could be any number of things going wrong in there, and it might not be the code itself. Post the FLA files somewhere so we can take a look at them. |