Pages

Twitter Updates

Wednesday, May 18, 2011

Custom metadata tags in Flex 4.5

After upgrading to Flex 4.5 recently, I have become annoyed with Flash Builder's new obsession with marking metadata tags as unknown.

Unknown to you, FB, maybe, but not to me or my friends....we make heavy use of custom metadata tags, especially since adopting the parsley framework almost two years ago.

So I was kinda happy to find this after some digging:

Turns out, hidden down in the flex 4.5 sdk frameworks dir is a little file called metadata.xml that provides metadata about the metadata tags. The FB tooling uses this file to configure the new auto-prompters for metadata.

Cribbing the syntax from the SDK file, I crafted a metadata.xml for parsley 2.4 which has helped to shut FB up. It just needs to be included as an asset copied into the SWC.

 

Monday, May 09, 2011

Samsung 2343BWX and MacBook Pro


I recently upgraded to a Samsung 2343BWX monito
r for work. Lovely 23" screen at a great price. Natur
ally, I wanted to exploit the full 2048 x 1152 native resolution with my (older) MacBook Pro.

Problem: the Mac wouldn't recognize the max res of the monitor. I was stuck in 1920 x 1080 !

No obvious answers anywhere on the 'net.

Long story short, the solution is software: grab a copy of SwitchRes X 4.x and then create a custom config as follows:



Saves changes, reboot and select the new resolution via the System Display preferences.

Voila!

UPDATE: Recently, my MacBook Pro simply refused to offer the 2048x1152 setting and SwitchResX reported it as "Invalid". After much mucking about, I finally stumbled over the "Overscan" option in the main Display prefs. It was turned off. Turned it on, and life is good again.