I am creating a flex windows application using action script and mxml script.I need help in displaying a PDF document in that windows application from a netwrok drive or local pc.I tried google search it is giving me some open source projects with IFrames.But,they can be only used for browser applications(web).So,anyone please suggest me how could i accomplish this task with winows application.
The solution for the thread is
<mx:HTML id="pdfHtml" location="test.html" width="100%" height="100%" />
var pdfFile:File = File.applicationDirectory.resolvePath(pdfHtml.location);
pdfFile = new File(pdfFile.nativePath);
var fileURL:String = pdfFile.url;
pdfHtml.location = fileURL;