Skip to main content
April 6, 2010
Question

ExternalInterface.call within transparent container

  • April 6, 2010
  • 1 reply
  • 680 views

Hello, I'm having trouble with accomodating the flash.external.ExternalInterface within a transparent container (HTML).

The HTML reads:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" id="demo" ...>

   <param name="allowFullScreen" value="false" />

   ...lot of rubbish...

   <param name="wmode" value="transparent" />

   ...lot of rubbish...

   <embed ...>
</object>

If it wasnt for the bolded line instructing the container to be transparent, the ExternalInterface.call method would work.

I went trhough the internet, but unfortunately found no solution yet.

All suggestions are welcome.

Thanks

Tom

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
April 6, 2010

are you using an unedited html file published by flash to embed your swf?

April 6, 2010

no, I got rid of the header as I reconned that it contains just testing of what environment the flash is running (hopefully it doesnt contain no supporting features for the ExternalInterface to work).

I simply left just the

tag content and supplied my javascript no-parameter function into the header.

Tom

kglad
Community Expert
Community Expert
April 6, 2010

that's a problem.  retest using the flash published html file.

once you have that working with externalinterface you can start experimenting and see what you did to break it.