Page 1 of 1

Compatible with Adobe Air?

Posted: Fri Feb 10, 2012 2:35 am
by robertcrown
Hi everyone,

I'm trying the find out if Print2Flash would work with Adobe Air.

I've downloaded the SDK and tested the "docapisample.fla" but changed the publish settings to Adobe Air 1.5. I get the following error:

SecurityError: Error #3207: Application-sandbox content cannot access this feature.
at flash.system::Security$/allowDomain()
at Print2Flash::Print2FlashDoc3/loadDoc()[C:\Users\Robert\Documents\Downloads\print2flashsdk\DocumentAPI\ActionScript3 documents\Samples\FlashCS\Print2Flash\Print2FlashDoc3.as:26]
at Print2Flash::Print2FlashDoc3()[C:\Users\Robert\Documents\Downloads\print2flashsdk\DocumentAPI\ActionScript3 documents\Samples\FlashCS\Print2Flash\Print2FlashDoc3.as:20]
at docapisample_fla::MainTimeline/frame1()[docapisample_fla.MainTimeline::frame1:6]
at runtime::ContentPlayer/loadInitialContent()
at runtime::ContentPlayer/playRawContent()
at runtime::ContentPlayer/playContent()
at runtime::AppRunner/run()
at global/runtime::ADLEntry()


Please help as I need to find a solution to this as soon as possible.

Thanks,
Rob

Re: Compatible with Adobe Air?

Posted: Fri Feb 10, 2012 3:32 am
by staff
Try to use the attached updated Print2FlashDoc3 class source file. You need to replace with it the old Print2FlashDoc3.as file located in the Print2Flash folder of the sample.

Re: Compatible with Adobe Air?

Posted: Fri Feb 10, 2012 3:52 am
by robertcrown
That worked perfectly.

Thank you!