In the card script

On mouseEnter
-- check the name and or type of the object to make sure it is a rectangle
-- if valid then do something here
end mouseEnter



On Feb 28, 2004, at 11:14 PM, Jan S�lid wrote:


Hi there

I'm trying to make a timeline-bar where you can add or delete rectangles conatinig "whatever". The user is able to move a rectangle left or right, but if it intersects with another rectangle, it will stop....

Because the user is able to delete and add new rectangles I have to make some sort of function check if the moving rectangle is going to collide with other rectangles to the left and right. (like the timeline in Adobe Premiere) I know this is possible, but how do I do it fast..... Checking every rectangle with repeat is to slow.....and the only idea I have now is to make a list in a hidden field-table for every new created rectangle......

any ideas....?
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Thomas J. McGrath III SCS 1000 Killarney Dr. Pittsburgh, PA 15234 412-885-8541

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to