List Info

Thread: AS3 usage from with Flash IDE




AS3 usage from with Flash IDE
country flaguser name
United Kingdom
2007-07-11 10:06:38
Hi, I'm looking for some info on instantiation basically just to use the logger for now.
 
From the list
 
The good news is, I've written it to work:
1.  as a component for CS3 (like the as2 version)
2.  with the new constructor:  var xray:Xray = new Xray();
 
I've done an svn update from the pv3d repo and cant find Xray as a class?
 
Or can someone just point me how to use the new logger for now?
 
Thanks, MaTT
 
AS2 was like so...
 
//Set log level with:
import com.blitzagency.xray.logger.LogManager;
LogManager.setLevel(0);
//debug=0, info=1, warn=2, error=3, fatal=4 can be used
logger = LogManager.getLogger("com.blitzagency.xray.logger.XrayLogger");
logger.debug("testing Logger", obj);
 
 
 
Re: AS3 usage from with Flash IDE
user name
2007-07-11 10:37:31
Hi,
an update from the papervision3d repository wont give you a new version of xray i think.
But I might be wrong, who knows where John got his secret stash hidden
 
greetz
JC

 
On 7/11/07, matt_b_mullerhotmail.com">matt_b_mullerhotmail.com < matt_b_mullerhotmail.com">matt_b_mullerhotmail.com > wrote:
Hi, I'm looking for some info on instantiation basically just to use the logger for now.
&nbsp;
From the list
 
The good news is, I've written it to work:
1.  as a component for CS3 (like the as2 version)
2.  with the new constructor:  var xray:Xray = new Xray();
 
I've done an svn update from the pv3d repo and cant find Xray as a class?
 
