{"action":"closed","issue":{"url":"https://api.github.com/repos/tuarua/WebViewANE/issues/158","repository_url":"https://api.github.com/repos/tuarua/WebViewANE","labels_url":"https://api.github.com/repos/tuarua/WebViewANE/issues/158/labels{/name}","comments_url":"https://api.github.com/repos/tuarua/WebViewANE/issues/158/comments","events_url":"https://api.github.com/repos/tuarua/WebViewANE/issues/158/events","html_url":"https://github.com/tuarua/WebViewANE/issues/158","id":331322503,"node_id":"MDU6SXNzdWUzMzEzMjI1MDM=","number":158,"title":"Load a PDF","user":{"login":"coxfrederic","id":19729875,"node_id":"MDQ6VXNlcjE5NzI5ODc1","avatar_url":"https://avatars1.githubusercontent.com/u/19729875?v=4","gravatar_id":"","url":"https://api.github.com/users/coxfrederic","html_url":"https://github.com/coxfrederic","followers_url":"https://api.github.com/users/coxfrederic/followers","following_url":"https://api.github.com/users/coxfrederic/following{/other_user}","gists_url":"https://api.github.com/users/coxfrederic/gists{/gist_id}","starred_url":"https://api.github.com/users/coxfrederic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coxfrederic/subscriptions","organizations_url":"https://api.github.com/users/coxfrederic/orgs","repos_url":"https://api.github.com/users/coxfrederic/repos","events_url":"https://api.github.com/users/coxfrederic/events{/privacy}","received_events_url":"https://api.github.com/users/coxfrederic/received_events","type":"User","site_admin":false},"labels":[{"id":512496306,"node_id":"MDU6TGFiZWw1MTI0OTYzMDY=","url":"https://api.github.com/repos/tuarua/WebViewANE/labels/duplicate","name":"duplicate","color":"cccccc","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-06-11T19:39:58Z","updated_at":"2018-06-16T10:40:29Z","closed_at":"2018-06-16T10:40:29Z","author_association":"NONE","body":"Answer the below. **DO NOT DELETE!!**\r\n\r\n- **Have you read the README carefully?**\r\n    - Follow the instructions provided before raising an issue.\r\n    \r\nYes\r\n\r\n- **What version of the product are you using?**\r\n    - What version are you using?\r\ne.g. 0.0.27\r\n\r\n1.5.0\r\n\r\n- **On what operating system?**\r\n    - OSX, Win7, Win 8, Win10, etc?\r\n\r\nOSX    \r\n\r\n- **If Windows is the AIR app **32bit** or **64bit**?\r\n    - 32bit or 64bit\r\n\r\n- **Which IDE are you using?**\r\n    - IntelliJ, Flash Builder, Animate, cmd line, Flash Develop etc?\r\n\r\nFlash Builder\r\n\r\n- **Which version of AIR are you using?**\r\n    - 29,30.. etc?\r\n\r\n20\r\n\r\n- **What steps will reproduce the problem?**\r\n    - Please provide detailed information here, enough for someone else to reprodce your problem.\r\n\r\nI searched the docs and issues in Github but can't find an answer.\r\n\r\nIs it possible to load a PDF from local disk? pathFile.nativePath points to a PDF that is being loaded but not displayed it seems.\r\n\r\nI use\r\n\r\nwebView = new WebViewANE; var settings:Settings = new Settings; settings.webkit.plugInsEnabled = true; var thisL:Point = new Point(0,0); var thisG:Point = localToGlobal(thisL); var webViewViewport:Rectangle = new Rectangle(thisG.x + 10, thisG.y + 10, this.width - 45, this.height - 20); webView.init(stage, webViewViewport, \"\", null, 1, 0xFFFFFF, true); webView.loadFileURL(pathFile.nativePath, File.applicationStorageDirectory.nativePath);\r\n\r\nIs this not supported or am I using it wrong?\r\n\r\n- **What is the expected output? What do you see instead?**\r\n\r\nA PDF to be displayed, I'm not seeing the PDF\r\n\r\n- **Please provide any additional information below.**\r\n    - A stack trace if available, any Exception information.Screengrabs.\r\n\r\n- **Does this problem also occur in the `WebViewANE` Sample Application provided?**\r\n\r\nNot relevant"}}
{"actor":{"display_login":"tuarua"}}