Re: flash and php

From: Date: Tue, 21 Aug 2001 08:54:49 +0000
Subject: Re: flash and php
Groups: php.general 
Request: Send a blank email to php-general+get-63652@lists.php.net to get a copy of this message
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" <jacky@activelifestyle.com> To: "Tribun" <mail@tribun.de> 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 > jacky@activelifestyle.com > "Love your enemies, it will drive them nuts" > ----- Original Message ----- > From: "Tribun" <mail@tribun.de> > To: "Jack" <jacky@activelifestyle.com> > 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" <jacky@activelifestyle.com> schrieb im Newsbeitrag > > news:017701c129a4$6dff2e60$0e00a8c0@activelifestyle.com... > > 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 > > jacky@activelifestyle.com > > "Love your enemies, it will drive them nuts" > > > > > > > > > > > >

« previous php.general (#63652) next »