1 Reply Latest reply on Mar 7, 2013 11:36 PM by ti2m

    PHP parsing in .OAM Edge file

    niccolo.mineo Level 1

      How do you insert PHP code inside a window.open method when in an Adobe Edge animation?

      window.open("<?php echo bloginfo('url'); ?>", "_self");

      The PHP code is not parsed...

      In order to have it work with Wordpress, I am using "Edge Suite" plugin, which requires you to import the animation as an OAM file, then I am firing it like this inside one of Wordpress' PHP file:

      <?php echo do_shortcode('[edge_animation id="40"]'); ?>

      Thank you!