Here's an interesting article I just came across concerning Flash 8 (if that
is the version you are using) and wmode settings.

http://justin.everett-church.com/index.php/2006/02/23/wmode-woes/

Here's a relevant snippet concerning Events:

"*Inconsistent Performance*
SWFs using wmode actually perform slightly different from SWFs that have a
default wmode. The difference is that when you are running as transparent or
opaque, events are delayed until an onEnterFrame. If you are running at a
slow frame rate and drive your movie with setInterval or use any number of
other events, you are back to your slow frame rate. If you would like to see
an example of the difference in the way it runs, take a look
here<http://justin.everett-church.com/wmode>(must use IE). The real
kicker is that SWFs in IE have this bug. SWFs in
Firefox are just fine.

While this does irk me just because one of the best things about Flash is
its cross-everything consistency, It has caused a problem for a specific
application I've worked on. At one point I needed to instantiate a lot of
SWFs in HTML. Each instance running at its own framerate starts to bog down
the machine at some point just from the processing power it takes to idle a
lot of transparent 12 FPS SWFs. My proposed work around was to make the SWFs
run at 1FPS or less, and then drive the file with setInterval. This would
allow me animate the files at the appropriate frame rate when needed, but
otherwise idle at a super low framerate. This works fantastically with a
default wmode. With a transparent SWF, the Interval only fired once per
second right along with the onEnterFrame. "

Hope that helps,

Lyndon
On 10/31/06, Merrill, Jason <[EMAIL PROTECTED]> wrote:

Off the top of my head (not exactly sure what you mean by "on wrong
moments" and "behave in some strange way"), but it could be one of these
two problems:

http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19435

or:

http://www.gskinner.com/blog/archives/000054.html


Jason Merrill
Bank of America
Learning & Organization Effectiveness - Technology Solutions





>>-----Original Message-----
>>From: [EMAIL PROTECTED] [mailto:flashcoders-
>>[EMAIL PROTECTED] On Behalf Of Janis Radins
>>Sent: Tuesday, October 31, 2006 5:12 AM
>>To: flashcoders@chattyfig.figleaf.com
>>Subject: [Flashcoders] wmode=transparent and buttons behavior woes
>>
>>Somehow when i set wmode=transparent to flash object all buttons start
to
>>behave in some strange way, calling onRollOver/onRollOut on wrong
moments.
>>Anyone knows what exactly is going on and why, or how to prevent this?
>>I've noticed this long time ago.
>>
>>Janis
>>_______________________________________________
>>Flashcoders@chattyfig.figleaf.com
>>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
_______________________________________________
Flashcoders@chattyfig.figleaf.com
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




--
Lyndon

"If you woke up breathing, congratulations! You get another chance."
_______________________________________________
Flashcoders@chattyfig.figleaf.com
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