Sunday, March 28, 2010

Issue with getting handle to the swf...

Hi,

I have a jsp file which has the %26lt;object%26gt; tag to include the Flex swf file on the jsp. I have certain functions exposed to javascript (using ExternalInterface.callback) that can be used in the jsp. But when I try to get the handle to the swf object using document[swfId] or window.document[swfId] or document.getElementById(swfId) ..it returns back NULL..

This works on some browers and doesn't work on some. I even tried to reinstall my browser but in vain.

Any someone provide me with some pointers on this ?

No comments:

Post a Comment