AS3 前台截取的图像以byteArray格式将 数据到后台 AMFPHP 接受并保存为jpg 。在这个过程中,老师出错, 费了不少时间啊,现将有用的的记下来 已备查询:
Archive for 十月, 2008
今天粗略看了下 最新的flash cs4 的 AS3 的API文档中的IK包,其中雷类包具体描述如下:
The fl.ik package contains methods and classes that interact with inverse kinematics (IK) armatures created in Flash CS4. These classes set constraints, track events, and animate existing armatures. These classes do not create or add armatures, “bones” or “joints”. First create the armature in Flash CS4; the parts of the armature collectively form the IKArmature object. Then, use the classes of the fl.ik package to retrieve information about the IKArmature object (with the IKArmature, IKBone and IKManager classes), track events and set event handlers for stages of IKArmature movement (with the IKEvent class), and control the motion of the IKArmature (with the IKJoint and IKMover classes).
大概意思是:
这个包包含了与在flashcs4 中创建的骨骼系统交互的类文件,就是说不能用语言来创建骨骼系统,必须在cs4 环境下编辑好了才能用语言来控制(do not create or add armatures, “bones” or “joints”. )
估计有些人又有事情做了实在要“动态”加入骨骼系统的部件,有没有办法呢?
1、自己编写IK.
2、使用byteArray类来吧 对于那些反编译高手 或者对swf文件结构熟悉的人来说 这个倒是一个很好的功课哦。巨难…
天地会