Re: [PHP] flash with PHP
2008. 02. 3, vasárnap keltezéssel 09.23-kor Alain Roger ezt írta: Hi, i would like to have a flash menu in my PHP website. this is no problem. My problem is how to exchange data between PHP andFlash (in both direction). i found a lot of posts on this theme, but nothing with really works under ActionScript 3 and PHP. does anyone already solved such topic ? you can pass parameters to the flash with this tool: http://blog.deconcept.com/swfobject/ and the flash can issue http requests thus reach the php server side. once we implemented a site where we did not want the page to reload but it needed to communicate with the server, it issued http GET requests, the server responded with xml data, and the flash parsed and used the xml data (don't ask me about how, because my colleague did it, I made only the server part ;) ) greets Zoltán Németh thx. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] flash with PHP
try asking on www.flashkit.com bastien Date: Mon, 4 Feb 2008 07:45:25 +0200 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] CC: php-general@lists.php.net Subject: Re: [PHP] flash with PHP FlashKnowledge = 0; phpKnowledge = 1; I remember some time back finding a class for php and a class/unit/addon for flash that allowed communication between php file and flash files, just google for it Clive Alain Roger wrote: Hi, i would like to have a flash menu in my PHP website. this is no problem. My problem is how to exchange data between PHP andFlash (in both direction). i found a lot of posts on this theme, but nothing with really works under ActionScript 3 and PHP. does anyone already solved such topic ? thx. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php _
[PHP] flash with PHP
Hi, i would like to have a flash menu in my PHP website. this is no problem. My problem is how to exchange data between PHP andFlash (in both direction). i found a lot of posts on this theme, but nothing with really works under ActionScript 3 and PHP. does anyone already solved such topic ? thx. -- Alain Windows XP SP2 PostgreSQL 8.2.4 / MS SQL server 2005 Apache 2.2.4 PHP 5.2.4 C# 2005-2008
Re: [PHP] flash with PHP
Alain Roger wrote: Hi, i would like to have a flash menu in my PHP website. this is no problem. My problem is how to exchange data between PHP andFlash (in both direction). i found a lot of posts on this theme, but nothing with really works under ActionScript 3 and PHP. does anyone already solved such topic ? thx. I researched this some time ago... You can pass parameters to flash movie in ONE of the parameters it accepts (don't remember which one, but you can find out). This means, you can't pass each parameter separately, but you have to pack them, somehow (not sure what separators are allowed) and then unpack them inside the movie. As to passing parameters from the flash movie to the php - basically if people can click inside the movie, you can perhaps send GET or POST requests back to the server, which your php can interpret. Iv -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] flash with PHP
On Feb 3, 2008, at 12:23 AM, Alain Roger [EMAIL PROTECTED] wrote: Hi, i would like to have a flash menu in my PHP website. this is no problem. My problem is how to exchange data between PHP andFlash (in both direction). i found a lot of posts on this theme, but nothing with really works under ActionScript 3 and PHP. does anyone already solved such topic ? thx. -- Alain Windows XP SP2 PostgreSQL 8.2.4 / MS SQL server 2005 Apache 2.2.4 PHP 5.2.4 C# 2005-2008 var loadvars = new LoadVars(); http://www.google.com/search?q=loadvars -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] flash with PHP
this is right under actionscript 2.0... i'm working under actionscript 3.0 :-) On Feb 3, 2008 7:28 PM, Casey [EMAIL PROTECTED] wrote: On Feb 3, 2008, at 12:23 AM, Alain Roger [EMAIL PROTECTED] wrote: Hi, i would like to have a flash menu in my PHP website. this is no problem. My problem is how to exchange data between PHP andFlash (in both direction). i found a lot of posts on this theme, but nothing with really works under ActionScript 3 and PHP. does anyone already solved such topic ? thx. -- Alain Windows XP SP2 PostgreSQL 8.2.4 / MS SQL server 2005 Apache 2.2.4 PHP 5.2.4 C# 2005-2008 var loadvars = new LoadVars(); http://www.google.com/search?q=loadvars -- Alain Windows XP SP2 PostgreSQL 8.2.4 / MS SQL server 2005 Apache 2.2.4 PHP 5.2.4 C# 2005-2008
Re: [PHP] flash with PHP
On Feb 3, 2008 10:44 AM, Alain Roger [EMAIL PROTECTED] wrote: this is right under actionscript 2.0... i'm working under actionscript 3.0 :-) On Feb 3, 2008 7:28 PM, Casey [EMAIL PROTECTED] wrote: On Feb 3, 2008, at 12:23 AM, Alain Roger [EMAIL PROTECTED] wrote: Hi, i would like to have a flash menu in my PHP website. this is no problem. My problem is how to exchange data between PHP andFlash (in both direction). i found a lot of posts on this theme, but nothing with really works under ActionScript 3 and PHP. does anyone already solved such topic ? thx. -- Alain Windows XP SP2 PostgreSQL 8.2.4 / MS SQL server 2005 Apache 2.2.4 PHP 5.2.4 C# 2005-2008 var loadvars = new LoadVars(); http://www.google.com/search?q=loadvars -- Alain Windows XP SP2 PostgreSQL 8.2.4 / MS SQL server 2005 Apache 2.2.4 PHP 5.2.4 C# 2005-2008 Does this work? http://www.peterelst.com/blog/2007/11/28/actionscript-30-wheres-my-loadvars/ -- -Casey -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] flash with PHP
FlashKnowledge = 0; phpKnowledge = 1; I remember some time back finding a class for php and a class/unit/addon for flash that allowed communication between php file and flash files, just google for it Clive Alain Roger wrote: Hi, i would like to have a flash menu in my PHP website. this is no problem. My problem is how to exchange data between PHP andFlash (in both direction). i found a lot of posts on this theme, but nothing with really works under ActionScript 3 and PHP. does anyone already solved such topic ? thx. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Flash / Ajax / PHP
On Fri, June 29, 2007 10:30 am, David Giragosian wrote: I've recently been using some limited free time to explore the Freemovie (Flash-PHP API) and Ajax technologies. Can anyone help me to understand whether these can be used together? Can I, for example, pull data from MySQL, dynamically alter Flash function parameters, then use Ajax to deliver the new content? I did stuff like that with Ming once, so I don't see why Freemovie couldn't do it... But never played with Freemovie, so no promises. -- Some people have a gift link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Flash / Ajax / PHP
On Sun, July 1, 2007 5:32 am, Ryan A wrote: Sometimes this gets solved with spitting out some headers telling IE not to cache while others have (dirty) solved it by adding a hash or something else unique to the page or the image... If you need serious legacy support for cave-man days browsers, there is NO combination of headers that will work for ALL ancient browsers. You're really better off, and it's WAY easier, to just throw some random big into the URL that affects nothing server-side, but makes every URL unique to the browser, so the cache is never used. -- Some people have a gift link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Flash / Ajax / PHP
but the image, when updated, is still unstable on IE while still _perfectly_ stable on FireFox. This might be due to cacheing on IE which anyone who has messed with php online for a little time will be familier with. IE is a bitch at times... just likes the company that makes the software ;) Sometimes this gets solved with spitting out some headers telling IE not to cache while others have (dirty) solved it by adding a hash or something else unique to the page or the image... for example: php_script.php?get_img=img_namerandom=something_random_here HTH. Cheers! R -- - The faulty interface lies between the chair and the keyboard. - Creativity is great, but plagiarism is faster! - Smile, everyone loves a moron. :-) - Get the Yahoo! toolbar and be alerted to new email wherever you're surfing.
Re: [PHP] Flash / Ajax / PHP
On 7/1/07, Ryan A [EMAIL PROTECTED] wrote: but the image, when updated, is still unstable on IE while still _perfectly_ stable on FireFox. This might be due to cacheing on IE which anyone who has messed with php online for a little time will be familier with. IE is a bitch at times... just likes the company that makes the software ;) Sometimes this gets solved with spitting out some headers telling IE not to cache while others have (dirty) solved it by adding a hash or something else unique to the page or the image... for example: php_script.php?get_img=img_namerandom=something_random_here HTH. Cheers! R -- - The faulty interface lies between the chair and the keyboard. - Creativity is great, but plagiarism is faster! - Smile, everyone loves a moron. :-) -- Get the Yahoo! toolbar and be alerted to new email http://us.rd.yahoo.com/evt=48225/*http://new.toolbar.yahoo.com/toolbar/features/mail/index.phpwherever you're surfing. Thanks, Ryan. That gives me something to explore when I get to work on Monday. David
Re: [PHP] Flash / Ajax / PHP
At 10:30 AM -0500 6/29/07, David Giragosian wrote: I've recently been using some limited free time to explore the Freemovie (Flash-PHP API) and Ajax technologies. Can anyone help me to understand whether these can be used together? Can I, for example, pull data from MySQL, dynamically alter Flash function parameters, then use Ajax to deliver the new content? Thanks in advance, David David: Short answer is yes, you can pull all these together to deliver content. However, you need to understand not only php, but ActionScript. I don't see why you would need Ajax to do this because you would first create the Flash segment in the background and then simply bring it forward and present it in a Flash player.. I think I have an idea of what you are trying to do and I believe it would be best if you created graphics in the background using php and then brought it forward with Ajax as data changed, all without the need for flash. But, if you want to investigate the Flash-PHP connection try Google actionscript and php Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Flash / Ajax / PHP
On 6/30/07, tedd [EMAIL PROTECTED] wrote: At 10:30 AM -0500 6/29/07, David Giragosian wrote: I've recently been using some limited free time to explore the Freemovie (Flash-PHP API) and Ajax technologies. Can anyone help me to understand whether these can be used together? Can I, for example, pull data from MySQL, dynamically alter Flash function parameters, then use Ajax to deliver the new content? Thanks in advance, David David: Short answer is yes, you can pull all these together to deliver content. However, you need to understand not only php, but ActionScript. I don't see why you would need Ajax to do this because you would first create the Flash segment in the background and then simply bring it forward and present it in a Flash player.. I think I have an idea of what you are trying to do and I believe it would be best if you created graphics in the background using php and then brought it forward with Ajax as data changed, all without the need for flash. But, if you want to investigate the Flash-PHP connection try Google actionscript and php Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com Thanks tedd and zerof. tedd, I did as you suggested above with graphics created with PHP/GD and pulled with Ajax ( http://home.capecod.net/~cape84/Monitor.PNG for a static example ) but the image, when updated, is still unstable on IE while still _perfectly_ stable on FireFox. I'm guessing I'm gonna have to live with suggesting users view with FireFox but I'll try to mock up a test case with Flash to satisfy my curiosity. Thanks, David
[PHP] Flash / Ajax / PHP
I've recently been using some limited free time to explore the Freemovie (Flash-PHP API) and Ajax technologies. Can anyone help me to understand whether these can be used together? Can I, for example, pull data from MySQL, dynamically alter Flash function parameters, then use Ajax to deliver the new content? Thanks in advance, David
[PHP] flash and php (using the varibles)
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] flash and php (using the varibles)
I didnt test this, but something along the line should work [ActionScript] onEnterFrame = function{ i = dataYougetFromMySQL; if (i max){ this._width = this._width * (i*factor) // factor can slow down or accelerate your animation } } [/ActionScript] hth, Philipp - [ Paul Ferrie ] - [EMAIL PROTECTED] schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Flash and PHP?
Does anyone use this? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Flash and PHP?
On Tuesday 29 Oct 2002 2:06 pm, Neil wrote: Does anyone use this? Yes next question.. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Flash and PHP?
In thousands. -- Maxim Maletsky [EMAIL PROTECTED] www.PHPBeginner.com // PHP for Beginners www.maxim.cx // my Home // my Wish List: ( Get me something! ) http://www.amazon.com/exec/obidos/registry/2IXE7SMI5EDI3 Neil [EMAIL PROTECTED] wrote... : Does anyone use this? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Flash and php
Hello! I read that the flash-format has been published to all users (see: http://www.macromedia.com/macromedia/proom/pr/1998/flashstandard.html). I was wondering if there is some php-support to generate flash-animations in general. What I'm looking for in particulla is a simple horizontal text-scroller done in flash, but generated with php (to show diffenrent text on different user-inputs for example). Has someone done this before? Martin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Flash and php
On Sun, 24 Feb 2002, Martin wrote: I was wondering if there is some php-support to generate flash-animations in general. http://www.php.net/manual/en/ref.swf.php http://www.php.net/manual/en/ref.ming.php -- Mika Tuupola http://www.appelsiini.net/~tuupola/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Flash and php
Hi Mika, thanx for your answer, http://www.php.net/manual/en/ref.swf.php http://www.php.net/manual/en/ref.ming.php which one should I prefer (using windows) ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Flash and PHP loadvariablesnum
Hello, this question should be ask to a flash forum, php would never open a window!! I used this class to achieve what you asked (http://www.hotscripts.com/Detailed/8970.html) but I know nothing about flash... py - Original Message - From: dharvell [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 12, 2001 11:13 PM Subject: [PHP] Flash and PHP loadvariablesnum I have a flash movie that is submitting to a PHP page using loadvariablenum but after being submitted it opens a new window that displays the print line that was supposed to go back to flash. does anyone have any ideas?? -- 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]
Re: [PHP] Flash and PHP loadvariablesnum
Hello, I use a lot Flash with PHP. I really don't understand why your browser opens a new window. Could you tell me exactly which function you run (loadVariablesNum ...) and which browser you are using. (MAC IE5 doesn't work well with loadVariablesNum. Eric www.b-tween.com web design e-communication e-education on 13:11:2001 15:28, py at [EMAIL PROTECTED] wrote: Hello, this question should be ask to a flash forum, php would never open a window!! I used this class to achieve what you asked (http://www.hotscripts.com/Detailed/8970.html) but I know nothing about flash... py - Original Message - From: dharvell [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, November 12, 2001 11:13 PM Subject: [PHP] Flash and PHP loadvariablesnum I have a flash movie that is submitting to a PHP page using loadvariablenum but after being submitted it opens a new window that displays the print line that was supposed to go back to flash. does anyone have any ideas?? -- 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] -- Eric Trezza www.b-tween.com web design e-communication e-education -- 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] Flash and PHP loadvariablesnum
I have a flash movie that is submitting to a PHP page using loadvariablenum but after being submitted it opens a new window that displays the print line that was supposed to go back to flash. does anyone have any ideas?? -- 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] flash and php
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
RE: [PHP] FLASH AND PHP
If you put this code behind a button in Flash 5 (for example): on (release) { //Construct and XML object to hold request type requestXml = new XML(); requestElement = requestXml.createElement("REQUEST"); requestElement.attributes.request = "MyRequest/"; requestXml.contentType = 'text/xml'; requestXml.appendChild( requestElement ); requestXml.contentType = 'text/xml'; //Construct an XML object to hold the servers (webobject's) reply requestReplyXml = new XML(); requestReplyXml.onLoad = onRequestReply; //debug requestXml.xmlDecl = "?xml version=\"1.0\" ?"; trace( "Request sent" ); trace( requestXml.docTypeDecl ); trace( requestXml.xmlDecl ); //Send the request object to the server cRequest = "Sent request..."; requestXml.sendAndLoad( "http://www.foo.com/dataretriever.php", requestReplyXML ); cRequest = "Waiting For Reply..."; } function onRequestReply () { //Get the first XML element var e = this.firstChild; var _level0:TotalStoreNumber = 0; var i = -1; if( e != null ){ do { if( e.nodeName == "REQUESTREPLY") e = e.firstChild; else //Do what you want with the xml data // if( e.nodeName == "STORE") { cStoreList += ( e.attributes.NAME + " - " + e.attributes.ADDRESS + newline ); if( i == -1 ) i = 1; else i++; eval( "_level0:n" + i ) = i; eval( "_level0:s" + i ) = e.attributes.NAME; eval( "_level0:c" + i ) = 111; } e = e.nextSibling; } while( e != null ) } } dataretriever.php can then query your DB/build an xml document (see php.net on how to read/create XML files in PHP) and output it as normal. Flash will recognise the xml and then you can parse the xml doc returned from your php script and build the flash object accordingly. Of course, you don't have to pass xml to your php script, you could just pass a URL parameter but xml gives you a great framework for expansion without breaking existing code. This line is the key: requestXml.contentType = 'text/xml'; and you won't find it mentioned in the current flash 5 documentation! HTH -----Original Message- From: Godd [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 03, 2001 8:57 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] FLASH AND PHP EXPLAIN !! I am not an XML expert Please explain. I have only now begun to read up on XML ""Richard Kirk"" [EMAIL PROTECTED] wrote in message 000d01c0bc55$6db38ee0$720a@proj00014">news:000d01c0bc55$6db38ee0$720a@proj00014... Or alternatively use the xml object to send an xml (flash 5) document to php which then waits for an xml response. Cheers -Original Message- From: Lindsay Adams [mailto:[EMAIL PROTECTED]] Sent: Monday, April 02, 2001 10:00 PM To: PHP Subject: Re: [PHP] FLASH AND PHP If you are wanting to use pregenerated FLASH scripts ( and not build them on the fly with libswf or ming) then what you want to do, without having to buy Generator for your server is... In the beginning of you falsh file, do a load variables from a PHP page, that queries a database or whatever, gets the data, and echoes it out to the FLASH file in the format expected by load variables. Tack on a variable at the end called loadDone and set it to 1 (or true) In flash, you have to put in a loop in the second frame, or after the loadvariables command, that checks to see if loadDone==1, to make sure that all the variables have loaded. You cannot assume that the variables will load within a certain time period. If they don't, the rest of your scripts will break. That, is how you can pass a lot of dynamic information into your flash file, without the use of server side generator install from macromedia. On 4/2/01 11:14 AM, "Godd" [EMAIL PROTECTED] wrote: Now VRML and PHP may be possible but if you can get Flash to get in the mix that will be so bad. What I really want to do is to get a flash file that will use the pictures that I send to it via php and let it use that picture to do the animation. No
RE: [PHP] FLASH AND PHP
Or alternatively use the xml object to send an xml (flash 5) document to php which then waits for an xml response. Cheers -Original Message- From: Lindsay Adams [mailto:[EMAIL PROTECTED]] Sent: Monday, April 02, 2001 10:00 PM To: PHP Subject: Re: [PHP] FLASH AND PHP If you are wanting to use pregenerated FLASH scripts ( and not build them on the fly with libswf or ming) then what you want to do, without having to buy Generator for your server is... In the beginning of you falsh file, do a load variables from a PHP page, that queries a database or whatever, gets the data, and echoes it out to the FLASH file in the format expected by load variables. Tack on a variable at the end called loadDone and set it to 1 (or true) In flash, you have to put in a loop in the second frame, or after the loadvariables command, that checks to see if loadDone==1, to make sure that all the variables have loaded. You cannot assume that the variables will load within a certain time period. If they don't, the rest of your scripts will break. That, is how you can pass a lot of dynamic information into your flash file, without the use of server side generator install from macromedia. On 4/2/01 11:14 AM, "Godd" [EMAIL PROTECTED] wrote: Now VRML and PHP may be possible but if you can get Flash to get in the mix that will be so bad. What I really want to do is to get a flash file that will use the pictures that I send to it via php and let it use that picture to do the animation. Now what I am looking at is a flash file that displays info on a product. now given the picture of the product and the information on the product, I want flash to use that info with the events that I will place in the flash file and let it do its thing. now that will be good. I am not sure what macromedia has along this line. -- 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]
Re: [PHP] FLASH AND PHP
EXPLAIN !! I am not an XML expert Please explain. I have only now begun to read up on XML ""Richard Kirk"" [EMAIL PROTECTED] wrote in message 000d01c0bc55$6db38ee0$720a@proj00014">news:000d01c0bc55$6db38ee0$720a@proj00014... Or alternatively use the xml object to send an xml (flash 5) document to php which then waits for an xml response. Cheers -Original Message- From: Lindsay Adams [mailto:[EMAIL PROTECTED]] Sent: Monday, April 02, 2001 10:00 PM To: PHP Subject: Re: [PHP] FLASH AND PHP If you are wanting to use pregenerated FLASH scripts ( and not build them on the fly with libswf or ming) then what you want to do, without having to buy Generator for your server is... In the beginning of you falsh file, do a load variables from a PHP page, that queries a database or whatever, gets the data, and echoes it out to the FLASH file in the format expected by load variables. Tack on a variable at the end called loadDone and set it to 1 (or true) In flash, you have to put in a loop in the second frame, or after the loadvariables command, that checks to see if loadDone==1, to make sure that all the variables have loaded. You cannot assume that the variables will load within a certain time period. If they don't, the rest of your scripts will break. That, is how you can pass a lot of dynamic information into your flash file, without the use of server side generator install from macromedia. On 4/2/01 11:14 AM, "Godd" [EMAIL PROTECTED] wrote: Now VRML and PHP may be possible but if you can get Flash to get in the mix that will be so bad. What I really want to do is to get a flash file that will use the pictures that I send to it via php and let it use that picture to do the animation. Now what I am looking at is a flash file that displays info on a product. now given the picture of the product and the information on the product, I want flash to use that info with the events that I will place in the flash file and let it do its thing. now that will be good. I am not sure what macromedia has along this line. -- 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 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] FLASH AND PHP
Now VRML and PHP may be possible but if you can get Flash to get in the mix that will be so bad. What I really want to do is to get a flash file that will use the pictures that I send to it via php and let it use that picture to do the animation. Now what I am looking at is a flash file that displays info on a product. now given the picture of the product and the information on the product, I want flash to use that info with the events that I will place in the flash file and let it do its thing. now that will be good. I am not sure what macromedia has along this line. -- 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] FLASH AND PHP
If you are wanting to use pregenerated FLASH scripts ( and not build them on the fly with libswf or ming) then what you want to do, without having to buy Generator for your server is... In the beginning of you falsh file, do a load variables from a PHP page, that queries a database or whatever, gets the data, and echoes it out to the FLASH file in the format expected by load variables. Tack on a variable at the end called loadDone and set it to 1 (or true) In flash, you have to put in a loop in the second frame, or after the loadvariables command, that checks to see if loadDone==1, to make sure that all the variables have loaded. You cannot assume that the variables will load within a certain time period. If they don't, the rest of your scripts will break. That, is how you can pass a lot of dynamic information into your flash file, without the use of server side generator install from macromedia. On 4/2/01 11:14 AM, "Godd" [EMAIL PROTECTED] wrote: Now VRML and PHP may be possible but if you can get Flash to get in the mix that will be so bad. What I really want to do is to get a flash file that will use the pictures that I send to it via php and let it use that picture to do the animation. Now what I am looking at is a flash file that displays info on a product. now given the picture of the product and the information on the product, I want flash to use that info with the events that I will place in the flash file and let it do its thing. now that will be good. I am not sure what macromedia has along this line. -- 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] flash and php
Hi people, Can PHP3 work with flash movie? I mean, something like using Php3 to run flash content from db? If so, is there anywhere I can find out more information? cheers Jack [EMAIL PROTECTED] "There is nothing more rewarding than reaching the goal you set for yourself"
Re: [PHP] flash and php
hi, see www.artfuntasy.com just flash4, php3, mysql greetings andreas - Original Message - From: "Jacky@lilst" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 18, 2001 11:23 PM Subject: [PHP] flash and php Hi people, Can PHP3 work with flash movie? I mean, something like using Php3 to run flash content from db? If so, is there anywhere I can find out more information? cheers Jack [EMAIL PROTECTED] "There is nothing more rewarding than reaching the goal you set for yourself" -- 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] flash and php
On Thu, Jan 18, 2001 at 04:23:58PM -0600, Jacky@lilst wrote: Hi people, Can PHP3 work with flash movie? I mean, something like using Php3 to run flash content from db? If so, is there anywhere I can find out more information? I use swift-generator from www.swift-tools.com, which integrates nicely with any server-side scripting method. It's not open source but still rather inexpensive (unlike Macromedia Generator). - Frank -- 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]