On Wednesday, November 7, 2001, at 07:49 AM, use-revolution-
[EMAIL PROTECTED] wrote:

> The "rotate" command found in version 1.1 does it apply to graphic
> objects as well as image objects?
> How does one implement the rotate command?  The documentation with
> the latest 1.1 beta does not contain any references to a "rotate"
> command.
> --
> Best regards,
> Johann.

Johann,

This is the script I use to create graphics.  It will also create the 
triangle you requested or any other graphic of any amount of sides.  You 
can modify it to meet your needs.

ask "How many sides to this polygon?"
   put it into tsides
   if tsides is empty then exit mouseup

   set the style of the templategraphic to "regular"
   set the polysides of templategraphic to tsides
   create graphic
   reset templategraphic


The following script will rotate a graphic using a scrollbar with is 
property set to "scale"

  on scrollbarDrag
   put the thumbpos of scrollbar "angle" into tangle

   if the selectedObject is not empty then
     set the angle of the selectedObject to tangle
   end if
end scrollbarDrag

Hope this helps some.

-Mark Talluto

Reply via email to