# Importing .swf file results in missing layers

**URL:** https://forum.kirupa.com/t/importing-swf-file-results-in-missing-layers/287356
**Category:** flash
**Created:** [April 29, 2009, 7:26pm UTC](https://forum.kirupa.com/t/importing-swf-file-results-in-missing-layers/287356 "2009-04-29T19:26:40Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![kev51773](https://avatars.discourse-cdn.com/v4/letter/k/58956e/32.png) [@kev51773](https://forum.kirupa.com/u/kev51773)
#### Post date: [April 29, 2009, 7:26pm UTC](https://forum.kirupa.com/t/importing-swf-file-results-in-missing-layers/287356/1 "2009-04-29T19:26:40Z")

</div>

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.
