Xpath is a good place to start or any of the page injection techniques.

jason law, detroit
organic, inc. | www.organic.com
retail tech lead | interface engineer
e: [EMAIL PROTECTED] | p: 248.454.3387 | aim: jaylaw81 
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jordan
Dobson
Sent: Thursday, May 24, 2007 3:11 PM
To: flashcoders@chattyfig.figleaf.com
Subject: [Flashcoders] Brining XML/XHTML into Flash

I'd love to know if anyone has any advice... on best way to extract  
text from specific objects of an XHTML page which a SWF is loaded  
into... then allow the extracted text strings to be available in the  
SWF.

I've built Javascript to extract text from XHTML the page in  
combination with the use of SWFObject for Javascript detection, Flash  
detection and to send text extractions to SWF with FlashVars). I  
believe the FlashVars method has a limit of 64kb which should work in  
almost every case.

Here's a proof of concept I've created:

        http://hs.squadstudios.com/

Does anyone have advice on the best approach on this method or other  
things to consider?

This has been working pretty smoothly so far, but I just have this  
sneaking suspicion there might be a better way to do this.

Im curious if there might be a way to have Flash load the XHTML page  
itself into and XML node, and if this would even make sense.

Or is my current approach a pretty solid one?

--
Jordan Dobson
[EMAIL PROTECTED]

ofc      206.622.0408  ext:105
aim      thesquadjordan
web      madebysquad.com



_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
This email is intended only for the person or entity to which it is addressed
and may contain information that is privileged, confidential or otherwise
protected from disclosure. Dissemination, distribution or copying of this
email or the information herein by anyone other than the intended recipient,
or an employee or agent responsible for delivering the message to the intended
recipient, is prohibited. If you have received this email in error, please
immediately notify us by calling our Help Desk at (415) 581-5552 or
by e-mailing us at [EMAIL PROTECTED]

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to