Ask a Question related to Macromedia Flash Data Integration, Design and Development.
-
miquael #1
integrating georss data
I'm wanting to integrate GEORSS data ( see [url]http://georss.org[/url] and
[url]http://www.georss.org/simple.html[/url] )
Here is a basic example of the georss XML structure:
<entry>
<title>Point defined using georss:point</title>
<link href="http://www.georss.org/simple.html"/>
<id>Point1</id>
<updated>2007-03-03T18:30:02Z</updated>
<content>getting ready to take the mountain!</content>
<georss:point>45.256 -71.92</georss:point>
</entry>
Here is what I am using:
<?xml version="1.0" encoding="UTF-8"?>
<items>
<item id="0" title="Marker1" type="1" contentPath="sample.html">
<description>Description here.</description>
<georss>42.3583 -71.0603</georss>
</item>
<item id="1" title="Marker2" type="2" contentPath="sample.flv">
<description>Description here.</description>
<georss>42.3583 -71.0603</georss>
</item>
<item id="2" title="Marker3" type="3" contentPath="sample.html">
<description>Description here.</description>
<georss>42.3583 -71.0603</georss>
</item>
<item id="3" title="Marker4" type="4" contentPath="sample.html">
<description>Description here.</description>
<georss>42.3583 -71.0603</georss>
</item>
</items>
Where <georss:point> isx the XML tag I need special parsing for, flash will
not accept "georss:point" as a simple label (because of the colon ":"). What
is this type of XML label called? How can Flash work with this?
Here is what is working for me so far:
private function initContent(xmlItem:XML, data:Object):void {
var attributes:XMLList = xmlItem.attributes();
// extract data from xml attributes
id = attributes[0];
title = attributes[1];
type = attributes[2];
contentPath = attributes[3];
description = xmlItem.description; // this works with <description> tags
//geoPosition = xmlItem.georss:point; // this will not work with
<georss:point> tags
geoPosition = xmlItem.georss; // this works with <georss> tags, but I
want <georss:point>
}
miquael Guest
-
need help integrating flash with asp
i am creating a dynamic site that pulls all of its content from and access database. i would like to make the entire page in flash. i have never... -
Integrating CF with SpringFrameWork
Greetings. I'm here to learn to run before I learn to walk. lol. Here's the problem. A colleague and myself are trying to integrate CF and... -
Integrating MX and 8.5?
Hi, At home I have MX,at uni 8.5. WIll I be able to work with the same project on both? Sorry if this has been asked before, I had a look but... -
[PHP] Integrating an Applet with PHP
There may be other methods, but one that seems to be available from your form will require some JavaScript code. Clicking the button located below... -
Integrating an Applet with PHP
I have located an HTML editor written in Java that works with my clients various computers (e.g. Linux, PC and Macs). What I need to do is learn...



Reply With Quote

