#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Posts
    2
    Rep Power
    0

    Using javascript to make an iframe work with flash?


    I know someone who had found out how to make an iframe load with flash... but he uses swish. The code is
    ift.innerHTML = '<iframe src="http://www.test.com" width="400" height="300" frameborder="0"></iframe>';
    And its set to a 'Javascript' function in swish. On the page its on, i put a div tag, named ift... and i need to know how to do it in normal flash, because i only have the swish trial- and i dont like swish
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Location
    Rome, Italy.
    Posts
    48
    Rep Power
    11
    Are you just trying to make pages loaded with getURL load in an iFrame? If so, you don't need to use javascript at all. Just name the iFrame in your HTML and use that with the getURL in Flash:

    getURL("mypage.html", "myIframe");
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Posts
    2
    Rep Power
    0
    i know how to do that... i need to insert an iframe into the html without the iframe being there previously

IMN logo majestic logo threadwatch logo seochat tools logo