I have created a series of standalone frames within a flash file, each one of which I need to export out as a SWF file.
These standalone frames do contain movieclips some of which animate, some are static and some need to be instructed to animate to demonstrate state changes etc.
In order to animate the movieclip I added code on the main timeline instructing the stage instance to gotoAndPlay from a specific frame within the movieclip. Running the animation normally, the code behaves itself...
However when you export the specific frame as an image, then save it as a SWF it ignores the code from the master timeline.
Is there a way round this please?
I experienced this same problem years ago and had to use Director to help fudge a solution, this is no longer an option.
My ideas to solve it include:
1) internalizing the code, putting it inside the mc so it hopefully picks up - early tests suggest this will work, however it is untidy and inflexible
2) use seperate movieclips for each state I need - a pain
3) write to experts and see if they have a good idea - excellent idea :)
To clarify... For example if I was to export frame 5 of my flash file as an image and save it as a SWF, that SWF would ignore the code on the master timeline. The code on the master timeline at frame 5 might be to tell a movieclip of a thermometer to play (showing increase in temperature).
The compiled SWF would show a thermometer movieclip but it would not play it.
movieclips that have animation within them play fine, and will stop if they have an internal timeline command asking them to do so.
Any help, greatly appreciated.