in partnership with mediatemple

Ticket #1003 (new defect)

Opened 5 days ago

Slider does not hide swf in FireFox 2 for Windows

Reported by: guille Owned by:
Type: defect Priority: minor
Milestone: Mootools version 1.2 Component: Core
Keywords: Slider, swf, flash Cc:

Description

When a swf(injected by swf-object) is in an html element that is slided with Fx.Slider the swf is not hidden on Windows with Firefox 2.

I used this workaround(while the style "hidden" is set on another part of the code:

this.sliderFx = new Fx.Slide(this.player, {
    onComplete:function() {
        if (this.player.hasClass('hidden')) {
            this.player.setStyle('visibility','hidden');
        } else {
            this.player.setStyle('visibility','visible');
        }
    }.bind(this)
});

the visibility could be set automatically from Fx.Slider. My workaround is not the best of course. The "visible" property of visibility should be set onStart.

Note: See TracTickets for help on using tickets.