Error when using sample in SDK
Posted: Mon Aug 11, 2008 11:13 pm
I have tried running the actionscript 3.0 sample called docapisample, in the CS3 folder of the SDK samples, and I get the following error:
Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.
What am I doing wrong? I get the same thing on my Mac, and in Windows XP.
I put a trace line in the Print2FlashDoc file, right at the end of the constructor function, the line was
trace("bug search "+url);
The result was
bug search sample.swf?connstr=_12185141947920.8780097858980298&conndomain=localhost
so it's definitely finding the classes. The line that's causing the error is
var P2FDoc:Print2FlashDoc=new Print2FlashDoc("sample.swf",10,50,500,350,this)
I commented everything else out while I was trying to find the problem. I also added the class path to the Flash movie settings, no luck.
I hope someone can help, thanks in anticipation
Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.
What am I doing wrong? I get the same thing on my Mac, and in Windows XP.
I put a trace line in the Print2FlashDoc file, right at the end of the constructor function, the line was
trace("bug search "+url);
The result was
bug search sample.swf?connstr=_12185141947920.8780097858980298&conndomain=localhost
so it's definitely finding the classes. The line that's causing the error is
var P2FDoc:Print2FlashDoc=new Print2FlashDoc("sample.swf",10,50,500,350,this)
I commented everything else out while I was trying to find the problem. I also added the class path to the Flash movie settings, no luck.
I hope someone can help, thanks in anticipation