PDA

View Full Version : HTMLLoader


evride
02-18-2008, 01:00 AM
im using HTMLLoader for a AIR web browser. its pretty cool and i've gotten a lot of stuff working. the only problem i've had is that i dont know how to add a loading bar for it.

when i add this line

html.addEventListener(ProgressEvent.PROGRESS, loadProgress);

it spits out an error.

any help?

Mortimer Jazz
02-22-2008, 06:52 AM
Afraid I can't offer you a solution (as I've only just started looking at AIR) but the HTMLLoader class doesn't dispatch any progress events (nor does the HTML container), so this is not the way to monitor the loading progress.