Showing posts with label flash. Show all posts
Showing posts with label flash. Show all posts

Monday, August 11, 2008

Flash Web Site About to Become Google / Yahoo Searchable!

I just found this article by SchoolOfFlash.com and they said the following. How exciting!!

-------

For years, the advice has always been that if you want good search engine results, then you don’t want to create your website entirely with Flash, because search engines have no way of effectively indexing swf files. Well, all of that is about to change.

Adobe, Google, and YahooAdobe just announced that they are teaming up with Google and Yahoo in order to address this issue. Adobe has supplied these search industry leaders with technology that will allow them to index swf files in a way that has never been possible before. In fact, Google has already started implementing this technology, and as I understand it, Yahoo won’t be too far behind.

“But wait,” you say. “I thought search engines already had a way to index swf files.”

Well, you’re right, but up until now, they could only index the static information and static links within your swf file. With this new technology, even the dynamic content of your Flash files will be open to search engine indexing, making it infinitely more possible for your all-Flash website to achieve top rankings in search engine results.

Tuesday, May 20, 2008

A GREAT RESOURCE FOR ANYTHING WEB DESIGN

You can find SO many web sites here!! This is incredible!! Check out the free CMS at the bottom...

Click HERE

Flash PHP Email / Contact Form

To get the flash conatct form, please click here to download. After unraring the file, please follow the below instructions.
Installing the contact form

The contact form will help you recieving messages directly from your site. The message is sent by a PHP script so you will need PHP support on your hosting server.

1. Unzip / Unrar the contact form archive. You will find 3 files :

  • contact_form.fla - the contact form source file

  • email.php - the PHP file which will send the message

  • contact_form.swf - the standard contact form

The standard contact form has 3 fields : Name, E-mail, Comments and the send button:

2. Copy those 3 files into your site folder.

3. Edit your site in Macromedia Flash MX or Macromedia Flash MX 2004.

4. Go in the timeline on the contact keyframe.

5. Insert a new empty movie clip : Insert -> New Symbol -> Movie clip. You can name it "contact form".

6. Open the Flash Library ( CTRL+L or Window -> Library ) and drag the "contact form" movie clip symbol into the timeline contact keyframe.

7. Name the "contact form" movie clip symbol : "contact_form"

8. On the timeline click the contact keyframe, open the actions tab ( F9 ) and place the following actions:

_root.contact_form.loadMovie("contact_form.swf");

Now when you will export your movie the contact form will load into the contact keyframe.

9. Now you will have to insert the email address where the messages will arrive. For this you will have to edit the second line : << $destination="email@domain_name.com"; >>. You have to change "email@domain_name.com" with your email.

Now the contact form will work and the messages will arrive on your email address.

Contact Form Customization

The standard contact form has only 3 input text fields, but you can add more fields.

Adding a new text field :

1. Open in Macromedia Flash contact_form.fla

2. Open the Flash Library ( CTRL+L or Window -> Library ) and edit the "form" movie clip symbol.

3. Select the Text Tool (T), from the Properties panel select Input text and draw your new text field..

4. Also in the Properties panel there is the "Var" property where you must enter the name for your new text. Let's name it "new_text_field".

5. Edit the "email.php" file. Right click the file and select : Open With -> Notepad . For the new texfield you must add new lines in the PHP script: and the standard script will be now like this:

$destination="email@domain.com";

$new_text=$_POST['new_text_field'];

$name=$_POST['name'];
$email=$_POST['email'];
$mes=$_POST['comments'];
$subject="Message from $name" ;
$mes="Name : $name\n
Email: $email\n
Comments: $mes\n

New text field : $new_text";

mail($destination,$subject,$mes);

?>

Now the new text field will work.

GOOD LUCK!

Thanks to those that contributed to this tutorial :)