flex图片上画图
来源:互联网 发布:python.exe已停止工作 编辑:程序博客网 时间:2024/06/11 21:51
、
<?xml version="1.0" encoding="utf-8"?><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"><mx:Style>Application {fontSize: 12pt;}</mx:Style><mx:Script><![CDATA[import mx.core.UIComponent;var template:UIComponent;var template2:UIComponent;protected function btn1_clickHandler(event:MouseEvent):void{template = new UIComponent();template.graphics.clear();template.graphics.lineStyle( 1, 0x0000FF );template.graphics.beginFill( 0xFFFFFF, 0.2 );template.graphics.drawRoundRect( 0, 0, 50, 50, 20, 20 );image.addChild(template);template2 = new UIComponent();template2.graphics.clear();template2.graphics.lineStyle( 1, 0x0000FF );template2.graphics.beginFill( 0xFFFFFF, 0.2 );template2.graphics.drawRoundRect(80, 80, 50, 50, 20, 20 );image.addChild(template2);//source="@Embed('img/0.jpg')"}protected function btn2_clickHandler(event:MouseEvent):void{image.removeChildAt(1);}]]></mx:Script><mx:Image id="image" source="@Embed('img/0.jpg')" width="200" height="200"></mx:Image><mx:Button id="btn1" click="btn1_clickHandler(event)" label="画图"/><mx:Button id="btn2" click="btn2_clickHandler(event)" label="撤销"/></mx:Application>
- flex图片上画图
- 在图片上进行画图操作
- android canvas实现在图片上画图
- flex画图形示例
- Flex 4 简单画图
- flex画图demo
- android_基础_图片处理_在imageview上画图
- flex技术-在图片上添加文字
- flex技术-在图片上添加文字
- Flex学习笔记-08画图
- Flex 4 简单画图实例
- canvas --画图、图片
- 地图上嵌入图片 - ArcGIS for FLEX API
- 地图上嵌入图片 - ArcGIS for FLEX API
- PageControl上画图片
- mac上画图
- c# picturebox上画图
- 在panel上画图
- boost函数对象的妙用
- [一分钟学会系列之五]一分钟学会提取文件图标,保存为透明图片(附DEMO程序)
- Red Hat Linux Enterprise 4上安装swftools-0.9.1 版本
- shtml简介
- Windows Installer问题集结及解决办法
- flex图片上画图
- bytes allignment
- 学Flex有用的网站
- [哎]关于ftp扫描工具的破解问题
- SWFTools pdf2swf 参数详解
- 一个适用于CentOS下的Redis启动脚本
- 从int 到string的几种方法
- SQL Server 索引中include的魅力(具有包含性列的索引)
- 编译器自举