Visit the FlashNewz Directory
Submit your site for FREE

July 16, 2010




I don't know what it is about Samsung. I've never owned one of their phones, I have no opinion about their products one way or another, but do they ever develop the coolest flash sites. I guess when you're pushing a new phone these days, you drop the cashola to fund some of the best flash artists in the biz.

I've also added an international site to te featured selections. Good design simply tanscends language barriers.

The marquee site this week is one of those sites that look like dioramas with people a bunch of stuff inside. I've seen these concepts implemented from time to time and whenever I do it's awlays fun. I kind of reminds me of the full motion video era of PC gaming. Those were some good times.

Mark Rivera

For any site suggestions or general musings, gimme a shout at mark@flashnewz.com

And don't forget to check out our Flash Directory
Samsung Jet

Samsung always brings it when it comes to flash design.

Samsung Jet
Agency Net

I always love these "people in an ant farm" type of flash scenes.

Agency Net

Tetra Pak

Don't know what any of this stuff means, but it's cool!

Tetra Pak

Flex Style Manager Code





By Stefan Richter


Today I was working on a Flex 3 application which I now want to compile using the Flex 4 SDK. One of the warnings that cropped up in the Flash Builder Problems panel was the following message: 3608: 'getStyleDeclaration' has been deprecated since 4.0. Please use 'IStyleManager2.getStyleDeclaration on a style manager instance'.

The line in question was the following which applies a global theme color after a color value has been loaded from a remote data source::



It took me some time to figure out what the heck the 'use IStyleManager2.getStyleDeclaration on a style manager instance' actually meant... it was by no means a straight forward warning. After some Googling and trial and error I came up with this which seems to do the job:



I'm not sure if this is the correct and/or best way to achieve the same thing but it appears to work which generally is good enough for my requirements :-) Hope this helps someone, please leave feedback and corrections where applicable.


Comments


About The Author

Stefan is a certified Flash Developer who has been involved with Flash Media Server since its very early days. From his home office in the UK he has handled a variety of projects, specializing in Flash Video and Rich Internet Applications for clients that include CNET, USA Network and Unilever. Stefan is the author of a series of Adobe Developer Center articles, has spoken at several industry events and contributes a regular column on Flash Video to Streaming Media Magazine. His site www.flashcomguru.com is one of the largest online resources on Flash Video.

Sign-Up | Contact Us | Archives | Advertising Info | About us

-- FlashNewz is an iEntry.com publication --
iEntry, Inc. 2549 Richmond Road, Lexington, KY 40509
© 2010 iEntry Inc. All Rights Reserved Privacy Policy Legal