I can flip a selected graphic in edit mode using the Object menu. However, I can't seem to do it in a script.
The following does not work"
flip graphic "Graphic 3" horizontal
Thanks in advance for any suggestions.
peter
flip graphic
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 977
- Joined: Sat Apr 08, 2006 7:47 am
- Contact:
Hi Peter,
Not every object can be arbitrarily flipped and rotated; in fact, the 'flip' command only works for images. What the Revolution IDE does for you when you filp the graphic, is recalculate the 'points' of the selected graphic.
To find out more about how the Revolution IDE's Object menu works, type the following in the message box:
then hit return. You should be taken to the script of the menu.
Hope this helped,
Jan Schenkel.
Not every object can be arbitrarily flipped and rotated; in fact, the 'flip' command only works for images. What the Revolution IDE does for you when you filp the graphic, is recalculate the 'points' of the selected graphic.
To find out more about how the Revolution IDE's Object menu works, type the following in the message box:
Code: Select all
edit script of button "Object" of group "revMenubar" of stack "revMenubar"
Hope this helped,
Jan Schenkel.
Quartam Reports & PDF Library for LiveCode
www.quartam.com
www.quartam.com