[mtasc] XML.load fails when using - version 8 and Flash Player 8
Robert Edgar
robert.edgar at epresenterplus.com
Mon Sep 26 18:26:18 CEST 2005
I am having a problem with xml load failing with MTASC in FP8 but I havent
tracked it down yet probably a couple of days before I will get back on it.
But the situation is slightly diff.
Works in browser when run locally against loading xml from remote site.
Works in browser from remote site when xml url is also on the site.
Fails in browser from remote site when the xml is from a different site.
All 3 work when run from an MMC compiled application.
But as said havent yet reallly tried to track down what is happening.
Rob
-----Original Message-----
From: mtasc-bounces at lists.motion-twin.com
[mailto:mtasc-bounces at lists.motion-twin.com] On Behalf Of Richard Leggett
Sent: Monday, September 26, 2005 2:47 AM
To: 'MotionTwin ActionScript2 Compiler List'
Subject: [mtasc] XML.load fails when using - version 8 and Flash Player 8
I wondered if anyone else has experienced this. I have an XML.load() being
called, and the onLoad callback is delegated to another method within an AS2
class.
That onLoad method *always* gets called ok, however the "success" param is
always false when I run it in Flash Player 8 standalone... in Flash Player 7
it works as expected.
If I compile with the Flash IDE I get no problems in either standalone
player. Of course I don't get the drop shadows and such when I test in the
FP7, but at least the XML.load works. Tracing out what is happening I can
see that the XML object tries to load the exact same filename/filepath for
each, however it is unsuccessful in FP8 only when compiled with MTASC.
Thanks for any ideas on this one, for now I'm just compiling in the IDE
until I can resolve it,
Richard
p.s. I'm using an ANT buildfile to pass the following to MTASC:
mtasc.exe "${ASFile}" -swf "${SWFFile.filename}" -cp "${classes.dir}" -cp
"${MacromediaClassPath}" -out "${deploy.dir}\${SWFFile.name}" -main -mx
-version 8
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.motion-twin.com/pipermail/mtasc/attachments/20050926/4d59e8c4/attachment-0003.htm
More information about the mtasc
mailing list