Re: Flipping Graphics

2016-07-21 Thread Richard Gaskin
Richmond wrote: > Hi, Klaus: I am well aware what the dictionary states. > > However, as there seems a way to flip graphics within the menu > system . . . Everything in the LC IDE is written in LiveCode, and all of its scripts are available to learn from. -- Richard Gaskin Fourth World

Re: Flipping Graphics

2016-07-21 Thread Richmond
On 21.07.2016 19:48, Mike Bonner wrote: DOH, or use the menu. No? Really? Surely not? I have a pupil who is trying to make a 'shooter' game featuring a rectangular graphic in which he keeps changing the backPattern to get an animation effect, and a wiggly line graphic along which his

Re: Flipping Graphics

2016-07-21 Thread Richmond
Thanks: I have just looked at that. Richmond. On 21.07.2016 19:45, Mike Bonner wrote: Here is code in the ide that flips graphics, you can probably use it to make your own version and stuff it in a library. on revIDEFlipGraphics pGraphics, pOrientation # Make sure targets are all

Re: Flipping Graphics

2016-07-21 Thread Klaus major-k
Hi Richmond, > Am 21.07.2016 um 18:45 schrieb Richmond : > > Hi, Klaus: I am well aware what the dictionary states. > > However, as there seems a way to flip graphics within the menu system . . . yes, sorry, my fault! What Mike wrote! :-) > Richmond. > > > On

Re: Flipping Graphics

2016-07-21 Thread Mike Bonner
DOH, or use the menu. On Thu, Jul 21, 2016 at 10:46 AM, Mike Bonner wrote: > "flip" is a built in that only works on images. When the ide flips a > graphic, it uses the preceeding code. > Of course if you're only doing this in the ide you could use the message > box and

Re: Flipping Graphics

2016-07-21 Thread Mike Bonner
"flip" is a built in that only works on images. When the ide flips a graphic, it uses the preceeding code. Of course if you're only doing this in the ide you could use the message box and call revideflipgraphics directly. On Thu, Jul 21, 2016 at 10:45 AM, Richmond

Re: Flipping Graphics

2016-07-21 Thread Richmond
Hi, Klaus: I am well aware what the dictionary states. However, as there seems a way to flip graphics within the menu system . . . Richmond. On 21.07.2016 19:39, Klaus major-k wrote: Hi Richmond, Am 21.07.2016 um 18:36 schrieb Richmond : As it is possible to

Re: Flipping Graphics

2016-07-21 Thread Mike Bonner
Here is code in the ide that flips graphics, you can probably use it to make your own version and stuff it in a library. on revIDEFlipGraphics pGraphics, pOrientation # Make sure targets are all graphics if not revIDEEnsureControlsOfType(pGraphics, "graphic") then exit

Re: Flipping Graphics

2016-07-21 Thread Klaus major-k
Hi Richmond, > Am 21.07.2016 um 18:36 schrieb Richmond : > > As it is possible to *flip* a *graphic* via the *revMenubar*: > Menu/Object/Flip Graphic why does it not > appear to be possible to *flip* using code: > > on mouseUp > flip grc "XXX" horizontally > end