Having trouble making a clickable banner HTML5 ad

Hello world

I'm just getting started making HTML5 banner ads, so I do not know this must be a simple solution, but had trouble finding the forums so far.

I got my ad the way I wanted to look into Animate and added some simple animations (nothing too fancy, some elements are mobile withdrew the canvas, the 'visible' button has a substitution effect). I tested in the browser, and everything works perfectly.

Now, I want the whole canvas to be clickable, so I added a button that covers the entire canvas, and it contained in the Hit State (rectangle covering the field of advertising) and the named instance of the button. I added the snippet to HTML5 Canvas/Actions/click to go to A Web Page. I saved, tested in browser and noticed a few things:

  1. By clicking on it in the browser does not take me to a web page (found by default Adobe.com that is there, as well as what would be the real link, we would use), although by positioning the mouse over the ad, my cursor change 'gloved hand.
  2. The file is read on the loop now, whereas before I added the link to the invisible button he just played once and stopped, as I wanted.
  3. There is an 'Access of undefined property window' error message in the compiler errors Panel. Here is a screenshot of what I mean:

All the solutions to this? Do you enjoy helping a beginner.

Thank you!

You work in ActionScript 3.  You must convert your document into HTML5 Canvas for HTML5 Canvas code snippets to work.

  • Click commands > convert different document formats to convert the document to the HTML5 Canvas document.
  • In the Type de Document Converter dialog box, select HTML5 Canvas and click Browse to select a location to save the converted FLA.
  • Click OK. The announcement is now transformed into HTML5 Canvas.

Once you correct the type of document, for banner ads, you'll want to use a "clickTAG", not a direct link.  Do you know if the banners are going to be victims of trafficking by DCM, Adwords, Sizmek or company of different ads?  (They all unique needs "clickTAG", then how you implement that will depend on how the advertising is served).

Tags: Adobe Animate

Similar Questions

Maybe you are looking for