PDA

View Full Version : Has communication between iframe javascript and flash been resolved?


you_rock
01-20-2005, 09:02 PM
I have an inline frame that I want to pass a variable using javascript to a flash movie outside of the frame. I have tried using the parent target object to no avail.

Has anyone gotten this to work?

These are some of the things I have tried.

parent.frame[1].myFlash.SetVariable("showNav", sendText);

parent.document.myFlash.SetVariable("showNav", sendText);

top.frame[1].myFlash.SetVariable("showNav", sendText);

window.parent.myFlash.SetVariable("showNav", sendText);

I have searched all day and not found the answer yet. What I have learned is that IE 5.5 has some browser restrictions for JS in iframe because of exploits.

Did they take out JS support in iframes?