Recently while playing with .css files in Flex 3, I eventually used the option Compile CSS to SWF and it started giving errors on ClassReference everywhere inside the CSS. Then I found out its a Flex bug (http://bugs.adobe.com/jira/browse/FB-11925) and can be fixed simply by placing the .css files to the application root (though that may mean rearranging things here and there)
Additional information on the bug may be found at:
http://bugs.adobe.com/jira/browse/FB-23440
Thursday, January 21, 2010
Wednesday, January 20, 2010
ObjectHandles in Flex 3 - Problem in switching to version 2 - OH v2
I've started with Adobe Flex 3 from a couple of weeks now and recently happened to use ObjectHandles library in one of the projects. The library is pretty good except that the usage methodology changes from version 1 to version 2.
e.g. one major difference is that I would use MXML tag notation to create object handles in version, but I couldn't do that in version 2. In v2, I had to create ObjectHandles object in actionscript at creationComplete event and then Register my component(s) with it. This made a real fuss the first time I switched my app from to use version 2, but later on (after checking out the supplied examples) I managed to deploy v2 without much of the problem.
e.g. one major difference is that I would use MXML tag notation to create object handles in version, but I couldn't do that in version 2. In v2, I had to create ObjectHandles object in actionscript at creationComplete event and then Register my component(s) with it. This made a real fuss the first time I switched my app from to use version 2, but later on (after checking out the supplied examples) I managed to deploy v2 without much of the problem.
Subscribe to:
Posts (Atom)