The player simply ignores errors like this. This is the same in AS3 btw., at least in this particular case.
Cheers Ralf. On Sat, Feb 23, 2008 at 6:14 PM, Barak Ori <[EMAIL PROTECTED]> wrote: > Hi Stephen, > > Thanks for the info but I have no problem with traces. I use traces a lot, > but it's not enough. I want to see errors (like undefined method, etc.) - > things that are silently ignored by the Flash Player, but should be reported > by the debug player, which didn't seem to do anything different than the > release player for an AS2 SWF. Any clue? > > Thanks, > Barak > > > > On Sat, Feb 23, 2008 at 1:10 AM, Stephen Moore <[EMAIL PROTECTED]> wrote: > > > > On Sat, Feb 23, 2008 at 1:46 AM, Barak Ori <[EMAIL PROTECTED]> wrote: > > > Of course there's an error on the second line, but where do I see that > > > 'value' is undefined? > > > > > > I tried installing the Flash Debug Player, but it didn't write anything > to > > > the log/trace file. Maybe it only works with AS3 code. Any solution for > > > this? > > > > > > you could use this custom tracer I made > > http://flashbsm.googlecode.com/svn/testing/tracer/ > > > > all you'll need is the tracer.swf from there and then in your main > > application make this function > > > > public static function trace (text:Object) > > { > > var theParams:Array = arguments.splice(1, > arguments.length-1); > > var lc:LocalConnection = new LocalConnection (); > > lc.send ('tracelog', 'tracer', text, theParams); > > } > > > > then look at the readme ( > > http://flashbsm.googlecode.com/svn/testing/tracer/Readme ) to see how > > to use it. > > > > hope that helps :) > > > > (certainly helped me when I was working with as2 :)) > > > > _______________________________________________ > > osflash mailing list > > [email protected] > > http://osflash.org/mailman/listinfo/osflash_osflash.org > > > > > _______________________________________________ > osflash mailing list > [email protected] > http://osflash.org/mailman/listinfo/osflash_osflash.org > > -- Ralf Bokelberg <[EMAIL PROTECTED]> Flex & Flash Consultant based in Cologne/Germany _______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
