PRODUCT
Follow

Summary

Having a problem making variables work in Smart Versioning. Smart versioning is working and is populating the text field. They’ve set up the variable in the second frame and the workshop but it’s not working. I’ve tried uploading it to the platform and it doesn’t work on the platform either.

Environment

  • Adbuilder for Flash

Required information

  • Ad ID
  • Creative Asset

Solution

  • To set up variables in smart versioning on the flash we need to add variables inside the smart versioning setup in the workshop. To get the value of our variable, please see below for the sample code:

    var chevron_x:Number = 0;

    function onXMLloaded(event)
    {
    // set chevron and image offsets
    EBBase.UserActionCounter(“chevron_x “+SVComp.getValue(“chevron_x”)); // for tracking purposes only.
    this.productInfo_mc.chevron_mc._x+=parseInt(SVComp.getValue(“chevron_x”));

    }

    of this image: 


    And to update the variable in every keyframe, please see the sample:

Case Examples

Ticket IDSummary
ID of the ticket Summary of the issue and solution used for this ticket.
ID of the ticket Summary of the issue and solution used for this ticket.
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments