Re: [PHP] Flash / Ajax / PHP

2007-07-02 Thread Richard Lynch
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

2007-07-02 Thread Richard Lynch
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

2007-07-01 Thread Ryan A
 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

2007-07-01 Thread David Giragosian

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

2007-06-30 Thread tedd

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

2007-06-30 Thread David Giragosian

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

2007-06-29 Thread David Giragosian

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