![]() |
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.
|
http://ming.sourceforge.net/
seems to be the no1 plugin for swf. Can't say I have ever used it tho. Good Luck |
Is there a javascript function that can include another page the same way the php include function would work? I'm at work so i'll check out the plug-in later and see how that works out.
|
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. |
Alright, thanks for the tips. I'll see what I can do with those but i'm still lost on it and I have no clue if I will actually get it to work.
|
If I'm not mistaken, Flash MX has a server-side component designed to communicate with client-side Flash presentations. I've seen a really nifty Flash chat program that was presumably implemented that way.
|
hmmm... I'll have to double check on that, I never saw it when I was working on my last project, but i'll see what I can find out.
|
All times are GMT -8. The time now is 02:36 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project