|
-
cursor change: please help me review my codes
i'm not sure hopw to go about changing the custom cursor1 into custom cursor2 on mouseover the blue rectangles. Do i use functions?
Please help me coz i'm doing my final semester school project.
please review my source file
-
...
I would help you but the link doesnt work...
However, Im assuming your user a MovieClip as your cursor, if not change it to one.
-On the first frame of your movie place the first cursor image. Also on frame one place a stop command (i.e. 'stop()').
-On frame do the place the image for your 2nd cursor. Place the stop command on this frame also.
-name this movieclip 'cursor' in the instance pallet.
-On the 'blue box' your talking about, which should be a button, place the command:
-----------------
on (rollOver) {
tellTarget ("cursor") {
gotoAndStop (2);
}
}
on (rollOut) {
tellTarget ("cursor") {
gotoAndStop (1);
}
}
-----------------
I think that should do the trick!!! Good luck on your final project
Last edited by FlashManNate; 10-23-2002 at 10:09 PM.
-
weird, the link works for me.... 
anyway, thanx for the tips... I think i somehow got the logic... gotta try it out...
-
do i put this
onClipEvent(load) {
Mouse.hide();
}
onClipEvent (mouseMove) {
this._x = _root._xmouse;
this._y = _root._ymouse;
updateAfterEvent();
}
on the "cursor" mc itself?
-
got it working. Thanx
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
|