6 Replies Latest reply on Jan 25, 2010 9:42 AM by RyanOConnell

    Need clarification of how to access flash variables inside the OSMF plugin(Dynamic plugin)

    che_Alanselvam

      I have a query of how to access flash variables inside the OSMF plugin.

       

      For Example. i am using the SWFObject.js to author my flash player.

       

      My Sample code:

       

      var so = new SWFObject("player.swf", "flash_flv_player", 480, 418, "9", "#000000");

      so.addParam("allowScriptAccess", "always");

      so.addVariable("player_count", Number(1));

      so.addVariable("content","http://localhost/test.flv");

      so.addParam("allowFullScreen", "true");

      so.addParam("scale", "noscale");

      so.addParam("wmode", "transparent");

      so.write("flvPlayerDiv");

       

      ---------- I want to access the variables "content" and "player_count" values inside and Dynamic Plugin.