• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Animate CC and Dreamweaver together ?

Community Beginner ,
Jun 22, 2018 Jun 22, 2018

Copy link to clipboard

Copied

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.

Views

542

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Jun 22, 2018 Jun 22, 2018

See if the below works alert(test);

body

<script>

var test = 0;

alert(test);

</script>

/body

Votes

Translate

Translate
LEGEND ,
Jun 22, 2018 Jun 22, 2018

Copy link to clipboard

Copied

See if the below works alert(test);

body

<script>

var test = 0;

alert(test);

</script>

/body

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jun 22, 2018 Jun 22, 2018

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 22, 2018 Jun 22, 2018

Copy link to clipboard

Copied

LATEST

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines