Yo, Chinese! AIR1.1 is out!

Yesterday morning, AIR auto-updated and installed itself in Chinese~ At the time I had no idea AIR 1.1 was released that very day. So exciting. Adobe AIR lets you keep your favorite web apps with y...

Flash

Downloading and Installing PV3D Before Use

I got drawn in by PV3D and decided to give it a try from scratch. I’m recording the download and installation process here. A thought: there really isn’t much material on this out there. Install TortoiseSVN: Go to the page http://tortoisesvn.net/downloads Download the appropriate TortoiseSVN and install it (a reboot is required).

Flash

2008 Firefox 3 Download Day confirmed: June 17!

(Updated 6.18 — see the end of this post) Got an email this morning: a letter about Download Day. Don’t forget to join us for Firefox 3 Download Day! Download Day is almost here! Mark your calendar, write it on your hand, or stick on a little sticky note. Download Day starts on June 17, 2008. Pledge map hoho, the 17th of this month is FF3 Download Day. Chinese FF fans, remember to raid then~

Other

Preview Elva's new album!

http://www.9sky.com/music/album/46780 Listening previews are open here now! Totally enchanted at the moment. Also, there’s a video here, I’ll Be There

Entertainment

Angel's Voice Concerto pour deux voix

This wordless duet is performed to perfection by two teenagers, Jean-Baptiste Maunier and Clemence, who wring every last ounce of beauty from their young voices.

Entertainment

Watched Kung Fu Panda

Just finished watching DreamWorks’ new film, Kung Fu Panda. The visuals are full of towering, magnificent mountains. The scene where the turtle sage reaches nirvana is so very Eastern! Halfway through I was filled with emotion — Chinese culture, inherited by Westerners, brought to life so vividly with modern comedic elements mixed in. The Chinese Taoist spirit runs through the whole thing; I really like the feel of that turtle sage, and I’m very happy with how the film positions him. Now this is what a grandmaster is supposed to be like — he already understands all things in the world, the universe lives in his heart, and he’s in tune with the fate of heaven and earth. Classic lines that really resonated with me:

Entertainment

Elva Returns

Elva Hsiao’s latest 2008 album <3 Faces of Eve> drops on the 15th of this month, released simultaneously across all of Asia!

Entertainment

After Array.push(Object), only the last item is kept in the array

Yesterday a guy in the group ran into this: After I use Array.push(Object), why does the array end up holding only the contents of the last N item? For example: I want to push 1 Computer News official website—China’s computer enthusiast interactive portal, 2 virtual hosting, enterprise mail, server rental, 3 If you cannot access the website normally, please contact our company. But when I push the third one, the contents in the Array are: 3 If you cannot access the website normally, please contact our company, 3 If you cannot access the website normally, please contact our company, 3 If you cannot access the website normally, please contact our company. Solution: new an Object every time you push.

Flash

What is the purpose of prayer?

My view: prayer is a kind of thought energy, and it can prompt the natural environment around us to respond. The strength of that thought energy depends on the cultivation of the person praying. As Gao Yueming puts it, “In essence, worshipping the Buddha is not about asking the Buddha for things — it is about asking yourself to create the causes and conditions that bring about the karmic result.” Prayer is thought energy that issues a request for causes and conditions to ripen into results. Take the earthquake in May: during the three minutes of national silence, many people prayed in their hearts for the people in the disaster area. One person’s prayer thought energy may not be much, but the thought energy of 1.3 billion people praying together with good intent can transmit an energy to nature, and that energy can let crustal movement gradually return to stability.

Life Insights

Viewing Earthquakes Through the I Ching

Regarding earthquakes, the I Ching says: “When yin and yang are exhausted, the four seasons are complete; when the firm and the yielding are exhausted, the four seasons are complete. When yin and y...

Life Insights

Tiandizhi! Tiandihui launches an original AS3 magazine

The inaugural issue of Tiandihui’s magazine Tiandizhi is out! Click to download the inaugural issue of Tiandizhi (2M) The book has a technical depth all its own and shares a lot of programming tips...

Flash

God! Adobe CS4 Master Collection Download

OMG. I’m so out of touch with the times… The preview release of 《Adobe CS4 Master Collection》(Adobe Creative Suite 4 Master Collection Pre-Release) [ISO] is already available for download on eMule....

Flash

Passing parameters to addEventListener event listeners

In AS3, an addEventListener listener automatically passes an event object argument to the handler function, but it can’t pass any other arguments. If you want to pass arguments to an event handler, here’s a way to do it: see the code:var sayHello:String = “欢迎光临www.FlashJ.cn -Flash,Ria技术博客”; btn1.addEventListener(MouseEvent.CLICK,function (e:MouseEvent){clickHandlerWithArg(e,sayHello)}); function clickHandlerWithArg(e:MouseEvent,arg:String):void { var out:String= e.target + “发出事件(有参数) :” + arg; trace(out); }

Flash

AIR File Operations (Part 3): Reading and Writing Files with the FileStream Object

Quick Start Examples:Example 1. Reading XML var testXML:XML; var file:File = File.documentsDirectory.resolvePath(“Mousebomb/test.xml”); var fileStream:FileStream = new FileStream(); fileStream.open(file, FileMode.READ); testXML = XML(fileStream.readUTFBytes(fileStream.bytesAvailable)); fileStream.close(); The example uses the readUTFBytes() method to read the content and convert it into an XML object.

Flash

AIR File Operations (Part 2): Using File Objects to Manipulate Files and Directories

What is a File object? A File object is a pointer to a file or directory in the file system. For security reasons, it’s only available in AIR. What can a File object do? Get specific directories, including the user directory, the user documents directory, the directory from which the application was launched, and the application directory Copy files and directories Move files and directories Delete files and directories (or move them to the trash) List the files and directories in a given directory Create temporary files and folders Create directories Read file information Get file system information

Flash
1…2425262728