06-09-2004, 05:49 PM | #1 (permalink) |
Crazy
Location: Arnold, MD
|
PHP functions in flash?
I want to include the output of one of my php pages into a text field in my flash, site does anyone know how to do this? I was hoping I could use the include function but from all I can gather that isn't possible. Is there another way I could include another page within my flash page? The idea is to place a news/blog page into my flash site, so it is easy to update the news section of my page.
|
06-10-2004, 01:09 AM | #2 (permalink) |
Once upon a time...
|
http://ming.sourceforge.net/
seems to be the no1 plugin for swf. Can't say I have ever used it tho. Good Luck
__________________
-- Man Alone ======= Abstainer: a weak person who yields to the temptation of denying himself a pleasure. Ambrose Bierce, The Devil's Dictionary. |
06-10-2004, 09:22 PM | #4 (permalink) |
Crazy
Location: Salt Town, UT
|
Ming isn't the right way.
There are a lot of ways that you can have flash talk to PHP, typically, you can have it hit a page, and just get the results back. So when you have the PHP page spit the results back, be sure to do it in a way that is easy for the flash side of things to read. From what I recall (this was a ways back, before even flash 6), you could pass the strings back using a url-looking string (aka, foo=bar&baz=car) and you could get flash to parse those into variables for you.
Sorry I can't be more specific. It has just been a while. The thing I remember most is the pain. Every once in a while, Flash will seemingly break. There is always a reason, but typically not a good one. Be cautious in that Actionscript, and best of luck to ye. |
Tags |
flash, functions, php |
|
|