Re: Re: [flexcoders] Drawing the background Issue

2009-06-02 Thread Manish Jethani
2009/6/2 j2me_soul : > drawRect(0, 0, btn1.width + 20, btn1.height+ 20); > > Is the 0,0 point is the ContentPoint of the btn1 ? No, it's the top-left. Manish

Re:Re: [flexcoders] Drawing the background Issue

2009-06-02 Thread j2me_soul
Thanks Manish! That works. drawRect(0, 0, btn1.width + 20, btn1.height+ 20); Is the 0,0 point is the ContentPoint of the btn1 ? 在2009-06-03,"Manish Jethani" 写道: 2009/6/2 j2me_soul : > The code is pretty simple. This is all I am trying to do: > >

Re: [flexcoders] Drawing the background Issue

2009-06-02 Thread Manish Jethani
2009/6/2 j2me_soul : > The code is pretty simple. This is all I am trying to do: >   >   

[flexcoders] Drawing the background Issue

2009-06-02 Thread j2me_soul
The code is pretty simple. This is all I am trying to do: The problem is that the background was drawn in a very far away. I am wondering why the backgroundcolor depart from the buttons.