# Using data in flash

**URL:** <https://forum.kirupa.com/t/using-data-in-flash/195823>\
**Category:** random\
**Created:** [August 3, 2006, 1:16pm UTC](https://forum.kirupa.com/t/using-data-in-flash/195823 "2006-08-03T13:16:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chukzulu](https://avatars.discourse-cdn.com/v4/letter/c/ba9def/32.png) [@chukzulu](https://forum.kirupa.com/u/chukzulu)\
**Post date:** [August 3, 2006, 1:16pm UTC](https://forum.kirupa.com/t/using-data-in-flash/195823/1 "2006-08-03T13:16:00Z")

</div>

Hi folks,

I would like to read data into Flash then depending on the data display  
certain images on the stage. Is this possible in Flash.

I was thinking of using an XML file as my data source

My XML records will look like this:

\<record\>  
\<varTheCity\>BELFAST-CITY\</varTheCity\>  
\<varWeather\>cloud.MOV\</varWeather\>  
\<varTemps\>T4\</varTemps\>  
\<varWind\>SE15\</varWind\>  
\</record\>

In Flash I will be displaying symbols such as “cloud.mov” or “SE15”.

I am using Flash 7.2 MX.

Many thanks,

chuk
