|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
cursor is screwin up my game... what do I do? Edit: Now it wont reappear
So if you goto my website that im working on here
Then click on fun, then click on the soccer ball. You can juggle the ball quite nicely using the mouse. What I wanted to do was remove the cursor and insert my head as the mouse pointer so it looks like I'm heading the ball. The problem is when I do this, it screws up the ball physics and makes it go crazy. I don't know why.... Any ideas? Last edited by gobadgrs : January 16th, 2004 at 08:48 AM. |
|
#2
|
|||
|
|||
|
Hi, what happens? can you post a link to the version with your head? hehe..thats funny.. I want to see for myself
|
|
#3
|
|||
|
|||
|
ill post a link to the screwed up version when I get home
|
|
#4
|
|||
|
|||
|
ok here it is....
fla file is called juggle.fla and is located here Here is the good movie Heres the one where the video gets screwed up |
|
#5
|
|||
|
|||
|
Hi, I think I fixed it. Dead easy. Drop an instance of your head movie into the location movie. Thats the one you implement startdrag() in. Now change the code on keyframe 1 from:
startDrag("", true); to: startDrag("", true); Mouse.hide(); The alignment you used might of had a factor in messing it up. I centered the head horizontally and aligned it to the centre top i.e. Code:
X <-- centre point of location clip
[ ] <-- you head movie clip
I've included the fla, zipped up so you can see what I mean. edit->I removed football.zip as I reached my attachment limit, ask and I will post it again Last edited by Tann San : June 15th, 2004 at 04:29 AM. |
|
#6
|
|||
|
|||
|
Thanks! Youre the Bestest!
![]() |
|
#7
|
|||
|
|||
|
Well it works except for one thing, the cursor doesnt show back up after I close the movie.... what do I do?
I added the following action to the close button Mouse.show(); I even put it before the unload movie action on the close button, but when I still return to the main site, the cursor is blanked out... Any ideas why? I reuploaded the juggle.fla in the old location |
|
#8
|
|||
|
|||
|
Nevermind. I got it fixed
![]() I had to add a blank frame at the end of the movie and then have the close button send the player to that frame where all the unloading and mouse.show script is done. Its cause the location movie (which has the mouse.hide script) was located in the same place as my close button, so it overrode it. Thanks again for all your help! ![]() |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > cursor is screwin up my game... what do I do? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|