Can I use decimal values for StartAngle?

Scott Rossi scott at tactilemedia.com
Wed Dec 12 20:10:07 EST 2012


Hi William:

With visual effects, you can either select an object to show/hide with a
visual effect as you've done, or you can restrict a visual effect to a
rect:
lock screen for visual effect in rect (the rect of control 1)

For startAngle (and most of LiveCode's dimensional properties) I believe
you're pretty much limited to integer values. Some properties such as the
scroll of fields will generate errors upon attempting to set a decimal
value. Other properties like start/arc angles are more forgiving and
simply ignore the decimal.  But I don't think LiveCode will natively
render decimal values for angle values.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX Design




On 12/12/12 2:32 AM, "William de Smet" <williamdesmet at gmail.com> wrote:

>Hi there,
>
>I have a small 'problem' and a question.
>
>Problem 1:
>I use:
>show grc "vierkant"
>hide grc "vierkant" with visual effect push right normal
>
>This works fine in the IDE put on my iPad 3 it show a thin top and left
>border of the image while it moves.
>When I use:
>' lock screen for visual effect'  it moves the entire screen and not the
>image.
>What am I doing wrong?
>
>Question 2:
>is it possible to use decimal values for startAngle?
>Set the startAngle of grc "small" to 60.5?
>is there a way to active this?
>
>I am on OSX 10.8.2 with LC 5.5.3.
>
>greetings,
>
>William
>_______________________________________________
>use-livecode mailing list
>use-livecode at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode






More information about the use-livecode mailing list