flex - Adding Tab dynamically -


i have tab , want tab click of button. tab has vbox (contains charts,grid etc). gives error while adding code addchild(), removechild() on button click. error of null object reference.

please suggest me.

thanks

you're trying access children of tab has not been initialized yet. simplest solution change creationpolicy property of tabnavigator "all".

you can see explanation of creationpolicy in adobe documentation.

if not solution, you're going have post more specific code.


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -