Skip to main content
Participant
April 12, 2007
Question

getUrl using "_top" within an iFrame fails

  • April 12, 2007
  • 2 replies
  • 303 views
My flash video is playing with an 300x250 iframe within my webpage and at the end of my flash video, I am calling getUrl to redirect the page to another webpage but the redirect webpage is either showing within the small iframe iteself or the whole page goes blank if I se _top or _parent as a parameter within the getUrl call. Any ideas?!

I thought of doing something like:

getUrl('javascript::getElementById("iframe").src = " http://www.whatever.com"');

but my iframe is only 300x250, i really need the whole page to be reloaded/redirected to the secondary website.

please help!!

thanks in advance!
This topic has been closed for replies.

2 replies

xTowerAuthor
Participant
April 12, 2007
No, should i be?
kglad
Community Expert
Community Expert
April 12, 2007
yes. they must be in quotes or they look like variable names to flash. so to flash your getURL() looked like:

getURL(" http://www.whatever.com",undefined);
kglad
Community Expert
Community Expert
April 12, 2007
were you using _top and _parent in quotes?