flash loadmovie
- Started
- Last post
- 15 Responses
- emptyempty
Got a wee problem here, i want to load index2.swf on top of index1.swf after click on a button but once i do this, the button from index1.swf is still clickable even thou the index2.swf are already loaded. how do i sort this out?
Know what i mean?
I use -on (release) {
_parent.contents.loadMovie("inde...
}
- kyl30
yourButton.enabled = false;
- emptyempty0
does that mean i've got to have instance name for the buttons?
- kyl30
you betcha
- emptyempty0
tried this, but doesnt work -
on (release) {
_root.contents.loadMovie("index2...
yourButton.enabled = false;
}
- kyl30
is the button you're trying to disable the ame as the one your pressing?
- emptyempty0
yep the same one
- kyl30
not sure if there would be a conflict but it might
try
this.enabled = false;
- kyl30
this worked for me
on (release) {
mybutton.enabled = false;
}
- emptyempty0
it worked! many thanks dude
;)
- kyl30
you could also set up a function
- kyl30
no probs jim
- emptyempty0
it worked fine, but when i went back to index1.swf (after unloadmovie index2.swf), everything in index1.swf is disabled. Any idea how to avoid this?
- UndoUndo0
after unloading the movie:
mybutton.enabled = true;
- emptyempty0
i've tried it, but it doesnt work
- emptyempty0
*bump