开发者

Embedding xml-driven flash content in an html page. Contents in xml are dynamic

开发者 https://www.devze.com 2023-03-15 16:24 出处:网络
I have a flash animation file (swf) that is guided by the different parameters passed through an xml file (required). And, I want to embed that swf file into my main Rails application.

I have a flash animation file (swf) that is guided by the different parameters passed through an xml file (required). And, I want to embed that swf file into my main Rails application.

The problem here is that the contents in the xml file should be dynamic and are generated through Rails. And, it seems like the xml file (DATA.xml) needs to be in the same directory as that of the swf file. And, maybe static too.

Is it possible to generate the xml file dynamically and allow开发者_JS百科 the embedded flash to use parameters from that xml?

Note: I know that parameters are usually passed as flashvars when embedding flash into a website. But, in my case, the flash file just works with XML :(

0

精彩评论

暂无评论...
验证码 换一张
取 消