-
[MX] popup directions
I have this actionscript that opens window of directions on roll over but its supposed to delete the words direction. but it doesn't. I also can't repeat the actions.
Code:
on (rollOver) {
unloadMovie("dir");
unloadMovie("dir_words");
attachMovie("directions", "directions", this.getNextHighestDepth());
}
on (rollOut) {
this.unloadMovie("directions");
this.attachMovie("dir", "dir", this.getNextHighestDepth());
this.attachMovie("dir words", "dir words", this.getNextHighestDepth());
}
Last edited by kraxyk; 06-13-2008 at 02:40 PM.
-
FK'n_dog
try -
PHP Code:
on (rollOver) {
_root.dir.removeMovieClip();
_root.dir_words.removeMovieClip();
_root.attachMovie("directions", "directions", _root.getNextHighestDepth());
}
on (rollOut) {
_root.directions.removeMovieClip();
_root.attachMovie("dir", "dir", _root.getNextHighestDepth());
_root.attachMovie("dir words", "dir_words", _root.getNextHighestDepth());
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|