I Nengah Januartha
an Indonesian Flash / Flex Developer since 2000. Loving to take some photograph with his Canon 450D, EF-50mm F1.8, EFS 55-250mm, Tamron 17-50mm F2.8 and GND8 Tianya Filter in spare time for pleasure
Posts
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
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 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.
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
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.
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/
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 = ""; } } } |
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 from Oli Mival on Vimeo.
This is PyMT (Python Multitouch project) which can be found over at the Natural User Interface group site.
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…
Updates
-
Flipboard finally arrived for Android, currently exclusive for Samsung Galaxy S III http://t.co/W410isWM #flipboard
-
LinkedIn for iPad, finally http://t.co/sZmPo8tj
-
Say hello to the new Flickr Uploadr, increased the file size limits up to 50MB http://t.co/fTx5PaXX
-
Selamat Hari Kartini, smoga tidak sekadar menjadi hari kebaya nasional
-
RIP Hillman Curtis - Flash Pioneer http://t.co/LNYSc4aY
-
Iwak http://t.co/Y9jPsrc2
-
Angel @ Pura Puseh Kota Tabanan http://t.co/Q7ExUUgz
-
Chicken @ Tabanan http://t.co/Msfn545g
-
Garuda @ PURA PUSEH DESA ADAT KOTA TABANAN http://t.co/37SFAt2B
-
Sarad @ PURA PUSEH DESA ADAT KOTA TABANAN http://t.co/7oQlH6FD
-
Beginning HTML5 Game Programming - Binding Input http://t.co/t588moyd #hmtl5
-
ada apa dengan MPEG-2 codec for Lion?
Photos
Posts
One of the best gifts you can give children is to teach them the beauty of giving
dan.. jika itu hanya terbatas pada kata-kata manis tanpa realita, maka aku memilih untuk diam
Better than a thousand hollow words, is one word that brings peace.
Jika kamu mendengar dari radio hanya tiga menit. Biasanya, lagu terbaik ada di dalam album
…daun-daun kayu yang coklat dan kering harus jatuh dan memberikan tempatnya kepada pucuk yang hijau dan baru…
In prayer, it is better to have a heart without words than words without a heart
Ilmu pengetahuan tanpa hati nurani hanya akan membawa pada penderitaan tak berujung
Audio
Profile
Summary
Now days in mobile tech era, he has upgrade his skills and provide service from web & desktop app development to web, desktop and mobile app development service.
Experience
- May 2007 - PresentFlash & Flex Developer / Bay Interactive.IncBayinteractive is a San Francisco Interactive Agency Web 2.0 Developer
- 2003 - PresentOwner / Janumedia Flash StudioJanumedia started as a personal home based workshop for Flash platform projects. After many years we has integrated and work with couples talented profesional such are Orangedan.net, FlashIdInteractive, Evelynpritt, EnzymeIT, and more. The workshop has finished many projects from local and overseas companies. Now days in mobile tech era, the company has upgrade the skills and provide service from web & desktop app development to web, desktop and mobile app development service
- 2001 - PresentMultimedia Designer, Flash & Flash Media Server Developer / ProbyproI grow up with this company, create flash application for company portfolio. Created some flash games, flash sites, interactive multimedia presentations, interactive audio / video conference, shared whiteboard and presentations with Flash Media Server
- 2000 - PresentGraphic Designer / Glory AdverstisingCreate Layout Design for Print