i am stucked with this problem:
i have a movieclip and i have 2 JS (working) :
i would like to load inside my movieclip my 2 JS.
Something like this
If ( condition) load JS1 (if needed unload JS2)
else load JS2 (if needed unload JS1)
this was very easy with AS3 but i can not find the right way to do with html5.
Thanks a lot
actually your link do exactly what i was thinking i need, but maybe i miss up something.
From this link i can load the JS but nothing happen.
What i am tryng to do is somethink like that :
I created 2 Canvas html5 with Animate (so the results comes html + JS obsliy)
So what i want is that in a 3rd Canvas i can load (and unload) the 2 movies that i created.
Maybe you can help me to solve this problem.
Should i load the HTML instead the script? or i missing somthing to make the script "running".
Thanks a lot for your kind help
Now you're asking something completely different. No, you can't load Canvas documents into each other like you can with SWFs.
Yes thanks you are right! i was a litle bit confused because i am trying to convert something that I did in AS3 in a canvas h5ml5...
thanks for your answer