Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 11-24-2004, 12:31 AM   #1 (permalink)
roccoman
Registered User
 
Join Date: Nov 2004
Posts: 1
roccoman is on a distinguished road
PHP to Flash control panel

I have very little previous knowledge of PHP i read like 5 chapters of a PHP book a year ago....

I stayed up all night going over a FLA of a flash site i decompiled from the internet, that has PHP updated flash news... The news automatically updates in the FLASH from a php file..

IS there any tutorials that show you how to make a control panel in PHP where it has user input which then adds the information to a text.php that is then read by Flash?

Im extremly new to actionscript and PHP but i have examined long and hard and Understnad quite well.... Anyone have ne tutorials?
roccoman is offline   Reply With Quote
Old 11-24-2004, 08:10 AM   #2 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,503
sde is on a distinguished road
I don't have a tutorial, but the idea is that the news articles are stored in a database. You make an interface to add news to the database.

Then you create php script for flash. This script could output either the standard flash variable format: var1=value1&var2=value2&var3=value3 , or output in xml. For news articles, XML would hold the data better since you usually have multiple variables associated with 1 news article. ( title, author, time, text )

I haven't used Flashes XML features yet, but a Flash developer I work closely with has and he loves it.

I'm sorry I can't be more specific than the basic concept, but I hope this clears it up a little. PHP doesn't write to text.php. It writes the data to a database. text.php just pulls the data from the database and creates a text file for flash.
__________________
Mike
sde is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Would you mind if there were small flash elements at code newbie? sde Lounge 10 05-29-2004 09:05 PM
PHP Comes of Age sde Code Newbie News 0 04-14-2004 11:41 AM
I need to learn PHP Nitro PHP 9 06-28-2003 11:24 AM
PHP as CGI?? bdl PHP 8 05-08-2003 08:29 AM
Control table display with php & Postgresql? tomycon PHP 2 07-17-2002 07:16 AM


All times are GMT -8. The time now is 11:24 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting