Tilted Forum Project Discussion Community  

Go Back   Tilted Forum Project Discussion Community > Interests > Tilted Technology


 
 
LinkBack Thread Tools
Old 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.
j0hnb is offline  
Old 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.
manalone is offline  
Old 06-10-2004, 04:28 AM   #3 (permalink)
Crazy
 
Location: Arnold, MD
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.
j0hnb is offline  
Old 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.
Rawb is offline  
Old 06-11-2004, 04:08 AM   #5 (permalink)
Crazy
 
Location: Arnold, MD
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.
j0hnb is offline  
Old 06-18-2004, 08:29 AM   #6 (permalink)
Junkie
 
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.
SinisterMotives is offline  
Old 06-18-2004, 09:17 AM   #7 (permalink)
Crazy
 
Location: Arnold, MD
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.
j0hnb is offline  
 

Tags
flash, functions, php


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -8. The time now is 03:50 PM.

Tilted Forum Project

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