Newbie flash question...

  • FusionDesigner
  • Proficient
  • Proficient
  • User avatar
  • Joined: Jan 12, 2004
  • Posts: 282
  • Status: Offline

Post June 8th, 2004, 4:48 pm

I think I can do this, Ill try it soon. Quite tricky for someone who knows no Flash?
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post June 8th, 2004, 4:48 pm

  • Sulfin
  • Graduate
  • Graduate
  • User avatar
  • Joined: Jun 12, 2004
  • Posts: 129
  • Loc: canada
  • Status: Offline

Post June 12th, 2004, 7:40 pm

I think I know how to solve the problem. I haven't tested it, but I think I know.

On a movie clip, you could put an on mouse move actionscript
Code: [ Select ]
onClipEvent(mouseMove){
_root.xmouse=_root._xmouse
_root.ymouse=_root._ymouse
}
  1. onClipEvent(mouseMove){
  2. _root.xmouse=_root._xmouse
  3. _root.ymouse=_root._ymouse
  4. }

And then you could put your cone on _root.xmouse, _root.ymouse instead of _root._xmouse, _root._ymouse.

It's worth a try!
  • Japh
  • Born
  • Born
  • No Avatar
  • Joined: Jun 29, 2005
  • Posts: 1
  • Status: Offline

Post June 29th, 2005, 6:36 pm

Would it be possible to make the arrow check that the cursor is within say 20 pixels from any edge of the clip or the arrow begins to go to it's default position? then all the user has to do is come back to within this margin and the arrow moves back to the cursor?

I've not tried this and I'm VERY new to Flash, but have been web programming in other languages for quite some years (PHP, MySQL, MSSQL, Javascript, Java, HTML).

(not trying to boast or anything as you guys may or may not have far more experience than i, just saying i have had some experience to give my suggestion some weight :? maybe... )
  • Russkie
  • Newbie
  • Newbie
  • No Avatar
  • Joined: Jun 22, 2005
  • Posts: 9
  • Status: Offline

Post June 30th, 2005, 7:43 am

well i just started learning actionscript like eh... 2 days ago? but im thinking, if theres no way to catch the mous when its moving to fast with a boundry around the movie, perhaps you make a script that when the mouse doesnt move for a few seconds it will auto slide back to the middle, that way if the user dumps the mouse for like 3 seconds itll jump back to the middle....
makes any sense? im not even sure how to do that but uh yea...

Post Information

  • Total Posts in this topic: 19 posts
  • Users browsing this forum: No registered users and 58 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.