kunalpict / swfobject

Automatically exported from code.google.com/p/swfobject
0 stars 0 forks source link

Full Browser Fails in Chrome #587

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create an html that uses swfobject.embedSWF with width 100% and height 100% 
2. Open the html in Google Chrome Browser.

What is the expected output? What do you see instead?
Expected: The SWF fills the entire browser window.
ctual: The SWF remains at the default width and height. Resizing the browser 
window causes the SWF to correctly fill the browser.

What version of the product are you using? On what operating system?
Version 2.2, Win7, Problem only occurs with Google Chrome Browser.

Please provide any additional information below.
Works fine with FireFox and IE.

Original issue reported on code.google.com by societygames on 12 Aug 2011 at 4:25

GoogleCodeExporter commented 9 years ago
Correction: This problem also occurs in FireFox. You must resize the FireFox 
window to get a SWF to display full-browser.

Original comment by societygames on 12 Aug 2011 at 4:11

GoogleCodeExporter commented 9 years ago
Sorry, I discovered this was a non-issue. On the Flash side, I was resizing my 
content when the Stage raised an Event.RESIZE event. In IE, for whatever 
reason, the Event.RESIZE event is raised when the application starts. Not so 
for FireFox and Chrome. Now, I resize my content on BOTH Event.RESIZE and 
Event.ADDED_TO_STAGE and everything works fine.

Please close this bug as a non-issue! SWFOBJECT is working fine when set to 
100% w 100% h. Thanks!

Original comment by societygames on 12 Aug 2011 at 5:03

GoogleCodeExporter commented 9 years ago

Original comment by platelu...@gmail.com on 12 Aug 2011 at 8:28