Noob at Flex:  Been toying with converting a project over from Flash 8 to
Flex using FlashDevelop 3 Beta + SDK.

I've noticed that when I embed a Flash 8 swf containing a masked flv, CPU
usage goes through the roof -- bouncing between 75 and 100% as the swf
plays. The equivalent flash 8 layout uses about max 40% on load and drops
back to a (relatively speaking) reasonable 10-20%. If I remove this swf from
the flex layout, processor usage peaks at 60 on load, and drops to 0-8%.

In the previous Flash design, this was the focal point of the layout, so I'm
loath to give it up and use something static. Am I doing something wrong or
is this just a fact of life?

What I'm doing:

The swf was built in flash 8 and contains a FLV file embedded, with a
movieclip over the flv allowing only a portion of the flv to be seen.

The flex uses an embed statement in the main mxml file's script, and assigns
the embedded clip to an image:

[Embed(source="centerMovie.swf")]
[Bindable]
public var centerMovie:Class ;

...

<mx:Image id="centerMovieAut0poietic" source="{centerMovie}"
scaleContent="false" verticalAlign="top"></mx:Image>



centerMovie.swf is about 300k (which is a bit obscene, but I can refine once
I get things working).

Anyone have any suggestions?
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to