HC convert: help with text as graphic or rotated text
James Hurley
jhurley0305 at sbcglobal.net
Sun Dec 27 13:08:56 EST 2009
>
> Message: 2
> Date: Sat, 26 Dec 2009 11:41:18 -0800
> From: Scott Rossi <scott at tactilemedia.com>
> Subject: Re: HC convert: help with text as graphic or rotated text
> To: How to use Revolution <use-revolution at lists.runrev.com>
> Message-ID: <C75BA6DE.9B%scott at tactilemedia.com>
> Content-Type: text/plain; charset="US-ASCII"
>
>
> Recently, James Hurley wrote:
>
>>> go url "http://www.tactilemedia.com/site_files/downloads/textspinner.rev
>>> "
>
>> I tried to add one more element: Disembodied text, i.e. a text field
>> field with zero border width and opaque set to false.
>>
>> Unfortunately it crashes RunRev 4.0, build 950 on my Mac running
>> 10.5.8 every time.
>
> Works fine here (Rev 4, OS X 10.5.8 laptop) with the source field's
> opaque
> disabled and borderWidth set to zero.
>
> As an alternative, if you don't mind creating the text image on an
> unlocked
> screen, you might try importing a snapshot of the field to the card.
> Comment out the portions of the script that deal with the
> templateImage
> (lines 15 - 21), and use this:
>
> import snapshot from rect (rect of fld 1) of fld 1
> set resizeQuality of last img to best
> set loc of last img to tLoc
>
> Remember you also need to comment out the lock screen command at the
> beginning of the script since import snapshot will fail if the
> screen is
> locked.
>
> Good luck.
>
> Scott Rossi
> Creative Director
> Tactile Media, Multimedia & Design
>
Scott,
I went back and stepped through your handler one line at time to see
where it failed.
Alas, it never did. And now it doesn't when running full bore in the
IDE.
There is indeed a "Ghost in the Machine."
Sorry to put you to the extra effort. Thanks for humoring me,
Jim Hurley
More information about the use-livecode
mailing list