RE: [Flashcoders] Grabbing data directly from the HTML page

2006-11-09 Thread Ryan Potter
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

Re: [Flashcoders] Grabbing data directly from the HTML page

2006-11-09 Thread Geoff Stearns
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

Re: [Flashcoders] Grabbing data directly from the HTML page

2006-11-09 Thread John VanHorn
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

RE: [Flashcoders] Grabbing data directly from the HTML page

2006-11-09 Thread Mike Keesey
: [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

Re: [Flashcoders] Grabbing data directly from the HTML page

2006-11-09 Thread Marcelo Volmaro
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) {

Re: [Flashcoders] Grabbing data directly from the HTML page

2006-11-09 Thread Geoff Stearns
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

Re: [Flashcoders] Grabbing data directly from the HTML page

2006-11-09 Thread John VanHorn
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

RE: [Flashcoders] Grabbing data directly from the HTML page

2006-11-09 Thread Mike Keesey
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

Re: [Flashcoders] Grabbing data directly from the HTML page

2006-11-09 Thread Claus Wahlers
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

RE: [Flashcoders] Grabbing data directly from the HTML page

2006-11-09 Thread Mike Keesey
] [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