开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