Quantcast
Channel: Adobe Community : Popular Discussions - Archived Discussions
Viewing all articles
Browse latest Browse all 21156

Reloading HTMLLoader content from another window

$
0
0

I'm writing an AIR app using JavaScript and I am creating a window using air.HTMLLoader.createRootWindow(). When an action happens in this new window I need to refresh the content in all the other app windows, but I don't know how to reference the other windows in a way to reload them, this is my line of thinking on what I need to do:

 

for (var i in air.NativeApplication.nativeApplication.openedWindows) {     var w = air.NativeApplication.nativeApplication.openedWindows[i];     var htmlLoader = ?     htmlLoader.reload();
}

Viewing all articles
Browse latest Browse all 21156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>