Hi  Nishant,

  Thanks for Your Reply.

  But, I need to create more then 10  hbox dynamically..
  So will u plz help me for that.....

With Regrads,
C.Rajesh

On Jul 18, 1:36 pm, Nishant <[email protected]> wrote:
> Hi,
>
> To create HBOX dynemically, you need to create in action script.
>
> for example on click of any button you have called any function temp() so
> the code goes like this.
>
> private function temp():void
> {
>  var h1:HBox = new HBox;
>  h1.setStyle("borderStyle", "solid");
>  h1.setStyle("backgroundColor", "red");
> mainCan.addChild(h1); // mainCan is the main canvas or it can be application
> /*
> in case of application you can write the following code
>
> this.addChild(h1);
> */
>
> }
>
> Best Regards,
> Nishant
>
> On Sat, Jul 18, 2009 at 1:38 PM, crajesh <[email protected]> wrote:
>
> > hi all,
>
> > i am new in Flex. i need to know that how to create the HBOX
> > dynamically..
> > So plz help me
>
> > Thanks
> > rajesh
>
> --
> Regards,
> Nishant Mistry
> --
> ==========
> ""Dnt walk as if u Own d WorlD....Walk as if u dnt care who Owns d
> World...."ThaTs AttiTude"""
> ==========
> ""Keep Smilinggg :) ""

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" 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/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to