* public class CustomComponent
{
     **public* *function* update(ob:Object):*void*
**     {
         x +=1;   // component disappears, is visible without line
     }
}

*/*

var h:Number = ScreenPlayerApp.getStage().stageWidth *
panelData.getHeightRatio();

var ypos:Number = (ScreenPlayerApp.getStage().stageHeight - h)/2;

DisplayUtil.positionScreenElements(this,ypos,panelData);

*/
*

}


On Thu, Apr 17, 2008 at 10:30 AM, Paul Andrews <[EMAIL PROTECTED]> wrote:

> ----- Original Message ----- From: "Phil Smith" <[EMAIL PROTECTED]>
> To: <flashcoders@chattyfig.figleaf.com>
> Sent: Thursday, April 17, 2008 1:13 PM
> Subject: [Flashcoders] Flex UIComponent disappears
>
>
>
> Hi,
> >
> > I am having an issue with a custom UIComponent disappearing after its
> > display properties are changed (x,y,width,height), either by directly
> > accessing the properties, or using the 'move' or 'setActualSize'
> > methods. Is
> > there workaround or fix to this bug?
> >
>
> Do you have some example code?
>
> Paul
>
> Thanks,
> >
> > Phil
> >
>
> _______________________________________________
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to