Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 07-02-2003, 12:47 AM   #1
PixelPimp
Registered User
 
Join Date: Jul 2003
Location: The Biggest Little City in the World
Posts: 20
Question startDrag and button conflict

Has anyone encountered any problems with startDrag and buttons? Essentially, Flash is ignoring my buttons. If I remove the startDrag event, it recognizes them. It's quite odd and very frustrating.

The startDrag is called as such :
________________________________
scroller.onClipEvent (load) {
startDrag("drag", true, 0, 0, 775, 0);
}
________________________________
"scroller" contains "drag" and "content". The latter of which is several images used as a photo gallery.

"drag" is nothing more than an indicator, like crosshairs (+). The button "menu" is completely separate of the "scroller" instance and yes, I have defined the hit frame of the button. Both items are on _root but raising depth doesn't seem to help. I've even tried using a loadMovieNum to load it into a completely different level. Still nothing. Any ideas? Does StartDrag() hijack the mouse disabling other buttons? HELP, I'm over budget!
PixelPimp is offline   Reply With Quote
Old 07-02-2003, 01:19 AM   #2
PixelPimp
Registered User
 
Join Date: Jul 2003
Location: The Biggest Little City in the World
Posts: 20
Lightbulb Fixed!

FYI: This seemed to work...
I put this on the "drag" MC timeline:

onClipEvent (enterFrame) {
this._x = _root._xmouse;
}

All I was really after was the xPos of "drag" anyway, but there is a definite bug to having a startDrag and buttons competing for mouse attention.
PixelPimp is offline   Reply With Quote
Reply


Thread Tools
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:18 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.