Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problems with drag and buttons

Status
Not open for further replies.

Noe

Technical User
Mar 8, 2001
12
AR
Hi all, i have a problem here, i´ve made abutton (wich calls an url) and the same buton drags a gaphic.... here is the action:

on (rollOver) {
startDrag ("graphicname", true, -30, 36.4, 30, 36.4);
}
on (rollOut) {
stopDrag ();
}
on (press) {
getURL ("urlname");
}
Its soposed to work, but when i place the mousse over the button, it starts to blink, and i should click many times until it get the url.... the drag works perfect, but the button dont.
 
it 'sounds' like you may need to check the OVER frame of the button when you edit it. Have you put text in teh OVER frame without putting an area within the HIT frame?

dave davdesign@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^
 
I have put the actions directly in the scene, selecting the button... no text in over neither in hit.... i should put something?
 
You can't put those actions directly into a scene, they must be on the button. Your actions are fine, your button seems to be the problem here (unless the movie-clip being dragged is inducing a frame-jump in the timeline the button the resides in, but I doubt this). If you still can't get it to work, post or e-mail me the fla and I'll fix it.

dave davdesign@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^
 
thanks a lot.... i let u know how is it going :)
Noe
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top