Skip to main content
Zipzap32
Known Participant
June 22, 2018
Answered

Animate CC and Dreamweaver together ?

  • June 22, 2018
  • 2 replies
  • 638 views

Hey everyone , i have both dreamweaver and animateCC , my problem is that i can't make them interract together , i have a small HTML file made in animateCC and i want it to modify a html file in dreamweaver and i can't do it

here is an example : my html file is like :

==================================

body

<script>

var test = 0;

alert test;

</script>

/body

and here is the draft of the animate CC project :

======================================

this.button_1.addEventListener("click", fl_MouseClickHandler.bind(this));

function fl_MouseClickHandler()

{

    test = test+1;

}

/////////////////////////////////////////////////////////////////////////////////////////////////////////////////

  • I published an ANCC file as an OAM
  • I inserted this OAM in an html file (my site) using DM<inset<html/animtedcompostion
  • I added a script in the above html file with the variable
  • I want to change the var in the site html page that contain the ANCC OAM object with code into ANCC so from the ANCC object.
    This topic has been closed for replies.
    Correct answer osgood_

    See if the below works alert(test);

    body

    <script>

    var test = 0;

    alert(test);

    </script>

    /body

    2 replies

    pziecina
    Legend
    June 22, 2018

    An oam file from animate is a 'closed' environment as far as Dw, (or any code editor) is concerned, so is not modifiable, you would be better advised to export from animate as an html file.

    osgood_Correct answer
    Legend
    June 22, 2018

    See if the below works alert(test);

    body

    <script>

    var test = 0;

    alert(test);

    </script>

    /body

    Zipzap32
    Zipzap32Author
    Known Participant
    June 22, 2018

    yes it does , when i input this code into dream it runs ok