1 Reply Latest reply on Mar 18, 2008 9:11 AM by Gregory Lafrance

    setStyle dynamic backgroundImage and skin?

    Jamal_S
      Hello,

      I'm trying to setStyle on backgroundImage and selectedUpSkin (dynamic).

      But I'm NOT able to do it on selectedUpSkin? backgroundImage is working :)

      selectedUpSkin want a class, backgroundImage accept a string?

      setStyle("backgroundImage", "fx.png"); // this is working
      setStyle("selectedUpSkin", "fx.png"); // throws exception error (Type Coercion failed: cannot convert "print.swc" to Class.)

      How can I set dynamic selectedUpSkin?

      Thanks for any help...

      Regards,
      Jamal