dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [MX] popup directions

Hybrid View

  1. #1
    Senior Member
    Join Date
    Jan 2008
    Posts
    394

    [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.

  2. #2
    FK'n_dog a_modified_dog's Avatar
    Join Date
    Apr 2003
    Location
    "aaarf"
    Posts
    9,176
    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
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center