Things wot I sent myself

Author: Shaunk...

Now it the time for sorting through my mess of paperwork and all the random bits to do with the last brief. So I can show I have done what I have done n all...

Email first:

This was an online tutorial done on explosion effects.
http://www.digitalartsonline.co.uk/tutorials/index.cfm?featureID=1769

Online viral communication research
http://www.10yetis.co.uk/newsletters/viral-word-of-mouth-campaigns.html

Viral Marketing - getting your audience to do your marketing for you

viral marketing UK internet users can no longer live without their email and Word Of Mouthen are more reliant than men

word of mouth The most email reliant group is 25-34 yr olds

Word of Mouth - Viral Marketing Over 1/3rd of all UK mobile phone users could not live without text messaging

word of mouth marketing Of UK internet users, 90% have opened an attachment to their email and less than 3% do not receive attachments

viral marketing specialists The majority of UK internet users have visited a website by clicking on a link within an email sent to them by a friend or work colleague.

Viral advertising By far and away the biggest reason for people passing on a message to a friend or colleague is to make them laugh.

I consider the next stat to be vital for helping to decide what goes into your campaign...

Viral marketing campaigns The top three reasons why someone would view an attachment or click on a link in an email they've received is because it's (1) a product recommendation, (2) a chance to win a competition or (3) something funny. Plus, superstitious chain mails interest hardly anyone.

Sending additional data with fileReference
when u use this code, you can send any kind of data with in the POST

private var fileUpLoader:FileReference;
private var myUrlRequest:URLRequest;

private function startUpload():void {
var uploadToUrl:String = "http://yourdomain.com/upload/upload_handler.php";

myUrlRequest = new URLRequest();
myUrlRequest.url = uploadToUrl;
myUrlRequest.data = new URLVariables();
myUrlRequest.data.user_id = 1;

fileUpLoader = new FileReference();
fileUpLoader.addEventListener(Event.SELECT, selectHandler);
fileUpLoader.browse();
}

private function selectHandler (evt:Event):void {
fileUpLoader.upload(myUrlRequest);
}

// PHP File

$fileData = $_FILES["Filedata"];
$fileName = $fileData["name"];
$tmp_name = $fileData["tmp_name"];

file_put_contents('debug1.txt, move_uploaded_file($tmp_name, $fileName));
file_put_contents('debug2.txt', $_POST['user_id']);

// now you have 3 new files
1. the file you uploaded
2. debug1.txt containing true (if all went well);
2. debut2.txt containing 1, the user_id you specified in the AS


Resizing an image with PHP

When you publish swf in there is a size of swf like below

WIDTH=250 HEIGHT=250

you can use the size field dynamicly, if you are using the php like below

WIDTH= HEIGHT=

 

0 Response to “Things wot I sent myself”

Leave a Reply