Skip to main content
Participant
May 15, 2008
Question

Making buttons link to pop up browser windows in ActionScript 3

  • May 15, 2008
  • 1 reply
  • 226 views

A week or so ago I posted this message and the solution suggested didn't work, so I thought I'd try again to see if anyone else was able to pitch in:

I am trying to figure out how to make multiple embedded invisible buttons on my Flash file that EACH link to specific URLs that appear in a window of fixed dimensions (with frames) next to my Flash window, when you click on them.

I am aware that Adobe has instructions for creating pop-up browser windows through Flash ( http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14192) and I have repeatedly tried navigateToURL without success--the trouble with this method is that it navigates away from my Flash window and I do not want this. Instead, I want these windows to be contained by Flash, so that the viewer can see both my Flash project window and the URL window (in frames) at the same time in the same browser window (not a new tab/window).
Is this possible? This is for ActionScript 3.
This topic has been closed for replies.

1 reply

robdillon
Participating Frequently
May 16, 2008
If your Flash movie is currently in one frame of a frameset document, then you can target another frame by using that frame's name attribute in the navigateToURL() method. This will place the url that you call to populate frame with the name that you give in the navigateToURL().

If you want to change the size or shape of any frame in the frameset, then you'll have to use javascript.

If this answer is off the mark, then please elaborate on your need. Maybe show an example or an illustration.