Posts Tagged ‘actionscript’

Just thought I’d post this little tidbit.  When using Flash/action script to call the infamous ‘Loadvariables’ functions I have found that some browsers like IE like to grab cached results, for some reason it worked fine in Firefox but if you try to embedded IE in your programs you will run into the same problems. [...]

One of the questions ive been asked is how to I put my flash script to grab data from the SQL database and provide updates if the device is on or off etc. Well the awnser is, I dont. Like mentioned before to have your flash talk directly to a sql database you will need [...]

Instead of re-inventing the wheel this is the document I used to get data for my flash variables http://www.smartwebby.com/flash/external_data.asp Basically using the “loadvariables” command you can read any file containing properly formated text, and just match up the variable with the variable in the text file, for example loadVariables(“http://192.168.0.101/data.txt”,this); The File ‘data.txt’ contains name=1 If [...]

One thing I always wanted to do was be able to setup a automatic coffee machine and turn it on at will.  Yes I know there are many out there already that do this, but we want to automate this right?? So after checking with my die hard Insteon users’ regarding wattage and amps.  I [...]

Last week I was working on automating the house’s coffee machine.  And a real neat feature I saw around was the ability to display updated content in flash. In bare bones, simple copy and paste, below is the the code I used to update the clock each second. Basically open a scene of one frame [...]