Link to home
Start Free TrialLog in
Avatar of Robin Hickmott
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
ASKER CERTIFIED SOLUTION
Avatar of Montoya
Montoya

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Robin Hickmott
Robin Hickmott

ASKER

Well im using the following to load in and displa the image.

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
In that case, you could just add the text dynamically, and select the depth. Just do something like:

_root.createTextField("myText_txt",this.getNextHighestDepth,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...