Skip navigation
ArjenDeVries
Currently Being Moderated

Is there a way to display external HTML content inside a SWF movie?

Jul 19, 2012 5:04 PM

Tags: #flash #script #action #as2 #2

IE if i wanted to have an 800x600 flash movie that i could display cnn.com or something of that sort.  Is it possible?

 
Replies
  • kglad
    72,322 posts
    Jul 21, 2002
    Currently Being Moderated
    Jul 19, 2012 9:19 PM   in reply to ArjenDeVries

    to some extent it's possible but it's not easy.  you can load the html into flash but flash cannot parse the html (except for a very limited set of html tags).  you would need to parse the html yourself.

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 20, 2012 6:35 AM   in reply to ArjenDeVries

    A second option is to display the HTML content over the top of the Flash content.

    If is project is to be displayed as a Web page... it's all HTML anyway.... some of which may be Flash content, some that is regular HTML content. So it's not that hard to add in a little more regular HTML content.

    In your Flash movie, leave a blank space with the exact dimensions/location of the HTML content you want to display.

    Then using HTML/CSS z-indexing, stack the HTML content over the top of that blank space... making it LOOK like the HTML is a part of the Flash.

    If you want to display part of another Web site like cnn.com, you could do that in an iframe.

    Z-indexing info here:

    http://www.w3schools.com/cssref/pr_pos_z-index.asp

    http://webdesign.about.com/cs/css/a/aazindex.htm

    and the iframe here:

    http://www.w3schools.com/tags/tag_iframe.asp

    Best wishes,

    Adninjastrator

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points