— Shang Liang

Archive
September, 2010 Monthly archive

I’ve just started using Sass to code CSS. I really like it because it has greatly boosted my ego as a programmer, “I can put programming logic inside my CSS!” And of course, it makes it much easier to manage a complicated CSS. However, I can’t edit scss files with Dreamweaver and I miss seeing the colorful syntax. After searching for a while, I found the solution.

less-scss-syntax-highlighting-in-dreamweaver

It’s quite easy. All you need to do is to find this file Dreamweaver CS?/Configuration/DocumentTypes/MMDocumentTypes.xml and change this line macfileextension=”css” to this macfileextension=”css,scss”.

Read More

I spent hours trying to solve this problem. If you need to load an swf which runs away3d inside it, the loaded swf may get cropped off on the right and bottom sides. Don’t try to set the clipping attributes of the View3D instance. I’ve tried all sorts of clippings but had no luck. The problem lies with the swf’s document dimension. Once that’s set correctly, the cropping problem will be fixed.

Read More