Jump to content


Photo

getURL with a target frame?


  • Please log in to reply
2 replies to this topic

#1 Ant.

Ant.

    Young Padawan

  • Members
  • Pip
  • 15 posts
  • Location:East Coast

Posted 10 January 2005 - 08:09 PM

Is it possable to use a getURL but direct it to an iframe inside the current browser window?

I know the html for a link is just target="frameName", but I'm not quite sure how to get flash to do this.

Thanks in advance!

#2 Ant.

Ant.

    Young Padawan

  • Members
  • Pip
  • 15 posts
  • Location:East Coast

Posted 13 January 2005 - 08:46 PM

I thought I had tried this before, but I apperantly hadn't.
Solved my own problem. :huh:

getURL("http://www.yourURL.com", target="iframeName");

#3 shawnp40

shawnp40

    Young Padawan

  • Members
  • Pip
  • 1 posts

Posted 22 June 2008 - 10:38 AM

Guys...I need help.

I have tried everything but I cannot get getURL to target a frame. (I've read all the threads).

1) Using FLASH 9.0 using AS 2.0 (Adobe CS3)
2) Using DreamWeaver CS3 with vanilla Framset

<frameset rows="100,*" frameborder="yes" border="10" framespacing="10">
<frame src="top.html" name="topFrame" scrolling="No" noresize="noresize">
<frame src="frame1.html" name="main">
</frameset>

3) In my AS I simply use:
on (release){
getURL("frame1.html", target="main");
}

...i've also tried removing the target=

on (release){
getURL("frame2.html", "main");
}

Neither works....any help would be much appreciated. (they also pop a new screen)

Attached in my FLA project and HTML frameset. Any takers?

Attached Files






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users