Anyone Can Give Me A Guestbook Using Flash MX
i create guestbook on flash but their an error when compile it. im not very creating a guestbook using flash, can anyone give me source file of guestbook using flash. i will highly appreciate if anyone can give me... thanks
FlashKit > Flash Help > Flash MX
Posted on: 03-07-2003, 07:55 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Give Me Some Spice And Ill Give You Some Sugar
i need some help,
wats an action script so i can skip to a pecific scene, i just cant seem to do it im trying the on (press) gotoandplay and it wont work
as i said before give me some spice and ill give you some sugar
Give Variable From Php To Flash
hey, (hope someone can help me!)
I want to send variables like a name a street and so on from a php script to my flash and use them there.
now in my php there is the following line:
echo ('name=$namedb&vorname=$vornamedb&pass=$passdb');
this line should give the content of $namedb to flash in form of the variable "name" (and so on).The problem is that it is not giving the content to flash but just the name of the variable.
If I read the content from name in flash it does not show the name (like "meyer" or whatever) but instead of it only $namedb
what do I have to change that I can get "meyer" and not "$namebd" ?
thx a lot
jean3k
if you want to contact me directly:
aim: silversurfer2025
icq: 22368816
Flash Dev Practices. Give Away The FLA's?
Hi Folks,
I have been subcontracting Flash pieces for a company for a few years and recently they started asking for the FLA files as well.
It seems the real value in what I do for them is of course conceptualing, architecting, and coding visual ideas. There's also a fair amount of original art in the pieces as well. Once that's done, content could be easily swapped out, creating derivative works, art objects re-used, etc. On the other hand, they probably shouldn't need to consult me every time there is a minor content change for their clients.
Just curious as to what everyone's thoughts on the matter and general practices are... sort of an informal survey.
Very curious to hear your experiences,
Paul
Give Over Flash Intern Variable
How can I give over a Flash intern variable to JavaScript popup (popup coded with php, should receive the Flash variable). Can I do this with getURL("javacsript:popup('url?"+variable+"')")?
Flash Jukebox... Can Anyone Give Me Tips?
hello...
does anyone have some tips on making a flash jukebox? i basically just want to add a little controller at the bottom of the site i'm working on, which will play from a list of 5 songs.
what i'm wondering is, do i load each of these mp3s separately? or do i embed them all into one movie?
if anyone knows of any tutorials to help with this that would be greatly appreciated too...
thanks!
betta
Swish And Flash Give These Results
Hi
While looking on the net I found that Swish now also makes sites for companys, and one of their examples is pretty cool
http://www.swishzone.com/products/si...te05/main.html
This one
When you click a button you notice a change in a background. The background moves, you'l see.
But I wonder; how was it done? It's not a motion Tween, but it's actionscripted. How do you do that?
Thnx
Flash Jukebox... Can Anyone Give Me Tips?
hello...
does anyone have some tips on making a flash jukebox? i basically just want to add a little controller at the bottom of the site i'm working on, which will play from a list of 5 songs.
what i'm wondering is, do i load each of these mp3s separately? or do i embed them all into one movie?
if anyone knows of any tutorials to help with this that would be greatly appreciated too...
thanks!
betta
Flash Remoting ? Can Anyone Give Me Any Further Info?
I'd search for it but the search feature is still broken.
I work for a Healthcare company and we build Flash based training material. We wanted to start storing user comments into SQL (database) and keep track of what users have viewed (All users are internal employees). I've heard Flash Remoting helps with Flash/Data integration but honestly their site on Adobe confused me. Is Flash Remoting the way I need to go to integrate Flash & SQL or would it be just as effective to use something like ASP or .Net to tie them together?
Any help would be greatly apprecaited.
Dont Give The Focus To Flash
I use javascript to detect keys on the keyboard so that some buttons in the html are hotkeys. My script makes it so that if the user presses on an html button, it sends a command to flash and plays an animation. The hotkey for that button would be "e" for example.
Problem is, if the focus is on the swf, the user cannot use hotkeys until it clicks elsewhere in the html file. Let me mention that their is alot of changes of focus between html and swf.
So I thought about using a OnClick="window.document.somebutton.focus()" on the swf so I'm always focused on the html after the user clicked in the swf, but it won't set the focus anywhere else
Is there anyway to keep the focus on an html element all the time even when an swf was clicked?
Flash-cfm Guestbook.
hi all..
can one trythis.
I did one flash guestbook..using.coldfusion and MS access as a database
I don't know about CF but i can do programming things
In flash i have name, email and comments text field.
and add entries button.
In frame 1--the text fields names are
Name = new_name
Email = new_email
Comments = new_comments
and on click of the add entries i have the following action
on (release) {
if (new_name eq "" || new_email eq "" or new_comments eq "") {
// do nothing
} else {
loadVariablesNum ("insert.cfm", 0, "POST");
gotoAndPlay (2); }
}
//when i reaches 10frame.
I have
Your record is added
and Your id is:<textfield>-named--record_id
****Here is the problem****
the record id is refusing to show.on flash file.
but the records are adding on the database.
can anyone tell me what is the problem in this.
************************
=========
In Insert.cfm
=========
<cfsetting enablecfoutputonly="Yes">
<cfquery datasource="#dsn#" name="insert">
insert into flashcfm_guestbook(name,email,comments) values('#form.new_name#','#form.new_email#','#form .new_comments#')
</cfquery>
<cfquery datasource="#dsn#" name="get_id">
select id from flashcfm_guestbook where email='#form.new_email#'
</cfquery>
<cfoutput>&record_exists=no&record_id=#get_id.id #</cfoutput>
thankx in advance.
victor.A
Guestbook In Flash?
anyone know how to make a guestbokk in flash?
all tips would be helpful(tutorials, demos, etc...)!!
Flash Guestbook Anyone?
Does anyone know how to make a guestbook in flash that doesn't require a bunch of CGI scripting on my behalf???
Flash Guestbook
I tried to follow the tutorial to make a guestbook in flash 5 from Jeff at flash-db, you can see it at http://www.guestbook.steveguberman.com it isnt pretty yet, I am trying to concentrate on learnign the scripts... so maybe from looking at it someone can tell em the problems i am having with the scripting or the php or something...
I dont' know any of the languages, just tried to do waht it said...
any theories or advice for the newbie in programming would be great!
thnaks!!!
steve
Flash Guestbook
Hi All,
Im in search of finding an easy to follow tutorial for completing a Flash guestbook. I found a few but they havent been what im looking for... I need a flash gusetbook that allows users to post their comments and also as soon as they hit submit the message will appear and they can view other entries also.
Any help??
Thanks so much.
Flash Guestbook... Is It Possible?
hi all, i was thinking of putting a guestbook in my website but i'm not quite sure whether it can be done or how to do it... can anyone help pls
Lots of thks
Guestbook In Flash MX
Hi! I am looking for a way to integrate a guestbook in the flash-site i am designing now, and it's driving me crazy!!
I don't know anything about Perl and stuff like that. Isn't there a way to do it all in flash? Drag and drop components or something?? Thanx a lot!!
Flash MX And ASP/SQL Guestbook...
Hi, all...!
This is just to announce that I managed to make my own guestbook, from scratch. Doh, big deal! LOL...
Well, it is for me, and I want to thank to all the ones who let me learn enough Actionscript and ASP until I could deal with this...
If you want to see a live preview of the guestbook, click here: http://www.worldkit.com.
And if you would like to have the code on how I did it, no problem. Just send me a line or sing the guestbook. I am more than glad to give away, as now it's my turn to give...
Flash Guestbook
I have downloaded a simple flash guestbook which has both the view and sign windows on the same movie.
I am having difficulty seperating the two. I would like to call them seperately using the buttons 'view guestbook' and 'sign guestbook'.
I have used the loadMovie command to load the 2 swf files i created but unfortunately the functionality has been lost in the process. Any ideas? Hope someone can help. Thnaks
Guestbook In Flash
I've created a Sign Guestbook movieclip and a View Guestbook movieclip. The whole idea is to work with a .txt file that would be written with php code. I know this is possible so no problem there.
The problem is to get this into the View movie. Because when I load the variables from the text file it would overwrite the previous guestbookentry.
Is there some code that would create a new movieclip (a copy of the first 'Entree movieclip') and place this under the previous 'Entree movieclip' ?
The Entree movieclip's will be placed inside another movieclip which is placed inside a Scrollpane.
Otherwise I'd have to get this one in html code and it would ruin the entire id of my website.
Hope I gave a good explanation of the problem...
Thx in advance.
greetz AvaDewd
Guestbook In Flash With Php
i have a problem with this flash actionscript :
loadVariablesNum ("GuestBook.php?NumLow="+NumLow+"&NumHigh="+NumHig h+"&R="+random(999), 0);
when i run this script i got an error message like this :
error opening URL "file:///C|/path/GuestBook.php?NumLow=0&NumHigh=10&R=470"
n.b.: i already made the GuestBook.php. and the script is fine. i think it's not a link error.
does anyone know what is the problem with this script?
thnx
Flash Guestbook
i should know this by now but i don't...but how do i create a flash guestbook?
Flash Guestbook HELP
I have done a lot of research, and downloaded many examples. All of which I have been unsuccessful with.
I am looking for a guestbook application that's compatible with a Unix environment using PHP.
Don't need bells and whistles, just need the basic's so I can dissect it and learn from it. That seem's to be the best way that I catch on, edit the PHP to conform to my server, get it online, get it working ... then re-design, add, remove, whatever.
I am just looking for an application that will work with the above OS requirements, and is very simple to understand. Can anyone provide a movie and some assistance?!?
Flash Guestbook
hows it going? I want to make my own guestbook from flash, but i have been unsuccessful. I have attempted to adapt the one ine the tutorials, but it doesn;t seem to work. On my computer, the clip with the guest book comes up, but none of the scripting seems to work. When i tested it, and i imput all the stuff, it just said processing. But, when i loaded it over the WS_ftp, once i accessed my site via the internet, the guestbook clip didn't even load. My client (i believe its called that) accepts cgi's, but i am not really well versed in this stuff (although i would like to better at it). It uses a php and a text file, and from what i have read on the forums, since my movie is loading its differnt links as clips, the variables of the guest book aren't being written to the correct layers. Whew! I hope i got all this straight. Any help is greatly appreciated! Its nice having all these people around to help know-nothings such as myself.
Flash Guestbook
does anybody know where i can find a flash guestbook? i cant get the ones to work that i found on flashkit. i just dont know how to use php&asp properly. xml seems easier.
if anyone could help me asap that would be very kind. thanks a lot in advance
Flash Guestbook
I have a php script that imports variables from flash text boxes and then writes these variables to a text file that flash then reimports.
However when someone posts an entry containing foreign characters, the guestbook errors.
someone told me that i have to utf8_encode the php code (text below) in order for it to save foreign characters in the txt file that flash can then reimport.
Does anyone know where i insert the utf8_encode statement into the text below
fputs($file, "<font color="#FFFFFF">Name:</font>$name
<font color="#FFFFFF">Email:</font> <font color="#990000"><u><A href="mailto:$email">$email</A></u></font><br>
<font color="#FFFFFF">Posted:</font> $posted
<font color="#FFFFFF">Message:</font> $message
");
Flash Guestbook
Could someone point me in the direction of a nice flash guestbook?
Basically I want visitors to my website to be able leave some info, a message, post it and then see all of the messages that have been left there. I'm using Flash MX...I'm looking for one that doesn't require php.
Thanks
Foochuck
Flash Guestbook Help.
I found this guestbook for download and I am having a few problems installing it:
1. it is in simplified chinese, and I can't read it.
2. It has a microsoft access file, and I know nothing about this.
3. I know very litle about it anyways.
anyones help on how to install this, and what I need on my server in order to install it would be greatly appreciated.
here is a zip file containing all of the files for the book:
http://www.divinechaos.net/guestbook.zip
Flash Guestbook
Alright, I'm wanting to make a flash guestbook. I know how to make all the textfields and the submit button, but what should I use to make it post? (EX. PHP, PERL etc.) If anyone could tell me I'd appreciate it. thanks.
Flash/php Guestbook Help.
I am using a free guestbook script as a guestbook for my site, but The script will not recognise new lines, if the enter button is used. Does anyone know how this can be done?
Also, I would like the script to recognise links in the comment field, and display them as a functioning link with a different font color. is this possible? if so how?
you can check out the guestbook here and download the source files:
http://www.flash-db.com/GuestBookTut
thanks
Flash Guestbook
How can I create a guestbook or feedback form with flash? (wherein the data will be automatically forwarded to my email) I'm currently using Flash MX.
Flash MX Guestbook
hi Ive downloaded the guestbook from Flashkit, from this Link;
http://www.flashkit.com/search.php?t...&submit=Submit
Flash MX Guestbook,
this guestbook works with php and a Text file, doesn't reuire mysql,
the problem is , its not working, !
My question is;
is there anyone out there who has used the same or similar guestbook and succesfuly got it working ?
Ive been at it for a few hours now but with no success,
can anyone help ?
Thanks...
[F8] Guestbook In Flash
I would like to know if there are any GOOD guestbook in flash tutorials. I have a mysql table in my database called GuestBook.php here is the code:
$DBhost = "localhost"; // Database Server
$DBuser = ""; // Database User
$DBpass = ""; // Database Pass
$DBName = ""; // Database Name
$table = "guestbook"; // Database Table
$numComments = 10; // Number of Comments per page
// Connect to mySQL Server
$DBConn = mysql_connect($DBhost,$DBuser,$DBpass) or die("Error in GuestBook Application: " . mysql_error());
// Select mySQL Database
mysql_select_db($DBName, $DBConn) or die("Error in GuestBook Application: " . mysql_error());
// Part Two - Choose what action to perform
$action = $_GET['action'];
switch($action) {
case 'read' :
// Fetch all comments from database table
$sql = 'SELECT * FROM `' . $table . '`';
$allComments = mysql_query($sql, $DBConn) or die("Error in GuestBook Application: " . mysql_error());
$numallComments = mysql_num_rows($allComments);
// Fetch page-wise comments from database table
$sql .= ' ORDER BY `time` DESC LIMIT ' . $_GET['NumLow'] . ', ' . $numComments;
$fewComments = mysql_query($sql, $DBConn) or die("Error in GuestBook Application: " . mysql_error());
$numfewComments = mysql_num_rows($fewComments);
// Generate Output for Flash to Read
print '&totalEntries=' . $numallComments . '&';
print "<br>&entries=";
if($numallComments == 0) {
print "No entries in the guestbook, as yet..";
} else {
while ($array = mysql_fetch_array($fewComments)) {
$name = mysql_result($fewComments, $i, 'name');
$email = mysql_result($fewComments, $i, 'email');
$comments = mysql_result($fewComments, $i, 'comments');
$time = mysql_result($fewComments, $i, 'time');
print '<b>Name: </b>' . $name . '<br><b>Email: </b>' . $email . '<br><b>Comments: </b>' . $comments . '<br><i>Date: ' . $time . '</i><br><br>';
$i++;
}
}
// Print this only when there aren't any more entries..
if($_GET['NumLow'] > $numallComments) {
print 'No More Entries!&';
}
break;
case 'write' :
// Recieve Variables From Flash
$name = ereg_replace("&", "%26", $_POST['yourname']);
$email = ereg_replace("&", "%26", $_POST['youremail']);
$comments = ereg_replace("&", "%26", $_POST['yourcomments']);
$submit = $_POST['submit'];
// Current system date in yyyy-mm-dd format
$submitted_on = date ("Y-m-d H:i:s",time());
// Check if its submitted from Flash
if($submit == 'Yes'){
// Insert the data into the mysql table
$sql = 'INSERT INTO ' . $table .
' (`ID`,
`name`,
`email`,
`comments`,
`time`
)
VALUES
('','
. ''' . $name . '','
. ''' . $email . '','
. ''' . $comments . '','
. ''' . $submitted_on . ''
)';
$insert = mysql_query($sql, $DBConn) or die("Error in GuestBook Application: " . mysql_error());
// If you want your script to send email to both you and the guest, uncomment the following lines of code
// Email Script Begin
$MyName = "Myname";
$MyEmail = "myemail.com";
$Subject = "$name has just signed your guestbook.";
$EmailBody = "Hello Name,
$name has just signed your guestbook available at http://www.myweb.com. THe following were the details submitted into your guestbook:
Name: $name
Email: $email
Comment:
$comments
";
$EmailFooter = "~~~~~~~~~~~~~~~
The guestbook was signed by $name and thus this email got activated by $name from $REMOTE_ADDR from http://www.myweb.com
~~~~~~~~~~~~~~~
Thanking you,
My namer";
$Message = $EmailBody.$EmailFooter;
mail($MyName." <".$MyEmail.">",$Subject, $Message, "From: ".$name." <".$email.">");
// Email Script End
print "&gb_status=Thank you for signing my guestbook.&done=yes&";
return;
}
print "&_root.write.gb_status=Error!&";
break;
}
?>
Flash Guestbook
what is the way to make flash guestbook ?
because flash can read information from external text file is there a way something like guestbook without all php and mysql. i mean is there a way to store an information written in some dinamic text in a external file and then a just to read the information there
or just explain me pls how must i make GB
ty
Flash Guestbook
I could not find any good tutorials about this... could someone help me out? I'm looking for a good way to make an all flash guestbook... thanks
-Jeff
Flash MX And ASP/SQL Guestbook...
Hi, all...!
This is just to announce that I managed to make my own guestbook, from scratch. Doh, big deal! LOL...
Well, it is for me, and I want to thank to all the ones who let me learn enough Actionscript and ASP until I could deal with this...
If you want to see a live preview of the guestbook, click here: http://www.worldkit.com.
And if you would like to have the code on how I did it, no problem. Just send me a line or sing the guestbook. I am more than glad to give away, as now it's my turn to give...
Flash Guestbook
hey i am just mucking around with FCS and especially the video/audio guestbook, the only thing that i find a bit crappy is the fact that they did not include a button to delete an entry si if you make a mistake or if you simply want to erase an existing message, you simply cant.
I am trying to find a way of including one but i am finding it difficult.
Has someone allready modified the guestbook or does sommone knoow how i could make this button?
Flash Guestbook Help
Hi
I need help with a flash guestbook from the beginning to the end,I've searched the web and can't find that much.
A good tutorial would be great.
Thanks Stew
Guestbook In Flash
Does anobody have a link to a tutorial on how to design/create your own guestbook in flash?
Guestbook In Flash?
I have seen some really cool sites that is make in Flash. And they have a guestbook. I dont understand how you make a guestbook in flash. How to make it save after you have posted a post. All help are welcome!
Thanks in advance
//RyxiaN
Guestbook - Flash/PHP/XML
Hi All,
please I am looking at the Flash Guestbook sample file (Flash MX 2004>Samples>HelpExamples>guestbook)
And it didn't know how the swf connects with the xml thru php.
so I have the ActionScript:
Code:
//****************************************************************************
//Copyright (C) 2004 Macromedia, Inc. All Rights Reserved.
//The following is Sample Code and is subject to all restrictions on
//such code as contained in the End User License Agreement accompanying
//this product.
//****************************************************************************
/*
PHP and Flash example
This example shows you how to create a guestbook using Flash and PHP integration.
*/
stop();
// import the required component classes.
import mx.controls.*;
// define the component instances on the Stage.
var name_ti:TextInput;
var email_ti:TextInput;
var url_ti:TextInput;
var comments_ta:TextArea;
var clear_button:Button;
var submit_button:Button;
var name_label:Label;
var email_label:Label;
var url_label:Label;
var comments_label:Label;
//set color of labels
name_label.setStyle("color", "0xFFFFFF");
email_label.setStyle("color", "0xFFFFFF");
url_label.setStyle("color", "0xFFFFFF");
comments_label.setStyle("color", "0xFFFFFF");
// set the tabbing order for the components
this.name_ti.tabIndex = 1;
this.email_ti.tabIndex = 2;
this.url_ti.tabIndex = 3;
this.comments_ta.tabIndex = 4;
this.clear_button.tabIndex = 5;
this.submit_button.tabIndex = 6;
// set the default form focus to the name_ti TextInput instance, and set the default button to the submit button.
Selection.setFocus(name_ti);
focusManager.defaultPushButton = submit_button;
// when the post_mc or view_mc movie clip's are clicked and released, goto the appropriate named frame label.
post_mc.onRelease = function() {
this._parent.gotoAndStop("post");
};
view_mc.onRelease = function() {
this._parent.gotoAndStop("view");
};
// when the clear button is clicked, set the form fields to empty strings.
var clearBtnListener:Object = new Object();
clearBtnListener.click = function(evt:Object) {
name_ti.text = "";
email_ti.text = "";
url_ti.text = "";
comments_ta.text = "";
};
this.clear_button.addEventListener("click", clearBtnListener);
// when the submit button is clicked, send the form values to the server using a LoadVars object.
var postBtnListener:Object = new Object();
postBtnListener.click = function(evt:Object) {
// if the name is blank, display an error message using the Alert component.
if (name_ti.text.length == 0) {
Selection.setFocus(name_ti);
Alert.show("Please enter your Name.", "Error", Alert.OK);
return false;
}
// make sure the user has filled in either the email_ti or url_ti TextInput instances.
if ((email_ti.text.length == 0) && (url_ti.text.length == 0)) {
Selection.setFocus(email_ti);
Alert.show("Please enter your Email Address or URL.", "Error", Alert.OK);
return false;
}
// make sure the comments_ta TextArea instance isn't blank.
if (comments_ta.text.length == 0) {
Selection.setFocus(comments_ta);
Alert.show("Please enter your Comments.", "Error", Alert.OK);
return false;
}
// if all the required fields have been filled in, create a LoadVars object instance and populate it.
var send_lv:LoadVars = new LoadVars();
send_lv.name = name_ti.text;
send_lv.email = email_ti.text;
send_lv.url = url_ti.text;
send_lv.comments = comments_ta.text;
send_lv.onLoad = function(success:Boolean) {
// if the comments were sent to the server and you received a response, clear the form fields and display an Alert message.
if (success) {
name_ti.text = "";
email_ti.text = "";
url_ti.text = "";
comments_ta.text = "";
Alert.show("Thank you for your comments.", "Success", Alert.OK);
} else {
// else you encountered an error while submitting to the server.
Alert.show("Unable to process your comments at this time.", "Server Error", Alert.OK);
}
};
// send the variables from Flash to the remote PHP template.
send_lv.sendAndLoad("http://www.flash2004.com/dev/guestbook/gb_insert.php", send_lv, "POST");
};
this.submit_button.addEventListener("click", postBtnListener);
The Code From the View Page:
Code:
//****************************************************************************
//Copyright (C) 2004 Macromedia, Inc. All Rights Reserved.
//The following is Sample Code and is subject to all restrictions on
//such code as contained in the End User License Agreement accompanying
//this product.
//****************************************************************************
stop();
var guestbook_ta:mx.controls.TextArea;
// create an XML object instance which is used to load comments from a remote server.
var guestbook_xml:XML = new XML();
guestbook_xml.ignoreWhite = true;
guestbook_xml.onLoad = function(success:Boolean) {
if (success) {
var numEntries = this.firstChild.childNodes.length;
// loop through each of the entries from the XML packet...
for (var i = 0; i<numEntries; i++) {
// create a shortcut to the current child node
var entry_xml:XMLNode = this.firstChild.childNodes[i].childNodes;
/* set local variables for the name, email address, url, comments and timestamp.
Since you know the structure of the XML packet, you know the index of each of these child nodes. */
var name_string:String = entry_xml[1].firstChild.nodeValue;
var emailaddress_string:String = entry_xml[2].firstChild.nodeValue;
var url_string:String = entry_xml[3].firstChild.nodeValue;
var comments_string:String = entry_xml[4].firstChild.nodeValue;
var datetime_string:String = entry_xml[6].firstChild.nodeValue;
// the "entry_string" variable is used to hold the HTML formatted contents of the current guestbook entry
var entry_string:String = "<p>";
entry_string += "<span>"+name_string+"</span><br>";
// if the email address isn't blank, append it to the current entry_string variable.
if ((emailaddress_string != undefined) && (emailaddress_string.length>0)) {
entry_string += "<a href="mailto:"+emailaddress_string+"" target="_blank">email</a><br>";
}
// if the url isn't blank, append it to the current entry_string variable.
if ((url_string != undefined) && (url_string.length>0)) {
// if the first five characters of the URL aren't "http:", set the prefix to "http://".
var prefix_string:String = (url_string.substr(0, 5) != "http:") ? "http://" : "";
entry_string += "<a href=""+prefix_string+url_string+"" target="_blank">url</a><br>";
}
entry_string += comments_string+"<br>";
entry_string += "<i>"+datetime_string+"</i><br>";
entry_string += "</p>";
// draw a horizontal line after each guestbook entry.
entry_string += "<img src="line_gr"><br>";
// append each current entry to the current value of guestbook_ta
guestbook_ta.text += entry_string+"<br>";
}
} else {
trace("error loading XML");
}
};
// load the guestbook XML entries from the remote server.
guestbook_xml.load("http://www.flash2004.com/dev/guestbook/gb_select.php");
// create a new instance of the TextField.StyleSheet object.
var styleObj = new TextField.StyleSheet();
styleObj.onLoad = function(success:Boolean) {
if (success) {
guestbook_ta.styleSheet = styleObj;
}
};
// load the external style sheet
styleObj.load("styles.css");
And the XML :
Code:
<?xml version="1.0" encoding="iso-8859-1" ?>
<guestbook entries="1">
<entry>
<id></id>
<name></name>
<emailaddress></emailaddress>
<url></url>
<comments></comments>
<ipaddress></ipaddress>
<datetime></datetime>
</entry>
</guestbook>
Please how the PHP file might be?!
Thanks u very much
Greetings
Flash Guestbook: What Do I Need?
Hi there,
I'm building a full flash website and I will be adding a guestbook along with it. I've never done this before (the flash guestbook) so I need a little guiding.
First off, are PHP and MySQL the only programs I need to create and edit the database for my guestbook? Do I need another program/s to go along with it and if so, any suggestions please?
And what exactly does ColdFusion do? Is it a PHP or MySQL base program?
I want to start off with what programs I need for my Flash Guestbook before I even ask any more questions, so please give feedback when you can.
Thanks....
Flash + PHP + SQL = Guestbook
Here's my first experimental guestbook using flash, php & sql.
fell free to use it. enjoy.....
// sorry no preview for this. thanks
|