Olish Posted September 7, 2006 Posted September 7, 2006 (edited) Hi everybody ! I'm searching for playing a SWF file in a flash object in an AutoIt GUI. Here is the code... It doesn't run ! Arrggg... #include <GUIConstants.au3> ; == GUI generated with Koda == $Form1 = GUICreate("AForm1", 622, 441, 192, 125) $AObj1 = ObjCreate("ShockwaveFlash.ShockwaveFlash.1") $AObj1_ctrl = GUICtrlCreateObj($AObj1, 0, 0, 192, 192) GUISetState(@SW_SHOW) $AObj1.Src = "C:\mydir\source.swf" While 1 $msg = GuiGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case Else ;;;;;;; EndSelect WEnd Exit Thank you for helping me ! Edited September 7, 2006 by Olish Olivier, from France.Free Wake On LAN script
Moderators big_daddy Posted September 7, 2006 Moderators Posted September 7, 2006 padams made a script that does this nicely.Custom Game Player
Olish Posted September 8, 2006 Author Posted September 8, 2006 Thank you a lot ! It's so nice ! Olivier, from France.Free Wake On LAN script
Bert Posted September 8, 2006 Posted September 8, 2006 I tried it, and get a blank screen. The Vollatran project My blog: http://www.vollysinterestingshit.com/
GaryFrost Posted September 8, 2006 Posted September 8, 2006 (edited) http://www.autoitscript.com/forum/index.php?showtopic=32348just another example of embedding flash Edited September 8, 2006 by gafrost SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
Bert Posted September 8, 2006 Posted September 8, 2006 That one works fine. Thanks Gary! The Vollatran project My blog: http://www.vollysinterestingshit.com/
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