is there way catch http progress events, including completion status, in air application:
<mx:html id="content" locationchange="locationchanged()" addedtostage="go()"/>
...
function go() : void {
content.location = "http://no.such.place"
}
function locationchanged() : void {
// how can check successful completion???
}
i able interrogate either html or htmlloader on completion find out request completion code.
in javascript, using xmlhttprequest, there "readystatechange()" function tracking progress. looking similar capability in flex/air
thanks,
mark
hi there,
awhile ago working same problem , able work out this:
.addeventlistener(event.complete, html_complete, ....);
private function myhtml_complete(ev:event):void {
... = (evt.type)
}
that item find anywhere regards completion, worked html changes , in modules used in combination timers etc.
there 1 item quiet problem well, , right mouse click in air html component !
regards aktell2007
More discussions in Flex (Read Only)
adobe
Comments
Post a Comment