# Action script flash xm professional

**URL:** <https://forum.kirupa.com/t/action-script-flash-xm-professional/255529>\
**Category:** Uncategorized\
**Created:** [March 24, 2008, 2:44pm UTC](https://forum.kirupa.com/t/action-script-flash-xm-professional/255529 "2008-03-24T14:44:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![senecathree3](https://avatars.discourse-cdn.com/v4/letter/s/77aa72/32.png) [@senecathree3](https://forum.kirupa.com/u/senecathree3)\
**Post date:** [March 24, 2008, 2:44pm UTC](https://forum.kirupa.com/t/action-script-flash-xm-professional/255529/1 "2008-03-24T14:44:30Z")

</div>

I am using Flash MX Professional 2004

I am building a framed website. The top frame will accommodate a flash movie which includes my menu. The body frame will accommodate all my pages each with thier own html.This is my index page –  
**[SIZE=1]\<frameset[/SIZE]**[SIZE=1] rows= **“47%,\*”\>** [/SIZE]  
[SIZE=1] **\<frame** name= **“top”** src= **“header.html”** frameborder= **“no”** scrolling= **“no”\>** [/SIZE]  
[SIZE=1] **\<frameset** rows= **“100%,\*”\>** [/SIZE]  
[SIZE=1] **\<frame** name= **“body”** src= **“mainbody.html”** frameborder= **“no”** scrolling= **“yes”\>** [/SIZE]  
[SIZE=1] **\</frameset\>** [/SIZE]  
[SIZE=1] **\<noframes\>** [/SIZE]  
[SIZE=1] **This is the code for the embedded movie** [/SIZE]  
[SIZE=1]\*\*\*\*[SIZE=1]\<object[/SIZE]**[SIZE=1] classid=**“clsid:D27CDB6E-AE6D-11cf-96B8-444553540000”\*\* codebase= **"** [/SIZE][SIZE=1][COLOR=#0000f0][http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6[/COLOR][/SIZE]](http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6%5B/COLOR%5D%5B/SIZE%5D)**[SIZE=1],0,29,0"[/SIZE]**[SIZE=1] width= **“850”** height= **“160”\>** [/SIZE]  
[SIZE=1] **\<param** name= **“movie”** value= **“vv.swf”\>** [/SIZE]  
[SIZE=1] **\<param** name= **“quality”** value= **“high”\>** [/SIZE]  
[SIZE=1] **\<embed** src= **“vv.swf”** quality= **“high”** pluginspage= **"** [/SIZE][SIZE=1][COLOR=#0000f0][http://www.macromedia.com/go/getflashplayer[/COLOR][/SIZE]](http://www.macromedia.com/go/getflashplayer%5B/COLOR%5D%5B/SIZE%5D)**[SIZE=1]"[/SIZE]**[SIZE=1] type= **“application/x-shockwave-flash”** width= **“850”** height= **“160”\>** [/SIZE]  
[SIZE=1] **\</embed\>\</object\>** [/SIZE]\*\*

**[SIZE=1]To get my pages to open in the body frame I have tried to use the following action script[/SIZE]**  
on (release) {  
//Goto Webpage Behavior  
getURL(“the committee.html”,“body”);  
//End Behavior  
}  
but this just opens the committee page in a new browswer window instead of in the body frame where I want it.  
Can anyone tell me how to do this  
Thanking you in anticipation

[/SIZE]
