export to swc increases swf size
Hi,
I've tried to tick 'export to swc' in order to export in flash IDE without using SwiftSuspenders, the file size has increased from 700kb to 1mb.
Is there a work around to solve this issue or use SwiftSuspenders in robotlegs 1.3.0 (it gives me error after i migrate from 1.0.3).
Thanks,
Mars
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by Stray on 01 Nov, 2010 06:56 PM
Hi Mars, Shaun and I are both away at the moment - I'm back tomorrow evening, so apologies if you needed an urgent response.
300kb does seem like a big hit just for some custom metadata, but what I'm wondering is whether there are parts of the framework that weren't being compiled previously because they're being pulled in by injection.
I'm hoping it's something fixable, because the framework isn't anything like 300k.
Can I just confirm that your non-debug swf (not the swc) is increased to 1mb? The .swc that is created doesn't really matter, and you need to exclude debugging to get a final size.
Thanks,
Stray
2 Posted by Mars on 01 Nov, 2010 10:33 PM
Hi Stray,
Thanks for your reply, we'll try to overlook everything to figure out a way. And I confirm it's the swf that's increased to 1mb, the swc is like 1.1mb.
Support Staff 3 Posted by Shaun Smith on 01 Nov, 2010 10:37 PM
As far as I know, there is no way to compile a Release (non-debug) Build from the Flash IDE. I may be wrong about that.. I hope so. Does anyone know how to create "Release Builds" with the Flash IDE?
Most Robotlegs users use the Flash IDE to build visual assets, but perform actual project compilation with the free MXMLC compiler.
Selecting "Export SWC" prevents the Flash IDE compiler from stripping out custom metadata - it has nothing to do with SwiftSuspenders. SwiftSuspenders will still be used by Robotlegs to perform dependency injection.
Stray closed this discussion on 18 Feb, 2011 06:52 PM.