A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: How do I target an iframe from within flash?

  1. #1
    Senior Member
    Join Date
    Apr 2004
    Posts
    231

    How do I target an iframe from within flash?

    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"

  2. #2
    Senior Member
    Join Date
    Apr 2002
    Posts
    226
    Why not just use getURL(url, window) in flash and load a new url with a movie inside the iframe? (iframe name="f1" / openURL(url, "f1")

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center