
August 8th, 2001
10:29 PM
PHP, DBM Databases, and Flash
Is it possible to draw from a DBM-style database to create dynamic content in Flash? I know PHP pretty well and I've been creating, editing, and drawing from DBM-style databases with PHP for a long time to deliver dynamic content (like news, links, etc.). So I'd be really interested in this.
___________________
- Matthew McVickar

August 9th, 2001
03:10 PM
Where I have been, no one else can go!
Status: Offline!
Dynamic Flash
Check out this post: http://www.tutorialforums.com/showthread.php?s=&threadid=34
His flash file uses XML to dynamically update itself. XML can be connected to a database using some of your php knowledge.
___________________
Will Ryan - PsychoFlame - DJ KinetiX
http://www.tutorialengine.com
http://forums.ascenvia.net
http://www.ascenvia.net

August 9th, 2001
04:03 PM
Now... what to do about the fact that I don't know XML at all...
___________________
- Matthew McVickar

August 9th, 2001
05:20 PM
Where I have been, no one else can go!
Status: Offline!
Thats the only way I could think to do it... but there probably are other ways. I just don't use flash that much. and I saw bernie created something like what you were describing
___________________
Will Ryan - PsychoFlame - DJ KinetiX
http://www.tutorialengine.com
http://forums.ascenvia.net
http://www.ascenvia.net

August 10th, 2001
01:35 AM
PHP and mySQL or another DB can easily do stuff with Flash. You can pass variables to flash heres a quick demo.
<?php
// Example of a flash counter script
// This isn't real just coming from my head but if you know php it will be a good starting point
connect to db;
$i = # of previous in hits in the db;
// Add one hit to the number of hits the DB
$i = $i++;
// Add one more hit to the number in the database
insert $i into database
echo "&hits=$i&"; // Prints &hits=[number of hits]&
?>
Flash Scripting:
<?php
// You got to give it a couple frames to load the vars, it takes some time depending on server speed.
loadVariablesNum ("scripturl.php", 0);
?>
On the root in _level0. put a dynamic text box with the variable hits.
Thats all it takes
. 
If you need anymore help just ask, and NO it doesn't require any knowledge of XML.
___________________
Live Tronix - http://www.livetronix.com
Help 4 Flash - http://www.help4flash.com

August 10th, 2001
02:15 AM
yeah i made a dynamic menu but i used XML and flash. its pretty easy i can send you the fla file if you want. i am now just learning PHP so cant help you that much
___________________


August 10th, 2001
03:35 AM
Dude... that is frickkin' awesome... I'm going to try that right now!
___________________
- Matthew McVickar

August 10th, 2001
03:37 AM
Dude... that is frickkin' awesome... I'm going to try that right now!
You are the man.
___________________
- Matthew McVickar

August 10th, 2001
03:54 AM
here
go there and you can see what i made using only xml
___________________


August 10th, 2001
08:30 PM