Urgent! Help! Flash AS3 to AIR problem

I was originally writting my code in flash AS3 then I found out AS3 do not support the HTMLLoader class… so I publish my code in Adobe AIR

and my code run perfectly fine when I ctrl+Enter in CS4… but when I run the exported .swf file… it just fail when I click on the buttons that assosiated with HTMLLoader class

can anyone tell me why it is not working when I play the .swf but it works when I ctrl+enter it in cs4?

here’s the error:
VerifyError: Error #1014: Class flash.html::HTMLLoader could not be found.

PS:I did import flash.html.HTMLLoader;