Copy link to clipboard
Copied
my animation is ready, only when i want to test it i get a white screen, i dont know where the error is... as soon as i turn the camera layer off (i think it has something to do with this), i only see the first frame but not the whole animation. as soon as i test it in animate itself (without publish it to the browser_everything works perfect and there is nothing wrong. Please help me...
Copy link to clipboard
Copied
did you upload your files to a host site to test?
Copy link to clipboard
Copied
i'm sorry very new with the program. I put the fla file in a map on my desktop, and then "test in browser"
Copy link to clipboard
Copied
then you probably have a cross-domain error. check your browser's developer console to confirm.
Copy link to clipboard
Copied
i'm getting this in de developer console
Copy link to clipboard
Copied
you don't have all the files in the correct location.
save your fla to a new directory.
publish to that directory.
open your html from that directory and then check the console.
Copy link to clipboard
Copied
Okay, still white screen. But 1 error less.
Copy link to clipboard
Copied
Can i help by finding the problem, when i send you the file?
Copy link to clipboard
Copied
what's line 23279 in your js file?
Copy link to clipboard
Copied
Copy link to clipboard
Copied
is there a space before the 2?
Copy link to clipboard
Copied
yes i see there is, but it's by all of them
Copy link to clipboard
Copied
that's an error. fix your code to remove those spaces.
Copy link to clipboard
Copied
is it enough to remove it in the code? or do i have to edit it in the animation itself?
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Copy link to clipboard
Copied
you can't use spaces in the names of anything used in code. there's no code language that allows that.
Copy link to clipboard
Copied
okay, fixed it. no spaces in the animation names or in the code, but still the same white screen.
Copy link to clipboard
Copied
what's the console show?
Copy link to clipboard
Copied
Copy link to clipboard
Copied
line 23448 still had the error.
and don't attach screenshots. copy and paste them into replies.
Copy link to clipboard
Copied
okay, i will. This is line 23448:
this.Boom2 = undefined;this.Boom2 = undefined;this.KorenD2 = undefined;this.KorenD2 = undefined;this.KorenD2 = undefined;this.KorenL2 = undefined;this.KorenL2 = undefined;this.Bolboom2 = undefined;this.Bolboom2 = undefined;this.Bolboom2 = undefined;this.Bolboom2 = undefined;this.Appelboom2 = undefined;this.Appelboom2 = undefined;this.Appelboom2 = undefined;this.Appelboom2 = undefined;this.Paddenstoel2 = undefined;this.Paddenstoel2 = undefined;this.Paddenstoel2 = undefined;this.Paddenstoel2 = undefined;this.Zonnebloem 2 = undefined;this.Zonnebloem2 = undefined;this.Zonnebloem2 = undefined;this.Zonnebloem2 = undefined;this.Tractor2 = undefined;this.Tractor2 = this.Tractor.Tractor2;
Copy link to clipboard
Copied
i don't see it there. use a find to look for " 2"
also save and publish to a new directory.
Copy link to clipboard
Copied
found one, now the following errors exists
Copy link to clipboard
Copied
what's line 6?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now