Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Flash movie running in ActiveX Web Browser

Status
Not open for further replies.

mckracken83

Programmer
Feb 2, 2005
1
US
I'm building a kiosk in Director MX that's going to run on a Windows XP machine. By clicking on one of the links on the main screen, a web app (hosted locally on the same computer) is loaded into the ActiveX Web Browser packaged with Director. This web app consists of a Flash map of the US that zooms in and out, and sends the user to another web page if they click on a specific city. Here's my problem - certain functions in the Flash movie seem to not be working in the browser control in Director for some reason, even though they work fine in a normal browser. For instance, once the user clicks on a state, the map zooms in and a "back" button appears that zooms the map back out. for some reason this button doesn't work in the browser in Director. Also, clicking on a city doesn't open the new web page in the browser in Director. Has anyone run across a problem like this before?
 
ActiveX browser control has this problem - SWF embedded in HTML registers only the first mouse/key input then ignores all the subsequent inputs. May be this is your problem?

If I remember correctly, this is to do with the SWF losing focus. If you click on somewhere outside the SWF before clicking on a button in the SWF, it forces SWF to gain the focus again. Therefore one possible solution is after every mouse click in the SWF, tell Director to click outside using an Xtra. However this is a messy solution and it won't work on the text input.

This problem occurs only with Flash 6 ActiveX and later, so the other solution is to export your SWF in Flash 5 format and also revert your Flash ActiveX to version 5. You can't stop your users from having/getting Flash 6+ ActiveX though.

My suggestion is to use WebXtra 4 instead of ActiveX control. WebXtra 4 does not rely on ActiveX and it should fix this problem.

Kenneth Kawamoto
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top