Importing .swf file results in missing layers

Hi all.

I’m trying to automate the process of resizing some swf’s. I’ve written some jsfl code to do the work and it seems fine with one exception. I presume this is a bug in Flash CS4. The problem can be reproduced manually without the jsfl.

In order to resize in the easiest way I can think of, I’m creating a blank file, loading the original size .swf into it and then scaling it. This works fine with all but one of my files. With this file in particular when I import the .swf back into the library, the top three layers are missing.

Basically I do this,

Open the original .fla (250x250).
Publish to .swf (If I check this .swf it looks fine)
Create a new blank 50x50 project
Import the previously published .swf into the library.

When I view the imported .swf in the library, the top three layers are missing. Also, it seems to have imported a ‘symbol 2’ into the library which appears to contain nothing.

The .fla contains only a single frame with uncomplicated line drawings and shading.

Any ideas what could be causing this. I can’t upload the original .fla for you to look at as it belongs to a client.