-
Hey guys
Have a little problem
Am making this little movie and have created a custom cursor, but with this custom cursor i want to pick another MC up and drap it, which is fine, but when i do it drops the cursor. Is there away to have the cursor remain draging and still be able to drag the other MC?
Regards
Steve
-
forever Newbie
100% no
I'm 100% sure there's no way flash can drag 2 objects at the same time. You'll have to choice...the cursor or the dragable MC. IMHO i think that custom cursos only have certainlly "impact" on very specifics sites. Think bout it
-
Senior Member
First here is how to create a custom cursor;
create a new movieclip with the movieclip you want to be the new cursor. give the cursor a instance name - myCursor. On frame 1 of this new mc, put this code
Mouse.hide();
this.onEnterFrame = function(){
myMouse._x+=(_xmouse-myCursor._x);
myMouse._y+=(_ymouse-myCursor._y);
}
Now place the new movieclip on the stage.
Then for the draggable part;
the movieclip that you want to drag, should be a button.
the script to make it draggable is
on(press){
statDrag(this);
}
on(release){
stopDrag();
}
If you like I can create a fla to show you this
leave your email in your reply
-
forever Newbie
Send ME the fla
Hey... here's my mail
brunodario@hotmail.com
If you're able to make TWO drags at the same...well i wanna see it..this code you post doesn't make it possible!
-
Just bring this up again
you will see what i am refering to when you see this movie
http://www.domainconceptdesigns.com/...flashzoom.html
as you can see once you click the mouse it looses the drag of the mouse pointer. I have set it up so that it will snap back after release but i would prefer that it follow the MC i am dragging
Any ideas?
Regards
Steve
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
|