[swfmill] Problems importing SWF's

Walton, Lynn Lynn_Walton at adp.com
Thu Jan 15 12:35:14 PST 2009


Rodolfo, 

Please let us know if Alex suggestion about turning off all
movie-clip-defined effects solved your problem.   We also found turning
off movie-clip defined effects necessary. 

One other idea that might help if that didn't do it is to give your clip
an id (FOO in example below) and then add a <place> tag referring to
that id:

<movie width="1024" height="768" framerate="12" version="8">
  <frame>
    <clip id="FOO" import="classes.swf"/>
    <library>
      <clip id="menu" import="lib/menu_item.swf"/>
      <clip id="feed" import="lib/feed_body.swf"/>
    </library>
    <place id="FOO" depth="0" />
  </frame>
</movie>

We sometimes do it like that.  Hope this helps,

Lynn



> ------------------------------
> 
> Message: 2
> Date: Thu, 15 Jan 2009 09:34:07 -0500
> From: Alex H <swfmill at avbrand.com>
> Subject: Re: [swfmill] Problems importing SWF's
> To: swfmill at osflash.org
> Message-ID: <496F495F.3060106 at avbrand.com>
> Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
> 
> Hi Rodolfo,
> 
> I've seen exactly the problem you are describing for some time.
> 
> All I can tell you right now is that to fix it, you must shut off all 
> movieclip-defined effects (blur, drop shadow, etc) and then it will
work 
> better with SWFMILL.
> 
> Cheers,
> -alex




>> Rodolfo Lopez @ nebular streams wrote:
>> Hi! First of all, congratulations to the SWFMILL team for such a 
>> promising tool. You guys really rock!
>>
>> I'm having problems when trying to create an assets library using 
>> SWFMILL. Version: subversion trunk, 0.2.12.6, freshly compiled. Also 
>> same problem with 0.2.12.0.
>>
>> The problem is, the imported SWF's get broken. I've done a very
simple 
>> test, just importing a couple clips:
>>
>> ------------------------------------
>> <movie width="1024" height="768" framerate="12" version="8">
>>         <frame>
>>                 <clip import="classes.swf"/>
>>                 <library>
>> <clip id="menu" import="lib/menu_item.swf"/>
>> <clip id="feed" import="lib/feed_body.swf"/>
>> </library>
>> <call object="stub" method="main"/>
>> </frame>
>> </movie>
>> ---------------------------------------
>>
>> The symbols are imported into the library, but some symbols inside 
>> them are placed onto the stage. Let me explain: The clip 
>> "menu_item.swf" is a very simple clip, with a (child) movieclip as 
>> background, and the option text. What happens is, its child clip (the

>> item background) is placed onto the stage, even though it shouldn't. 
>> When I do an AttachMovie, the menuitem is attached, but WITHOUT the 
>> background. Looking at the flash console output, I see these warnings

>> (maytbe not related to the problem) just before the method "main" is 
>> executed:
>>
>> ----------------------------------------
>> Warning: Failed to place object at depth 1.
>> Warning: Failed to place object at depth 1.
>> ----------------------------------------
>>
>>
>> Same problem with the other clip.
>>
>> I've decompiled the generated SWF with a SWF extraction tool, and I 
>> see that the child clip is NOT present in the parent item, but it IS 
>> in the library. In the parent, in the place where the clip should be,

>> I see a "yellow anchor", and Flash complains about the child clip 
>> belonging to a shared library, when I try to open it.
>>
>> So... can anybody please give me general guidelines on how to import 
>> SWF's and its limitations? Should it work flawlessly? maybe version 
>> problems? I'm working with everything set to Flash 8. I have been 
>> reading this maillist and nobody complains about a similar problem,
so 
>> maybe it's just my fault. 
>>
>> Also, the "call object" thing seem not to be working. Is it 
>> neccessary? or I can safely use the MTASC -main thing? that one
works!
>>
>> Thanks in advance!
>>
>> Please dont hesitate in asking for more information. I'd be more than

>> grateful with anybody helping me out to solve this problem
>>
>>
>> rodolfo lopez pintor
>> nebular streams
>> _nebular at nebular.tv_ <mailto:nebular at nebular.tv>


This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system.



More information about the swfmill mailing list