Why not track the mouseLoc as you go, perhaps with the mouseMove message? If you know the starting loc, and you know the rect of the object and the rect of the stack window, you can scale the motion accordingly.
So if your window width was 1000, your starting HLoc was 500 and your object width was 100, then you an move 450 pixels to the right, say, before you hit the window edge. You could increase the width of the object by 10 for every 50 you move to the right, or whatever. Or you can simply set the object width to a scaled factor of its HLoc, maybe with a baseline value as a minimum. So: set the width of yourObject to the HLoc/10 + 50 --50 is the baseline Don't forget the vertical. Craig Newman ************** An Excellent Credit Score is 750. See Yours in Just 2 Easy Steps! (http://pr.atwola.com/promoclk/100126575x1221323041x1201367261/aol?redir=http://www.freecreditreport.com/pm/default.aspx?sc=668072& hmpgID=62&bcd=JulyExcfooterNO62) _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
