---
title: "Alert.show与trace的区别"
author: "java_beginner_liyun"
date: "2010-06-21T11:29:52Z"
tags: []
categories: ["编程语言"]
slug: "alert-show-trace"
draft: false
lastmod: "2010-07-05T16:48:49Z"
id: 695514
url: "https://java-beginner-liyun.iteye.com/blog/695514"
---

最近在学习flex，看文档时发现输出打印分为Alert.show与trace；在使用trace时，却没有弹出对话框Alert异然；经过自己研究发现:
1、trace是控制台打印（像java中的System.out.print()）；但是必须安装debug版本的flash播放器，而且不能直接运行程序，要debug 程序才有效果
2、Alert是弹出对话框；