Groups | Blog | Home
all groups > flash actionscript > august 2006 >

flash actionscript : flash v2 component help?


Shaun Perry
8/31/2006 7:42:30 PM
Hi

I have a flash 8 combobox which I populate from a remoting call. The problem
is that the width doesnt automatically resize for the text added to it. If I
force a width using _width, it stretches the component. Am I missing
something?

Thanks in advance

Shaun

Craig Grummitt
9/1/2006 12:33:40 AM
i didn't know the answer to this question so i just had a look at the help for
the combobox class and found that it inherits a method called
http://livedocs.macromedia.com/flash/8/main/00004210.html from the UIObject
Class.
eg.
cbox.setSize(200, 22);
AddThis Social Bookmark Button