Not sure how complicated your html page is, but I have been playing with
the same idea but going at it a different way. I just loaded the entire
page in as xml. As long as the page is valid xhtml it works great. I
realize it doesn't exactly answer your sgml question, but it should get you
the
I did some research into this a while back:
http://blog.deconcept.com/2006/02/27/using-alternate-content-flash/
end result: too much hassle to get the code you really want... you
never know when browsers will update and break it in the future, or
when some new obscure browser will come up
ryan's solution would be the easiest thing to dojust load the page in as
xml. if you're using flash8, you can use the idMap to grab the node that the
swfObject overwrites.
On 11/9/06, Ryan Potter [EMAIL PROTECTED] wrote:
Not sure how complicated your html page is, but I have been playing
: [Flashcoders] Grabbing data directly from the HTML page
Not sure how complicated your html page is, but I have been playing
with
the same idea but going at it a different way. I just loaded the
entire
page in as xml. As long as the page is valid xhtml it works great. I
realize it doesn't
Use the code below. I did it for my implementation of a flash replacer,
and works like a charm.
input: an html node (node = document.getElementById(nodename))
output: a perfectly valid XML reconstruction of the tree below the node.
Works on all browsers.
parseTree = function ($node) {
do you grab the whole XHTML page in
Javascript?
―
Mike Keesey
-Original Message-
From: [EMAIL PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Ryan Potter
Sent: Thursday, November 09, 2006 11:39 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Grabbing data
Of Ryan Potter
Sent: Thursday, November 09, 2006 11:39 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Grabbing data directly from the HTML page
Not sure how complicated your html page is, but I have been playing
with
the same idea but going at it a different way. I just loaded
PROTECTED] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of John VanHorn
Sent: Thursday, November 09, 2006 12:13 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Grabbing data directly from the HTML page
i think you misunderstood the suggestion. you can load the page in as
xml
Mike Keesey wrote:
Ah, that works. The only thing is that it requires a double load of the
page and the data isn't instantly available (although, with
browser-caching, it should load in very quickly). Not huge concerns, but
the double load could skew metrics.
http://guipaganini.com.br/
- view
] [mailto:flashcoders-
[EMAIL PROTECTED] On Behalf Of Marcelo Volmaro
Sent: Thursday, November 09, 2006 12:07 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Grabbing data directly from the HTML page
Use the code below. I did it for my implementation of a flash
replacer,
and works like a charm
10 matches
Mail list logo