views:

25

answers:

1

Say I have a flash movie in an HTML page, I want to get the value of a tag in the HTML page (for example, google-site-verification content value). How could this be done?

<meta name="google-site-verification" content="12345678978564261321567498789" />

*UPDATE -

I want to embed a flash template into an html web page, in this web page will be a meta tag with a UID. The UID will be referenced in an XML schema, which Flash loads the specifics of the UID to flash file. The web page name can be anything (index.html, index.php, contact.asp, etc).

Hope this isn't too confusing

A: 

That's a pretty vague question. Basics are you need to request the page and isolate the data. Were you to use screen-scraper, you would need to make a scrapeable file to go to the URL, it would request it without any subsequent items (like images, CSS, or the movie file itself) and make an extrator pattern like:

<meta name="google-site-verification" content="~@TOKEN@~"
Jason Bellows
I have a good understanding of the concepts of screen scraping (used it in PHP, cURL), I've just updated the question with more clarity
decimal