# Flash and javascript problem

**URL:** <https://forum.kirupa.com/t/flash-and-javascript-problem/31884>\
**Category:** Uncategorized\
**Created:** [September 28, 2003, 9:07pm UTC](https://forum.kirupa.com/t/flash-and-javascript-problem/31884 "2003-09-28T21:07:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SoloDesignz](https://avatars.discourse-cdn.com/v4/letter/s/e19adc/32.png) [@SoloDesignz](https://forum.kirupa.com/u/SoloDesignz)\
**Post date:** [September 28, 2003, 9:07pm UTC](https://forum.kirupa.com/t/flash-and-javascript-problem/31884/1 "2003-09-28T21:07:44Z")

</div>

Im trying to access javascript from flash, some reason this isnt working… can anyone help me out? thanks alot

```php
<SCRIPT language=javascript>
<!-- winBRopen BEGIN
function winBRopen(theURL, Name, popW, popH, scroll, resize) { // V 1.0
var winleft = (screen.width - popW) / 2;
var winUp = (screen.height - popH) / 2;
winProp = 'width='+popW+',height='+popH+',left='+winleft+',top='+winUp+',scrollbars='+scroll+',resizable='+resize+''
Win = window.open(theURL, Name, winProp)
if (parseInt(navigator.appVersion) >= 4) { Win.window.focus(); }
}
// winBRopen END -->
</SCRIPT>

```

that "about is really “j a v a s c r i p t :” wont let me type that in w/o spaces

[AS]getURL(“javascript:winBRopen(‘[http://asdsadsa.com](http://asdsadsa.com)’,‘Solo Temp’,‘800’,‘600’,‘yes’,‘no’)”);[/AS]
