Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

use html ad banner in as3 AIR

Explorer ,
Nov 04, 2014 Nov 04, 2014

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.

TOPICS
ActionScript
452
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Nov 04, 2014 Nov 04, 2014

you can load a html page into an air app using the HTMLLoader class.

Translate
Community Expert ,
Nov 04, 2014 Nov 04, 2014

if those are static images and a static url, download the images, create your banner and use navigateToURL for that url.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 04, 2014 Nov 04, 2014

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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 04, 2014 Nov 04, 2014
LATEST

you can load a html page into an air app using the HTMLLoader class.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines