Tuesday, July 8, 2008

Awesome resource for css and javascript

Just another note to myself. Here is a great javascript and CSS resource:

Quirksmode.org

PHP email with attachments -- and how to do sendAndLoad in AS3

I took a bit of a break after the marathon 2 months to get this DVD ready and worked on a wordpress site -- and learned a lot about reconfiguring it to do what I really wanted. In any event, I'm back to working on the final steps of porting the Flash DVD to the Web. This has posed all sorts of Flash AS3 challenges as we are trying to make it usable for both high and low bandwidth users.

One new feature for the web version will be to allow users to email a copy of a selected photo to a friend. Of course, this meant learning how to use the AS3 version of sendAndLoad -- and also how to do file attachments in php email.

These links have come in handy for both of these:

How to do sendAndLoad in AS3 >

How to do file attachments in PHP email - option 1> | option 2 > | option 3 >

So far I've implemented the php code in option 1 and found it quite easy. I'll try the html version in option 2 if I get time. Option 3 is to PHPMailer. I'd like to try it someday but generally prefer to learn the code rather than implement a class built by someone else...