Sign in to follow this  
Followers 0
gsb

EOLAS and AutoIt Flash control trouble.

4 posts in this topic

I have made a full screen control with a Flash object:

ObjCreate("ShockwaveFlash.ShockwaveFlash")

When I load the flash .swf movie and show the control, the first click gets "eaten" and the screen blinks.

To me, this seems to be the all too sad EOLAS "click to activate" problem although I thought this use in a control would bypass that issue.

Anyone else have such a problem and, better yet, a solution?

I tried to Send("{SPACE}") but to no avail.

gsb


"Did you ever stop to think? ...and forget to restart!"

Share this post


Link to post
Share on other sites



Is this in regards to your efforts to develop an alternative UI for AutoIt?

http://www.autoitscript.com/forum/index.php?showtopic=34273

The EOLAS click to activate issues should not be affecting you if you are using ObjCreate, but shouldn't it be ObjCreate("ShockwaveFlash.ShockwaveFlash.1")?

If you are having the same problem in a web browser, you can get around it by calling an external script inline to document.write the object. Can you post some code, and the swf control?


[font="Fixedsys"][list][*]All of my AutoIt Example Scripts[*]http://saneasylum.com[/list][/font]

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Hello to my friend Lod3n...

You were a great help in getting me started on these "Flashy" controls.

That was back in October "when I was new here" ... LOL

This is another. The control is simply a Flash .swf so I do not think I can "write it."

BTW: Someone here suggested dropping the '.1' to get the latest installed FP; forgot where but I read it here and it seems to work fine.

The issue is to send the control a "{SPACE}" and I was sending it to the window.

All fixed now.

gsb

Edited by gsb

"Did you ever stop to think? ...and forget to restart!"

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

I edited the above post but wanted to add this.

I did not find a solution here in the forum, so I assume it is mostly unknown.

But I think others will follow in need of this solution.

ControlSend( "myTitle", "", 14688368, "{SPACE}") ; EOLAS fix

...for:

$Flashy = ObjCreate("ShockwaveFlash.ShockwaveFlash")

$GUIActiveX = GUICtrlCreateObj($Flashy, 0, 0, 500, 500)

Hope it helps others... maybe my first contribution back to the forum.

gsb

Edited by gsb

"Did you ever stop to think? ...and forget to restart!"

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