createChild() was from Flex 1.X. In Flex 2.0 you would do

 

var vbox:VBox = new VBox();

vbox.label = "...";

tabs.addChild(vbox);

 

- Gordon

 


From: [email protected] [mailto:[email protected]] On Behalf Of Daniel Nelson
Sent: Thursday, February 16, 2006 2:36 PM
To: [email protected]
Subject: Re: [flexcoders] Dynamically generating tabs:: using the createTab() Method

 

ashish,

 

I can't seem to find createChild in the flex api?  Where are you getting this method from?  I only see addChild().

 

-Dan

 

On 2/15/06, ashish <[EMAIL PROTECTED]> wrote:

function addtab(){
tabs.createChild(mx.containers.VBox , undefined,
{label:'newBtn',id:'secondOne', mouseDown:'doSomething()'});
//tabs is tabnavigator name and this addtab button has to call on some
event
}

regards,
Ashish Grover

On Wed, Feb 15, 2006 at 11:33 PM, augie3333 wrote:

> Hello,
> Does anyone have an example of Dynamically generating tabs and its
> content in a Tab Navigator say by clicking a button for example.
>
> Thanks in advance for all your help,
> -Augie Marcello III
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups
> Links
>
>
>
>
>
>


--
Sent using Laszlo Mail. Try it yourself.
http://www.laszlomail.com



--
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

 

 






--
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




Reply via email to