[PHP] Re: flash and php (using the varibles)

2003-01-09 Thread rolf vreijdenberger

in flash:

result=null;
URL=" myscript.php"
loadVariables(URL, myobject, "POST")//flash 5, MX has better capabilities
gotoAndPlay("checkframe")

well, you get a name/value pair from the script.
the script ran some queries on the database.
teh output from the script to flash is:
&mynumber=123&result=true&
Ok, in flash, in the "checkFrame" you check for a result variable
---
if(result=="true"){
//watch out, true is a string in flash, even if it is a boolean in php
//take some action
}elseif(result=="false"){
//ooops, error, output error message
}

capiche?

> Hi guys i hope there is someone in here that use flsah along with php to
> help with this :)
>
> Anyway i will make it simple.
>
> mysql returns a number say 123 i want flash to take this number to animate
a
> progress bar, but here the problem it does work but the progress bar
dosn't
> animate it just sets to the hieght of the numbers sent back from mysql.
How
> can i slow down the animation of the progress bar
>
> Anyone
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Re: Flash and PHP?

2002-10-30 Thread Jay Blanchard
[snip]
I'm new to php coding but after some research am I right in saying that the
latest release that I installed is PHP4.2.3 then there is a configuration
setting
called "register_globals".  Up until 4.2 it has always been "ON".  But not..
as of 4.2 it is "OFF". is this right? if so have the scripts I have been
writing have been a waist of time?
[/snip]

No, it has not been a waste of time. Register_globals has been turned "off"
for security reasons. (If you had mentioned any of this during the
previously vague e-mails the list may have been able to help more quickly.)
Depending upon the form method (either GET or POST) your variables will be
contained in an array called $_GET or $_POST, like $_GET["ToEmail"] or
$_POST["ToName"]. If I could have seen the code for the form and the
processing script I could have nailed this down for you.

When you send a question to the list please be as specific as posible and
include the code that is giving you trouble. Vague inquiries such as,
"Anyone use this?" will largely go unanswered or will get flamed as yours
did yesterday. Also, make sure that you reply to "all" so that your response
goes to the list. That way if the individual who sent you information is no
longer available it will allow someone else to pick up the thread.

HTH!

Jay



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Re: Flash and PHP?

2002-10-29 Thread Jay Blanchard
[snip]
The entire site is flash.
[/snip]

So, are you asking for someone here to write the PHP for you? Or are you
asking for the list to find you a set of pre-made scripts that work in every
situation? I see that you have been pointed to multiple tutorials for
working with Flash and PHP. I also see that your original e-mail and
subsequent follow-ups have asked really broad questions. Have you done any
of the research? Have you attempted any of the tutorials? How long have you
been a developer? Can you show us any code?

Jay



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Re: Flash and PHP?

2002-10-29 Thread Neil
The entire site is flash.

"Jay Blanchard" <[EMAIL PROTECTED]> wrote in message
news:001801c27f63$3a40a480$8102a8c0@;000347D72515...
> [snip]
> Thanks for the links, what I'm looking for is a simple form that
> communicates with a .php file on IIS 5 and then emails back to a e-mail
> address.  Any help? (I have created the form with variables just need help
> with the .php)
> [/snip]
>
> Let me understand, you want a Flash form that submits variables to a PHP
> page which will then e-mail something to an e-mail address? And Flash is
> needed why?
>
> Jay
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Re: Flash and PHP?

2002-10-29 Thread Jay Blanchard
[snip]
Thanks for the links, what I'm looking for is a simple form that
communicates with a .php file on IIS 5 and then emails back to a e-mail
address.  Any help? (I have created the form with variables just need help
with the .php)
[/snip]

Let me understand, you want a Flash form that submits variables to a PHP
page which will then e-mail something to an e-mail address? And Flash is
needed why?

Jay



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Re: Flash and PHP?

2002-10-29 Thread Neil
Thanks for the links, what I'm looking for is a simple form that
communicates with a .php file on IIS 5 and then emails back to a e-mail
address.  Any help? (I have created the form with variables just need help
with the .php)

Thanks again


"Joseph Szobody" <[EMAIL PROTECTED]> wrote in message
news:20021029151802.85671.qmail@;pb1.pair.com...
http://www.macromedia.com/desdev/mx/flash/articles/flashmx_php.html

http://www.phpbuilder.com/columns/hill20011214.php3


"Neil" <[EMAIL PROTECTED]> wrote in message
news:20021029140955.29707.qmail@;pb1.pair.com...
> Does anyone use this?
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Re: Flash and PHP?

