alright so i guess i will be using how many pixels have gone by to determing the location of the image...
like we did before here using clickspot:
on mouseUP me
clickSpot = (the mouseH) - sprite(spriteNum).left
--now get the spot in teh scroll...
actual = clickSpot - pScroll
if actual < 0 then
actual = pTiles * pTileRect.width + actual
else if actual > pTiles * pTileRect.width then
actual = actual - pTiles * pTileRect.width
end if
so how do i adapt this to serve my purpose...and how do i get that image to align itself with the image in the scroller?
Main Topics
Browse All Topics





by: MediaMacrosPosted on 2003-08-12 at 11:42:47ID: 9132410
Easiest way is on click get the current item like you are now. Then using the scroll find hte left and right location of that file and use an invisible sprite to set a copy of the image on top of hte scroller in that location, and then make it visible and enlarge it. I can think of some more sophisticated ways as well but this is your easiest bet I think with what you already have. There are some enlarge on rollver type behaviors on my site (www.mediamacros.com) you can use for ideas as well.