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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Button Question Real Quick Please.. 1

Status
Not open for further replies.

coldfused

Technical User
Jan 27, 2001
2,442
US
I have :

Code:
on (press) {
_root.Map._y++;
}

Which on press of the button moves the map, Problem is it moves it very slowely and only one pixel at a time. I need it to be on press, move the map image until they let go of the button.

How would I do that?

---------------------------------------------
 
Yeh Old I guess so, mostly search engine marketing and coldfusion these days.

Thanks for the link but that is not what I need, no need for setting properties, xscale yscale stuff.

I just need the map to move on the x or y axis depending on which button is rolled over. But the way I have it now it only moves one pixel at a time, I need it to be continuous, but not the way the link you gave has it.

Any other thoughts?

---------------------------------------------
 
The link wasn't for the scaling effect, but for the continous feedback on the buttons. If you press and keep it pressed, the "+" button continuously scales (as it would move your map) the mc, if you release it, it stops.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top