# How do i target an iframe from flash....?

**URL:** <https://forum.kirupa.com/t/how-do-i-target-an-iframe-from-flash/166675>\
**Category:** Uncategorized\
**Created:** [October 21, 2005, 7:11pm UTC](https://forum.kirupa.com/t/how-do-i-target-an-iframe-from-flash/166675 "2005-10-21T19:11:27Z")\
**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 21, 2005, 7:11pm UTC](https://forum.kirupa.com/t/how-do-i-target-an-iframe-from-flash/166675/1 "2005-10-21T19:11:27Z")

</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.

IOBJECT ID=“MediaPlayer1”  
mms://66.180.203.186/song1/ —this is the loaction of the new video I want to play.

Also, …the button I am using in flash is in a movie, loaded into a main movie.
