Is there an elegant way to add a reference to stage in metadata when loading a plugin with StrobeMediaPlayback? I want to test a plugin I wrote that requires access to the stage. Flashvars only allows string data, and the PluginLoader class does not have any reference to the displaylist. Thoughts?
I have heard of a few use-cases in which the reference to the stage is required. We should probably always pass it as metadata (just like we do for the MediaFactory).
Currently, we don't, and there is no elegant way to do it. You can register to ADDED_TO_STAGE in the plugin, if you create custom MediaElements.. Otherwise simply patch the Strobe Media Playback code.
Thanks for the insight.