I wasn't sure if I should post this in here or the .php forum, but I have a flash form with a send button. The content needs to be sent to an email address upon click. I am under the impression that I need a server side script to make this work.
I wasn't sure if I should post this in here or the .php forum, but I have a flash form with a send button. The content needs to be sent to an email address upon click. I am under the impression that I need a server side script to make this work.
btelecky (10-29-2008)
Thanks! That tutorial was great! Now the only issue that I have is integrating it with the flash file that I am working with.
It is kind of confusing, but in the project I am working on, the button to send the data is inside of a movie clip. In the video it goes over giving the "send" button an onRelease function. But since my button is inside of a movie clip, would I put:
movieclip.button.onRelease = function()
I am getting a syntax error when I do this. But as far as I can see, everything is spelled right.
I just tested the results, and it doesn't work.
You always reference it from where you are on the timeline. It sounds like you only need:
Code:movieclip.onRelease = function() { //Actions }
ok, when I test this flash site, live but in a test folder on the server, it doesn't work! I don't understand what the problem is?!?! One difference from the tutorial to what the flash file that I am working with, is that in the tutorial the guy uses components, and in my flash file, there are input text boxes and movie clips as buttons.
View it online:
http://www.c-westphotography.com/test/index.html
The forms are on the "services" and "contact" pages.
Have you checked to make sure that the PHP script works? Point to it in your browser and see whats happening.
If that's fine, make sure the path to the PHP file is correct.
I am not sure what the hell is going on, now the contact part doesn't stop on the first frame of it's movie clip and it plays through to where it says that the message has been sent and not been sent, then back to the fields of the form.
I'm starting to get frustrated. It doesn't help, that I can't look at the server through a ftp program, I have to go through the 'godaddy.com' ftp client. the only thing that I can think to do is to post screen shots of my flash file...
I'm sure I went wrong somewhere.
Screenshots won't help in figuring out what's going on.
If you want to zip up your files and post them, I'd be happy to look. There are just so many things that could be going on, it's pointless for me to speculate.
That sounds like a plan. I first want to replace the input text boxes that my form was using, and try to replace them with components like shown in that tutorial. If that doesn't work I will try to post the .zip file.
Many thanks,
>b
Ok, I tried to add components to the flash file, and when I tested the flash movie, they were non existent. So for the time being I am taking this part off of the website.
Here is the .zip folder of what I have:
http://www.briantelecky.com/websites...h/cwp_site.zip
The two parts where the forms are in the flash file are as follows:
In the Library folder find the 'Background' folder, in there the main files to look for are the 'page4' and 'page5' graphic symbols.
If you have questions you can contact me directly at btelecky@gmail.com
thanks,
>b
Bookmarks