So I am developing an app which loads some xml and parses it. Based on what’s in the xml, it loads another swf, and passes part of the xml over to the loaded swf. So right now I’m trying to develop the loaded movie. But I can’t just test it on its own. It really needs to be loaded by the other movie to make sure it’s integrating all just right. So this was my workflow:
Frustrating.
As hell.
JSFL to the rescue. I replaced my compile.jsfl file that I have PrimalScript set up to run on F7. Here it is now:
fl.outputPanel.clear(); fl.documents[0].save(); fl.documents[0].publish(); fl.documents[1].save(); fl.documents[1].testMovie();
And here’s my new work flow:
Flash saves and publishes the loaded movie (document 0), then saves and tests the loading movie, which loads the newly created swf. Gotta love it.