This is blog page of I Nengah Januartha. An Indonesian Interactive Multimedia Developer [based on Flash]
Wednesday, August 31, 2005
[OTT] Opera Gratis
Bagi penggemar browser Opera tentu ini merupakan kabar bagus. Menyambut ultah yang ke-10 tahun Opera memberikan kode registrasi secara gratis.
Jadi tunggu apa lagi mumpung gratiss...
http://my.opera.com/community/party/reg.dml
All things about Flash Player 8 by Tinic Uro
[ via Tinic Uro ]
We all know that Tinic Uro was the man behind Flash Player. He is a Principal Engineer on the Macromedia Flash Player. Glad that he wrote a ton of articles relevan to Flash Player 8 so why not go to his blog.
[FlashComm] Audio Component with Mic Permission
This post based on thread at flashcomguru.com forum.
The idea is how to set audio component to make mic disable while the other side still talk (mic in used).
I remark the audio component from communication component to make a simple sample. Also for simple room sample I'm using from simple application that include on FlashComm Package. Anyway about the component I recomended you to build your own component to make it better. The code you can read on my post on flashcomguru.com forum.
Here the zip file.
You can modified the code and make your own code. For example if you want there is an admin will control who's mic will available.
Google Talk an Identity Strategy, XMPP, CFMX and MXNA
1rst I wanna say thanks for the ISP thant make me available online again even still extremely slow. 2nd thanks for Herdiansah about his information about Google Talk (GTalk) in his blog page.
GTalk is Google.com startegy to step forward by playing identity strategy like Phill Windley said on his blog.
It similiar like Jabber, GTalk system is based on XMPP, the XML-based protocol gateway. So if you an IM client developer, you can build your own GTalk client. More info about developer you can read at GTalk Developer Info.
People at Cryptical Envelopment has build some interesting stuff about great combination of GTalk with CFMX gateway or Macromedia XML News Aggregator ( MXNA ) and GTalk.
Monday, August 22, 2005
Number To Text : Speech API (SAPI) in Flash?
Script ini saya tulis setelah seorang teman bertanya kepada saya tentang bagaimana cara membuat agar sebuah input berupa angka dapat dirubah menjadi teks. Dan kemungkinan membuat sebuah Speech API (SAPI) dalam Flash.
Konsep idenya adalah dengan memanfaatkan Array class dan String class. Jadi outputnya berupa array. Jadi jika kemudian hendak dimunculkan dalam teks tinggal menampilkan output dari array tadi.
Khusus untuk sound karena diperlukan time interval untuk selesainya pengucapkan satu kata maka disini saya gunakan SetInterval(). Namun bisa juga sebenarnya menggunakan Sound class misalnya Sound.OnSoundComplete untuk menentukan bahwa 1 kata telah diucapkan.
var satuan = [ "nol", "satu", "dua", "tiga", "empat", "lima","enam","tujuh","delapan","sembilan" ]; var belasan = [ "sepuluh", "sebelas", "duabelas", "tigabelas", "empatbelas", "limabelas", "enambelas", "tujuhbelas", "delapanbelas", "sembilanbelas" ]; var kelompok = [ "nol", "se", "puluh", "ratus", "ribu" ]; var startN = 0; var voiceList = new Array(); check_angka = function(n){ // set menjadi string var input = n.toString(); // check harus format angka if(isNaN(input)) { trace(input + " bukan angka"); return; } var voiceArray = new Array(); var angka = input.substr(0,1); // triliunan if(input.length > 12){ var triliun = input.substr(0,input.length-12); triliun = check_angka_ribuan(triliun); voiceArray = voiceArray.concat(triliun); if(triliun.length > 0){ voiceArray.push("triliun"); } var miliar = input.substr(input.length-12,input.length); miliar = check_angka(miliar); voiceArray = voiceArray.concat(miliar); // milliaran } else if(input.length > 9){ var miliar = input.substr(0,input.length-9); miliar = check_angka_ribuan(miliar); voiceArray = voiceArray.concat(miliar); if(miliar.length > 0){ voiceArray.push("miliar"); } var jutaan = input.substr(input.length-9,input.length); jutaan = check_angka(jutaan); voiceArray = voiceArray.concat(jutaan); // jutaan } else if(input.length > 6){ var jutaan = input.substr(0,input.length-6); jutaan = check_angka_ribuan(jutaan); voiceArray = voiceArray.concat(jutaan); if(jutaan.length > 0){ voiceArray.push("juta"); } var ribuan = input.substr(input.length-6,input.length); ribuan = check_angka(ribuan); voiceArray = voiceArray.concat(ribuan); // ribuan } else if(input.length > 3){ if(input.length == 4){ var ribuan = check_angka_ribuan(input); voiceArray = voiceArray.concat(ribuan); } else { var ribuan = input.substr(0,input.length-3); ribuan = check_angka_ribuan(ribuan); voiceArray = voiceArray.concat(ribuan); if(ribuan.length > 0){ voiceArray.push("ribu"); } var ratusan = input.substr(input.length-3,input.length); ratusan = check_angka_ribuan(ratusan); voiceArray = voiceArray.concat(ratusan); } } else { var ribuan = check_angka_ribuan(input); voiceArray = voiceArray.concat(ribuan); } return voiceArray; } check_angka_ribuan = function(n){ // created array sususan voice var voiceArray = new Array(); //lakukan looping var angkaCount = ""; // ---> string var nextLength = n.length; for(var a=0 ; aUntuk dapat mengerti script di atas anda harus paham Array dan String dalam flash. Karena sifatnya berupa test labs aja jadi masih ada batasan-2 dari coding saya ini. Sementara masih terbatas sampai ratusan triliun. Codingnya juga masih kotor jadi masih bisa dibuat lebih simple dan manis. Jadi jika ada yang mau komen silahkan.2 and angka != 0){ if(angka != 1 or (nextLength-a) == 1){ voiceArray.push(satuan[angka]); angkaCount = n.substr(a,n.length); } else { voiceArray.push("se"); voiceArray.push(kelompok[nextLength-a]); } // belasan } else if((nextLength-a) > 1){ if(angka > 1){ voiceArray.push(satuan[angka]); angkaCount = n.substr(a,n.length); } else if(angka == 1){ var angka = n.substr(a+1,1); voiceArray.push(belasan[angka]); break; } else { if(angka != 0) { var angka = n.substr(a+1,1); voiceArray.push(satuan[angka]); } } } else { if(angka != 0){ voiceArray.push(satuan[angka]); } break; } // set satuan if(angkaCount.length > 1){ if(angka != 1){ voiceArray.push(kelompok[angkaCount.length]); } else { voiceArray.push(belasan[n.substr(a,1)]); break; } } } return voiceArray; } loadNplaySound = function(){ clearInterval(myDelay); suara = new Sound(); //suara.loadSound(voiceList[startN]+".mp3", true); suara.start(); trace("playSound "+voiceList[startN]); startN++; if(startN < voiceList.length){ // loop with interval myDelay = setInterval(loadNplaySound,700); } else { startN = 0; trace("--------------stop-------------"); } } // contoh voiceList = check_angka(100100000100314); //trace(voiceList); trace("--------------start-------------"); loadNplaySound();
Friday, August 19, 2005
VCS, An Alternative Way For Streaming Video?
[ via Flashcomguru ]
I got this information from Stefan Richter of flashcomguru.com. This is interesting. Espesially if you work on unix based system, because this Video Communication Serve (VCS) work on Unix system. The most interesting part it about the price. If Flashcomm limited by users and bandwith, not on VCS. They only limited by users. Interesting huh?.
But I'm still waiting about the legal thing. Esspecially if they are using RTMP protocol the same as Flashcomm did. People in Flashcomm milis at chattyfig.figleaf.com already discuss about this thing but still not yet clear may be we need more information about this. The problem is not enough document about VCS or because they not have document in english?
Thursday, August 18, 2005
Source Files gotoAndLearn.com
[ via theFlashBlog ]
Sudah banyak yang tahu kalau site gotoAndLearn.com merupakan pemenang dari Flash Film Festival 2005 NYC utk kategori Educational. Site karya Lee Brimelow ini memuat tutorial berbentuk Flash Video (FLV) serta disertakan pula source files nya dalam format zip.
PHP, MySQL, & Flash Video Tutorial
[ via theFlashBlog ]
Dalam banyak kesempatan di beberapa forum dan milis saya sering menerima banyak pertanyaan tentang cara mengintegerasikan dabase dengan flash.
Video tutorial dari Lee Brimelow dan dipubliskasikan dalam site gotoAndLearn.com tentang PHP, MySQL, & Flash seharusnya menjadi salah satu alternatif bagi mereka yang ingin belajar mengintegerasikan MySQL, PHP & Flash. Tersedia pula source files dalam zip file.
[OTT] 60 Tahun Indonesia Merdeka (17 Agustus 1945 - 2005)
60 tahun bumi pertiwi ini menahan beban dipundaknya
Adakah yang peduli dengannya
Adakah engkau peduli dengan ibu (pertiwi) dan saudara kita
Apa yang telah engkau sumbangkan untuk meringankan jalannya
Hentikan korupsi, terorisme, brutalisme
Damai dan sejahterlah bangsaku
Tuesday, August 16, 2005
Xamlon™ Web Lets .NET Developers Write Flash Application
[ via FlashCodersNY.org ]
Jim Phelan wrote and article about an alternative solution for writing Flash application for .NET developer.
Xamlon™ Web enables you to work in Visual Studio and deploy to the Macromedia® Flash® platform without having to learn Flash® or ActionScript®.
[FlashComm] Bandwith Management using Web Cam Motion Detection
We all known that most of FlashComm developver always fight with bandwith limitation. Lisa Larson also talk FlashComm Hit List on FlashCodersNY.org.
I agree that using Audio and Video is really cool in FlashComm. But if you has limitation on bandwith then you will has problem.
You can optimize your audio / mic and video / web cam using Peldi tools. But if that's still not enough then you can try to used motion detection of web cam to avoid sending video if nothing need to be sent (let's say the camere is idle). We can used Camera.onActivity, Camera.activityLevel, Camera.motionLevel, Camera.setMotionLevel() to detect motion on our web cam.
Method:
Camera.setMotionLevel(sensitivity_motion_detection, time_interval);Sample code:
// net connection nc = new NetConnection(); nc.connect("rtmp:/testCam"); // camera my_cam = Camera.get(); my_cam.onActivity = function(activity) { trace("motion detection : "+activity); if(!activity){ my_video.attachVideo( null ); ns.attachVideo( null ); // stop publishing } else { my_video.attachVideo( my_cam ); ns.attachVideo( my_cam ); // re publishing } } my_cam.setMotionLevel(10, 1000); my_video.attachVideo(my_cam); // net Stream ns = new NetStream( nc ); ns.attachVideo( my_cam ); ns.publish("streams_", "live");More details about using web cam motion detection you can find on LiveDocs.
Monday, August 15, 2005
14 Alasan Kenapa Flash 8 Menggunakan ON2
[ via Tinic Uro ]
Mungkin sudah banyak yang tahu bahwa versi Flash Player terbaru yaitu Flash Player 8 menggunakan video codec dari ON2. Namun kenapa Macromedia memilih menggunakan ON2. Tinic Uro, Principal Engineer untuk Macromedia Flash Player memberikan alasannya.
Friday, August 12, 2005
New Flash Player 8 security restrictions
Setelah Erika Norton dari Macromedia memberikan bocoran awal tentang security setting di Flash Player 8 pd milis Flashcoders, akhirnya Macromedia merilis dokumen tentang Flash Player 8 Security White Papers di Divnet.
Ada 2 masing-masing :
- Flash Player 8 Security (PDF, 888K)
- Flash Player 8 Security-Related APIs (PDF, 80K)
Wednesday, August 10, 2005
Flash in Space, another Flash 8 example
[ via Justin Everett ]
Great Flash 8 example by Justin Everett. Combination between dynamic lighting with gradient glow fIlter , blur filter on particles, cloaking fx, nebula fx.
Tuesday, August 09, 2005
Latest Flash 8 article on Devnet
Mike Downey has write an article about what is new in Flash 8 on Macromedia Devnet.
Maelstrom Experiments
[ via Guy Watson ]
Guy Watson of Flashguru has publish his 18 Flash 8 Experiments. I can't wait for FLA... :)
Flash Profesional 8 Review
[ via Flashmagazine ]
Flashmagazine has did some review for Flash Profesional 8. Check out also the screenshot.
Monday, August 08, 2005
Macromedia Studio 8
Seperti beberapa info yang sebelumnya beredar adalah benar adanya. Hari ini 8 Agustus Macromedia meluncurkan produk anyarnya dalam paket Macromedia Studio 8. Antara lain: Dreamweaver 8, Flash Profesional 8, Fireworks 8, Contribute 3 dan FlashPaper 2.
Tentu yang paling ditunggu-tunggu adalah si 8Ball alias Flash 8. Bakalan harus segera migrasi nih hehehe.
The Zoomquilt, a great zoom effect experiment
[ via Franto ]
It Is nice zoom effect experiment. The project is called The Zoomquilt.
Friday, August 05, 2005
Yahoo! Developer Network
[ via Herdiansah ]
An Intresing stuff from Yahoo!. Yahoo! offering developers to used their Yahoo! Web Services. With this services you can build applications using their data base:
- Flickr
- Maps
- Music
- Search : image, local, news, video and web
Thursday, August 04, 2005
SEPY 1.0.7 (beta) released
[ via Sephiroth ]
Thanks to Alessandro Crugnola aka Sephiroth for SEPY the FREE ActionScript editor. I already used it almost for a year after watch demonstration of this tools by Peldi at Peldi's Coding Cafe session.
At 29 July 2005 the experimental SEPY 1.0.7 (beta) released with new features include:
1. Firefox style for qick search bar
2. Right border enhancement, taken form Eclipse
3. MTASC compile dialog
Wednesday, August 03, 2005
Flashextensions | Video Tutorials
[via Less Rain]
Site dari Flash Extensions bagus bagi anda yang memerlukan tutorial Flash dalam bentuk video sehingga memudahkan dalam belajar. Selain itu tersedia pula source codenya dalam FLA dan AS files.
Subscribe to:
Comments (Atom)