简体   繁体   English

如何使用Flash Builder 4.5 Flex项目发布SWF文件

[英]How To publish swf file using flash builder 4.5 flex project

I have a set of fla files templates that produce games and activities by changing its input XML file, What I want to do is to create xml editor in flex and by converting the fla files to actionscript projects in flex use the resulting xml to publish one swf. 我有一组fla文件模板,它们通过更改其输入XML文件来产生游戏和活动,我要做的是在flex中创建xml编辑器,然后在fl中将fla文件转换为actionscript项目,并使用生成的xml发布瑞士法郎。

in short my approach is convert the games in flash to flex MXML components modify the game data by passing XML argument to the MXMl components click publish and the user can get the game as SWF 简而言之,我的方法是将Flash中的游戏转换为Flex MXML组件,方法是将XML参数传递给MXMl组件,然后单击publish,从而修改游戏数据,用户可以将游戏作为SWF进行获取

the goal is produce something similar to this 我们的目标是产生类似的东西这个

Is that possible?? 那可能吗??

从Flash Professional重用游戏和活动的简单明了的方法是使用swf loader将swf文件加载到flex,然后使用swf.content = M转换为movieclip,因为movieclip下一步是通过M.XMLVar = xml修改xml变量。现在我已经修改了活动的版本,我仍然在寻找一种将movieclip转换回swf并保存的方法

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM