Flex preloader player bug?
Posted: Thu Mar 26, 2009 3:24 pm
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
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