Welcome, Guest. Please login or register.
Did you miss your activation email?
05/23/12, 01:38
Home Help Search Login Register
News: Parsley Flex framework review featuring quiz application, in our Flex frameworks series
Flex SDK 4.5 mobile roadmap: begin with your mobile development
Swiz Flex framework review featuring quiz application
New homepage we release our new Homepage, take a look ...

+  Flash-db
|-+  Server side Scripting and Database Support
| |-+  MySQL, PostgreSQL, MS SQL, Access (Moderators: Flash-db, Musicman, Ronald Wernecke, Jorge Solis, Andries Seutens)
| | |-+  mySQL and Flash integration
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: mySQL and Flash integration  (Read 2920 times)
tom
Server what's that
*
Posts: 19



View Profile WWW Email
« on: 01/25/02, 15:20 »

Hey

Does anyone know how to integrate Flash and mySQL databases (and PHP I guess)  so you can extract page content out of a table (providing dynamic content) I can write PHP, but it's the actionscripting that I'm not so sure on.

Any help on this would be great,

Tom  Smiley
« Last Edit: 01/25/02, 15:24 by tom » Logged
Musicman
Administrator
Systems Administrator
*****
Posts: 2685



View Profile WWW Email
« Reply #1 on: 01/25/02, 16:55 »

in the simplest case, your PHP should send
textboxname=
followed by the content, where textboxname matches the name of a dynamic text box. The actionscript would just use
loadvariables('script.php', _root)
to get the data.

Musicman
Logged
de koster
Server what's that
*
Posts: 1


Somebody said something?

5929572
View Profile WWW Email
« Reply #2 on: 02/27/02, 07:19 »

and what if it's necessary to repeat some regions a few times? Imagine Mysql returns a few lines with for each line a title, some text, date and author... And I want to have the title in bold, then a blank line, then the text in small font, then a blank line, then the date and author at the right side and then a line for seperating the next info... something that would look like this :

title1

this is the text from my first article, bla bla bla bla...

26/02/02 J. BROWN

________________________________________________

title2

this is the text from my second article, bla bla bla bla...

26/02/02 M. SMITH

________________________________________________


Would you still use one dynamic text box???
Logged

xxxxxxxxxxxxxxxxxxxxxxxx

www.defi-sud.com
flashswami
Jr. Programmer
**
Posts: 55


vene vidi vector


View Profile WWW
« Reply #3 on: 02/27/02, 08:49 »

No, in this case you have as many textboxes as there are sections e.g.

title1

this is the text from my first article, bla bla bla bla...

26/02/02

J. BROWN

Are all in 4 seperate textboxes, positioned in the manner you want on the stage, replete with lines, artwork etc. The trick is to put all these items inside one movieclip, now what you can do is duplicate this clip depending on the amount of records you retrieve from your db.
Logged

Pages: [1] Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!