# \[FMX\]MySql data in Flash

**URL:** https://forum.kirupa.com/t/fmx-mysql-data-in-flash/64646
**Category:** flash
**Created:** [September 18, 2004, 11:28am UTC](https://forum.kirupa.com/t/fmx-mysql-data-in-flash/64646 "2004-09-18T11:28:53Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![dboers](https://avatars.discourse-cdn.com/v4/letter/d/bbe5ce/32.png) [@dboers](https://forum.kirupa.com/u/dboers)
#### Post date: [September 18, 2004, 11:28am UTC](https://forum.kirupa.com/t/fmx-mysql-data-in-flash/64646/1 "2004-09-18T11:28:53Z")

</div>

Hi,

I’m busy with a real estate site and some of the data is coming from a MySql database. It are the three latest properties (three titles, three comments and three Images). I’m using this script:

```auto
myData = new LoadVars()
myData.load("properties.php")
myData.ref = this
myData.onLoad = function(succes){
 if(succes){
  for(var i=0; i<this.cant; i++){
   this.ref["Title_txt"+i].htmlText = "<b>"+this["Title"+i]+"</b>"
   this.ref["Comments_txt"+i].text = this["Comments"+i]
   this.ref["holder_mc"+i].loadMovie(this["Image"+i])
  }
 } 
}
stop()

```

The information is related to three .cfm pages. So what I need now is a getURL script insite the excisting script. When sombody press the first Image and/or comment newproperty1.cfm should open. and the same for 2 and 3.Is there please somebody who can help me with this?

Thanks in advance
