z needs to be an number.

to test use -2 to 2 and you should see some sort of change at one of the
indexes

On Mon, Jun 6, 2011 at 4:33 PM, holyoxx <[email protected]> wrote:

> thanks for your immediate reply, i tried the addchild at but its not
> working.
>
> heres my label options
>
>                        this.lbl = new TextField();
>                        this.lbl.text = cut_loc;
>                        this.lbl.selectable = false;
>                        this.lbl.background = false;
>                        this.lbl.multiline = true;
>                        this.lbl.mouseEnabled = false;
>                        this.lbl.autoSize = TextFieldAutoSize.CENTER;
>
>                        var textFilter:GlowFilter = new GlowFilter;
>                        textFilter.blurX = textFilter.blurY = 4;
>                        textFilter.strength = 4;
>                        textFilter.color = 0xFFFFFF;
>
>                        var textFormatter:TextFormat = new TextFormat();
>                        textFormatter.color = 0x2D2D2D;
>                        textFormatter.font = "Verdana";
>                        textFormatter.size = 10;
>                        textFormatter.bold = true;
>
>                        this.lbl.filters = [textFilter];
>                        this.lbl.setTextFormat(textFormatter);
>                        this.addChildAt(lbl, z);
>
> On Jun 6, 2:21 pm, Levko Yaskewych <[email protected]> wrote:
> > you can try addChildAt this helps set the z index.
> >
> >
> >
> >
> >
> >
> >
> > On Mon, Jun 6, 2011 at 4:17 PM, holyoxx <[email protected]> wrote:
> > > is there anyway i can bring a polygon in front?
> >
> > > i have to overlays, 1 is the custom textfield and the other one is a
> > > polygon. i am adding them at the same time.
> > > i set a rollover and rollout to the polygon but whenever a label hits
> > > t he mouse the polygon wont rollover/rollout.
> > > i already set the textfield.mouseEnabled = false.
> >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Google Maps API For Flash" group.
> > > To post to this group, send email to
> > > [email protected].
> > > To unsubscribe from this group, send email to
> > > [email protected].
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-maps-api-for-flash?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Maps API For Flash" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-maps-api-for-flash?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API For Flash" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api-for-flash?hl=en.

Reply via email to