Contact Sheet Actionscript???

I downloaded a contact form for my site, with the action script, but i do not know where to enter my email address, so all messages are forward to me.
Here is the script, can anyone help? Thanks.
contact_name.text = contact_email.text = contact_subject.text =
contact_message.text = message_status.text = "";
send_button.addEventListener(MouseEven... submit);
reset_button.addEventListener(MouseEve... reset);
var timer:Timer;
var var_load:URLLoader = new URLLoader;
var URL_request:URLRequest = new URLRequest( "send_email.php" );
URL_request.method = URLRequestMethod.POST;
function submit(e:MouseEvent):void
if( contact_name.text == "" || contact_email.text == "" ||
contact_subject.text == "" || contact_message.text == "" )
message_status.text = "Please fill up all text fields.";
else if( !validate_email(contact_email.text) )
message_status.text = "Please enter the valid email address.";
else
message_status.text = "sending...";
var email_data:String = "name=" + contact_name.text
+ "&email=" + contact_email.text
+ "&subject=" + contact_subject.text
+ "&message=" + contact_message.text;
var URL_vars:URLVariables = new URLVariables(email_data);
URL_vars.dataFormat = URLLoaderDataFormat.TEXT;
URL_request.data = URL_vars;
var_load.load( URL_request );
var_load.addEventListener(Event.COMP... receive_response );
function reset(e:MouseEvent):void
contact_name.text = contact_email.text = contact_subject.text =
contact_message.text = message_status.text = "";
function validate_email(s:String):Boolean
var p:RegExp = /(\w|[_.\-])+@((\w|-)+\.)+\w{2,4}+/;
var r:Object = p.exec(s);
if( r == null )
return false;
return true;
function receive_response(e:Event):void
var loader:URLLoader = URLLoader(e.target);
var email_status = new URLVariables(loader.data).success;
if( email_status == "yes" )
message_status.text = "Success! Your message was sent.";
timer = new Timer(500);
timer.addEventListener(TimerEvent.TI... on_timer);
timer.start();
else
message_status.text = "Failed! Your message cannot sent.";
function on_timer(te:TimerEvent):void
if( timer.currentCount >= 10 )
contact_name.text = contact_email.text = contact_subject.text =
contact_message.text = message_status.text = "";
timer.removeEventListener(TimerEvent... on_timer);

Chances are the send_email.php file that processes the form data is where you will enter your email address.

