简体   繁体   English

将XFL Flash转换为iOS / XCODE / Interfacebuilder

[英]Flash XFL to iOS/XCODE/Interfacebuilder

I am thinking of starting an ambitious project of writing some type of converter to convert the new Flash CS5 XFL format to some type of iOS readable format for building pages. 我正在考虑开始一个雄心勃勃的项目,即编写某种类型的转换器,以将新的Flash CS5 XFL格式转换为某种类型的iOS可读格式,以构建页面。 A lot of what I do convert old Flash course over to native applications. 我所做的很多事情都将旧的Flash课程转换为本机应用程序。 They are usually very simple with some basic animations. 它们通常非常简单,带有一些基本的动画。 Some are more complicated than others, obviously. 显然,有些比其他复杂。

1) I recently found the XFL format and was wondering if anyone was doing this type of conversion? 1)我最近找到了XFL格式,想知道是否有人在进行这种类型的转换?

2) Has adobe published this file specs yet? 2)Adobe已发布此文件规格了吗? I haven't been able to find them, yet. 我还没找到他们。

3) Is this even possible? 3)这有可能吗? Has anyone tried and been unsuccessful or would like to work together on this? 有没有人尝试和不成功或想在这一起工作?

I thought of this and wonder if it is a good idea that we insert the code directly in the flash file. 我想到了这一点,想知道将代码直接插入Flash文件中是否是一个好主意。 That means the tool is written in ActionScript, for example a utility class called SceneExporter. 这意味着该工具是用ActionScript编写的,例如,一个名为SceneExporter的实用程序类。 When you want to export a MovieClip, extends it with SceneExporter and when the Flash file runs, it exports the content of that MovieClip to a objective C code text file. 当您要导出MovieClip时,使用SceneExporter对其进行扩展,并且在Flash文件运行时,它将将该MovieClip的内容导出到目标C代码文本文件。 Not professional way, but it should work since we have access to all child elements of that MovieClip. 这不是专业的方法,但是应该可以使用,因为我们可以访问该MovieClip的所有子元素。

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

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