Copy link to clipboard
Copied
Included in "Global", I added JS previously done, but did not show.
JS file, is a previous production of an animation.
How to properly invoke the previously released JS?
you can use left,right,top,bottom:
div.style.position='absolute';
div.style.left='100px';
etc
Copy link to clipboard
Copied
an included js file wouldn't typically be something created by animate.
Copy link to clipboard
Copied
So what is the way to load the previous production of HTML5 + JS animation?
It is a pity that the previous Fla was lost.
I'd like to load the previous animation into one of the movie clips of the animation now.
Copy link to clipboard
Copied
Try to iimport your libray into the new fla.
File/import/other external library
Copy link to clipboard
Copied
check msg 3 but i don't think that's going to help you if you do not have the needed fla.
i'm not sure what you're trying to accomplish but html5 doesn't work the like swfs so you can't "load" one project into another like you could with swfs. that said, you can 'link' two html5 projects but i'm not sure that's what you want.
Copy link to clipboard
Copied
I see,
But I found that some HTML pages can be displayed on another page, ANIMAYECC can't do that.
I saw some files as pictured.B is shown in a.html.
Copy link to clipboard
Copied
yes, you can change the innerhtml of a div but i think you'll need to do some of that outside animate. i use the text editor sublime text.
Copy link to clipboard
Copied
Hello, I saw your reply yesterday.
Because I do not understand the network code, so I query the code went.
The code I found is this.
Test to create a new div.
But I also have questions.
1, how to adjust div position, let div overlap on the stage, is now on the stage outside
2,How to load a new page. Use "Load" in an HTML query, but how to write in ANCC I don't know.
this.aa.on("click", creatDiv);
function creatDiv(){
var div = document.createElement("div");
div.innerHTML = "Hello!";//为div输入内容
document.body.appendChild(div)
}
Copy link to clipboard
Copied
you can use left,right,top,bottom:
div.style.position='absolute';
div.style.left='100px';
etc