I have an application with multiple tabs. Inside one tab (via Canvas) I have a SWFLoader to a chart component.
I want to have the option to either load the SWF via clicking on the chart tab, or jump to a particular chart (under this tab) via another component in another tab (via a button clicked?)
This all works fine if I click on the chart tab FIRST then go back and click a button which changes tabs and displays the chart. I tried setting autoload ="false" in the SWFLoader then try a load via a SWFLoader_id.load("mySWF.swf"). The problem is I get a null reference on the SWFLoader id. It has not been initialized.
So the question is how can I initialize/load the SWFLoader (without clicking on the tab) on the fly from another tab via a button?
This is an infrequently used component so I want to do deferred loads. .j -- /Whether you think that you can, or that you can't, you are usually right./ - Henry Ford