Question
Icon Text sticks when returning to home page..
The text below works on stopping the text from sticking on
the icons when returning to the home page when the close button is
clicked. All work except the careers button which looks like a news
paper on my site below. The button3 is targeted to the correct
icon. This all worked until the last two set of code here were
added. This first code right below for the close button always
worked until now.
http://kbodesign.com/ostendo/index.html
This is the code on the close button
on (release) {
//unload Movie Behavior
if(this._parent == Number(this._parent)){
unloadMovieNum(this._parent);
} else {
this._parent.unloadMovie();
}
//End Behavior
_root.button3.onRollOut();
}
Here is the code on the careers button
on (release) {
//unload Movie Behavior
if(this.content_mc.content2_mc == Number(this.content_mc.content2_mc)){
unloadMovieNum(this.content_mc.content2_mc);
} else {
this.content_mc.content2_mc.unloadMovie();
}
//End Behavior
}
Here is the text on the main timeline so the scroll.swf when imported will work.
this._lockroot = true;
If anyone can help I would appreciate it. Thanks Ken
http://kbodesign.com/ostendo/index.html
This is the code on the close button
on (release) {
//unload Movie Behavior
if(this._parent == Number(this._parent)){
unloadMovieNum(this._parent);
} else {
this._parent.unloadMovie();
}
//End Behavior
_root.button3.onRollOut();
}
Here is the code on the careers button
on (release) {
//unload Movie Behavior
if(this.content_mc.content2_mc == Number(this.content_mc.content2_mc)){
unloadMovieNum(this.content_mc.content2_mc);
} else {
this.content_mc.content2_mc.unloadMovie();
}
//End Behavior
}
Here is the text on the main timeline so the scroll.swf when imported will work.
this._lockroot = true;
If anyone can help I would appreciate it. Thanks Ken