Jump to content

sorry for the bonehead question lol


proeliumfessus

Recommended Posts

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 :)

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...