# Chromeless window - load page

**URL:** https://forum.kirupa.com/t/chromeless-window-load-page/163299
**Category:** Uncategorized
**Created:** [September 21, 2005, 1:10pm UTC](https://forum.kirupa.com/t/chromeless-window-load-page/163299 "2005-09-21T13:10:23Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![itsdanny](https://avatars.discourse-cdn.com/v4/letter/i/aca169/32.png) [@itsdanny](https://forum.kirupa.com/u/itsdanny)
#### Post date: [September 21, 2005, 1:10pm UTC](https://forum.kirupa.com/t/chromeless-window-load-page/163299/1 "2005-09-21T13:10:23Z")

</div>

Hi, i’m very new to flashing and action scripting alike. so it’s your help i need. i am implementing a chromeless pop-up window, which i have working from the onPress event as such

```auto
 
chromelessButton.onPress = function()
{
getURL("javascript:myChromeless.openChromeless()"); 
}

```

What do i need to do to take this one step further and assign it to onLoad (or whatever)  
as i have tried

```auto
chromelessButton.onLoad = function()
{
getURL("javascript:myChromeless.openChromeless()"); 
}

```

As well as assigning the **createChromeless()** from the javascript  
But nothing loads at all either way.  
Thanks  
for any help

Dan
