[swfmill] Problems importing SWF's

Rodolfo Lopez @ nebular streams rodo at nebular.tv
Wed Jan 14 06:47:51 PST 2009


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


rodolfo lopez pintor
nebular streams
nebular at nebular.tv



rodolfo lopez pintor
nebular streams
nebular at nebular.tv



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://osflash.org/pipermail/swfmill_osflash.org/attachments/20090114/7fbe28cb/attachment.html>


More information about the swfmill mailing list