D-Mack Media Forums

Full Version: How to change component width
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, I just installed RecommendFriends and everything worked just fine except for one thing...the width of the recommendfriends component form is larger than the one of my template. I tried to modify the .php file of the component (the inside width of the component page of the template cannot be modified) but with no success...I wonder if there is a solution for this problem, since otherwise it would be impossible for me to use the component successfully...
You can have a look to the webpage I am talking about:
http://www.teclit.altervista.org/compone...temid,129/
Thank you very much in advance for your help!
Ok, I did a small test: I placed the initialization data on the fourh parameter of the attachMovie() method, and this way the component reports the proper width. Nevertheless, if I change its text property after, the reported width is always the same, no matter the real/visual width of the component.

So it seems to me that the problem has to do with the fact that I'm changing a property of the component that modifies the shape of the component AFTER it is created. Is this a handicap of components in Flash, or am I doing something wrong?.
Reference URL's