aruis / stagewebviewbridge

Automatically exported from code.google.com/p/stagewebviewbridge
0 stars 0 forks source link

Unable to load local file #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Ok, I try to load an HTML file via StageWebViewBridge on my Android and iOS 
devices.

view.loadLocalURL("applink:/index.html"); 
index.html is in "www" AND "wwwSource" folder

Output :
e : [Event type="END_DISK_PARSING" bubbles=false cancelable=false eventPhase=2]
StageWebViewDisk.getCachedExtensions : html,htm,css,js
StageWebViewDisk.getSourceRootPath : 
file:///data/data/air.air.StageWebViewBridge/air.StageWebViewBridge/Local%20Stor
e/wwwSource
StageWebViewDisk.getRootPath : 
file:///data/data/air.air.StageWebViewBridge/air.StageWebViewBridge/Local%20Stor
e/wwwSource
StageWebViewDisk.isANDROID : true
Error #2044: Unhandled ErrorEvent:. text=[-14] Fichier demandé introuvable 
/data/data/air.air.StageWebViewBridge/air.StageWebViewBridge/Local 
Store/wwwSource/index.html (No such file or directory): 
file:///data/data/air.air.StageWebViewBridge/air.StageWebViewBridge/Local%20Stor
e/wwwSource/index.html

Any ideas what wrong ?

My conf :
- Flashdevelop
- Air 3.1
- Flex 4.6/4.5.1
- Samsung SII
- iPhone 3GS 5.0.1

PS: I'm French, sorry for bad english

Original issue reported on code.google.com by pascal.a...@gmail.com on 2 Dec 2011 at 3:31

Attachments:

GoogleCodeExporter commented 9 years ago
Ok, it's working great now. I cleaned my project, downloaded Flex SDK...

Original comment by pascal.a...@gmail.com on 5 Dec 2011 at 1:07

GoogleCodeExporter commented 9 years ago
That's great!!!... Stay in contact.

Original comment by xperime...@gmail.com on 5 Dec 2011 at 1:49