Robin Hickmott
asked on
Dynamic Textbox Flash
Hi im using Flash 8
Is there anyway to load an external image (jpg/png) and display it as the background for a dynamic textbox. Preferably I want the textbox also to resize to the dimensions of the incoming image.
Regards
Is there anyway to load an external image (jpg/png) and display it as the background for a dynamic textbox. Preferably I want the textbox also to resize to the dimensions of the incoming image.
Regards
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
In that case, you could just add the text dynamically, and select the depth. Just do something like:
_root.createTextField("myT ext_txt",t his.getNex tHighestDe pth,50,50, 100,30);
myText_txt.text="this is another test";
you can also set multiple properties for your textfield, like color, background color, html and more...
_root.createTextField("myT
myText_txt.text="this is another test";
you can also set multiple properties for your textfield, like color, background color, html and more...
ASKER
http://www.adobe.com/devnet/flash/articles/image_api_03.html
It seems to work but the image comes in over the top of the original textbox