0 Replies Latest reply on Jun 26, 2007 1:00 AM by Knut_Nidelven

    Design View not working with skins

    Knut_Nidelven
      Hey,

      Excuses, I posted this question earlier in the "general discussion" topic.


      I'm using Adobe Flex 2. I have a pretty big project. If I open it, design view works. If I close Flex and open the same project again, design view wont work. There aren't any error-messages or warnings given. I have been able to track te problem down to graphical skins in a CSS declaration. I have to erase them, to make Design View work. Then, I paste the code back again. This is very inconvienent. Is this a normal problem, inherent to how Flex works. Is there an other, easier way around?

      Thanks in advance!

      Knut Nidelven

      Here is the code that does the damage...:

      .topBar {
      fontFamily: Arial;
      font-style: none;
      fontWeight: normal;
      font-size: 12px;
      upSkin: Embed('assets/button_top_up.png', scaleGridLeft="4",scaleGridTop="4",scaleGridRight="12",scaleGridBottom="12");
      overSkin: Embed('assets/button_top_over.png', scaleGridLeft="4",scaleGridTop="4",scaleGridRight="12",scaleGridBottom="12");
      downSkin: Embed('assets/button_top_selectedUp.png', scaleGridLeft="4",scaleGridTop="4",scaleGridRight="12",scaleGridBottom="12");
      selectedOverSkin: Embed('assets/button_top_selectedUp.png', scaleGridLeft="4",scaleGridTop="4",scaleGridRight="12",scaleGridBottom="12");
      selectedDownSkin: Embed('assets/button_top_selectedUp.png', scaleGridLeft="4",scaleGridTop="4",scaleGridRight="12",scaleGridBottom="12");
      selectedUpSkin: Embed('assets/button_top_selectedUp.png', scaleGridLeft="4",scaleGridTop="4",scaleGridRight="12",scaleGridBottom="12");