Try Themes with Ease
I set up a quick system to allow ScaleNine themes to be used in Flex without having to download the source files from the homepage. Simply copy one of the following urls and paste it into the source attribute of a mx:Style tag in your working MXML under the Application tag. However, If you decide on using one of the themes I would suggest downloading the source for the theme you settled on and load it into your Flex project. A couple of weird things happen if you don’t do that, like disappearing images.
Obsidian Theme: http://try.scalenine.com/obsidian/obsidian.css
iTunes 7 Theme: http://try.scalenine.com/itunes7/jukebox.css
WMP 11 Theme: http://try.scalenine.com/wmp11/wmp11.css
Moxy CSS Theme: http://try.scalenine.com/moxy/moxy.css
Minty CSS Theme: http://try.scalenine.com/minty/minty.css
Shadow CSS Theme: http://try.scalenine.com/shadow/shadow.css
Darkroom Theme: http://try.scalenine.com/darkroom/darkroom.css
Vista Blue Theme: http://try.scalenine.com/vistaBlue/vistaBlue.css
Note: You must run/compile your project to see the theme get applied. It would be nice to see the theme change a project right inside Flex Builder rather than having to compile/run it. Maybe in a future release.
February 8th, 2007 at 2:20 am
Hi,
I Getting the Following errors when tried to change theme dynamically . Please help me out of this problem.
Error: Unable to load style(SWF is not a loadable module): style/obsidianGFx.swf.
at MethodInfo-636()
at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at ::ModuleInfoProxy/::moduleEventHandler()
at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at ::ModuleInfo/initHandler()
February 8th, 2007 at 7:06 pm
Are you trying to add runtime css style switching using the ThemeSwapper source files?
First off in this line I noticed a uppercase character that shouldn’t be like that:
Error: Unable to load style(SWF is not a loadable module): style/obsidianGFx.swf.
style/obsidianGFx.swf should be style/obsidianGfx.swf with a lowercase f in Gfx.
Maybe check to make sure that swf is getting called out correctly.
February 8th, 2007 at 8:50 pm
Yes juan ,
I am using themeswaper source files.
I have also tried with MXML file provided in view source Page
——————————————–
Tags taken from Themeswapper Source file
private function changeCSS( panelTitle:String, name:String ):void {
var styleEvent:IEventDispatcher = StyleManager.loadStyleDeclarations( name, true );
}
———————————————–
I am getting the Same Error:
Error: Unable to load style(SWF is not a loadable module): style/jukeboxGfx.swf.
at MethodInfo-636()
at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at ::ModuleInfoProxy/::moduleEventHandler()
at flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at ::ModuleInfo/initHandler()
Can you help me
Thanks
Murugan
February 13th, 2007 at 8:48 am
Is there any possibility of using these themes in flash8 applications? If yes then how? thanks, youve really done a great job keep it up !!!
February 13th, 2007 at 1:27 pm
Khalil -
You know, I haven’t tried implementing these themes in Flash 8, but a couple people have mentioned it would be possible. Maybe using the FLA files? I’m not sure. Maybe someone will speak up here about whether or not this is possible, and if so, how to do it. In the mean time, I’ll try and do a little research myself.
If you find anything out, please let me know.
February 18th, 2007 at 1:07 pm
Murugan-
This error was brought up by another person. What you have to do is in Flex 2.0.1 make sure that you right-click on the CSS files in the “style” folder of the source and select “Compile CSS to SWF”. This is what enabled the runtime CSS swapage.
Hope that solves it. I’ll add notes to the source to prevent this in the future.
Juan
February 18th, 2007 at 10:47 pm
Jaun-
Thanks,
Now its working fine
Thanks a lot
Murugan
March 20th, 2007 at 1:07 pm
I get this error only for jukebox theme. Vista and Obsidian work fine.
-Sxm
March 20th, 2007 at 3:47 pm
Sxm,
Are you referring to the error in the ThemeSwapper example? If so, in Flex 2.0.1 make sure that you right-click on the CSS files in the “style†folder of the source and select “Compile CSS to SWFâ€.
What is the error exactly and when does it occur?
March 20th, 2007 at 4:18 pm
I get this error
Unable to load style(SWF is not a loadable module):
I did compile all three skins. All three used to work (before I installed Apollo plugin for eclipse) but now Itunes one doesn’t
March 11th, 2008 at 5:31 am
hi i need one help
March 27th, 2008 at 12:33 am
Beautiful teen girls
http://www.porntubebestmovies3.tk
April 23rd, 2008 at 5:53 am
Very good site!