Skip to main content
Participant
April 19, 2015
Question

add a listener to a changed value

  • April 19, 2015
  • 1 reply
  • 530 views

Hi,
i'm creating a simple app who get 6 numbers (each number represent human) from 6 different txt files. the txt files are changing along the day for several times, so the column for the 6 people updates in every change. this happend du to a timer loop, who checks in every second for a change, in all of the 6 files.
now, i need a column to sum the month changes. the problem: because it's in a loop of a timer, i can't check if there is a change in the value, and i get sum for every second.

please help me. i want to check if there is a change between the values in the 6 files, and if so, only then it will sum to the month conclusion.

thanks!!

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
April 19, 2015

with what step are you having a problem?

Participant
July 19, 2015

well,
i don't know how to create the Shared Object file in the server. that's my biggest problem for know

kglad
Community Expert
Community Expert
July 19, 2015

a sharedobject isn't created on a server.  it's created on the computer running the swf or air file using:

var so:SharedObject=SharedObject.getLocal('yourapp','/');