Hi,
I tried to load a plugin in the onLoad()-Method of another plugin in the following way:
If I run the code I get the following trace:
Two questions:
1. Why is the callback function called twice?
2. In the Javascript function loadPlugin("name", "/name.swf", {...}); there's the possibility to pass a config-object (3rd parameter). But how can this be done in Actionscript?
Thanks in advcance!
I tried to load a plugin in the onLoad()-Method of another plugin in the following way:
_player.loadPlugin(
"myPluginName",
"http://...myPlugin.swf",
function(info:Object):void {
trace("plugin loaded: " + info);
});
If I run the code I get the following trace:
plugin loaded: null
plugin loaded: [DisplayPropertiesImpl] 'myPluginName'
Two questions:
1. Why is the callback function called twice?
2. In the Javascript function loadPlugin("name", "/name.swf", {...}); there's the possibility to pass a config-object (3rd parameter). But how can this be done in Actionscript?
Thanks in advcance!