# Pop-up browser window activated by onLoad

**URL:** https://forum.kirupa.com/t/pop-up-browser-window-activated-by-onload/172452
**Category:** flash
**Created:** [December 14, 2005, 3:49pm UTC](https://forum.kirupa.com/t/pop-up-browser-window-activated-by-onload/172452 "2005-12-14T15:49:47Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![alemieux34](https://avatars.discourse-cdn.com/v4/letter/a/7ea924/32.png) [@alemieux34](https://forum.kirupa.com/u/alemieux34)
#### Post date: [December 14, 2005, 3:49pm UTC](https://forum.kirupa.com/t/pop-up-browser-window-activated-by-onload/172452/1 "2005-12-14T15:49:47Z")

</div>

Simple problem, but I’m looking for the right execution. I have a movie that contains a single movie clip. I want that movie clip to load a new browser window when it’s loaded. Something like this:

onClipEvent (load) {  
//customize the window that gets opened  
// 0 equals NO.  
// 1 equals YES.  
address = “config.html”;  
target\_winName = “test”;  
width = 400;  
height = 300;  
toolbar = 0;  
location = 0;  
directories = 0;  
status = 0;  
menubar = 0;  
scrollbars = 1;  
resizable = 0;  
//sends data back to the function  
openWinCentre(address, target\_winName, width, height, toolbar, location, directories, status, menubar, scrollbars, resizable);  
}

This doesn’t work. Will Flash only accept this type of action through button interactivity or is it possible to do it with a clip event?
