ActionScript help

Soldato
Joined
11 Jul 2004
Posts
16,147
Location
Neptune
btn1.onRelease = function():Void {
newPopUpRandomId("es/es.html", 550, 719, fTopLeftRandom(0, 64), fTopLeftRandom(0, 64), "No", "No", "No", "No", "No", "No");
};
btn2.onRelease = function():Void {
newPopUpRandomId("vc/vc.html", 550, 719, fTopLeftRandom(0, 64), fTopLeftRandom(0, 64), "No", "No", "No", "No", "No", "No");

The code above is for two (of about 6) buttons on a Flash website. It opens a pop up at the size detailed above.

Question is: how do I make them pop up in to the same window rather than creating new pop ups every time a button is clicked? I'd like the button to be clicked, pop up appears, user clicks another button and it brings the previous pop up window to the front and uses that to display the info.

Hope that makes sense.

Really could do with a bit of help. Cheers.
 
Back
Top Bottom