Flex的MXML文件结构
flex, component's life-cycle

Flex 通用调试工具(ff,chrome,ie8+)

marz posted @ Aug 15, 2010 12:26:46 AM in flex with tags flex tool logger , 3271 readers

如题,写了个很傻逼的调试工具,代码很简单,算是满足我的需求了,需要firebug的支持,chrome可以用firebuglite. 至于ie,需要ie8的开发人员工具.好了 上代码

 

package ifree.common.Logging
{
	import flash.external.ExternalInterface;
	public class Logger
	{
		
		public function log(msg:String):void{
			ExternalInterface.call("console.log",msg);
		} 
		public function info(msg:String):void{
			ExternalInterface.call("console.info",msg);
		} 
		public function error(msg:String):void{
			ExternalInterface.call("console.error",msg);
		} 
		public function debug(msg:String):void{
			ExternalInterface.call("console.debug",msg);
		} 
		public function warn(msg:String):void{
			ExternalInterface.call("console.warn",msg);
		} 
		public function _trace(msg:String):void{
			ExternalInterface.call("console.trace",msg);
		} 
	}
}

 

不要扔砖头

NCERT Hindi Question said:
Sep 29, 2022 01:17:07 AM

We have provided NCERT Hindi Sample Paper 2023 for Class-11 with Chapter-wise important Question Bank downloads with Answers from the given links to follow. Class 11 Students who are Studying at CBSE, NCERT Hindi Question Paper Class 11 KVS, JNV and other Schools in All States and Union Territories of the country can download those model papers for all subjects.We have provided NCERT Hindi Sample Paper 2023 for Class-11 with Chapter-wise important Question Bank downloads with Answers from the given links to follow. Class 11 Students who are Studying at CBSE.

jnanabhumiap.in said:
Jan 12, 2024 01:38:23 AM

JNANABHUMI AP provides all the latest educational updates and many more. The main concept or our aim behind this website has been the will to provide resources with full information on each topic jnanabhumiap.in which can be accessed through the Internet. To ensure that every reader gets what is important and worthy about the topic they search and link to hear from us.

Clay Lowe said:
Aug 14, 2024 02:20:22 AM

You bear through a awesome vacancy. I sanity definitely quarry it moreover personally suggest to my buddys. I am self-possessed they determination be benefited from this scene. Kissimmee Bed Bug Treatment

Clay Lowe said:
Aug 14, 2024 02:20:38 AM

These you will then see the most important thing, the application provides you a website a powerful important internet page: Orlando Termite Treatment

Clay Lowe said:
Aug 14, 2024 02:20:51 AM

The most interesting text on this interesting topic that can be found on the net ...  Oviedo Termite Treatment

Clay Lowe said:
Aug 14, 2024 02:21:36 AM

In this article understand the most important thing, the item will give you a keyword rich link a great useful website page: Deltona Pest Control

Clay Lowe said:
Oct 10, 2024 02:56:32 PM

I simply want to tell you that I am new to weblog and definitely liked this blog site. Very likely I’m going to bookmark your blog . You absolutely have wonderful stories. Cheers for sharing with us your blog. Long Island CPA

Clay Lowe said:
Oct 16, 2024 09:30:51 PM

Beaver says I also have such interest, you can read my profile here:  فتح باب


Login *


loading captcha image...
(type the code from the image)
or Ctrl+Enter