Jump to content
Sign in to follow this  
darkjohn20

Flash Objects

Recommended Posts

darkjohn20

So, I don't know if it's just me, or if an AutoIt update did this, but ObjCreate("ShockwaveFlash.ShockwaveFlash.1") always fails.

I'm not quite sure why, as I don't recall changing anything, but it has broken all of my flash game trainers.

Is there something I should re-install or is it not me? :blink:

Edit: My Shockwave Flash COM object in Visual Studio works fine, but I'm not sure if that's relevant.

Edited by darkjohn20

Share this post


Link to post
Share on other sites
cageman

#include <GUIConstants.au3>

Global $oRP = ObjCreate("ShockwaveFlash.ShockwaveFlash.1")
GUICreate ("Flash", 800, 580, -1, -1)
$GUIActiveX    = GUICtrlCreateObj( $oRP, 0, 0 , 800 , 580)
With $oRP
    .bgcolor = "#ffffff"
    .Movie = 'http://ladderslasher.d2jsp.org/LS_119.swf'
    .ScaleMode = 2
    .Loop = False
    .wmode = "Opaque"
    .FlashVars = ""
    
GUISetState ()

while 1
sleep(100)
Wend

i just took a game and tested this script? does not work for you? if not i would try to reinstall flash.

Share this post


Link to post
Share on other sites
darkjohn20

That script looks close to mine. Without testing it I know it doesn't work because my error is on your second line of code, where ObjCreate returns 0 on all of my scripts that used to once work. I guess I'll reinstall.

Alright, so after 45 minutes, I got it working.

I tried re-installing them and it was like "Access Denied" even with System and Admin accounts.

So then I tried uninstalling and re-installing, and some of the files wouldn't delete.

So finally, I uninstalled, restarted, and re-installed, and it worked.

That was incredibly annoying not being able to delete those files. How do they do that I wonder.

Edited by darkjohn20

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  

×