Page 1 of 1

Flex preloader player bug?

Posted: Thu Mar 26, 2009 3:24 pm
by jmeyer
Browser: Firefox 3.0.7
Platform: MacOSX
Url: http://www.kewego.fr/video/iLyROoafJEqT.html

It seems we have a bug
- under mac (intel)
- firefox 3.0.7, flashplayer 10.0.x.x, flex video player
It seems flex preloader stageWidth and stageHeight are set ( or stay ) to
0x0.
adobe flex preloader.as core code impacted :
// Create a new instance of the display class and attach it to the
stage
if (showDisplay)
{
displayClass = new displayClassName(); // Listen for when the displayClass no longer needs to be on the stage
displayClass.addEventListener(Event.COMPLETE,
displayClassCompleteHandler);
// Add the display class as a child of the Preloader
addChild(DisplayObject(displayClass));
displayClass.backgroundColor = backgroundColor;
displayClass.backgroundAlpha = backgroundAlpha;
displayClass.backgroundImage = backgroundImage;
displayClass.backgroundSize = backgroundSize;
displayClass.stageWidth = displayWidth;
displayClass.stageHeight = displayHeight;
displayClass.initialize(); displayClass.preloader = this;
}
displayWidth and displayHeight are 0 .
We tried under windows its good though. Is it a known issue ?
Our preloader goes in the top left corner, and sometimes the video goes
outside the player container too. Cf :
http://www.kewego.fr/video/iLyROoafJEqT.html

Cheers,
julien

Re: Flex preloader player bug?

Posted: Thu Apr 09, 2009 7:38 am
by GµårÐïåñ
Unfortunately I don't have a Mac available to me, so maybe NanM can help you with this one. I checked under windows and it was fine but you already knew that. So hopefully a Mac user will give you some feedback on this.