Tilted Forum Project Discussion Community

Tilted Forum Project Discussion Community (https://thetfp.com/tfp/)
-   Tilted Technology (https://thetfp.com/tfp/tilted-technology/)
-   -   PHP functions in flash? (https://thetfp.com/tfp/tilted-technology/58606-php-functions-flash.html)

j0hnb 06-09-2004 05:49 PM

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.

manalone 06-10-2004 01:09 AM

http://ming.sourceforge.net/
seems to be the no1 plugin for swf. Can't say I have ever used it tho.

Good Luck

j0hnb 06-10-2004 04:28 AM

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.

Rawb 06-10-2004 09:22 PM

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.

j0hnb 06-11-2004 04:08 AM

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.

SinisterMotives 06-18-2004 08:29 AM

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.

j0hnb 06-18-2004 09:17 AM

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 09:08 PM.

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


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54