createChild() was from Flex 1.X. In Flex
2.0 you would do
var vbox:VBox = new VBox();
vbox.label = "...";
tabs.addChild(vbox);
- Gordon
I can't seem to find createChild in the flex api? Where are you
getting this method from? I only see addChild().
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
YAHOO! GROUPS LINKS