Express in Bits Blog

Nice overview of Prototyping

Posted in Reminder, Reviews, User Experience by xding78 on April 21, 2010

Just a reminder to myself.

Industry trends in prototyping

Of course it’s not without bias. But I recognize all the reasons he mentioned. It’s really a nice overview.

I don’t think I can structure and organize the reasoning that neatly even though I’m fully aware of all the advantages.

Love the comments, too.

Tagged with:

Actionscript 3 When components (text) failed to appear in ScrollPane…

Posted in Actionscript 3, Reviews by xding78 on April 13, 2010

As title suggests, when you add components such as radio box, combo box, etc. in a ScrollPane. Initially, you only see the UI frames; labels and texts are not shown.

Then TRY THIS:

Select the components and change the DISPLAY property of that component to Layer. Untitled-1

Or in the coding:

import flash.display.DisplayObject.blendMode;

myComponent.blendMode = BlendMode.LAYER;

Chrome couldn’t find www.google.com, is it a joke?

Posted in Do not Panic, Reviews, User Experience by xding78 on April 5, 2010

Let me start from a screen shot

Guess under what circumstance did I get this page

I got this page because the wireless route wasn’t ready, I didn’t have internet access. So, no browser could access anything at that moment. It isn’t really fair to say that they cannot find this website; whatever website it is. However, this line reads like typical error message when you try to access a url that does not exist.

What’s wrong with the traditional explanation: “Oops, we couldn’t access www.xxx.com right now.”?

Luckily, in this case, we all know that www.google.com does exist. And what if I set  www.yahoo.com or www.microsoft.com as my homepage?

“Oops! Google Chrome could not find www.microsoft.com

It might invite other thoughts, isn’t it?

So, let’s hope this is a joke.

Chrome couldn’t find www.google.com, is it a joke?

Posted in Do not Panic, Reviews by xding78 on April 5, 2010

Let me start from a screen shot

Guess under what circumstance did I get this page

I got this page because the wireless route wasn’t ready, I didn’t have internet access. So, no browser could access anything at that moment. It isn’t really fair to say that they cannot find this website; whatever website it is. However, this line reads like typical error message when you try to access a url that does not exist.

What’s wrong with the traditional explanation: “Oops, we couldn’t access www.xxx.com right now.”?

Luckily, in this case, we all know that www.google.com does exist. And what if I set  www.yahoo.com or www.microsoft.com as my homepage?

“Oops! Google Chrome could not find www.microsoft.com

It might invite other thoughts, isn’t it?

So, let’s hope this is a joke.

Actionscript 3 – Dynamic Text Field missing and Character Embedding (embed fonts)

Posted in Actionscript 3 by xding78 on April 3, 2010

Here is the situation, I trans-coded actionscript codes in a fla file to a document class. And there were several dynamic text fields on the stage.

When I compiled the fla, everything went smoothly, and there is NO ERROR MESSAGE!

However, all the dynamic text fields are missing. It looked like an error for me and of course my clients.

So I wrote the text fields in the document class as objects. It still didn’t work!

I knew there must be SOMETHING with the text fields,

but WHAT??!!

After almost an hour of aimless searching, I remembered there is a pretty hidden option called “Character Embedding…”.

Yes, it is!! It is THE reason why I didn’t see any text and the system didn’t report any error.

After I embed fonts, all the text fields appeared the way they were designed to be.

 

Sometime I just wish the system could be more humane

It could have kindly reminded me:

Oh, b.t.w. there is an important option called “Character Embedding…” Would you care to try?

(Undo) Windows 7 System Restore and Actionscript files

Posted in Actionscript 3, Do not Panic, Trouble shooting by xding78 on April 3, 2010

On Thursday I was working on a flash simulation. After some minor changes on some movieclips, I compiled the fla file. To my surprise the compiled swf file went completely nuts.

My first reaction was:

“oh, it looks like the document class is missing, none of the function works…”

Indeed!!!

The document class which contains days of work is GONE!!! Together with some classes that draw specific shapes contains hours of calculation are missing!!!!

Since I backup my files on daily basis I did not panic immediately, I went to the folder that contains the work of the day before, THE SAME THING!!! The document class and other classes, basically all the actionscript files are missing.

I haven’t touched the document class, what the * happened??

I think anyone who has some experience with Actionscript and Flash would understand my shock and frustration. There were hundreds of functions in the document class, especially some of the features in the document class were written days ago, I am not sure if I still remember the exact construction.

….

Then I realized I had done a system restore the night before. I restored the system to the state of March 23. Indeed, the actionscript files that were written before March 23 are there.

 

So the system restore must be the cause

Just before I started to rewrite the document file all over again I managed to calm down. I decided to see if it’s possible to solve the problem in the same way the problem was caused (the Chinese wisdom here). In this case, it means to undo the system restore. And to my surprise it is BEAUTIFULLY DONE. After I undo the system restore, all actionscript files went back.

I guess what happened was that the system restore considers Actionscript files as some sort of system files or registration files. All other documents and files (that I have) are intact. Only Actionscript files are affected.

I think it must be some miscommunication between Microsoft and Adobe. Everything changes so fast; Microsoft is busy building new and newer operation systems; Adobe is busy with CS5…

Anyway, lessons learned here is that ALWAYS BACKUP before performing such kind of tasks.

 

Undo system restore:

Go to Control panel –> System –> System Protection –> System Restore: (the exact same way you perform a system restore)

Untitled-1

Just find the system restore you want to undo and press next.

It’s just that simple.