Reputation:
I've recently started using flex4 and have found when I compile a file, the swf generated takes a lot longer to startup than a swf generated with flash.
When the flex swf is run there is always a progress bar, which I'm assuming is initializing different things, but this doesn't happen with swf's made with flash...
Any ideas why ? or what I can disable to prevent this.
I basically want my swf to run as fast as possible..
Upvotes: 0
Views: 125
Reputation: 7294
This is because Flex SDK includes many classes needed to provide Flex Framework functionality (layout, components, resources, lifecycle, utilities). That's why your swf needs to load additional data. You should get familiar with Flex framework itself, its advantages and functionality.
Also read about using RSLs. I'm sure, it will help you to decrease startup time.
Upvotes: 1