ActionScript 3.0 :: Load Different Values For Each Name, Email, Comment Inserted From XML?
Jun 16, 2009
I have a Guestbook project to develop (personal project) but I can't multiply the values.. I'm testing with a XML (no PHP and DB yet)
For example: I need to load different values for each name, email, comment inserted from XML.
Name: (name_txt) -> Textfield;
Email: (email_txt) - > Textfield;
Comment: (comment_txt) -> Textfield;
Well.. I can load ONE node from XML, but i can't multiply it for 5 blocks of name,email and comment.And if i'd like to paginate if it runs more than 5 blocks, the next 5 goes to another page?
Here is my code:
Code:
// GuestBook
var xmlLoader:URLLoader = new URLLoader();
var meuXML:XML; // vai guardar todo o conte�do do XML;
var imageLoader:Loader;
[code]...
View 1 Replies
Similar Posts:
Jul 8, 2009
I use [URL] tutorials but the only comment box they offer (as far as I can see) is a code where the send button triggers the users outlook to open to send the email.
[Code]...
I am not sure which part of the code does that, but is there a way to just have the comment send directly from my website, rather than opening up their outlook? I find that most of my visitors don't use any mail software, only online email, so I find it's inconvenient to ask them to send comments this way. is there code to have a comment send directly from my website to my email?
View 2 Replies
Nov 6, 2004
I am trying to implement a comment form for a flash page using a php email system. I am new to flash, but I got it working for the most part. The problem is that I receive emails, but they are blank and do not contain the info I put in. Below is the Actionscript I used and the php I used.
on (release) {
if (!FirstName.length) {
EmailStatus = "Please Enter your name.";
}
[code]....
View 7 Replies
Dec 8, 2009
I have created a form which sends the inputted values as an email. The file takes a name, delivery address etc and also should allow a quantity to be input. There is also an option where a different delivery address can be specified like so:The code looks okay, with no compiling errors, but the 'user input quantity' does not work and when changing different address,
[Code]...
View 5 Replies
Apr 2, 2007
I've got a swf that has a form inside a movie as follows
_parent.contentMain (an instance of formclip movie)
inside the contentMain I've a form witha submit button with the following code.
===================================
on (press) {
// send variables in form movieclip (the textfields)
// to email PHP page which will send the mail
this.loadVariables("email.php", "POST");
}
================================
In the same directory I've got an email.php file with the code as follows. All I get is empty result strings without the actual form variables. Am I a using the loadVariables command wrong?my server does support php most definately. Cause the email comes through just fine. Just no results in it.
===========================
<?php
/************************************************** *
* PHP 4.1.0+ version of email script. For more
* information on the mail() function for PHP, see
[code].....
View 1 Replies
Feb 4, 2011
I'm writing an XML preferences file for an Adobe AIR project, and I'd really like to include XML comments. How does one append a comment to XML? The following doesn't work (the file just ends up with a blank line where the comment should be):
ActionScript Code:
var prefs:XML = new XML();
prefs.ignoreComments = false;
[code]....
View 2 Replies
Jun 29, 2009
I'm trying to make a button to load an input text field for email addresses. I've been trying lots of different approaches but nothing seems to be working.Code:Quote:
on (release) {loadVariablesNum("subscription.php",0,"POST");
gotoAndStop("thanks");
}
I just need the button to communicate with the PHP code I have setup.
View 0 Replies
Jul 16, 2010
How can I send email to several email addresses by clicking the submit button one time. I am using Flash AS-2 .Shall be glad for any reference.
View 6 Replies
Dec 4, 2010
I don't know if this is too much to ask but could someone give me a quick overview on how to create an email form that actually sends the information to my email? I have the form created, and I'll post the .fla file (I allow a laugh at my elementary flash movie. This is just a final project for an intro to flash class), and I understand I'll need the .asp file from GoDaddy setup on my hosted space.
View 3 Replies
Nov 6, 2004
I want to make a button, when clicked, open a blank email in outlook express to an email, with a subject.i take it you would use:[code] just wanted to show you what i meant! that was just a random stab.
View 3 Replies
Mar 21, 2005
I have used the kirupa tutorial on a flash email form and it works GREAT! The only thing is I want to have required fields that need to be entered in for the form to send. If the user doesn't enter anything, it will ask them to in order to send the email.how I can do this or adapt it to the kirupa tutorial code?
View 1 Replies
Mar 22, 2011
I'm trying to get a simple comment box to work on a a website I'm working on. I want it to be able to send an email with the comment to a specific email address. I have AS3 code and PHP code from a thread on these forums but I can't seem to get it to work.
ActionScript Code:
import flash.net.URLLoader;
import flash.net.URLRequest;
submit_btn.addEventListener( MouseEvent.CLICK, submitClick );
function submitClick( e:MouseEvent ):void {
sendData();
[Code] .....
The php file is called mail.php in the main directory of the site along with the swf file with the AS code loacted in it. Does the AS have to be in a separate file or can I leave that on the frame where the actually text boxes are?
View 4 Replies
Jun 9, 2009
Is it possible to set up comment boxes on a flash movie? For instance, if I am viewing a page on my flash movie and I wish to make a comment on it, is there a way to set up a comment box and also show all of the previous comments as well? I figure it is but I am just unsure as to how to start it.
View 1 Replies
Aug 1, 2011
I'm using amfphp to get some info from SQL database.
My php code of the file in "services" folder looks like[code]...
View 1 Replies
Feb 20, 2010
I've created a form in flash to for customers to send email from the website. I'm using action script 3 - (mailto: ) There are two problems.
1) It doesn't send. A blank email form comes up that the user has to fill out - doesn't work with their email client.
2) How can I get it to validate?
View 2 Replies
Jan 20, 2010
iam trying to create an email form with flash cs4. so i've designed the layout and i've written a script to check that the details given are correct. but i am having problems while i am trying to sent those details to my email. here is the script after the details were checked:
[Code]...
View 4 Replies
Jan 22, 2003
here is the issue I am having: I have a button in my main movie and after it is pressed i want for it to open a pop up window right next to this button with some information in it. I have a email button so when you click on that button I want another window to open right next to this email button with my email address.
View 14 Replies
Nov 15, 2007
I built a Flash email sender, its very simple, it just sends all the variables in the fields, no cross checks or nothing.Problem: here's what the end-user email looks like:
Subject: Message from <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="_sans" SIZE="14" COLOR="#000000" LETTERSPACING="0" KERNING="0">Smiles</FONT></P></TEXTFORMAT>
Name : <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="_sans" SIZE="14"
[code]....
View 3 Replies
Mar 10, 2009
I am trying to make a chatbox for my website, I don't even think I need a database because I don't want people to sign in. I want a Name field, and a comment field. So I want it to appear in a box saying:
Name:NAMEHERE
Comments:These are the comments.
And so on. So I am still kind of new working with actionscript, I don't really know how this would work. I am looking to make something that looks like this: [URL]. That is my old freewebs account and I am shooting for something like that chatbox but instead of you having to log in you just type your name in a field and it appears.
I am Using Action Script 2.0 but I can make it 3.0 if required and I am running Flash CS3
View 2 Replies
Nov 19, 2009
In fLash Builder 2, I would eventually like to select a bunch of lines of code in the actions panel, click with the right mouse button and click "apply // comment" but that doesnt work in FlashBuilder , at least not that way. this seems to be a kind of a silly problem but it iirrtates me
View 1 Replies
Nov 21, 2010
I want to add a comment to some elements in a Flex document, and process the comments using ASDoc. I can easily do this for the script portion, but I end up with a ton of ugly "This property can be used as the source for data binding." messages for each element I declared in Flex. Is there any way to embed a comment into a flex element so that it can be read by ASDoc? I have tried using the standard
<!-- -->
notation, but that didn't seem to work.
EDIT: The notation seems to be swallowed up as an HTML comment..
View 3 Replies
Feb 28, 2011
I'm having a problem with the Toggle Comment command ("Comment Line / Selection") in TextMate for Actionscript 2 (I know, I know). I've tried completely stripping the language set down to isolate the issue, and tried walking through the Ruby, both to no avail. My issue is that the command insists on using block comments for comment toggling (⌘ + /) and doesn't respect when I add a preferences file to change TM_COMMENT_MODE. I even tried using this simple preference:
{ shellVariables = (
{ name = 'TM_COMMENT_START';
value = '// ';
},
);
}
but no luck. I'm hoping that someone who speaks Ruby much better than myself (ie. at all) can find a simple fix for this. You can reproduce in any (recent) install of TextMate by creating a new actionscript 2 file and trying to ⌘ + / a section of code (or even a line). Contrast to a JS file which will use a line comment. Copy the "Comments" snippet from JavaScript to Actionscript bundles, and the problem will persist.
View 1 Replies
Jul 3, 2009
I would like to create a simple form inside my flash site where the visitors can write their name and a comment about the site which would then stay visible in the page (possibly inside a scrollpane).
View 1 Replies
Nov 29, 2010
i'm trying to use the trace() function to get an output that uses a parentheses <"> within it.My problem is that when i type my trace, for example:
trace("Andy will say" + " " " + Hello.text + " " "); is suppose to come out saying: Andy will say "Hello".
But the AS3 reads it such that the parentheses after "Andy will say" and after Hello.txt are normally utilized parentheses.
View 3 Replies
Jun 1, 2011
I managed to make some code that works perfectly which, when the flash game is launched it randomly inserts a picture from the list you give it (word1.png, word2.png etc.)It works fine! But the problem is the place in which it appears, when i start the pictures appear in the top left corner of my flash game, but I want them to appear at preferably the location of a symbol or the x & y coordinates I specify (In actions obviously, i dont want to type these coordinates in game :P).Btw here is the code
var _loader:Loader = new Loader;
var _pictureArray:Array = ["word1.png", "word2.png", "word3.png"];
var _whatPicture:Number = Math.floor(Math.random()*3);
[code].....
View 5 Replies
Apr 13, 2010
I'll make it short: is it possible to get the user's facebook email adress (or a hashed email adress), so I can let's say compare his facebook email with his email in my database? I'm trying to get a FacebookUser and then use facebookUser.email_hash but that returns nothing.
View 1 Replies
Aug 29, 2009
I'm currently using Macromedia Flash 8. I'm doing up a website purely on Flash, in of the page it involves a "Contact Us" where there is a Form. I need these informations to be collated and send automatically as an email to my email account. I've tried to follow some scripts from this Forum. But when i click the Submit button, nothing happens and I did not receive any email at all.
[Code]...
View 1 Replies
Mar 31, 2008
I have a file setup that will email name, email, and message when the user inputs it in the appropriate input box. Is there a way to email dynamic text within that same email. Im using php to send the email to myself. if you need more info let me know
View 2 Replies
Sep 26, 2010
You can create a account You can login with your username and password. You can post comments. You can read all posted comments from your self and from your friends. What is not done with this project? It needs an accept friendship button where new friends rerquest was sent. It needs to read any new request from any new friends. it needs a decline button where the new friend request was sent if your does not wish to have this friend. It needs a comment delete button where this username and this comment. set only for the user who posted the comment. so not just any one can delete anyones comment.
[Code]...
View 2 Replies
Jun 3, 2010
as I probably do not describe the problem in the right terms, I was not able to get an answer with google. In the following code, I would like to replace 'hardcoded' identifier COMMENT with the variable editedField. How to do that?
var editedField:String = event.dataField;
if (model.multipleProcessingData[i][editedInformationProductNO].COMMENT != null{
}
View 2 Replies