Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: RE: FLASH: PHP and Flash
From: Glen Rhodes
Date: Mon, 18 Sep 2000 23:09:04 +0100

Actually, there is no text file created. The data is passed straight back
to the flash file. It's as if you are loading a premade text file, but
instead it's a CGI script.

You would talk to their script with a "Load Variables" command, which would
pass data as a form post, and then basically, if they do their scripting
right, within a few seconds, your flash file should have a bunch of
variables contained in the Target that you loaded them into, with the names
that they returned.

If you specified your Target to be "/", then all the variables would be
accessed with "/:" in front

So, name1=joe&age=33&color=blue&name2=john&age=45, loaded into target "/"
would be like:

SetVariable "/:name1" = "joe"
SetVariable "/:age" = "33"
etc...


It's like with an HTML post that creates a page on the fly (Like a CGI or
ASP page).. it doesn't create the page anywhere in particular, it just sends
it to your browser - so, using the same method, they do the same thing..
except instead of creating HTML on the fly, they create an stream of text
that gets returned to Flash.

This stream of text must be formatted as I indicated earlier..
variable=value& pairs. There would probably be no file size limit, just
remember the download times... if you send back TOO much data, it'll take a
while for it to be parsed and loaded.

HTH,

Glen.

------------------
Glen Rhodes
dot com Entertainment Group Inc.
Tel: (905) 337-8524 x224
Fax: (905) 337-8630
www.dceg.com

-----Original Message-----
From: owneratchinwag [dot] com [owneratchinwag [dot] com]On">mailto:owneratchinwag [dot] com]On Behalf Of Steve
Couture
Sent: Monday, September 18, 2000 4:00 PM
To: flasheratchinwag [dot] com
Subject: Re: FLASH: PHP and Flash


Thanks for the info Glen,

But how I read those variables... For example, if the page
generated is:

name1=joe&age=33&color=blue&name2=john&age=45 ...

how I get this info.. Where did they have to write this page?? On the server
as a text file??

I guess I open this page on flash with the load variable command... But
where my variable will be created on Flash???

Is there a caracter limit on the text file generated??
And is there something more I should know??

Thanks..

Steve

----- Original Message -----
From: Glen Rhodes <grhodesatdceg [dot] com>
To: <flasheratchinwag [dot] com>
Sent: Monday, September 18, 2000 2:01 PM
Subject: RE: FLASH: PHP and Flash


> The main thing to remember is, ask them to make sure they write their
> scripts so that data is passed back to you in an HTML free page (no tags),
> that consists only of variable=data pairs, separated by &
>
> name=joe&age=33&favcolor=blue
>
> Etc.. like that. And, when you submit data to them, tell them that you
> sending data is exactly the same method that an HTML form is submitted..
so
> then they should know how to read the data you send them.
>
> ------------------
> Glen Rhodes
> dot com Entertainment Group Inc.
> Tel: (905) 337-8524 x224
> Fax: (905) 337-8630
> www.dceg.com
>
> -----Original Message-----
> From: owneratchinwag [dot] com [owneratchinwag [dot] com]On">mailto:owneratchinwag [dot] com]On Behalf Of Steve
> Couture
> Sent: Monday, September 18, 2000 1:21 PM
> To: flasheratchinwag [dot] com
> Subject: FLASH: PHP and Flash
>
>
> Hi Flashers,
>
> I Actually work on a flash application that should recived
> data from a DataBase usig PHP3. I know nothing about php3... Some other
> people work with me on this side... But I want to know whats the best way
to
> get variables from a DataBase and PHP3 to Flash... What should I ask to
> the other programmer ? What they have to do and what I have to do??
>
> Thanks!
>
> Steve
>
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> NudeGuru.com is proud to sponsor the Flasher list
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> IT'S THE ART OF MONEY, HONEY!
> Tips and Advice from some of the most popular Flash
> artists + industry power-brokers on how to hold onto
> your rights, negotiate contracts and get full value
> for your work.http://www.nudeguru.com from Franke James
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe or change your list settings go to
> http://www.chinwag.com/flasher or email helpatchinwag [dot] com
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> NudeGuru.com is proud to sponsor the Flasher list
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> IT'S THE ART OF MONEY, HONEY!
> Tips and Advice from some of the most popular Flash
> artists + industry power-brokers on how to hold onto
> your rights, negotiate contracts and get full value
> for your work.http://www.nudeguru.com from Franke James
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe or change your list settings go to
> http://www.chinwag.com/flasher or email helpatchinwag [dot] com
>
>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NudeGuru.com is proud to sponsor the Flasher list
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IT'S THE ART OF MONEY, HONEY!
Tips and Advice from some of the most popular Flash
artists + industry power-brokers on how to hold onto
your rights, negotiate contracts and get full value
for your work.http://www.nudeguru.com from Franke James
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NudeGuru.com is proud to sponsor the Flasher list
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IT'S THE ART OF MONEY, HONEY!
Tips and Advice from some of the most popular Flash
artists + industry power-brokers on how to hold onto
your rights, negotiate contracts and get full value
for your work.http://www.nudeguru.com from Franke James
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: PHP and Flash, Steve Couture
  RE: FLASH: PHP and Flash, Till Steinmetz

Replies
  Re: FLASH: PHP and Flash, Steve Couture

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]