2002-10-29 Thread Joseph Szobody
http://www.macromedia.com/desdev/mx/flash/articles/flashmx_php.html

http://www.phpbuilder.com/columns/hill20011214.php3


"Neil" <[EMAIL PROTECTED]> wrote in message 
news:20021029140955.29707.qmail@;pb1.pair.com...
> Does anyone use this?
> 
> 


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Re: Flash and php

2002-02-24 Thread Martin

Okay, I found the Ming-Library in the documentation (I just search for
flash in the functions list and didn't find anything). I will try this.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] Re: flash and php

2001-08-21 Thread Dan Harrington

Isn't it true that Flash can work directly with a JDBC driver?
or am I smoking crack?

> -Original Message-
> From: Tribun [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 21, 2001 2:55 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Re: flash and php
>
>
> I can't describe it very well in english, but I try it once again:
>
> 1. You cant combine Flash and MySQL.
>
> 2. Therefore you must add an interface.
>
> 3. You can fabricate this interface using a PHP-File, which reads out the
> Database and
> send this data to Flash.
>
> 3.1. Use a normal php-code to read out the content.
>
> 3.2. echo() an output with the variables and their values.
>
> 3.3. do that in this format: "&variablename=variablevalue&var2=val2&"
>
> 4. Open a flash keyframe and add the following Action-Script:
>
> Actions >
> Click on "Load Movie"
> Change the option from (I use a german-flash version, so I don't know the
> correct names)
> "Load Movie from"  to   "Load Variables from"
> (the first to the third point)
>
> 4.2 type in the URL-Field the filename of the interface-file.
>
> 4.3. May be you should change the "Ebene" frm "1" to "0".
>
> 4.4. If you want to tell the interface-file, that it should load a specific
> data, add to the URL
> field the following string:
> ?varoption=dothat&blabla=wuff
>
> 4.5. If this must be a dynamic variable, you must change the "abc" to "="
> and the field must be changed again:
>
> "interface.php?do="&dynamicvariable
>
> 5. to read the retrieved variables via flash, just handle them like
>
> _level0:variablename
>
>
> I hope that was a little bit clearer. If you have anyhow any problems, feel
> free to ask me again ;)
>
> MöfG,
> Tribun (Patrick Lehnen)
> ---
> www.mp3o.net
>
>
> - Original Message -
> From: "Jack" <[EMAIL PROTECTED]>
> To: "Tribun" <[EMAIL PROTECTED]>
> Sent: Tuesday, August 21, 2001 4:46 PM
> Subject: ref: flash and php
>
>
> > Dear Tribun
> > I tried to understand what you explained but realised I may need more
> > information about this. Is there anyway I can go to look up for more info
> > about what you explained?
> > Jack
> > [EMAIL PROTECTED]
> > "Love your enemies, it will drive them nuts"
> > - Original Message -
> > From: "Tribun" <[EMAIL PROTECTED]>
> > To: "Jack" <[EMAIL PROTECTED]>
> > Sent: Monday, August 20, 2001 7:43 AM
> > Subject: Re: flash and php
> >
> >
> > > Simply user the GetVariable function in Flash.
> > >
> > > The targeting file must be a PHP-File.
> > >
> > > This File should reads out the Informations you want.
> > >
> > > If the requests are also variable, call the file through
> > > GET and add "?query=date" to the filename.
> > >
> > > The file must echo this...
> > > &variable=something&cat=dog&
> > >
> > > Hope you understand my short introduction..
> > >
> > > MöfG,
> > > Tribun(Patrick Lehnen)
> > > ---
> > > www.mp3o.net
> > >
> > >
> > > "Jack" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
> > > 017701c129a4$6dff2e60$[EMAIL PROTECTED]">news:017701c129a4$6dff2e60$[EMAIL PROTECTED]...
> > > I know this issue has been talk a lot already, but can anyone guide me
> > where
> > > can I find information about how to build a dynamic content flash file
> > > driven by database?
> > > Jack
> > > [EMAIL PROTECTED]
> > > "Love your enemies, it will drive them nuts"
> > >
> > >
> > >
> > >
> > >
> >
> >
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Re: flash and php

2001-08-21 Thread Tribun

I can't describe it very well in english, but I try it once again:

1. You cant combine Flash and MySQL.

2. Therefore you must add an interface.

3. You can fabricate this interface using a PHP-File, which reads out the
Database and
send this data to Flash.

3.1. Use a normal php-code to read out the content.

3.2. echo() an output with the variables and their values.

3.3. do that in this format: "&variablename=variablevalue&var2=val2&"

4. Open a flash keyframe and add the following Action-Script:

Actions >
Click on "Load Movie"
Change the option from (I use a german-flash version, so I don't know the
correct names)
"Load Movie from"  to   "Load Variables from"
(the first to the third point)

4.2 type in the URL-Field the filename of the interface-file.

4.3. May be you should change the "Ebene" frm "1" to "0".

4.4. If you want to tell the interface-file, that it should load a specific
data, add to the URL
field the following string:
?varoption=dothat&blabla=wuff

4.5. If this must be a dynamic variable, you must change the "abc" to "="
and the field must be changed again:

"interface.php?do="&dynamicvariable

5. to read the retrieved variables via flash, just handle them like

_level0:variablename


I hope that was a little bit clearer. If you have anyhow any problems, feel
free to ask me again ;)

