求教高手,flex graphics 所绘图像和其他组件的关系
展开全部
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" applicationComplete="init()">
<fx:Declarations>
<!-- 将非可视元素(例如服务、值对象)放在此处 -->
</fx:Declarations>
<fx:Script>
<![CDATA[
import mx.containers.Canvas;
import mx.controls.Alert;
import mx.controls.Image;
var g:Graphics;
var is_drawing:Boolean;
var temp:JPEGLoaderContext;
//var pen:Canvas=new Canvas();
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" applicationComplete="init()">
<fx:Declarations>
<!-- 将非可视元素(例如服务、值对象)放在此处 -->
</fx:Declarations>
<fx:Script>
<![CDATA[
import mx.containers.Canvas;
import mx.controls.Alert;
import mx.controls.Image;
var g:Graphics;
var is_drawing:Boolean;
var temp:JPEGLoaderContext;
//var pen:Canvas=new Canvas();
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询