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 :(
精彩评论