Skip to main content
Inspiring
May 24, 2019
Answered

Meta name "ad.size" in exported HTML does not match Stage size in Animate CC

  • May 24, 2019
  • 1 reply
  • 1051 views

I created a series of online display ads in Animate CC and exported them as HTML5.  They animate correctly and look fine in a browser test straight from Animate CC, but when testing it on the HTML5 Validator​ and some ads were getting cropped.  Well, I discovered that it uses the Meta name "ad.size" to discern the ad size and generate the frame to show the ad in.  But Animate CC is not generating the Meta Name ad.size to match the size of the Stage.

The first ad I created generates the correct Meta Name ad.size dimensions.  Then I duplicated that project and modified the Stage size for the next ad.  But Animate CC isn't recognizing that change and continues assigning the ad.size with the original pixel dimensions.

How do I get Animate CC to use the current Stage size when generating the ad.size dimensions so that it matches the stage size?

I have 16 ads completed and it's a real inconvenience to have to fix that with every little change on every ad.  I fairly new at using Animate CC so, I'm hoping it's some simple preference checkbox that I don't know about.

Thank you!

 

This topic has been closed for replies.
Correct answer Luminar

Nevermind.  I found the problem.

1 reply

LuminarAuthorCorrect answer
Inspiring
May 24, 2019

Nevermind.  I found the problem.

Preran
Legend
May 30, 2019

It would help other users very much if you could post the solution here.

LuminarAuthor
Inspiring
July 24, 2019

My question was incorrect.  Animate CC was not adding the Meta name "ad.size" to the code.  I was adding a click tag code to the ad, and in doing so I was copying and pasting the code to define the meta tag but I wasn't changing the dimensions to match the canvas size.  So the line:  <meta name="ad.size" content="width=728,height=90"> needed to be changed to match the ad size in which I was pasting this line of code into.