Hi there
I am wondering if anyone can tell me the best way to access the functions of an Iframe from the parent of the frame.
I have tried
andCode:var myFrame = document.getElementById('gigmap'); myFrame.flashMouseover(gid);
though these didn't work.Code:window.frames['gigmap'].document.flashMouseover(gid);
Basically this is what i want: Mainpage function a(id) receives flash variable 'id' then sends variable 'number' to iframe function b(id).
The part in red is where I have the problem.
In case you are wondering what I am doing is sending an id of a gig in my database when its button rolled over in a flash swf to a Google Map (using Google maps javascript API inside the Iframe 'gigmap) and make the corresponding marker on the map jump. I have it so the iframed map markers send to the flash file on rollover though not the other way round...yet!


Reply With Quote
Bookmarks