Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 05-08-2003, 01:33 PM   #1
Registered User
Join Date: May 2003
Posts: 38
Lightbulb IDEA: joint PHP 2 Flash project

Allright guys,

I just got an idea, it could be impossible/useless (i don't think it is), or already done or posted by somebody else.

I haven't done it by myself because I only know the basics of actionscript and I'm not a PHP-expert as well.

My idea was to create an php2flash.php file in which we define php-functions. These functions convert the php-language to the actionscript language.

For example a p2f_array(); function. You will have a php-array called names. and than you convert it to flash:
in the function is a print command which prints the array.

This can be done for sql-query results (an array per row), variables, time-stamps???

the php2flash.php file we create can then be simply included in our backend-scripts.

Is this something?

Grtz. raps
raps is offline   Reply With Quote
Old 05-08-2003, 04:42 PM   #2
Master of Nothing
Join Date: Dec 2002
Location: San Diego, CA
Posts: 2,468

Its already been done. Its called remoting. There is a PHP implementation at http://amfphp.sourceforge.net

You simply enable your PHP classes to be assecible remotely by using the amfphp library and remoting components in flash. You can also do it with WDDX or PHPObject, look in the tutorials section of this site, there are a few tutorials covering the subject.
freddycodes is offline   Reply With Quote
Old 05-09-2003, 05:01 PM   #3
Registered User
Join Date: May 2003
Posts: 38

thnx for the info,

I'm going to look into that.
raps is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 Off
HTML code is Off

Forum Jump

All times are GMT. The time now is 11:40 AM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.