janumedia.blog();

Adobe Flash Platform Gaming Technology Center has announced

Posted by admin in January 4th, 2010 | no comment 
Published in Flash Platform, Games, Resources

Adobe Team has announced Adobe Flash Platform Game Technology Center December 2009. It’s very excited since for many years Flash is already used for developing games.  More…

Building streaming video players in Flash with the Adobe Open Source Media Framework

Posted by admin in January 2nd, 2010 | no comment 
Published in Flash Platform, Resources, Tutorial, Video

Follow these lessons to learn the concepts required to build a fully functioning streaming video player authored from scratch using the Open Source Media Framework (OSMF) and Flash.

Read complete article wrote by R Blank at Developer Connection Flash Developer Center

Best Flash sites of 2009

Posted by admin in January 2nd, 2010 | no comment 
Published in Misc

Happy New Year 2010!

Year 2009 already left behind us. Let’s take a look back to best Flash sites of 2009 as complete list at Favorite Website Awards (FWA).  Let’s take the spirit, ideas, inspirations & imaginations :)

Unit testing your Javascript Codes

Posted by admin in January 1st, 2010 | no comment 
Published in Misc

Great article by Tom using QUnit for unit testing your JavaScript Codes. It us covering Environment setup, add unit test, also for unit test Ajax calls. Also well documented

Adobe Is Everywhere

Posted by admin in December 29th, 2009 | no comment 
Published in Misc

 

Adobe Revolutions. This overview video showcases Adobe’s vision for enabling individuals and companies author, deliver and monetize content across screens and audiences

10 Leading CEOS Discuss Open Screen Project & Flash

Posted by admin in December 28th, 2009 | no comment 
Published in Flash Platform

CEOs from ARM, Broadcom, DoCoMo, Google, HTC, Motorola, NVIDIA, Palm, QUALCOMM, and RIM talk about how they’re bringing Flash Platform technologies to their devices and platforms as part of the Open Screen Project.

15 Tips for Breaking in as a Part-Time Freelancer

Posted by admin in September 30th, 2009 | 2 comments 
Published in Resources, Tutorial

I just found great articles about being a great part-time freelancer.
Here the short list:

  1. Keep Your Full-Time Job
  2. Set Up a Basic Portfolio Site
  3. Prioritize Experience Over Income
  4. Work Your Own Projects
  5. Establish a Basic Work Schedule
  6. Open a Separate Bank Account
  7. Re-Invest the Money that You Take
  8. Don’t Forget About Taxes
  9. Talk to People You Know
  10. Visit Design Job Boards
  11. Be Comfortable with Your Rates
  12. Don’t Take Too Much Client Work
  13. Network
  14. Develop Your Own Business Practices
  15. Plan for Differentiation

This article is intended primarily for those who have some experience with design but are looking to gain more experience and improve their skills before going into full-time freelancing.

Read for more detail here

ImageUploader Class an Adaptor to FileReference with Image Width and Height Detection

Posted by admin in September 23rd, 2009 | 3 comments 
Published in Action Script 3.0, Tutorial

In many case I want flash Images uploader form detect not just filesize or filename, but also can detect Image width and Height. So I can alert user to upload a correct Image size before start uploading. I know we can crop or resize Image with server script processing, but in some reason keep user to upload a correct Image size also a good choice. The idea of this class is to load the files locally as ByteArray, then after converted to BitmapData, we can get Image width and Height value.

package com.janumedia.util 
{
	import com.janumedia.event.CustomEventDispatcher;
	import flash.display.Bitmap;
	import flash.display.Loader;
	import flash.events.DataEvent;
	import flash.events.Event;
	import flash.events.IOErrorEvent;
	import flash.events.ProgressEvent;
	import flash.events.SecurityErrorEvent;
	import flash.net.FileReference;
	import flash.net.URLRequest;
	import flash.utils.ByteArray;
 
	/**
	 * ...
	 * @author I Nengah Januartha
	 * @http://www.janumedia.com
	 */
 
	public class ImageUploader extends CustomEventDispatcher
	{
		public static const ERROR_FILENAME_CONTAIN_SPACE:String = "ErrorFileNameContainSpace";
 
		public var name:String;
		public var data:ByteArray;
		public var size:Number;
		public var width:Number;
		public var height:Number;
 
		private var _fileRef:FileReference;
		private var _loader:Loader;
		private var _fileTypes:Array;
 
		public function ImageUploader () 
		{
			super ();
 
			_fileRef = new FileReference ();
			_fileRef.addEventListener (Event.SELECT, handle_file_select, false, 0, true);
			_fileRef.addEventListener (Event.COMPLETE, handle_file_load, false, 0, true);
			_fileRef.addEventListener (IOErrorEvent.IO_ERROR, handle_file_upload_io_error, false, 0, true);
			_fileRef.addEventListener (SecurityErrorEvent.SECURITY_ERROR, handle_file_upload_security_error, false, 0, true);
			_fileRef.addEventListener (ProgressEvent.PROGRESS, handle_file_upload_progress, false, 0, true);
			_fileRef.addEventListener (DataEvent.UPLOAD_COMPLETE_DATA, handle_file_upload_complete, false, 0, true);
 
			_loader = new Loader ();
			_loader.contentLoaderInfo.addEventListener (Event.COMPLETE, handle_file_load_locally, false, 0, true);
		}
 
		public function browse (typeFilter:Array) : void
		{
			_fileRef.browse (typeFilter);
		}
 
		public function upload (url:URLRequest) : void
		{
			_fileRef.upload (url);
		}
 
		private function handle_file_select (e:Event) : void
		{
			// verify filename, filename with contain space will NOT allowed
			var regExp:RegExp = new RegExp (" ", "g");
			if (regExp.exec (_fileRef.name))
			{
				dispatchEvent (new Event (ERROR_FILENAME_CONTAIN_SPACE));
 
				return;
			}
 
			name = _fileRef.name;
			size = _fileRef.size;
 
			// load locally and get file info
			_fileRef.load ();
		}
 
		private function handle_file_load (e:Event) : void
		{
			data = _fileRef.data;
 
			_loader.loadBytes (_fileRef.data);
		}
 
		private function handle_file_load_locally (e:Event) : void
		{
			width = Bitmap (e.target.content).bitmapData.width;
			height = Bitmap (e.target.content).bitmapData.height;
 
			dispatchEvent (new Event (Event.SELECT));
		}
 
		private function handle_file_upload_io_error (e:IOErrorEvent) : void
		{
			dispatchEvent (new IOErrorEvent (IOErrorEvent.IO_ERROR));
		}
 
		private function handle_file_upload_security_error (e:SecurityErrorEvent) : void
		{
			dispatchEvent (new SecurityErrorEvent (SecurityErrorEvent.SECURITY_ERROR));
		}
 
		private function handle_file_upload_progress (e:ProgressEvent) : void
		{
			if (data) dispatchEvent (new ProgressEvent (ProgressEvent.PROGRESS));
		}
 
		private function handle_file_upload_complete (e:DataEvent) : void
		{
			dispatchEvent (new DataEvent (DataEvent.UPLOAD_COMPLETE_DATA));
		}
 
	}
 
}

Flash Freelancer Tips : The Secret Life of a Flash Freelancer

Posted by admin in September 23rd, 2009 | no comment 
Published in Resources, Tutorial

A nice tips from Peter Elst, how to be a good Flash Freelancer. This slides was publish during in his session on Flash on the Beach 2009 

Advanced Desktop Development with Adobe AIR

Posted by admin in September 23rd, 2009 | no comment 
Published in AIR, Resources

This is presentation slide by Mike Chambers at Flash on the Beach 2009. Thanks to Yagiz Gurgul for uploading this slide on SlideShare.

« Previous PageNext Page »

Add to Technorati Favorites

What I am doing

UserOnline

 

May 2012
M T W T F S S
« Jan    
 123456
78910111213
14151617181920
21222324252627
28293031  

Archives

Tags

Meta

Co-worker

Community

Personal

Profesional

Resources

Wordpress