DOM object ID update not passed to ExternalInterface.objectID

Hello,

I have a question/problem regarding DOM object name/id updates by JavaScript, and accessing them from flash. Let me explain.

I have made an actionscript that tests if externalinterface.objectid is null. If it is, I call a JavaScript that gives names/id to all unnamed shockwawe-type <EMBED> and <OBJECT> tags.

My problem is that, although the Javascript does what it is supposed to, the SWF’s ExternalInterface.objectID property remains null.

In other words, although the DOM is properly updated, that update is not propagated to the ExternalInterface object.

  • Is this normal ?
  • Can I “reconsctruct” the ExternalInterface object to have it updated too ?
  • Could I have my SWF reload itself, and how?
  • More generally, what should I be doing to be able to access the newly JS-modified id from my SWF movie ?

Thanks a lot for your help !

Best regards,

G.