Import statements in html wrapper?
Well, I'm still stalled here:
I resolved the 2 bugs in Stiller's Sound Sync demo (see link to his zip files below) that Colin pointed out earlier in this thread: https://forums.adobe.com/thread/2283273
...and have it working as an Animate CC project.
However, when I try to put that sound sync code, specifically this part:
import net.quip.sound.SoundSync;
import net.quip.sound.CuePointEvent;
...into the framescript of my Animate project, it crashes (blank page results when trying to test in browser).
Probably, that's because those import lines need to be put into the html wrapper, right?
So, I tried to put those lines into the template that my Animate project uses (inserting them at the end of my <head> section of my template) like this:
<script>
import net.quip.sound.SoundSync;
import net.quip.sound.CuePointEvent;
</script>
But when I put this:
var ss:SoundSync = new SoundSync();
...into my Animate's FLA framescript it still crashes upon test.
Any ideas what I'm doing wrong?
Thanks!
====================
Stiller's Sound Sync demo:
