# Updating Flash movie when data change occurs in MySQL

**URL:** <https://forum.kirupa.com/t/updating-flash-movie-when-data-change-occurs-in-mysql/281231>\
**Category:** flash\
**Created:** [February 6, 2009, 10:47am UTC](https://forum.kirupa.com/t/updating-flash-movie-when-data-change-occurs-in-mysql/281231 "2009-02-06T10:47:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![legalizeit](https://avatars.discourse-cdn.com/v4/letter/l/e9c0ed/32.png) [@legalizeit](https://forum.kirupa.com/u/legalizeit)\
**Post date:** [February 6, 2009, 10:47am UTC](https://forum.kirupa.com/t/updating-flash-movie-when-data-change-occurs-in-mysql/281231/1 "2009-02-06T10:47:29Z")

</div>

Hey! I’m trying to find a way how to update a flash movie when the data changes in MySQL database. There is a way for this in AIR that I haven’t tried ([http://help.adobe.com/en\_US/AS3LCR/Flash\_10.0/flash/events/SQLUpdateEvent.html](http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/events/SQLUpdateEvent.html)) but I wanna know if it’s possible in a normal flash movie.  
For example… there is a datagrid that contains some records from a MySQL database and when I insert a new record trough another interface (phpMyAdmin or just a simple website or something…) the flash movie updates its datagrid and shows the new records without refreshing the browser and the whole movie.  
I hope I was clear about this :puzzled:

I think it can be done with sockets or netconnection or something like that, because you have to establish a connection between the webserver and your movie. But I don’t know too much about these things :ponder:

Any help would be appreciated.
