Go Back   CodingForums.com > :: Client side development > Flash & ActionScript

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 06-08-2005, 05:29 PM   PM User | #1
RichardCook
New to the CF scene

 
Join Date: Jun 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
RichardCook is an unknown quantity at this point
Weird Flash issue with "Wimpy" in Mozilla Firefox

Dear All,

I am using the Wimpy Button (check it out) in order to play MP3s on my web site. Unfortunately this Flash movie does not respond to mouse clicks if it is embedded within a "div" element with overflow set to "auto".

The source code for this page is below and the page is running live here:

Code:
<html>
<head>
    <title>flash_bug</title>
</head>
<body>
    <div style="overflow: auto;">
        <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,47,0"
            width="100" height="100" id="WimpyButton7">
            <param name="movie" value="http://www.fromthefall.com/wimpy/button.swf?theFile=http://www.fromthefall.com/wimpy/Track_1.mp3" />
            <param name="quality" value="high" />
            <param name="bgcolor" value="#000000" />
            <param name="wmode" value="transparent" />
            <embed src="http://www.fromthefall.com/wimpy/button.swf?theFile=http://www.fromthefall.com/wimpy/Track_1.mp3"
                width="100" height="100" name="WimpyButton7" quality="high" bgcolor="#000000"
                pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"
                wmode="transparent" /></object>
    </div>
</body>
</html>
You are supposed to be able to click on the big "play" button and it should play an MP3. Unfortunately it won't respond to mouse clicks although if you move the mouse over the button the mouse cursor will flicker ever so slightly as if it would really like to work. This page works as expected in Internet Explorer so I would recommend comparing the behaviour in these two browsers.

I suspect that this might be a problem with all Flash movies but I've only been able to try it with this one. Does anybody have any ideas why this movie does not work as expected?

Richard.
RichardCook is offline   Reply With Quote
Old 06-08-2005, 05:49 PM   PM User | #2
RichardCook
New to the CF scene

 
Join Date: Jun 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
RichardCook is an unknown quantity at this point
OK, I've just searched Bugzilla and this issue corresponds to bug 248054 in the database. Does anybody have a workaround for this bug?

Last edited by RichardCook; 06-08-2005 at 05:49 PM.. Reason: Spelling
RichardCook is offline   Reply With Quote
Old 06-08-2005, 07:36 PM   PM User | #3
_Aerospace_Eng_
Supreme Master coder!


 
_Aerospace_Eng_'s Avatar
 
Join Date: Dec 2004
Location: In a place far, far away...
Posts: 19,293
Thanks: 2
Thanked 1,044 Times in 1,020 Posts
_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light_Aerospace_Eng_ is a glorious beacon of light
I'm guessing thats the wmode parameter transparent. You could I guess fake it, make the background of the flash the same color as your background, or if you are using a background image, then you can try putting the background image directly into the fla file but I don't know if you even have the fla file.
_Aerospace_Eng_ is offline   Reply With Quote
Old 06-08-2005, 07:38 PM   PM User | #4
RichardCook
New to the CF scene

 
Join Date: Jun 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
RichardCook is an unknown quantity at this point
Not a bad idea actually. I'll have a go matching the background colour. Thanks!

Thanks, Richard.

P. S. If anybody else has any ideas about how I might be able to "trick" Firefox into rendering this the way I intended, please let me know.
RichardCook is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:23 AM.


Advertisement
Log in to turn off these ads.