Re: [PHP] Flash / Ajax / PHP



On 6/30/07, tedd <tedd@xxxxxxxxxxxx> 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

Relevant Pages

  • Re: [PHP] Flash / Ajax / PHP
    ... (Flash-PHP API) ... and Ajax technologies. ... 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. ...
    (php.general)
  • Re: [PHP] AJAX and PHP
    ... tedd wrote: ... The only difference the user experiences between having AJAX, or not, is refreshing the page. ... On the other hand, if page refresh is annoying, or not wanted, then AJAX is you're only solution. ... But as it has been said before, not all users have javascript turned on and as such AJAX will not work -- after all, it javascript. ...
    (php.general)
  • Re: [PHP] Re: Something you can do with AJAX + PHP as well
    ... It's a combination of using both ajax and php together. ... the process demonstrated goes a bit deeper than that. ...
    (php.general)
  • Re: A few beginners questions
    ... You can learn Ruby and at the same time learn XHTML + CSS ... AJAX itself is not complicated. ... To make a Flash page behave like an Ajax page you will need to: ...
    (comp.lang.ruby)
  • Honeymoon over for Silverlight :-(
    ... WebStart download put me off, but I will try to have a look this weekend. ... Ajax yourself and then pass the results as the "source" to a plug-in object. ... Flash Player 8 apparently introduced the new External API so that JavaScript ... Supports DOM and integrates with HTML DOM ...
    (comp.os.vms)