[Tweener] @Zeh update for textshort cuts

Gerry Creighton gerry at thespikeranch.com
Thu Nov 20 10:10:45 PST 2008


Zeh,
I'm working on a Flash site that loads all of it's data from XML. In  
the XML doc is copy that is written in
basic html using H2 and P tags. I wanted to use your _text shortcut  
but it wouldn't allow html, it would
but it would display the html tags.
I opened your TextShortCuts.as and added code to create a new  
_htmltext shortcut.
I thought I'd bring this up incase you want to add it to your next  
edition.

Tweener.registerSpecialProperty("_htmltext", _htmltext_get,  
_htmltext_set, null, _htmltext_preProcess);

I added the other functions as well adjusting them for htmlText in  
place of text.

Thanks,

-Gerry

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

The Spike Ranch
Web Design and Development
http://www.thespikeranch.com

:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::







More information about the Tweener mailing list