Highlighted

Animate CC and Dreamweaver together ?

Community Beginner ,
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.

See if the below works alert(test);

body

<script>

var test = 0;

alert(test);

</script>

/body

Views

360

Likes

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

Animate CC and Dreamweaver together ?

Community Beginner ,
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.

See if the below works alert(test);

body

<script>

var test = 0;

alert(test);

</script>

/body

Views

361

Likes

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
Jun 22, 2018 0
LEGEND ,
Jun 22, 2018

Copy link to clipboard

Copied

See if the below works alert(test);

body

<script>

var test = 0;

alert(test);

</script>

/body

Likes

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
Reply
Loading...
Jun 22, 2018 1
Community Beginner ,
Jun 22, 2018

Copy link to clipboard

Copied

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

Likes

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
Reply
Loading...
Jun 22, 2018 0
pziecina LATEST
LEGEND ,
Jun 22, 2018

Copy link to clipboard

Copied

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.

Likes

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
Reply
Loading...
Jun 22, 2018 1