I want to make a button where if you roll out it it loads a swf and a text, but once rollOut it disappears and then when you press it loads a different swf and txt. The problem is that the roll over cmd make the press button not work, so when you press the button and u move the mouse away it unloads it too. Any ideas?:q:
Well theres probably an issue with your code. This worked in my example.
on (rollOver) {
loadMovie(“export.swf”, “first_mc”);
}
on (rollOut) {
unloadMovie(“first_mc”);
}
on (release) {
loadMovie(“new.swf”,"new_mc);
myTextField.text = “Hello”;
}
Try this, hope it helps
Kyle
But how do I unload the txt if I loaded it in RollOver?
This should work, your not loading an external .txt file are you? If so the code is different.
on(rollOver){
myTextField.text = “Hello”;
on(rollOut){
myTextField.text = “”;
}
Dont copy and paste the code but thats what it should look like.
Hope this helps
Kyle
:beam: THXS I’ve worked out the code to load an external txt. Thx for the help