Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I have a,

                axShockwaveFlash1.FlashVars = "width=" + "380" + "&height=" + "500" + "";
                axShockwaveFlash1.LoadMovie(0, Application.StartupPath + "\\Sample.swf");
                axShockwaveFlash1.Height = int.Parse("380");
                axShockwaveFlash1.Width = int.Parse("500");
                axShockwaveFlash1.Play();

and a function as,

           axShockwaveFlash1.CallFunction("<invoke name=\"getDetails\" returntype=\"xml\"><arguments><string>" + "PowerPointPresentation" + "</string><string></string><string>" + null + "</string></arguments></invoke>");

How to implement it in javascript,

I tried swfobject.js,

       swfobject.embedSWF("/Swf/Sample.swf", "presentationembed", presentationwidth.value, presentationheight.value, "9.0.0", flashvars, params, attributes, function (e) { "<invoke name=\"getDetails\" returntype=\"xml\"><arguments><string>"PowerPointPresentation" </string></arguments></invoke>" });

but It didn't work out,

I want to know how to implement, "axShockwaveFlash1.CallFunction("<invoke name=\"getDetails\" returntype=\"xml\"><arguments><string>" + "PowerPointPresentation" + "</string><string></string><string>" + null + "</string></arguments></invoke>");" in javascript, that is using swfobject js?

I looked into this docs and I didn't get anything, https://code.google.com/p/swfobject/wiki/api

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.