when new record is inserted into database, thru notifiction service inserted value is send to asp.net page.
In that asp.net page a **method or function **will fired everytime when new record is inserted in database.
Now,i want to pass that new value into flash page at everytime when asp.net page get its new value.
Is this could possible in flash, without using any timer event in flash 8.
Our Exact requirement.
“If a method or function in asp.net page is fired,a connection should made and send value to flash.”
Thanks in advance.
nope since people will be seeing the same page but different connections there is no global dbupdated function
i suppose you could use a timer in the ASP page to use ajax (or maybe just asp has the capability) to send a request to another page and the page responds with whether the database has been updated since the last request. if it has it sends a message to flash saying update using the externalInterface class …or using SWFObjects methods(i think it has some built in methods to pass values to flash on the fly).
but really your best bet is to just have flash check every 30 seconds or something…
or look at using a flash media server or Electraserver or something where all clients are connected to a socket server and have the server broadcast to all connected clients each time the database is updated.