Flash Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignFlash Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 15th, 2004, 09:45 AM
gobadgrs gobadgrs is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 71 gobadgrs User rank is Private First Class (20 - 50 Reputation Level)gobadgrs User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 48 m 21 sec
Reputation Power: 5
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.

Reply With Quote
  #2  
Old January 15th, 2004, 12:19 PM
Tann San Tann San is offline
Gotta get to the next screen..
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Nov 2003
Location: Legion of Dynamic Discord
Posts: 4,720 Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)  Folding Points: 11326 Folding Title: Novice Folder
Time spent in forums: 3 Weeks 1 Day 13 h 20 m 21 sec
Reputation Power: 580
Facebook MySpace
Hi, what happens? can you post a link to the version with your head? hehe..thats funny.. I want to see for myself
__________________
-Tann

-Vote for your favorite ActionScript editor here.

Reply With Quote
  #3  
Old January 15th, 2004, 02:39 PM
gobadgrs gobadgrs is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 71 gobadgrs User rank is Private First Class (20 - 50 Reputation Level)gobadgrs User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 48 m 21 sec
Reputation Power: 5
ill post a link to the screwed up version when I get home

Reply With Quote
  #4  
Old January 15th, 2004, 08:39 PM
gobadgrs gobadgrs is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 71 gobadgrs User rank is Private First Class (20 - 50 Reputation Level)gobadgrs User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 48 m 21 sec
Reputation Power: 5
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

Reply With Quote
  #5  
Old January 16th, 2004, 05:17 AM
Tann San Tann San is offline
Gotta get to the next screen..
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Nov 2003
Location: Legion of Dynamic Discord
Posts: 4,720 Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)Tann San User rank is Colonel (50000 - 60000 Reputation Level)  Folding Points: 11326 Folding Title: Novice Folder
Time spent in forums: 3 Weeks 1 Day 13 h 20 m 21 sec
Reputation Power: 580
Facebook MySpace
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.

Reply With Quote
  #6  
Old January 16th, 2004, 08:31 AM
gobadgrs gobadgrs is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 71 gobadgrs User rank is Private First Class (20 - 50 Reputation Level)gobadgrs User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 48 m 21 sec
Reputation Power: 5
Thanks! Youre the Bestest!

Reply With Quote
  #7  
Old January 16th, 2004, 08:50 AM
gobadgrs gobadgrs is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 71 gobadgrs User rank is Private First Class (20 - 50 Reputation Level)gobadgrs User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 48 m 21 sec
Reputation Power: 5
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

Reply With Quote
  #8  
Old January 16th, 2004, 08:58 AM
gobadgrs gobadgrs is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 71 gobadgrs User rank is Private First Class (20 - 50 Reputation Level)gobadgrs User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 48 m 21 sec
Reputation Power: 5
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!

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignFlash Help > cursor is screwin up my game... what do I do?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT