janumedia.blog();

Beginner’s Guide to FlashDevelop – Basix

Posted by admin in January 7th, 2011 | no comment 
Published in Tutorial

Even I’ve using FlashDevelop as my prior Flash developing tools beside Flex (now Flash Builder) for couple years, Beginner’s Guide to FlashDevelop – Basix, an article by Michael Williams still interesting to read. In case I missed some tips :P

If you’re a Windows user and work with Action Script and Flash, and looking for developing tool for free, this tool is recommended.

Flash Player 10.2 Beta just Out!

Posted by admin in December 1st, 2010 | no comment 
Published in flash player

Flash Player 10.2 Beta for Windows, Mac, and Linux is now available for download on Adobe Labs. Flash Player 10.2 beta introduces a number of enhancements we’re excited to share, including Stage Video, a new API that delivers best-in-class, high performance video playback across platforms. The new beta also includes Internet Explorer 9 hardware acceleration support previewed earlier (in Flash Player “Square”), enhanced text rendering, and two popular requests from the community: a native custom mouse cursors API and support for full screen playback with multiple monitors.

Key new capabilities in the Flash Player 10.2 beta include:

  • Stage Video hardware acceleration — A new method for video playback in Flash Player will allow developers to leverage complete hardware acceleration of the video rendering pipeline, enabling best-in-class playback performance. Stage Video can dramatically decrease processor usage and enables higher frame rates, reduced memory usage, and greater pixel fidelity and quality.
  • Internet Explorer 9 hardware accelerated rendering support — Flash Player takes advantage of hardware accelerated graphics in Internet Explorer 9, utilizing hardware rendering surfaces to improve graphics performance and enable seamless composition.
  • Native custom mouse cursors — Developers can define custom native mouse cursors, enabling user experience enhancements and improving performance.
  • Support for full screen mode with multiple monitors — Full screen content will remain in full-screen on secondary monitors, allowing users to watch full-screen content while working on another display.

Slides: Multiscreen Experiences with Flash Platform

Posted by admin in November 24th, 2010 | no comment 
Published in Misc

Great slides from Hemanth Sharma, Platform Evangelist at Adobe Systems about Multiscreen Experiences using Flash Platform. These slides has presented during Adobe Flash Platform Summit 2010

Best Practices in optimizing content for Flash Player 10.1

Posted by admin in October 7th, 2010 | no comment 
Published in Misc

Great video by Thimbaul Imbert about Optimizing content for Flash Player 10.1

Best Practices in optimizing content for Flash Player 10.1 from Thibault Imbert on Vimeo.

101 Looping in AS3.0

Posted by admin in September 23rd, 2010 | no comment 
Published in Action Script 3.0, Tutorial

Great article and easy to understanding looping in ActionScript 3.0. I will be usefull when working on animation, array modification, or some event handling. Check out this link for complete article : http://active.tutsplus.com/tutorials/actionscript/as3-101-loops/

iPhone-Like Password Masking Class in ActionScript 3.0

Posted by admin in July 28th, 2010 | 1 comment 
Published in Action Script, Action Script 3.0, Flex, Tutorial

About a week ago I got request to make password field not appearing asterisks (*) but a dot (•).  After trying to goggling to find something similar, then I got a good example by Carlos Yanez at ActiveTuts.  But still some bugs with his class, where problem on fast typing, using home, left, right arrow, delete only deleting 1 char event we did select some chars.

Someone in comment section also try to fixed with better class, but still the same problem with home, or deleting chars on selection.

With started from that article, I try to fixed and add some update and work for me.
Here the class:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
package com.janumedia.util
{
	import flash.events.Event;
	import flash.events.KeyboardEvent;
	import flash.events.TextEvent;
	import flash.events.TimerEvent;
	import flash.text.TextField;
	import flash.text.TextFormat;
	import flash.ui.Keyboard;
	import flash.utils.Timer;
 
	public class PasswordMaker
	{
		private var _target:TextField;
		private var _regExp:RegExp = /./g;
		private var _timer:Timer
		private var _oriPass:String = "";
 
		public function PasswordMaker()
		{
		}
 
		public function setPassword (t:TextField, delay:Number=500) : void
		{
			_timer = new Timer(delay);
			_target = t;
			_oriPass = _target.text;
 
			_timer.addEventListener (TimerEvent.TIMER, replaceOnTime, false, 0, true);
			_target.addEventListener (TextEvent.TEXT_INPUT, startTimer, false, 0, true);
			_target.addEventListener (KeyboardEvent.KEY_DOWN, keyboardEvent, false, 0, true);
 
			// dispatchEvent in case already has text initializing
			_target.dispatchEvent( new TextEvent (TextEvent.TEXT_INPUT) );
		}
 
		public function getPassword () : String
		{
			return _oriPass;
		}
 
		private function replaceOnTime (e:TimerEvent) : void
		{
			var fm:TextFormat = _target.getTextFormat();
			fm.letterSpacing = 3;
 
			_target.text = _oriPass.replace (_regExp, "•");
			_target.setTextFormat(fm);
 
			_timer.stop();
		}
 
		private function keyboardEvent (e:KeyboardEvent) : void
		{
			// single char deletion
			if (_target.selectionBeginIndex == _target.selectionEndIndex)
			{
				if (e.keyCode == Keyboard.BACKSPACE)
				{
					_oriPass = _oriPass.substr(0, _target.caretIndex-1) + _oriPass.substr(_target.caretIndex)
 
				} else if (e.keyCode == Keyboard.DELETE)
				{
					_oriPass = _oriPass.substr(0, _target.caretIndex) + _oriPass.substr(_target.caretIndex+1)
				}
 
			// multiple chars deletion
			} else 
			{
				if (e.keyCode == Keyboard.BACKSPACE || e.keyCode == Keyboard.DELETE)
				{
					_oriPass = _oriPass.substr(0, _target.selectionBeginIndex) + _oriPass.substr(_target.selectionEndIndex)
				}
			}
		}
 
		private function startTimer (e:TextEvent) : void
		{
			if (_target.selectedText.length > 0)
			{
				_oriPass = _oriPass.substring(0,_target.selectionBeginIndex) + e.text + _oriPass.substring(_target.selectionEndIndex)
 
			} else 
			{
				_oriPass = _oriPass.substring(0,_target.caretIndex) + e.text + _oriPass.substring(_target.caretIndex)
			}
 
			if (_timer.running) _timer.reset();
 
			_timer.start();
		}
 
		public function reset () : void
		{
			_oriPass = "";
		}
 
	}
}

Coding for Flex API with Payment Gateways (Paypal, etc)

Posted by admin in January 7th, 2010 | no comment 
Published in Misc

Flash Platform Evangelist Enrique Duvos examines the benefit of integrating Flex-based RIAs with online transaction payments, and then walks you through the code.

Future Multitouch Meeting Room

Posted by admin in January 6th, 2010 | no comment 
Published in Misc, Movie, Technology, Video

Future Multitouch Meeting Room from Oli Mival on Vimeo.

This is PyMT (Python Multitouch project) which can be found over at the Natural User Interface group site.

Architecting ActionScript 3 applications using PureMVC

Posted by admin in January 4th, 2010 | no comment 
Published in Action Script, Action Script 3.0, Flash Platform, Resources, Tutorial
PureMVC is the one of great Framework that we can use to build our applications. Not just for ActionScript, but also can work for java, etc. Here a slide share by Marco Casario about using PureMVC to build ActionScript 3 applications architecture. Enjoy!

Adobe Flash and search engine optimization (SEO): Techniques, issues, and strategies

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

Join Jay Middleton, Senior Manager of Worldwide Search Marketing at Adobe, and Damien Bianchi, Regional Director of Client Strategy at Global Strategies International, as they provide you with practical steps and best practices you can follow to optimize your SWF-based content for search engines. Topics include SWF content crawl ability and keyword and website strategies for search engines. More…

Next Page »

Add to Technorati Favorites

What I am doing

UserOnline

 

August 2014
M T W T F S S
« Jan    
 123
45678910
11121314151617
18192021222324
25262728293031

Archives

Tags

Meta

Co-worker

Community

Personal

Profesional

Resources

Wordpress