Usign SWFObject to pass variables to AS2 swf such as http://www.info.pharmapendium.com/index.html?menu=5&submenu=1 The contact form carries _root.focusManager.setFocus(ta_firstName); which works if you navigate to it through the movie, but not if you are passing a variable to it as in the above URL. The contact form is an external swf loaded to a loader component via loadMovie("swf/contact.swf", _root.stage_loader);
Any ideas will be greatly appreciated. Thanks, Robert robert.nikolic@hotmail.com
SWFObject passes variables through the standard flashvars object, so there is nothing different SWFObject is doing thasn the standard flash object/embed method.
As far as what your flash movie is doing with tehe menu and submenu values once passed in completely up to the swf and nothing to do with SWFOBject. V2 components sometimes take a frame (or more) to actual initialise for the first time. Are you waiting for an onLoad event on any of your view classes (or onLoadInit if you are loading an external movie through movieclipLoader class) to ensure everything is ready to actually take a setFocus command?