javascript - Make flex work offline without a web server -


we have existing app uses javascript , embeds flash/flex. require make whole thing work offline @ short notice , wonder fastest way make flex work offline is. offline app in mind window brings web browser js files stored locally. flex app loads mp3 files , data files server. there way make flex load files file system automatically without user having web server setup? know can done air prefer not that. if forced use air, possible embed air application in web page same way embed flex app? flex app embedded seamlessly shown here:

  1. go www.eyespeakpro.com click on "free trial" after choosing gender. 2 click on "conversation in daily life" course, click on first lesson, click "go"
  2. ignore lesson , click on speech bubble 2nd left in bottom right corner. brings flex app, , if watch network traffic can see files being downloaded if click right arrow next sentence etc.

thanks.

you can run swf file offline. due security, swf file not allowed load local files. i'm not sure if use external interface javascript. don't think local swf have acces local javascript.

have compiler option 'use-network' (http://help.adobe.com/en_us/flex/using/ws2db454920e96a9e51e63e3d11c0bf69084-7a92.html) may set option true loading local files/mp3's

if want show application local on known computers, may have @ security manager (flash < 10.3) http://www.macromedia.com/support/documentation/nl/flashplayer/help/settings_manager04.html#117502 trust folder or swf on computer.

for flash > 10.3 should have @ config panel trus swf (http://www.macromedia.com/support/documentation/nl/flashplayer/help/settings_manager.html)


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -