随笔 - 441
文章 - 4
评论 - 84
阅读 -
109万
随笔分类 - flex
对象相交检测示例
摘要:在flex编程中我们有时需要判断两个对象是否相交使用obj1.hitTestObject(obj2)方法。下面给出一个具体的示例。代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--<?xmlversion="1.0"encoding="utf...
阅读全文
flex 内嵌js文件
摘要:<?xml version="1.0" encoding="utf-8"?><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" preinitialize="{initJSInterface()}" creationComplete="{creationCompleteHandle...
阅读全文
flex 自定义事件
摘要:定义事件代码[代码]定义自定义组件[代码]主程序[代码]
阅读全文