Copy link to clipboard
Copied
Hi
I've created an interactive infographic in Animate which works fine when I test the movie in a web browser and when ipublish the OAM file in Indesign. However I can't get it to work on my website.
I've copied the js code into my website the infographic doesn't render (no images appear) and I get the following error: Uncaught TypeError: cjs.MovieClip is not a constructor.
Uncaught TypeError: cjs.MovieClip is not a constructor at digestivesystem:1350:20 at digestivesystem:3153:3
Would anyone have any advice as to how to fix this?
Thanks in advcance
Ellen
Copy link to clipboard
Copied
where do you see that error?
Copy link to clipboard
Copied
Copy link to clipboard
Copied
click the right-side link and copy and paste a few lines around 1350
Copy link to clipboard
Copied
I can't see the code when i click the right-side link, but this is the code around line 1350:
There is no code at 3153 as the last line of code is 1826
Copy link to clipboard
Copied
at the top of that on method add
console.log(_this.Mouth_info)
and retest.
what's the console output?
Copy link to clipboard
Copied
Sorry not sure where you mean i should add the additional code! I added it here in Squarespaces code editor:
The console output is this:
Copy link to clipboard
Copied
add the code on animate
then test
Copy link to clipboard
Copied
I've added the code in Animate and it's the same. Console output at 1351 is:
The code at line 1351 which relates to the Mouth info movie clip was from the code editor in Squarespace, not the Console output. So i'm now wondering if the Mouth info movie clip has nothing to do with this error?
Copy link to clipboard
Copied
what do you see when you click the right-side link?
Copy link to clipboard
Copied
I don't think it's changed:
Copy link to clipboard
Copied
what's the relevent code in animate?
Copy link to clipboard
Copied
@kglad I wish i knew! How do i find this out?
Thanks for your help so far!
Copy link to clipboard
Copied
where is your code?