Similar Messages

  • AS3 Contact Sheet Help!!

    Hi, I have been making a website entirely in flash CS4 AS3 and I decided to buy a contact sheet to add into it, when I added it in though it didn't work. I would click the button of the contact sheet and it didn't work. I contacted the creator if the contact sheet and this is what he told me:
    Actionscript 3.0 hates timelines
    They way you have it set up it wont work
    First get the emailer working in its own flv, swf.
    Then when you have it working loaded it as an external swf.
    You tie line coding was normal in 1.0 acceptable in 2.0 but wont cut it in 3.0
    All Actionscript needs to be in one key frame. all pages need to be externally loaded swf,s not just a new location on a timeline.
    So if someone could tell me how to create a contain file and external .swf for my contact sheet and also how to call up the external .swf it would be great help.
    I attached my Flash file as a zip file so you can look at it and give me the best help possible. Thorough instructions would be much appreciated.
    What I've done is i simply took that contact sheet and put it into the time line where the correct frame label is. I am using frame labels to call up the different pages on the site when i click on the buttons. So like I said i put it at the frame label "contact" and so when i click on the Contact Me button it goes to the contact sheet. That part works but as far as the contact sheet responding and sending the email nothing is happening. I have the PHP file and everything set up.
    Here's the website it's on it it helps to look at it online so that you can experience the problem yourself.
    http://citiesrebuildingcities.com/AnthonyFlashSite/index.html

    Hmm well do you think you can take a look at it? Because it works but when you click the send button it doesnt respond or even go to the next frame or anything. As long as the form is filled out correctly it just sits there. Ive been trying to fix this for a long time and would like to get it working.

  • Contact Sheet in AS3

    Hi, I have been making a website entirely in flash CS4 AS3 and I decided to buy a contact sheet to add into it, when I added it in though it didn't work. I would click the button of the contact sheet and it didn't work. I contacted the creator if the contact sheet and this is what he told me:
    Actionscript 3.0 hates timelines
    They way you have it set up it wont work
    First get the emailer working in its own flv, swf.
    Then when you have it working loaded it as an external swf.
    You tie line coding was normal in 1.0 acceptable in 2.0 but wont cut it in 3.0
    All Actionscript needs to be in one key frame. all pages need to be externally loaded swf,s not just a new location on a timeline.
    So if someone could tell me how to create a contain file and external .swf for my contact sheet and also how to call up the external .swf it would be great help.
    I attached my flash file so you can look at it and give me the best help possible. Thorough instructions would be much appreciated.

    The person you got that information from doesn't understand AS3 or CS4 very well.  Pretty much anything that was said is wrong.  AS3 code loves the timeline, in fact, when it is in an fla file it is required to be in the timeline, unlike AS1/2 which allowed code to be attached to objects.  And you are not limited to having code in the first frame.
    Pages can be timeline based entities--movieclips in different frames or with their visibility controlled, or entire sections of timelines, or external swf files that are loaded on demand.  The latter is what this person claims is all that is possible. If that is all the support the person who sold you this has to offer, you aren't likely to get a solution thru that person.
    If you can provide the details of this contact sheet that you want to incorporate, and indicate what you have tried that is not working, someone may be able to help you thru this here.

  • More Contact Sheet Help needed!

    Hi, I have been making a website entirely in flash CS4 AS3 and I decided to buy a contact sheet to add into it, when I added it in though it didn't work. I would click the button of the contact sheet and it didn't work. I contacted the creator if the contact sheet and this is what he told me:
    Actionscript 3.0 hates timelines
    They way you have it set up it wont work
    First get the emailer working in its own flv, swf.
    Then when you have it working loaded it as an external swf.
    You tie line coding was normal in 1.0 acceptable in 2.0 but wont cut it in 3.0
    All Actionscript needs to be in one key frame. all pages need to be externally loaded swf,s not just a new location on a timeline.
    So if someone could tell me how to create a contain file and external .swf for my contact sheet and also how to call up the external .swf it would be great help.
    I attached my Flash file as a zip file so you can look at it and give me the best help possible. Thorough instructions would be much appreciated.
    What I've done is i simply took that contact sheet and put it into the time line where the correct frame label is. I am using frame labels to call up the different pages on the site when i click on the buttons. So like I said i put it at the frame label "contact" and so when i click on the Contact Me button it goes to the contact sheet. That part works but as far as the contact sheet responding and sending the email nothing is happening. I have the PHP file and everything set up.
    Here's the website it's on it it helps to look at it online so that you can experience the problem yourself.
    http://citiesrebuildingcities.com/AnthonyFlashSite/index.html

    1. Publish the ContactForm.fla as a separate .swf, say contactForm.swf.
    2. On the timeline of your main file (index.fla), add code at the frame labelled "contact", to load in the "external" contact form swf, contactForm.swf. Look up the Loader Class in the ActionScript 3.0 reference to see how to do this.
    http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/display/Loader.html
    I haven't looked at the code in ContactForm.fla but hopefully there are no scope issues and the loaded swf works independently of your main file. Just make sure that sendEmail.php is in the same directory as your index.swf.

  • Program error when Making Contact Sheet from Bridge

    I had been making contact sheet from the bridge using CS3 with no problem till a week ago when after completing the contact sheet, I get an error message saying that there was a program error, and photoshop locks up. I have to force quit. I am using a G5 dual 2.5 and 2 Gigs of RAM. I tried reinstalling without any luck.
    Any ideas?

    Does it work in a new User Account?
    Have you tried cleaning-out your Caches (use Cocktail); or trashing Prefs.?

  • Adobe Bridge CS5, error when creating contact sheet "There is insufficient disk space..."

    I am running Bridge CS5 for the first time and I receive this error when attempting to create a contact sheet. "There is insufficient disk space to complete this operation." The image files I am using are web optimized and very small. The error even occurs when attempting one small image. I have gone back to using Bridge CS4 and it works just fine. Any help?
    Thanks!

    I think I narrowed this down to having a network volume mounted with a share name of "Users".  The strange thing is even you if unmount the volume you will still have problems.  However, if you avoid mounting the volume entirely (from boot) it will be OK.
    The solution, it appears, is to rename the sharepoint to something other than "Users".  This worked for us.  I'm not sure if it matters whether the server is Windows or Mac OS.  In our case the sharepoint was an AFP volume on Mac OS.
    We had other errors related to Bridge such as "unable to create folder" and the path in the message appeared to be /Users/currentUser/.....  which made no sense at all.  However, if Bridge was internally trying to use /Volumes/Users (the mounted sharepoint), it would not only not find "currentUser", but it would not have permissions to create that folder either.
    So, another possible solution could be to grant file creation rights on the network volume "Users".  Another not-so-great idea.
    Hope that helps someone else!

  • Trying to create a contact sheet for passport photos....HELP!

    Aperture 3 and iMac are both new to me and after a lot of research, I finally figured out how to make a contact sheet for my passport photo so that I don't have to pay 10.00 for a measly 2x2 photo at Walgreen's. I went to file>print>selected the 8x10 borderless size and adjusted the picture so that I would be able to print 20 2x2 photos on one sheet. PERFECT....but....I don't really want to print it myself ( I don't have any photo paper right now )...I want to SAVE the image I created and upload it to Walgreen's so that they can print it. Then, I will cut out the 2x2 photo that I need. The only problem right now is that I cannot figure out how to SAVE the image to my computer, either in iPhoto or Aperture 3. If anyone knows, can you please help me out with this. OR if there is another way to create the image in another area of Aperture 3 I would like to know how! 
    Thanks for any help you can provide

    Once in print after you have the layout you want select the Print button. This will bring up the  system print window (not actually print the image yet).
    At the bottom of the new window is a button PDF select that. From that pulldown you can elect to save the print image as a pdf or better yet for your need you can save  as a JPG (or TIFF)
    Once you have it saved as a JPG you can upload to Walgreen;s

  • Minor bug in Print module (numbering of Contact Sheet pages)

    I have selected one image from the Library or the film strip, went to the Print module and selected "5x8 Contact Sheet" from the Template Browser. On the top/left corner, it states "Page 1 of 2", while obviously there is one page only. Adding more pictures to fill in multiple pages, and moving from one page to another, the indication on top/left is recurrently wrong, e.g. indicating Page 2 of 2 when I am on 1 of 2. Numbering in the lower right rectangle is correct, instead.

    Lightroom automatically wraps text under the thumbnail in contact sheets. The Text Template Editor does not allow you to enter line breaks. So, if your Filename is long enough to fill the first line, the caption will start with the second. If not, you can tweak the template somehow so that it looks the way you want.

  • NDesign Contact Sheet not working in CS 2

    Im sorry for double posting (I have already posted this before at http://www.adobeforums.com/webx/.3c061ba7/1 but nobody has replied... this area may me mor appropriate anyway.
    I a computer at work with CS 2 and Vista on it. Everything is fully up to date. When I try to run the contact sheet script from the tools menu it brings up a dialog box saying "Starting..." (if InDesign isn't open it will open it) and then it just sits there for about 2 mins and then it stops. InDesign doesn't even start a new document.
    Anybody have any ideas as to what is going on and how I might be able to fix it? (and yes I am using it correctly... have been using CS 2 for years and have used this feature many other times in past jobs)
    Thanks

    We have had this problem at work for a couple of years, with no resolution from Adobe. On our Macs it comes and goes - sometimes they can do the contact sheets and sometimes they can't. On the PCs it either works or it doesn't. In our unfortunate experience, uninstalling CS2 and then re-installing doesn't help. However, it's working like a dream since we upgraded to CS3 (except for the little fact that it is creating frames around every image - trying to find a resolution for that, hence trawling the forums for info)!

  • InDesign Contact Sheet not working in CS 2

    I a computer at work with CS 2 and Vista on it. Everything is fully up to date. When I try to run the contact sheet script from the tools menu it brings up a dialog box saying "Starting..." (if InDesign isn't open it will open it) and then it just sits there for about 2 mins and then it stops. InDesign doesn't even start a new document.
    Anybody have any ideas as to what is going on and how I might be able to fix it? (and yes I am using it correctly... have been using CS 2 for years and have used this feature many other times in past jobs)
    Thanks

    I have moved the post to http://www.adobeforums.com/webx/.3bbaa316.3c062841 to see if I get a better response.

  • How do I select more than one photo for a contact sheet

    I am trying to print more than one photo per contact sheet (to save photo paper!) Iphoto help says to select the photos you want on the contact sheet and also to select how many photos you want on the "options" button on the contact sheet style selection. I cannot find either option in Iphoto.
    Thanks in advance,

    Before you select "Print," hold down the shift key and click on each photo that you want on the contact sheet.
    Then select "Print" with Style "Contact Sheet." The resulting window allows you to select the quantity of contact sheets that you want to print.

  • How can I create a PDF contact sheet of photos in finder

    I'm trying to create an automator workflow/action (or service) that will allow me to select a set of photos in the finder and then create a PDF contact sheet that will include the Photo filename. I know that I can select photos and open in preview, but these do not include the filename with the photo in the saved PDF.
    I'm a newbie with Automator, but i gave it a try myself.
    In the Automator PDF Library, there is an action called "New PDF contact sheet", however I can't seem to be able to get it to work. I dragged that action to the workflow and then added "Get Selected Finder Items" before that.
    It appears to run it--an "application"/window appears titled "MakePDF" and it appears to run through the selected photos. However, at the end (after it asks for the file name to save it with), it says that "The action “New PDF Contact Sheet” encountered an error--check the actions properties and try running the workflow again".
    What am I leaving out of the workflow?

    There is a bug in the *New PDF Contact Sheet* action in that it is looking for the Leopard version of a file that moved and changed in Snow Leopard.
    Snow Leopard has a newer version of a support application MakePDF.app in the */System/Library/Image Capture/Automatic Tasks* folder, but as mentioned the *New PDF Contact Sheet* action seems to still require the older version of the application, which in Leopard is located in the */System/Library/Image Capture/Tools* folder. If you have access to a Leopard installation, you can copy the MakePDF.app from Leopard and place it into the same location in Snow Leopard (/System/Library/Image Capture/Tools) - this will get the action working again.

  • Is there a way to export your photo links from Illustrator (CS6) to a contact sheet?

    So I've got this project where I'm making a set of images and placing about 300 photos with each set.  In order to avoid duplication and to track which photos were used where, I'm having to take screen shots of the links panel (scrolling down and taking another for each batch of images on each file).  This is a really clunky way to track these files and a contact sheet would be a lot easier to work with.  Is there a way to export the links to a contact sheet in Illustrator?

    - select your images
    - open the Document Info Panel, check "Selection Only", "Linked Images" and click on "Save..."

  • HELP! Different colors in Single print vs Contact Sheet print

    Aperture 1.5.1, G5, 10.4.8, Apple 30" display, Kodak 1400 Dye Sub printer, Canon 350D, shooting RAW.
    I have a few pictures and I want to print them. They are baby pictures so picture a little baby in standard issue baby yellow tee shirt and wrapped in baby yellow blanket.
    I select four pix and go to print images. In Single Images I set it up as Kodak 1400, Color sync profile Kodak 1400 Glossy, no color correction and changes in printer settings. I then do a preview and the images are prepared and displayed in Preview and they look fine.
    With the same four images, in Contact Sheet I set it up as Kodak 1400, Color sync profile Kodak 1400 Glossy, no color correction and changes in printer settings. I then do a preview and the images are prepared and displayed in Preview and they look like ****. Baby's yellow cloths are blown out to almost white. The off white wall behind mother and baby is blue.
    I've tried several setups and tweaks and I always get the same result. One print on a page looks great, contact sheets look like ****. It's like the contact sheet setup is using completely different color settings than the single sheet setup.
    Unfortunately you can't morph a working single sheet into a contact sheet. They have to start from different places (create new single vs create new contact)
    HAs this already been discussed and fixed? hopefully?

    HAs this already been discussed and fixed? hopefully?
    It appears to be a bug.
    http://discussions.apple.com/message.jspa?messageID=3553568&tstart=0

  • How can I change the background color of a contact sheet?

    I'm making my contact sheet just fine but it's on a white background, and I'd like to change it to a darker gray. This functionality existed in an earlier version of Bridge but I'm not seeing it now that contact sheet is now in Photoshop. Any ideas? Thanks!

    This functionality existed in an earlier version of Bridge but I'm not seeing it now that contact sheet is now in Photoshop.
    Say what?
    Anyway in Photoshop’s Contact Sheet II just don’t check "Flatten All Layers" and you can then add the intended background to the resulting files.

Maybe you are looking for

  • Help Required: Moving a Non Global Zone . . .

    I am trying to move a non global zone using Solaris 10 6/06 . . . # zoneadm -z testzone move /zones/newpath/testzone/ this happens . . . usage: zoneadm help zoneadm [-z <zone>] list zoneadm -z <zone> <subcommand> Subcommands: help boot [-s] halt read

  • Adobe PDF Document in Safari not working

    Hello, Recently put Abobe Creative Suite on my MacBook Pro - which is working fine. But when I go to view a PDF online with Safari it brings up this message: Tried reinstalling Adobe Reader and Adobe Acrobat works fine generally opening PDFs so not s

  • ME5A Criterias to run

    Hi, I ran the ME5A report for all PRs. I checked all the options i.e Assigned Purchase Requisitions Closed Requiaitions Partly Orders Requisitions Released Requisitions only Requisitions for Overall Release Requisition for Item-Wise Release The resul

  • Where have my printers gone??

    After installing leopard my printer drivers have been deleted?? I lost my home printer, work printer and my pdf printer drivers

  • Reload Classes in JVM

    Folks, One of my java application is deployed on the server which I invoke through the batch file (Batch file not only execute my main file also set all class path etc). It was working very much fine for last 2 to 3 months but what happened in this m