Hi guys, I do need some help here.

Well what I'm trying to do is to open an embedded pdf into an android app running on a smartpad. Searching the web I've learned that I cannot use 'openWithDefaultApplication' as it won't work on android plug.
So I've used StageWebView class to do the job. Well after some strugling in getting the correct working directory (i've tried to copy the pdf into the 'document' folder with no success) finally I found a script that seems to work. Unfortunally when it opens the pdf nothing shows up than a blank page!

Here is the code I've used:

function launchPDF (evt:Event):void {
            var webView = new StageWebView();
            webView.stage = this.stage;
            webView.viewPort = new Rectangle( 0, 0, stage.stageWidth,650 );
            // These are stored in the root of the application directory.
            var fileName:String = "prova.pdf";
            var sourceFile = File.applicationDirectory.resolvePath( fileName );
            var workingFile = File.createTempFile();
            try {
                sourceFile.copyTo( workingFile, true );
                // You have to rename the temp file
                var renamedTempFile:File = workingFile.resolvePath(workingFile.nativePath + fileName);
                workingFile.moveTo(renamedTempFile, true);
                webView.loadURL( renamedTempFile.url );

            } catch (errore:Error) { 
		deBug.text = "Errore. " + errore.message;
button.addEventListener(MouseEvent.CLICK, launchPDF);
I've read somewhere that I might enable hardware accelleration to be able to open pdf file, but I'm not quite sure how to do it!

Thanx in advance