function clickHandler():void{
var company_list:Object = {"Company A
Ltd.":{mike:"online",john:"online",linda:"offline"}}
var obj:GraphicsExample = new GraphicsExample() as GraphicsExample;
obj.useHandCursor = true;
obj.buttonMode = true;
obj.x=300;
obj.y=400;
//obj.width = 400;
//obj.height = 200;
but when I try to set width or height it wont display anything (x and
y work now) and useHandCursor and ButtonMode are being
ignored......... can I even use Sprites for something like this ( I
want the sprite to be a visible rectangular box of a certain color)
Cheers,
Shidan
On 5/6/06, Shidan <[EMAIL PROTECTED]> wrote:
> Hi, if I have a class that extends Sprite how do i overide its x, y,
> hieght and width values, useHandCursor and ButtonMode and set its
> background color.
>
>
> This is the relevant part i have now:
>
> public class GraphicsExample extends Sprite {
> useHandCursor = true;
> buttonMode = true;
> X=0;
> Y=0;
> .
> .
> .
> .
> }
>
> -------
> Shidan
>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
| Web site design development | Computer software development | Software design and development |
| Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

