Resizes the width and height of a text members bounding box. Faster and smoother than before. Final version. I promise.
-- Dynamic bounding text box adjustment behaviour v3final
--
-- By Jeff Murray March 14th 2001 / v2 July 12th 2001 / v3 October 4th 2001
--
-- http://www.psychicparrot.com
--
--
-- just drop this behaviour onto a text sprite that you want to resize dynamically and change the
-- TargetMem variable (make a bitmap cast member - just a single pixel will do - then use the
-- member number of your new bitmap i.e. set targetmem to equal your new bitmap member.)
-- to use : sendallsprites(#setwidth)
property maxx,mycolor,sourceMem
property sourceImage,imageWidth,imageHeight1
property imageHeight,sourceColor
property spritenum
global ed,eobj,gzfactor