SYRAU3 Posted June 30, 2012 Share Posted June 30, 2012 (edited) Hello big-minds I have this simple SWF example:#include <GUIConstantsEx.au3> #include <WindowsConstants.au3> $xload = GUICreate("FLASH", 800, 500) $oFlash = ObjCreate("ShockwaveFlash.ShockwaveFlash") $FlashCtrl = GUICtrlCreateObj($oFlash, 200, 100, 400, 250) GUISetState(@SW_SHOW) $oFlash.Movie = @ScriptDir & "\loading.swf" $oFlash.BGColor = "0x99B9E3" $oFlash.Menu = False $oFlash.Play While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEndI want to make it transparent is this available here?This is my SWF file: loading.swf.zipThanx in advanced. ----------------------------------------------------------This question have been asked many times, Here is the solution:#include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <WINAPI.au3> $GUI = GUICreate("FLASH", 300, 400, -1, -1, -1, $WS_EX_LAYERED) GUISetBkColor(0xABCDEF) GUICtrlCreateLabel("My Transparent Flash Object (You can drag me from here)", 10, 10, 200, 30, -1, $GUI_WS_EX_PARENTDRAG) $oFlash = ObjCreate("ShockwaveFlash.ShockwaveFlash") $FlashCtrl = GUICtrlCreateObj($oFlash, 0, 100, 400, 250) $oFlash.Movie = @ScriptDir & "\loading.swf" $oFlash.BGColor = "#ABCDEF" $oFlash.Menu = False $oFlash.Play $oFlash.wmode = "transparent" _WinAPI_SetLayeredWindowAttributes($GUI, 0xABCDEF, 255) GUISetState() While 1 If GUIGetMsg() = $GUI_EVENT_CLOSE Then Exit WEndENJOY big-minds Edited July 1, 2012 by SYRAU3 Link to comment Share on other sites More sharing options...
SYRAU3 Posted July 1, 2012 Author Share Posted July 1, 2012 (edited) Hey big-minds Please don't leave me ALONE IN THE DARK This question have been asked many many many many times in this forum! Edited July 1, 2012 by SYRAU3 Link to comment Share on other sites More sharing options...
mesale0077 Posted July 1, 2012 Share Posted July 1, 2012 hihttp://www.mediafire.com/?z4pl6b804t2zpwz I do not know any other waybut look link Link to comment Share on other sites More sharing options...
SYRAU3 Posted July 1, 2012 Author Share Posted July 1, 2012 (edited) SOLVED, thanx The solution is up there Edited July 1, 2012 by SYRAU3 Link to comment Share on other sites More sharing options...
mesale0077 Posted July 1, 2012 Share Posted July 1, 2012 (edited) hi can you source and file update but dont work xp ,your sistem? win7? okey all file update please maybe your user32.dll send to me adobe versiyon? and your autoit version? ı need it thank you now Edited July 1, 2012 by mesale0077 Link to comment Share on other sites More sharing options...
SYRAU3 Posted July 1, 2012 Author Share Posted July 1, 2012 @mesale0077I liked my broken English when i saw yours!i'm sorry the flash transparency is not working on Windows XP and don't ask me why, ask the silent big-minds.i'm not sure i understood what did you mean about "file update"?!the source code is up there ^ !!and my user32.dll belongs to WINDOWS7 Ultimate Version 32bit Build 7601.i'm using FlashPayer10.3_b1_ActiveX_030811AutoIt version is 3.3.6.1i'm wearing a black pajama and a blue shirt.i hope that helped you boss. Link to comment Share on other sites More sharing options...
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