Works in CS5, works in Windows Projector, but not in FlashPlayer!
I'm new at this, and probably know only enough to be dangerous...
The following code may be clumsy and inelegant, but it's the best I can do right now, and it's way more than I could do a month ago.
All the external files are in the same directory as the SWF file attempting to load them. The Flash Player is 11x32 downloaded from adobe.com today (although the titlebar claims it's version 10). All external SWF files are written using ActionScript 3.0. O/S is Windows Vista Ultimate, 32bit, 4GB RAM, AMD 2.8GHz dual core processor.
Pressing Ctrl-Enter in Flash Pro CS5 gives me a fully functional application. Publishing to a windows projector also works as expected, but with Flash Player, nothing works after "removeEventListener(Event.ENTER_FRAME, insert_clip);", just a row of tiny dots animated across the very centre (I'm Canadian, we spell funny) of the screen.
I have a couple of other questions, which my help clarify the depth of my ignorance:
1. As I understand it, I am creating a empty container (a Sprite), and adding it to the display, I am then loading an external SWF into that container. How do I then remove the external SWF? I've tried "removeChild" in various combinations and received compiler errors: the problem seems to be that I don't understand which object I should be attempting to remove.
2. The project of which this is a small part is an eight session classroom presentation - a super PowerPoint, so to speak, but with animations that are impossible with presentation software. Each of the eight sessions is made up of ten or so components. Within each component I have used right- and left-arrow keys to step forward and back, with the down-arrow key to skip to the end. Is there a way to "trap" the same keystrokes within the child SWF, to control it, which would give the end-user a much simpler and more consistent user-inteface?
Thanks in advance... if only for reading this far.