Re: [flexcoders] ActionScript setting width to 100%

2006-06-05 Thread Tom Chiverton
On Friday 02 June 2006 13:51, Tim Scollick wrote: Assuming percentWidth is depricated, Is that documented somewhere? Where can I find out which other deprecated code pieces I am using regularily? I'm *sure* I read it somewhere. Can't find it now though. Oh well :-) -- Tom Chiverton

Re: [flexcoders] ActionScript setting width to 100%

2006-06-03 Thread jeremy lu
are you sure percentWidth is depricated ?just used it in F2B3 and works well.On 6/2/06, Tim Scollick [EMAIL PROTECTED] wrote: Assuming percentWidth is depricated,Is that documented somewhere? Where can I find out which other deprecated code pieces I am using regularily? On 6/2/06, Tom

Re: [flexcoders] ActionScript setting width to 100%

2006-06-02 Thread shravan kumar
If IwritemyButton.percentWidth = 100; Action script file is not getting compiled.(Compile time error)The Compilation error is:- Type missmatch in assignment statement: found Number where Function is required.Jon Hirschi [EMAIL PROTECTED] wrote: myButton.percentWidth = 100;works

Re: [flexcoders] ActionScript setting width to 100%

2006-06-02 Thread Tom Chiverton
On Friday 02 June 2006 12:36, shravan kumar wrote: myButton.percentWidth = 100; Assuming percentWidth is depricated, try myButton.width={parent.width} -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells

Re: [flexcoders] ActionScript setting width to 100%

2006-06-02 Thread Tim Scollick
Assuming percentWidth is depricated,Is that documented somewhere? Where can I find out which other deprecated code pieces I am using regularily?On 6/2/06, Tom Chiverton [EMAIL PROTECTED] wrote: On Friday 02 June 2006 12:36, shravan kumar wrote: myButton.percentWidth = 100;Assuming

[flexcoders] ActionScript setting width to 100%

2006-06-01 Thread shravan kumar
Hi,How to set a button width to 100% while creating it in an .as file. Following is the code I have used:- var myCanvas=createClassObject(Canvas, "canvas1", this.getNextHighestDepth()); var myButton=myCanvas.createClassObject(Button, "button1",

Re: [flexcoders] ActionScript setting width to 100%

2006-06-01 Thread Jon Hirschi
myButton.percentWidth = 100; works pretty well. --- shravan kumar [EMAIL PROTECTED] wrote: Hi, How to set a button width to 100% while creating it in an .as file. Following is the code I have used:- var myCanvas=createClassObject(Canvas, canvas1, this.getNextHighestDepth());