# Need some actionscript coding help (fairly simple i think)

**URL:** https://forum.kirupa.com/t/need-some-actionscript-coding-help-fairly-simple-i-think/227291
**Category:** web dev
**Created:** [May 29, 2007, 6:50am UTC](https://forum.kirupa.com/t/need-some-actionscript-coding-help-fairly-simple-i-think/227291 "2007-05-29T06:50:29Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![gragland](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/gragland/32/422_2.png) [@gragland](https://forum.kirupa.com/u/gragland)
#### Post date: [May 29, 2007, 6:50am UTC](https://forum.kirupa.com/t/need-some-actionscript-coding-help-fairly-simple-i-think/227291/1 "2007-05-29T06:50:29Z")

</div>

It’s been a while since I’ve used actionscript, I’m just looking to make one small code change that possibly someone could help me with.

I have an flash mp3 player which uses the code below to generate the link for a “more info about this track” button for the currently playing track.

if (playlist\_array[track\_index].info != undefined) {  
settings\_mc.info\_btn.\_visible = true;  
settings\_mc.info\_btn.onPress = cover\_mc.content\_mc.onPress=function () {  
getURL(playlist\_array[track\_index].info, “\_blank”);  
};  
} else {  
settings\_mc.info\_btn.\_visible = false;  
}

I would like to get rid of the button, and instead have it so that when the function that contains the code above runs, it loads the url in an iframe next to the flash mp3 player. If anyone can help me do this I would really appreciate it.

Thanks in advance!  
-Gabe
