February 2009 Archives

SWF文档格式开放后,也没有细心看过结构

前几天刚看到SWFExplorer,之所以不用ApplicationDomain.getDefinition作者已经说了

试了下的确不错

相当的赞

用接口应付载入逻辑包的情况(Using Interface to Connect Main Application and the Logical Lib)结合起来就更爽了

其实不止SWF能分析出类结构,SWC也是可以的,当然文档格式都是一样的

发布你的资源文件(release your class resource)-Flex篇

发布你的资源文件(release your class resource)-Flash cs3篇

Good Luck & Have Fun!

其实上周去kingda家就拿到了《Getting Started with Flex3》--Jack D.Herrington & Emily Kin这本书,口袋书,公交车上看看挺不错,休闲时候也可以翻翻,价值19.99美刀,真是贵呀!

Getting Started with Flex3.JPG

翻了翻我为数不多的几张照片,发现一张当年被qsc那群小弟弟和小妹妹们压迫照的一张艺术照,觉得还是蛮搞笑的,我说他们当初为什么突然间扯着我说要学Photoshop,不过还好,只是ps了我的眼睛,其他还没动过就被当qq表情了

偷偷发这做个纪念,想我当年也是爱好艺术的

art simulation.gif

本来我一直奇怪,为什么flash cs4都出来这么久,Flex Component Kit和Flex Skin Design Extensions怎么还不更新到for flash cs4

当时试试安装都没看到,因为目前通用cs3开发,也就没在意

看到as3cn发的一个贴才明白Flex Skin Design Extensions & Flex Component Kit for Flash CS4

原因也解释了,是根据系统区域语言来安装路径,而不是flash cs4版本语言来

 

Good Luck & Have Fun!

对于flashdll,估计现在很多人都用了

发现FlashDLL--flash也有dll啦

发布你的资源文件(release your class resource)-Flash cs3篇

发布你的资源文件(release your class resource)-Flex篇

对于一个swf和swc的逻辑包,当然,运行时你可以去反射获取,但写代码时候去相当的郁闷

其实解决也很便捷,只要确保逻辑包的文档类是由一个定义好的接口派生的就好了,之后可以把获取的Class转成这个接口,这样分工完善会少去很多的麻烦,诸如:把api写错之类的问题

先上代码包吧

Using Interface to connect main application adn the logical lib.zip

代码包中

Tester.as是主程序类

ILib.as是接口

Lib.as是逻辑包文档类

lib.fla是逻辑包文件

----------------------------------------------------------------------------------------------------

For flashdll,maybe that's simple to us.

When loading a logical lib as swf or swc,reflection is a perfect way to use it.But I can view nothing about the logical lib when coding.So I code a interface to fix it.

Of course,it would be better when your coworker is in charge of the logical library and you code the main application,and you wouldn't make a mistake as coding the wrong name of the library API.

 

the code package:(I think you will find it)

Tester.as::main application class

ILib.as::of course,a interface

Lib.as::document class of the logical library

lib.fla::logical library file

 

Good Luck & Have Fun!

About this Archive

This page is an archive of entries from February 2009 listed from newest to oldest.

January 2009 is the previous archive.

March 2009 is the next archive.

Find recent content on the main index or look in the archives to find all content.

3D Live Statistics