OZONE Asylum
Forums
Multimedia/Animation
My External buttons are not working
This page's ID:
30302
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Hi there, I have a main.fla where I keep my mcHolders and mcLoaders. After loading in my interface.swf (where are my buttons) into my main movie (root), I have these actions on last frame of main.fla: [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] So basically it's loading in my news.swf on centerHolder. That's working. Now back inside my interface.swf, I have my buttons. And this is an example of one (not working): [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); } }[/code] Any help? I'm stuck!
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »