Copy link to clipboard
Copied
I am wanting to use an HTML ad banner in my AS3 Air for Android project, here is the html code:
<a href="http://tracking.raftika.com/aff_c?offer_id=1106&aff_id=1708&file_id=12132&file_id=12166" target="_blank"><img src="https://media.go2speed.org/brand/files/raftika/1106/320x50_150k_ArchersVsCerberus_GEN_EN.gif" width="320" height="50" border="0" /></a><img src="http://tracking.raftika.com/aff_i?offer_id=1106&file_id=12166&aff_id=1708&file_id=12132" width="1" height="1" />
I would need it to have a certain height and width on my app. Thanks, any and all help is appreciated.
you can load a html page into an air app using the HTMLLoader class.
Copy link to clipboard
Copied
if those are static images and a static url, download the images, create your banner and use navigateToURL for that url.
Copy link to clipboard
Copied
Unfortunately, that is not an option, as I am using this banner for an ad network( http://raftika.com). The banner is a GIF image. Is there no way to embed HTML in AIR?
Copy link to clipboard
Copied
you can load a html page into an air app using the HTMLLoader class.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now