# Passing parameters..?

**URL:** <https://forum.kirupa.com/t/passing-parameters/122367>\
**Category:** Uncategorized\
**Created:** [September 13, 2004, 6:19am UTC](https://forum.kirupa.com/t/passing-parameters/122367 "2004-09-13T06:19:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tanvi](https://avatars.discourse-cdn.com/v4/letter/t/9de053/32.png) [@tanvi](https://forum.kirupa.com/u/tanvi)\
**Post date:** [September 13, 2004, 6:19am UTC](https://forum.kirupa.com/t/passing-parameters/122367/1 "2004-09-13T06:19:34Z")

</div>

Check out this code:

on (release) {  
getURL("javascript:openNewWindow(My.swf’,New window,‘height=600,width=800,toolbar=no,scrollbars=yes,resizable=yes,fullscreen=no’) ");  
}

everything here is fine. It opens finely.

But…

i want to pass parameters where if i click a button in html page My.swf should open a particular scene called ‘Scene 2’ rather than scene 1.

i tried

on (release) {  
getURL("javascript:openNewWindow(My.swf?myparams=Scene 1,‘New window’,‘height=600,width=800,toolbar=no,scrollbars=yes,resizable=yes,fullscreen=no’) ");  
}

but its not working

so any idea for this or if it has to be done by you, how would you do it?

Pls Help

Thanks in advance
