francesco.j Posted April 14, 2007 Posted April 14, 2007 hi, i have this html page with a swf: <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="it" lang="it"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>testfinal</title> </head> <body bgcolor="#d8dee1" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0"> <!--URL utilizzato nel filmato--> <!--testo utilizzato nel filmato--> <!-- saved from url=(0013)about:internet --> <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="100%" height="100%" id="testfinal" align="top"> <param name="allowScriptAccess" value="sameDomain" /> <param name="movie" value="testfinal.swf" /><param name="menu" value="false" /><param name="quality" value="high" /><param name="bgcolor" value="#d8dee1" /><embed src="testfinal.swf" menu="false" quality="high" bgcolor="#d8dee1" width="100%" height="100%" name="testfinal" align="top" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /> </object> </body> </html> the swf file have background color D8DEE1, but in my application is with white background color until when i click over swf, why? my application: #include <GUIConstants.au3> #include <IE.au3> _IEErrorHandlerRegister () $oIE = _IECreateEmbedded () GUICreate("Test Somnium", @DesktopWidth, @DesktopHeight, 0, 0 ) GUISetBkColor (0xD8DEE1) $filemenu = GUICtrlCreateMenu ("&Test") $GUI_REFRESH = GUICtrlCreateMenuitem ("Riavvia",$filemenu) $GUIActiveX = GUICtrlCreateObj($oIE, 0, 0, @DesktopWidth, @DesktopHeight) GUISetState() ;Show GUI _IENavigate ($oIE, "D:\Desktop\somnium\test.html") ; Waiting for user to close the window While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case $msg = $GUI_REFRESH _IENavigate ($oIE, "D:\Desktop\somnium\test.html") EndSelect WEnd GUIDelete() Exit
Dolemite50 Posted April 16, 2007 Posted April 16, 2007 nobody can help me?It might be the IE "click to activate this control" -swf problem you're having. I was never prompted and the page was never white, but then again I don't have the swf. Try this out:flash-problem
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now