Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

passing xml thrue flash

Status
Not open for further replies.

GroundZero

Programmer
Feb 1, 2001
28
CA
does anyone know how I can pass an action such as "on keypress up" in xml.

I am using a java sever and client already but I don't know how 2 flash player can communicate those actions.

reggards

the_whiteknight_99


Your soul is imperfect
Life is difficult...

Now guess why we're here
 
That sort of thing is not really XML's job... XML is the data independent of formatting or representation or user interface of any sort.

However, since you control both the client and the server, you can add your own tag and interpret it on the receiving side.

<onKeyPressUp action=&quot;some command the receiver should understand&quot; />

Now it's the responsibility of the receiver to correctly interpret that tag and attribute...
 
Oh hoh---We meet again Ground Zero. I'll have the sight up in a few days (maybe this afternoon). I'll let you know. No worries, you'll find a way to accomplish what it is you want to have happen.

BLended
 
Okay. It's up. It need a FEW more tweaks then it's done. Go to:


and click on either the menus or press buttons in the bottom frame and everything you see in the left hand side is referring to an xml document. The xml document incorporates links to the text files on the right hand side of the page which are called from buttons in flash. The coding is a nightmare at first (it gets easier, really). Voila! XML in Flash!

Blended
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top