LiveWire Peer Support Network

Printable Version of Topic "Actionscript"

- LiveWire Teen Forums & College Forums (http://www.golivewire.com)
-- (http://www.golivewire.com/forums/support-technical.html)
--- Programming & Application Development (http://www.golivewire.com/forums/forum-211-s-0.html)
---- Actionscript (http://www.golivewire.com/forums/peer-esotst-support-a.html)


-- Posted by PiXiE at 12:56 am on Mar. 29, 2006

I need to make this: [url]http://www.justinematsalla.com/intro4.html[/url]
link to a pop-up website. Yeah, not the way I would have made the website, but not my choice. Anyway, this is my current actionscript that links to a URL.
Code:

click_btn.onPress=function(){
getURL("index.html");
}

The current code on the page I am replacing with this flash animation looks like this:
Code:



BrokenDollClothing



 


   

     
   
 






I don't know Javascript (although it looks suspiciously a lot like actionscript). I don't know how I am supposed to make this 800*600 pop-up window open through actionscript.

Does anyone know the actionscript required to do this? Or is there a way to make the entire swf a link through the html itself? Help!


-- Posted by llamafarmer at 5:24 pm on April 14, 2006

So basically you need JavaScript integration.

Code:

click_btn.onPress = function(){
getURL("NewWindow=window.open('index.html','newWin','width=400, height=470, left=0, top=0, toolbar=No, location=No, scrollbars=No, status=No, resizable=No, fullscreen=No'); NewWindow.focus(); void(0);");
};

That should work. If that's what you want, of course!
Nice intro by the way. Good luck. Flash and Actionscript are the most fun web development tools in my experience.

(Edited by llamafarmer at 1:26 am on April 15, 2006)


www.golivewire.com