TheMerryMaker
July 22nd, 2003, 08:04 PM
first is this-
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.nextFrame();
} else {
this.prevFrame();
}
}
this makes a movie clip and not a button play an animation on roll over but will stop the animation and play it in reverse on roll out. this i got off this forum and is very cool and i plan on using it alot once i understand it. i was hoping someone could explain whats going on here cuz i dont want to be just blindly coping code.
Second-
can the "telltarget" command be used with the above? If so, how?
If someone could direct me to info on this or expain it, that would help me a ton. Thanks
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.nextFrame();
} else {
this.prevFrame();
}
}
this makes a movie clip and not a button play an animation on roll over but will stop the animation and play it in reverse on roll out. this i got off this forum and is very cool and i plan on using it alot once i understand it. i was hoping someone could explain whats going on here cuz i dont want to be just blindly coping code.
Second-
can the "telltarget" command be used with the above? If so, how?
If someone could direct me to info on this or expain it, that would help me a ton. Thanks