Skip to main content
Known Participant
April 2, 2017
Answered

getelementbyid, html, container and createjs - how one can struggle?)

  • April 2, 2017
  • 8 replies
  • 1850 views

from noob in this field (flash animator trying to learn some js).

hi all.)))

for the learning purposes: how i can change/modifiy codepen/jsfiddle examples, to work from inside animate cc? i mean, almost every such example use html+css+js file, but animate cc produce his own files, that i don't want to modify, for many reasons, so "getelementbyid" is not a solution here. this may be "stage" with "addchild"(am i right?), but what if i need to put some example inside container (movieclip) on timeline? createjs makes his own limitations and code snippets is for sure not enough here...(((

This topic is closed to new replies. Start a new post to keep the conversation going.
Correct answer kglad

i edit the published files all the time.  i'm not sure why you're reluctant to do that.

you can use any plain text editor.  i use sublime text.

8 replies

kglad
Community Expert
kgladCommunity ExpertCorrect answer
Community Expert
April 3, 2017

i edit the published files all the time.  i'm not sure why you're reluctant to do that.

you can use any plain text editor.  i use sublime text.

Known Participant
April 3, 2017

wow. maestro answered me! yay! (for real, your help in this forum is priceless).

but still... if i want to implement some code in my *.fla, (for example - particle system in my regular frame by frame animation), i need to completely rewrite the code, and fight for a weeks only for one dot, that is missing? i can edit html, and change canvas id, but if i need to make two different animations in one canvas? what can i do, i'm just animator... any possible solution will be more, than appreciated.)

Legend
April 3, 2017

arthurb65311981  wrote

any possible solution will be more, than appreciated.

Any possible solution to what? All you've presented so far is stream-of-consciousness rambling.

If you want to know how CreateJS code looks inside Animate, search these forums. There are even a couple of threads on particle systems.