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

ruby - When to use an ORM (Sequel, Datamapper, AR, etc.) vs. pure SQL for querying -

php - PHPDoc: @return void necessary? -

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