Thanks.  I'll look at those.

Are there any flash XML experts here?  I have to parse a (reasonably) complex 
XML file:

<ads>
    <count>2</count>
    <baseurl>http://www.sunshinepages.com/images/banners/</baseurl>
    <display>2</display>
    <ad id="1">
        <name>SunShine Pages</name>
        <image>8329835a.gif</image>
        <text>Click here for everything under the Sun.</text>
        <link>http://www.sunshinepages.com</link>
    </ad>
    <ad id="2">
        <name>SunShine Pages</name>
        <image>8329835b.gif</image>
        <text>Click here for everything under the Sun in Baton Rouge, LA.</text>
        <link>http://www.sunshinepages.com/batonrouge</link>
    </ad>
</ads>

and pass the contents variables that will be used by other functions.  I can 
parse the data in a function extractData, but cannot set up the arrays or other 
variables to store the data in a way that other functions can access it.

Should I create an object with the parameters I need and then use data access 
functions to set the data?  My problems is that the ad based variables need to 
be arrays.  Can I dynamically increase the size of an array in an object?

>I like the Eric Meyer CSS books (I think mine is O'Reilly Definitive
>Guide...).
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:5:209720
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.5
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to