Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 10-19-2005, 01:16 PM   #1
Registered User
Join Date: Apr 2005
Posts: 6
Question Flash + PHP + MySql ... News

Ok, I've been trying to do this and got stucked on the Flash part of it.

I want to do a FLASH + PHP + MySql News System.

I've build the tables on mysql, the php to read them, and now I need to show the news on a flash movie.
I wanted to do this way: I've created a movie clip, inside this movie clip I have 3 textBoxes. One for the Date, one for a Title, one for the FullNews. I want Flash to read the php file, check how many news are (the first variable is a total variable) and duplicate my news movie clip below as needed.
PS: As done in www.thecrystalmethod.com

Here the output of my .php file
PHP Code:

&newsshort0=Adriano Maiochi
&newslong0=Adriano maiochi foi felizardo da casa feliz do mes de fevereiro deste anoparabens
&newsshort1=Fabricio Lancini
&newslong1=Fafoi o sortudo do mes de novembroganhou uma passagem para miami
&newsshort2=Fabio Lancini
&newslong2=Fabio Antonio contemplou uma carta de credito no valor de 100.000 mil reaissortudo elenao
**I broke the lines just to be readable, the actual file is continous.**

Can anyone, please help me, or send any links for a tutorial on this kind of integration. Couldn't find any support on Flash + php News System.

rionbr is offline   Reply With Quote
Old 10-21-2005, 06:53 PM   #2
Senior Member
Join Date: Oct 2005
Posts: 746

check macromedia's flash section. it has a good tutorial on it
peptobismol is offline   Reply With Quote
Old 10-21-2005, 07:43 PM   #3
Flash Gordon
rather be programming
Flash Gordon's Avatar
Join Date: Feb 2005
Location: City of Angels
Posts: 10,140

search for "Flash Gordon" and web poll. I have all the sources for a mysql to php to flash poll there. The same idea would apply just text and not numbers.
trace("Good bye Flash.") Log.i(TAG, "Hello Droid");
Flash Gordon is offline   Reply With Quote
Old 10-24-2005, 04:11 PM   #4
Registered User
Join Date: Sep 2005
Posts: 5

you may check with loadVars object from the help menu. it should help.
KoPanda is offline   Reply With Quote
Old 05-28-2008, 07:35 AM   #5
Peak Studios Boulder, CO
Join Date: Mar 2002
Location: Boulder, CO
Posts: 214

Check out Peak Studios Flash PHP MySQl extension for AS2 and AS3. I don't know the exact link but the have it on their home page at http://peakstudios.com

It takes cae of all these issuse for you. I have been using it for about a month now. The number of errors I get is about one a week. It used to be about 3 errors a day I work with Flash PHP & MYSQL together all the time.
quincewyss 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 10:25 PM.

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.