Re: [Flashcoders] best way to set up xml for site

2007-08-26 Thread Dayton Schlosser

Well,

How do you code AS? Classes or on the timeline? Do you know the  
basics of creating an XML object, reading in the XML, and loading it  
in and all that? If not let us know. Myself or someone else could  
show you how to set it up. Also, it helps to know how you will be  
structuring your XML file.


There are tons of places to learn it, but here are two goodies. one  
you have to sign up for but is worth it.:


http://www.kirupa.com/web/xml/index.htm

and

http://movielibrary.lynda.com/html/modPage.asp?ID=90


Example:

// Create a new XML object
var myXML:XML = new XML();

// This is a function that sets up the parsing and loading of XML.   
See the function below.

initializeXML();

// Sets up the parsing and loading of the XML (yourXML.xml).
function initializeXML():Void {

// Ignores white space in your xml doc.
myXML.ignoreWhite = true;

// method for telling the object what do once XML is loaded.
myXML.onLoad = function(bSuccess:Boolean):Void  {

/***
		 * Now, in here could go a number of things but usually a for  
loop to iterate through your xml's nodes an stuff.

 * This all depends on how you are structuring things.
 **/

}
};

// Load the XML
myXML.load(yourXML.xml);
}

Hope it helps somewhat.

On Aug 25, 2007, at 1:10 PM, Julie Wilder wrote:

hi i'm wondering if anyone has any best practices for setting up  
xml for a
site structure with flash pages or could point me to some examples.  
i'm
trying to learn how to make a flash site with dynamic pages and  
pages that

have other pages inisde them.  tia!
___
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


___
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


Re: [Flashcoders] best way to set up xml for site

2007-08-25 Thread Dayton Schlosser

Well,

How do you code AS? Classes or on the timeline? Do you know the  
basics of creating an XML object, reading in the XML, and loading it  
in and all that? If not let us know. Myself or someone else could  
show you how to set it up. Also, it helps to know how you will be  
structuring your XML file.


There are tons of places to learn it, but here are two goodies. one  
you have to sign up for but is worth it.:


http://www.kirupa.com/web/xml/index.htm

and

http://movielibrary.lynda.com/html/modPage.asp?ID=90


Example:

// Create a new XML object
var myXML:XML = new XML();

// This is a function that sets up the parsing and loading of XML.   
See the function below.

initializeXML();

// Sets up the parsing and loading of the XML (yourXML.xml).
function initializeXML():Void {

// Ignores white space in your xml doc.
myXML.ignoreWhite = true;

// method for telling the object what do once XML is loaded.
myXML.onLoad = function(bSuccess:Boolean):Void  {

/***
		 * Now, in here could go a number of things but usually a for  
loop to iterate through your xml's nodes an stuff.

 * This all depends on how you are structuring things.
 **/

}
};

// Load the XML
myXML.load(yourXML.xml);
}

Hope it helps somewhat.

On Aug 25, 2007, at 1:10 PM, Julie Wilder wrote:

hi i'm wondering if anyone has any best practices for setting up  
xml for a
site structure with flash pages or could point me to some examples.  
i'm
trying to learn how to make a flash site with dynamic pages and  
pages that

have other pages inisde them.  tia!
___
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


___
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