Last Build Date: Sun, 09 Aug 2015 16:54:28 +0000
Sun, 09 Aug 2015 16:24:31 +0000Just finished the first job on Raspberry Pi, using python code as a kiosk program, some common config you may needed: My Raspberry Pi is running with RASPBIAN Debian Wheezy Auto-login After boot up the Raspbian, if you want to auto-login with username: pi, password: raspberry. sudo nano /etc/inittab find: 1:2345:respawn:/sbin/getty --noclear 38400 tty1 change […]
Mon, 23 Jun 2014 17:30:59 +0000I found either free or commercial QRCode reader/decoder Flash AIR Native Extension launch a fullscreen Camera to scan, it cannot customize the UI or adding overlay image. I wrote this ANE which accept BitmapData to decoder. So you design own scanner UI and the decoding speed in much faster than any pure AS3 QR decoder. […]
Tue, 13 Sep 2011 20:54:44 +0000Erlyvideo is another free/commercial Flash Media Server alternative, I notice it because it claimed it can streaming video to iPhone. I am looking for a solution directly streaming flv to iPhone for a long time, but still cannot find any. Movie file location setting Edit erlyvideo/priv/erlyvideo.conf, parameter: file_dir iPhone streaming path http://www.
Sat, 10 Jul 2010 18:16:07 +0000Reference Article stackoverflow: Multi-player server for iPhone application, using device as socket server. stackoverflow: COMET (server push to client) on iPhone Free (with iPhone API / SDK) RedDwarf Server (Yes) Stomp (Yes) WebChat 2.0 (No) Commercial (with iPhone API / SDK) StreamHub (No, Web App) SmartFoxServer Pro (Yes) Exit Games Photon (Yes)
Tue, 30 Mar 2010 04:56:05 +0000Before AS3, we can only use substr to abbreviate string characters number for TextField, but we have to guess a extract number to fit our UI design, e.g. only show two lines, we have to guess in this font size, font face, what is maximum numbers of character can be shown. It is a problem […]
Wed, 16 Dec 2009 07:47:39 +0000Thanks Flash Player 10.1, now we can record the sound through microphone directly in browser without the use of Flash Media Server, you can download the wav file converted from ByteArray immediately, you can download mp3 which I send wav file to server and using LAME to encode as mp3. Hope AS3 mp3encoder can come […]
Sun, 04 Oct 2009 11:11:39 +0000PHP in Windows, under IIS and Apache, file path is handled differently, for example: Under IIS: C:\Projects\test.php Under Apache: C:/Projects/test.php So if you want based on “/” to do something like RegEx, remember convert Windows style file path to Unix style, e.g:
Sat, 03 Oct 2009 09:49:11 +0000To save bandwidth, most of servers will practice some hotlink protection, usually using either following script to check whether the HTTP referer is come from the same server, most script are focus on image file, but it can slightly modified for FLV protection. There are two common methods to do that: Edit in .htaccess RewriteCond […]
Sat, 03 Oct 2009 06:37:01 +0000Port 80 Issue FMS 3.5 comes with Apache, since server installed Apache, so do not install it. I want HTTP Tunneling, so chose Port 1935,80 during installation. When FMS started, Apache cannot run, because port 80 is listened by FMS now. Therfore if you get one server only, running web server and FMS, cannot use […]
Fri, 02 Oct 2009 12:24:04 +0000Detect Flash Player version: HTML: http://playerversion.com/ Flash: http://www.flashplayerversion.com/ Detect SWF version: Detect is it AS1/2 or AS3: http://swfversion.com/ Detect is it built with Flex: http://www.jamesward.com/is_it_flex/
Sat, 22 Aug 2009 17:44:29 +0000If you use POST method to send parameters, the received result is XML, you should use LoadVars or XML? sendAndLoad from LoadVars cannot handle received XML format, sendAndLoad from XML can use GET method to send parameters only, cannot use POST Method. I have already sticked to write AS3, suddenly switch back to AS1, I […]
Tue, 23 Jun 2009 07:29:10 +0000Designers always face this problem, inside a MovieClip, there are different symbols, when MovieClip is semi-transparent, each symbol has its own semi-transparent, so the colors are mixed together as the following example: To solve this problem you can set MovieClip BlendMode to Layer ActionScript syntax: mc.blendMode = "layer";(For Flash 8 AS1/2, too) Download sample fla(Flash […]
Fri, 29 May 2009 22:26:42 +0000Wrote a JSFL, it can make the bitmap in library, if its compression is Photo(JPEG), toggle between use document default quality or custom quality, it also set “Allow smoothing” to true. If you do not want to use “Allow smoothing”, comment JSFL line 16: library.items[i].allowSmoothing = true; Download For Flash MX2004 – Flash CS3 For […]
Wed, 27 May 2009 06:52:52 +0000The focus of the video is not watching how Microsoft will build a great future for us, because there seems to be a serious difference somewhere between innovation and realization. But the interface design, UI, user experience in the video, give our RIA developers an inspiration and references, especially when touch screen is popular, multi-touch […]
Tue, 19 May 2009 08:43:24 +0000When loading XML File and parsing, usually use ChildNode[n].toString() for extract the data, sound like it can get the data and convert to “String” or other variable type. Normally, it has no problem, but when the XML contains special characte, it will get back wrong data, for example special characters like: ‘, &, ". Here […]
Fri, 04 Jul 2008 19:36:33 +0000Mac Keynote 08 Alpha Function is an amazing and convenience feature, it can easily remove the background of image, why Photoshop have not such feature? Apple is Apple, UI and features are always very user-friendly. If you do not know how Keynote Alpha work, please watch the following demonstration: My Flash version, of course, still […]
Mon, 23 Jun 2008 15:11:00 +0000When Firefox3 in RC state, I have already noticed my work Instant-VCASMO. The parsing of YouTube embed code has problem. At that time, I think it will be fixed when Firefox 3 is officially released. When Firefox3 is out, the error is still here. Therefore, I have to take time to study why a browser […]
Wed, 11 Jun 2008 19:52:28 +0000Check here. Included some demo who shown in last year MAX2007 Japan.
Sun, 08 Jun 2008 23:11:33 +0000The gathering topic of course is the latest hit one: Flash Player 10 and 3D, beside, we have Flex 3 development experience share. Detail and registration, please refer: http://www.mmug.com.hk/forum/viewtopic.php?t=1709
Thu, 05 Jun 2008 06:18:45 +0000How he can optimize his own 3D engine so smooth? It is running so smooth even in my old slow 5 years+ PC, which is too slow to run most PV3D site. Anyway, check it!.