# Urgent! Help! Flash AS3 to AIR problem

**URL:** <https://forum.kirupa.com/t/urgent-help-flash-as3-to-air-problem/317701>\
**Category:** Uncategorized\
**Created:** [December 30, 2010, 1:54pm UTC](https://forum.kirupa.com/t/urgent-help-flash-as3-to-air-problem/317701 "2010-12-30T13:54:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![LoveTheresa](https://avatars.discourse-cdn.com/v4/letter/l/aeb1de/32.png) [@LoveTheresa](https://forum.kirupa.com/u/LoveTheresa)\
**Post date:** [December 30, 2010, 1:54pm UTC](https://forum.kirupa.com/t/urgent-help-flash-as3-to-air-problem/317701/1 "2010-12-30T13:54:07Z")

</div>

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;
