Jump to content

Is it possible?


Recommended Posts

ty for help

Could you give me a quick example of how to get get it to work with a swf?

Example should be easy to find: check helpfile of the aforementioned _IECreateEmbedded() command. Danwili says you need to navigate to the swf. So I suggest changing the url in the _IECreateEmbedded() example to the swf that you want.

Roses are FF0000, violets are 0000FF... All my base are belong to you.

Link to comment
Share on other sites

Sure,

modified from help file:

#include <GUIConstants.au3>
#include <IE.au3>

_IEErrorHandlerRegister ()

$oIE = _IECreateEmbedded ()
GUICreate("Embedded Web control Test", 640, 580, _
        (@DesktopWidth - 640) / 2, (@DesktopHeight - 580) / 2, _
        $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS)
$GUIActiveX = GUICtrlCreateObj($oIE, 10, 40, 600, 360)
_IENavigate ($oIE, "C:\murlocrev.swf")

; Waiting for user to close the window
While 1
    $msg = GUIGetMsg()
    Select
        Case $msg = $GUI_EVENT_CLOSE
            ExitLoop
    EndSelect
WEnd
GUIDelete()
Exit
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...