MöfG,
Tribun (Patrick Lehnen)
---
www.mp3o.net


- Original Message -
From: "Jack" <[EMAIL PROTECTED]>
To: "Tribun" <[EMAIL PROTECTED]>
Sent: Tuesday, August 21, 2001 4:46 PM
Subject: ref: flash and php


> Dear Tribun
> I tried to understand what you explained but realised I may need more
> information about this. Is there anyway I can go to look up for more info
> about what you explained?
> Jack
> [EMAIL PROTECTED]
> "Love your enemies, it will drive them nuts"
> - Original Message -
> From: "Tribun" <[EMAIL PROTECTED]>
> To: "Jack" <[EMAIL PROTECTED]>
> Sent: Monday, August 20, 2001 7:43 AM
> Subject: Re: flash and php
>
>
> > Simply user the GetVariable function in Flash.
> >
> > The targeting file must be a PHP-File.
> >
> > This File should reads out the Informations you want.
> >
> > If the requests are also variable, call the file through
> > GET and add "?query=date" to the filename.
> >
> > The file must echo this...
> > &variable=something&cat=dog&
> >
> > Hope you understand my short introduction..
> >
> > MöfG,
> > Tribun(Patrick Lehnen)
> > ---
> > www.mp3o.net
> >
> >
> > "Jack" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
> > 017701c129a4$6dff2e60$[EMAIL PROTECTED]">news:017701c129a4$6dff2e60$[EMAIL PROTECTED]...
> > I know this issue has been talk a lot already, but can anyone guide me
> where
> > can I find information about how to build a dynamic content flash file
> > driven by database?
> > Jack
> > [EMAIL PROTECTED]
> > "Love your enemies, it will drive them nuts"
> >
> >
> >
> >
> >
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Re: flash and php

2001-08-20 Thread pierre-yves

Hello,
what he explained with GetVariable works fine. I just want to add that you
do the opposite,
sending value to flash via php, by echoing the querystring in a php file and
use LoadVariable
to read the value and display it in the flash movie.

py



- Original Message -
From: "Tribun" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 20, 2001 8:43 AM
Subject: [PHP] Re: flash and php


> Simply user the GetVariable function in Flash.
>
> The targeting file must be a PHP-File.
>
> This File should reads out the Informations you want.
>
> If the requests are also variable, call the file through
> GET and add "?query=date" to the filename.
>
> The file must echo this...
> &variable=something&cat=dog&
>
> Hope you understand my short introduction..
>
> MöfG,
> Tribun(Patrick Lehnen)
> ---
> www.mp3o.net
>
>
> "Jack" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
> 017701c129a4$6dff2e60$[EMAIL PROTECTED]">news:017701c129a4$6dff2e60$[EMAIL PROTECTED]...
> I know this issue has been talk a lot already, but can anyone guide me
where
> can I find information about how to build a dynamic content flash file
> driven by database?
> Jack
> [EMAIL PROTECTED]
> "Love your enemies, it will drive them nuts"
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Re: flash and php

2001-08-20 Thread Tribun

Simply user the GetVariable function in Flash.

The targeting file must be a PHP-File.

This File should reads out the Informations you want.

If the requests are also variable, call the file through
GET and add "?query=date" to the filename.

The file must echo this...
&variable=something&cat=dog&

Hope you understand my short introduction..

MöfG,
Tribun(Patrick Lehnen)
---
www.mp3o.net


"Jack" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
017701c129a4$6dff2e60$[EMAIL PROTECTED]">news:017701c129a4$6dff2e60$[EMAIL PROTECTED]...
I know this issue has been talk a lot already, but can anyone guide me where
can I find information about how to build a dynamic content flash file
driven by database?
Jack
[EMAIL PROTECTED]
"Love your enemies, it will drive them nuts"




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]