Upvote 4

Add events to grouped objects

Answered Victor Conesa 13 years ago

Is it possible to add events to grouped objects? Sometimes I want a few objects grouped together all to link to another screen. Currently I have to put that interaction on every item in the group instead of one interaction for the entire group.


( Justinmind Prototyper 4.2.0 | Mac OS 10 )


Thanks.

Replies (4)
photo
1

It's an interesting enhancement. Now, as a workaround, you can ungroup, then drag and drop all of them at the same time to the screen to create the same link in all of them and then group again.

photo
1

Another work around is to create a button (box that is the size of largest element in group and apply the event to that item. Make sure that item is the top layer, turn its transparency to 0, then group all of your items. The mouse then reads the event attached to your transparent item at the top layer of the group.

photo
1

A refinement to that workaround, you can use an image map instead of a button.

photo
1

Another workaround for rectangle groups: Use Hotspots ;)

Leave a Comment
 
Attach a file