proeliumfessus Posted June 6, 2009 Report Share Posted June 6, 2009 I think a light bulb may have just come on- I've been trying to understand how actionscript2 and php communicated.. is my perception below in the ballpark? it's like this- you call a load variables function or method- either one- and you dont specify what variables actionscript will be looking for, it's like a big dumb animal that you give an address(url), and say "fetch." When it gets to the location it will either find a text file or a server script.. when it finds a text file it just quickly hoovers up all the name value pairs and stores them in whatever target you specified, beit a movieclip, the root timeline, loadvars object etc... instead of a text file, it it encounters a php script, it is forced to sit there and wait while the script does it's thing... and while it's sitting there waiting, php also has the ability to "grab" the variables it needs from the object, beit the root timeline or loadvars etc.. so php gets what it needs from the object, then goes to the database and gets what it needs there, then finally either uses the print function or the echo function to output name value pairs... the big dumb animal starts sucking up all the data output and once the last piece of data is taken, it severs the connection with the script and stores all the name value pairs in the specified object. do I get it?? lol I hope so Quote Link to comment Share on other sites More sharing options...
administrator Posted June 8, 2009 Report Share Posted June 8, 2009 That's it! Remember this: at the end of the day, all this Web programming stuff is just pushing text around - 98% of the time. Yes, plain old text. Hope that helps, Stefan Quote Link to comment Share on other sites More sharing options...
proeliumfessus Posted June 8, 2009 Author Report Share Posted June 8, 2009 thanks! what a relief Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.