# HOw do I target an iframe from flash?

**URL:** <https://forum.kirupa.com/t/how-do-i-target-an-iframe-from-flash/166426>\
**Category:** flash\
**Created:** [October 19, 2005, 9:17pm UTC](https://forum.kirupa.com/t/how-do-i-target-an-iframe-from-flash/166426 "2005-10-19T21:17:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dtrace](https://avatars.discourse-cdn.com/v4/letter/d/59ef9b/32.png) [@dtrace](https://forum.kirupa.com/u/dtrace)\
**Post date:** [October 19, 2005, 9:17pm UTC](https://forum.kirupa.com/t/how-do-i-target-an-iframe-from-flash/166426/1 "2005-10-19T21:17:03Z")

</div>

I have a windows media player within an iframe that is streaming a video. I need to be able to target the player from within flash and tell it to play a new video. The video player seems to have an ID tag of \<OBJECT ID=“MediaPlayer1”

But how do I target it from flash and tell it to play a new video? Can you help me?

Thanks.

I tried to put all the code in but it crashed everytime.

OBJECT ID=“MediaPlayer1”  
value=“mms://66.180.203.186/newbandtest”
