mcdanyel
09-25-2002, 09:55 PM
I have been working on this real time presentation flash piece. My plan is to have a flash app that I control to change data on a client app in near realtime for a porftolio presentation. I have gotten it to work fine on my machine in two seperate browser windows, but I have tried having someone else look at it while I control the master.swf here and nothing happens. It works on my machine but not any two machines...AGH!
Here is what I have so far:
master.swf --> This is the flash movie I control on my end. (next, back, ect.)
slave.swf --> This is the flash movie on the client end. (view only, slideshow like presentation)
controler.php --> writes to the text file below.
controlText.txt --> contains vars that control the display on both movies. It contains only two vars (where & efo). "where" holds the 1 or 2 data.
Right now I have the master.swf write either a "1" for next and a "2" for back through the php file to the text file. After the master.swf has sent the vars to the php file both movies read the text file, do something depending on the vars, and wait for the next change. The slave.swf is always checking for a change in the text file. As soon as it sees one it moves either forward or backwards then tells the php file to rewrite the vars "where" to "0". This resets the text file so nothing happens until I make a change again.
It works get on my machine in two seperate browser windows but not on two diffrenet machines. It seems like it should work right? What am I missing here???
Please he l p . . . . i a m d r o w n i n g in actionscript... **gulp**
Here is what I have so far:
master.swf --> This is the flash movie I control on my end. (next, back, ect.)
slave.swf --> This is the flash movie on the client end. (view only, slideshow like presentation)
controler.php --> writes to the text file below.
controlText.txt --> contains vars that control the display on both movies. It contains only two vars (where & efo). "where" holds the 1 or 2 data.
Right now I have the master.swf write either a "1" for next and a "2" for back through the php file to the text file. After the master.swf has sent the vars to the php file both movies read the text file, do something depending on the vars, and wait for the next change. The slave.swf is always checking for a change in the text file. As soon as it sees one it moves either forward or backwards then tells the php file to rewrite the vars "where" to "0". This resets the text file so nothing happens until I make a change again.
It works get on my machine in two seperate browser windows but not on two diffrenet machines. It seems like it should work right? What am I missing here???
Please he l p . . . . i a m d r o w n i n g in actionscript... **gulp**