flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" creationComplete="init()" > Array(new Bitmap(new BitmapData(16,16,false,0xccff00))); configListener(); htmlBrowser.location = 'http://192.168.1.47/frimann2/admin/index.php?id=b ob'; //write file var file:File =File.applicationStorageDirectory.resolvePath("Hel loWorld.txt"); var stream:FileStream = new FileStream() stream.open(file, FileMode.WRITE); var str:String = "Congratulations on your 1st file, Rich Tretola - EverythingFlex.com"; stream.writeUTFBytes(str); stream.close(); stream.open(file,FileMode.READ); var parseStr:String=stream.readUTFBytes(stream.bytesAv ailable); mx.controls.Alert.show(parseStr+" /n" + file.nativePath, "Notice"); } private function configListener():void { htmlBrowser.addEventListener(Event.LOCATION_CHANGE , __onHtmlLocation); htmlBrowser.htmlLoader.addEventListener(HTMLUncaug htScriptExceptionEvent.UNCAUGHT_SCRIPT_EXCEPTION, __onScriptError); goRun.addEventListener(MouseEvent.CLICK, __onGoSurf); //stopLoad.addEventListener(MouseEvent.CLICK, __onStopLoading); //historyBack.addEventListener(MouseEvent.CLICK, __onHistoryBack); googleBtn.addEventListener(MouseEvent.CLICK, __onGoogleButton); } private function __onHtmlLocation(e:Event):void { urlInputer.text = htmlBrowser.location; } private function __onGoSurf(e:Event):void { if(urlInputer.text.toLowerCase().indexOf("://",0)