flash-cs4

Flash CS4, JSFL: changing settings for exportPNG

I need to export FLA as a sequence of PNG images using JSFL. The first problem I faced is that I cannot call document.importPublishProfileString to change current publish profile, it always fails (returns 0). Now I create a separate publish profile, removing it if already exists. I don't know why it's not mentioned in the documentation....

Accessing declared and set variables in nested timelines - Flash CS4/AS2

I have a minor issue accessing declared variables in nested timeslines that are loaded using the attachMovie() method, and I could do with some help. I'm running an experiment where I load a container dynamically at runtime using attachMovie(). In this container, there is a test variable called 'testvar' that I set with something arbitr...