HC convert: help with text as graphic or rotated text

Scott Rossi scott at tactilemedia.com
Sat Dec 26 14:41:18 EST 2009


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





More information about the use-livecode mailing list