PDA

View Full Version : Client swf doesn't run correctly on non-local machines


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**

tg
09-25-2002, 11:03 PM
do your have a link to the slave?

mcdanyel
09-25-2002, 11:12 PM
Hi tg,

I e-mailed them to you. I do not want to post them b/c it is set up to only have two users right now reading/writing to the files. If there are more than that all trying to write to the same text files then I think it might crash some stuff or at the least give you some wild operations on your end.

Let me know if you want the .fla's

Thanks...

mcdanyel
09-26-2002, 01:23 AM
Anyone have a clue what is going on here? I am trying to get this running as soon as possible. I need it finished tomorrow...AGH!

mcdanyel
09-30-2002, 10:12 PM
I take it since it has been several days that no one out there knows whats going on here right????

I still do not have it working and I am lost...