Or can someone just point me how to use the new logger for now?
&nbsp;
Thanks, MaTT
&nbsp;
AS2 was like so...
&nbsp;
//Set log level with:
import com.blitzagency.xray.logger.LogManager;
LogManager.setLevel(0);
//debug=0, info=1, warn=2, error=3, fatal=4 can be used
logger = LogManager.getLogger("com.blitzagency.xray.logger.XrayLogger");
logger.debug("testing Logger&quot;, obj);
 
 
 

_______________________________________________
xray mailing list
osflash.org">xrayosflash.org
http://osflash.org/mailman/listinfo/xray_osflash.org


Re: AS3 usage from with Flash IDE
user name
2007-07-11 10:41:40
Nope it's wide open

http://code.google.com/p/osflash-xray/source

SVN link:
http://osflash- xray.googlecode.com/svn/trunk/

Usage:

To create a new instance of Xray for your application, just import Flex2Xray?:

import com.blitzagency.xray.
inspector.flex2.Flex2Xray;

//then, create the instance:

private var xray:Flex2Xray = new Flex2Xray();

For logging:

private var log:XrayLog =
 new XrayLog();

log
.debug ("stringMessage&quot;[,obj_0, obj_1, ...rest]);
log
.info( "stringMessage&quot;[,obj_0, obj_1, ...rest]);
log
.warn("stringMessage&quot; [,obj_0, obj_1, ...rest ]);
log
.error("stringMessage&quot;[, obj_0, obj_1, ...rest]);
log
.fatal("stringMessage&quot;[,obj_0 , obj_1, ...rest]);

If you want to just use the logger without inspection:

import com.blitzagency.xray
.logger.XrayLog;

private var log:XrayLog = new XrayLog();

log
.debug("stringMessage&quot; [,obj_0, obj_1, ...rest ]);
log
.info("stringMessage&quot;[, obj_0, obj_1, ...rest]);
log
.warn("stringMessage&quot;[,obj_0 , obj_1, ...rest]);
log
.error("stringMessage&quot;[,obj_0, obj_1 , ...rest]);
log
.fatal ("stringMessage&quot;[,obj_0, obj_1, ...rest]);


On 7/11/07, Hans Wichman < j.c.wichmanobjectpainters.com"> j.c.wichmanobjectpainters.com&gt; wrote:
Hi,
an update from the papervision3d repository wont give you a new version of xray i think.
But I might be wrong, who knows where John got his secret stash hidden
 
greetz
JC

&nbsp;
On 7/11/07, matt_b_mullerhotmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> matt_b_mullerhotmail.com < matt_b_mullerhotmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">matt_b_mullerhotmail.com > wrote:
Hi, I'm looking for some info on instantiation basically just to use the logger for now.
&nbsp;
From the list
 
The good news is, I've written it to work:
1.  as a component for CS3 (like the as2 version)
2.  with the new constructor:  var xray:Xray = new Xray();
 
I've done an svn update from the pv3d repo and cant find Xray as a class?
 
Or can someone just point me how to use the new logger for now?
&nbsp;
Thanks, MaTT
&nbsp;
AS2 was like so...
&nbsp;
//Set log level with:
import com.blitzagency.xray.logger.LogManager;
LogManager.setLevel(0);
//debug=0, info=1, warn=2, error=3, fatal=4 can be used logger = LogManager.getLogger("com.blitzagency.xray.logger.XrayLogger");
logger.debug("testing Logger&quot;, obj );
 
 
 

_______________________________________________
xray mailing list
xrayosflash.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">xrayosflash.org
http://osflash.org/mailman/listinfo/xray_osflash.org



_______________________________________________
xray mailing list
osflash.org">xrayosflash.org
http://osflash.org/mailman/listinfo/xray_osflash.org




--
[ &nbsp;JPG&nbsp; ]
Re: AS3 usage from with Flash IDE
user name
2007-07-11 10:43:01
Easier to read:

To create a new instance of Xray for your application, just import Flex2Xray?:

import com.blitzagency.xray.
inspector.flex2.Flex2Xray;

//then, create the instance:

private var xray:Flex2Xray = new Flex2Xray();

For logging:

private var log:
XrayLog = new XrayLog();


log
.debug("stringMessage&quot;[,obj_0 , obj_1, ...rest]);
log
.info("stringMessage&quot;[,obj_0, obj_1, ...rest]);
log
. warn("stringMessage&quot;[,obj_0, obj_1, ...rest]);
log
.error( "stringMessage&quot;[,obj_0, obj_1, ...rest]);
log
.fatal("stringMessage&quot; [,obj_0, obj_1, ...rest ]);

If you want to just use the logger without inspection:


import com.blitzagency.xray.logger
.XrayLog;

private var log :XrayLog = new XrayLog ();

log
.debug("stringMessage&quot;[, obj_0, obj_1, ...rest]);
log
.info("stringMessage&quot;[,obj_0, obj_1, ...rest]);
log
.warn("stringMessage&quot;[,obj_0, obj_1 , ...rest]);
log
.error ("stringMessage&quot;[,obj_0, obj_1, ...rest]);
log
.fatal( "stringMessage"[,obj_0, obj_1, ... rest]);


On 7/11/07, John Grden < neorileygmail.com">neorileygmail.com> wrote:
Nope it's wide open

http://code.google.com/p/osflash-xray/source

SVN link:
http://osflash- xray.googlecode.com/svn/trunk/

Usage:

To create a new instance of Xray for your application, just import Flex2Xray ?:

import com.blitzagency.xray.
inspector.flex2.Flex2Xray;

//then, create the instance:


private var xray:Flex2Xray = new Flex2Xray();

For logging:

private var log:
XrayLog =
 new XrayLog();

log
.debug
("stringMessage"[,obj_0 , obj_1, ...rest]);
log
.info( ";stringMessage"[,obj_0, obj_1, ...rest]);
log
.warn(";stringMessage"
[,obj_0, obj_1 , ...rest
]);
log
.error(";stringMessage"[, obj_0, obj_1, ...rest]);
log
.fatal(&quot;stringMessage"[,obj_0 , obj_1, ...rest]);

If you want to just use the logger without inspection:

import com.blitzagency.xray
.logger.XrayLog;

private var log:XrayLog = new XrayLog();

log
.debug("stringMessage"
[,obj_0, obj_1 , ...rest
]);
log
.info("stringMessage"[, obj_0, obj_1, ...rest]);
log
.warn(";stringMessage"[,obj_0 , obj_1, ...rest]);
log
.error(&quot;stringMessage"[,obj_0, obj_1
, ...rest]);
log
.fatal
(&quot;stringMessage"[,obj_0, obj_1, ...rest]);


On 7/11/07, Hans Wichman < j.c.wichmanobjectpainters.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> j.c.wichmanobjectpainters.com&gt; wrote:
Hi,
an update from the papervision3d repository wont give you a new version of xray i think.
But I might be wrong, who knows where John got his secret stash hidden
 
greetz
JC

&nbsp;
On 7/11/07, matt_b_mullerhotmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> matt_b_mullerhotmail.com < matt_b_mullerhotmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">matt_b_mullerhotmail.com > wrote:
Hi, I'm looking for some info on instantiation basically just to use the logger for now.
&nbsp;
From the list
 
The good news is, I've written it to work:
1.  as a component for CS3 (like the as2 version)
2.  with the new constructor:  var xray:Xray = new Xray();
 
I've done an svn update from the pv3d repo and cant find Xray as a class?
 
Or can someone just point me how to use the new logger for now?
&nbsp;
Thanks, MaTT
&nbsp;
AS2 was like so...
&nbsp;
//Set log level with:
import com.blitzagency.xray.logger.LogManager;
LogManager.setLevel(0);
//debug=0, info=1, warn=2, error=3, fatal=4 can be used
logger = LogManager.getLogger("com.blitzagency.xray.logger.XrayLogger");
logger.debug("testing Logger&quot;, obj
);
 
 
 

_______________________________________________
xray mailing list
xrayosflash.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">xrayosflash.org
http://osflash.org/mailman/listinfo/xray_osflash.org



_______________________________________________
xray mailing list
xrayosflash.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">xrayosflash.org
http://osflash.org/mailman/listinfo/xray_osflash.org




--
[ &nbsp;JPG&nbsp; ]



--
[ &nbsp;JPG&nbsp; ]
[1-4]

about | contact  Other archives ( Real Estate discussion Medical topics )