Sign in to follow this  
Followers 0
amdead

How Do I Put A Dcr File Into A Gui Window?

8 posts in this topic

Hello, i need help again. How do i put a DCR file into a GUI window?

DCR(shockwave)

Share this post


Link to post
Share on other sites



1 method. Have an inbulit browser on your GUI and display it using that...

The exact method has slipped my mind for the moment... I'll post it here when I remember...

#)

Share this post


Link to post
Share on other sites

Thank you.

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

I came across a method to insert a flash object in the forums the other day. That may work for you with a shockwave file also. Try searching the forums for flash. If I run into it, I'll coly the link and post it here for you.

[edit]

here is the link http://www.autoitscript.com/forum/index.ph...=13187&hl=flash

[/edit]

Edited by billmez

Share this post


Link to post
Share on other sites

It didn't seem to work, heres the link i want to link to http://www.bbc.co.uk/radio1/onemusic/studio/sequencerv2.dcr

all i see is a black screen nothing else

If you are trying to display a url from a remote server then you can either use InetGet and save the file to your temp folder, then open it from your local system using the object in the example, or you can use the IE automation library in the scripts and scraps forum to embed a browser in your GUI, and just open the URL. Look for ie.au3. You can find info on and examples for the inetget function in the help file.

Of course I don't know wat a dcr file is, and trying to access it in my browser just starts a download, so I obviously don't have the software to access it. Sorry I can't be more help.

Share this post


Link to post
Share on other sites

I know its a type of shockwave object. Thank you for your help.

Share this post


Link to post
Share on other sites

I know its a type of shockwave object. Thank you for your help.

This works for me

#include <GUIConstants.au3>

$Form1 = GUICreate("Test Webbrowser", 715, 503, 192, 125)
$Obj = ObjCreate("Shell.Explorer.2")
$browser = GUICtrlCreateObj($Obj, 0, 64, 710, 436)
GUISetState(@SW_SHOW)
$Obj.Navigate ('http://www.bbc.co.uk/radio1/onemusic/studio/sequencerv2.dcr')
While 1
    $msg = GUIGetMsg()
        Select
        Case $msg = $GUI_EVENT_CLOSE
            ExitLoop
       
        Case Else
       ;;;;;;;
     EndSelect
 WEnd

It only worked after I downloaded the player.



Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post


Link to post
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
Sign in to follow this  
Followers 0