I have created class called Bubble which extends UIComponent. Through this class I am drawing various circles at run-time.
And I have added this class in my default mxml file through tags.
One more tag added in mxml file is for button as well.
Now, whenever I drag circle drawn by Bubble class to that button, it comes over the button. But I want it under the button.
How can I do that?
Thanks for the help in advance.
Probably the drawing is performed after the MXML button is rendered.
You could add the button in actionscript, after performing the drawing.
Or perhaps you could add the circle as an MXML component, before the button tag.
If this post answers your question or helps, please mark it as such.
Greg Lafrance - Flex 2 and 3 ACE certified
Flex / AIR Development, Training, and Support Services
But in my project circle is drawn run-time. I mean, it will be generated after button.
And I have put customized class tag (which draws circle) before button tag.
Is there any other way????