0 Replies Latest reply on Feb 24, 2010 9:23 AM by codingNub

    Error with ChromeLibrary as RSL

    codingNub Level 1


      I'm trying to figure out how I can build external skins for a player and working from the ChromeLibrary example.  When I set the ChromeLibrary.swc Link Type to RSL I get these errors at runtim.  It looks like I might be trying to add the child to the stage before the ChromeLibrary.swf has loaded.

       

      Error: Skin for vid_player cannot be found.
          at spark.components.supportClasses::SkinnableComponent/attachSkin()
          at spark.components.supportClasses::SkinnableComponent/validateSkinChange()
          at spark.components.supportClasses::SkinnableComponent/createChildren()
          at spark.components::SkinnableContainer/createChildren()
          at mx.core::UIComponent/initialize()
          at spark.components::Application/initialize()
          at MyOSMF/initialize()
          at mx.managers.systemClasses::ChildManager/childAdded()
          at mx.managers::SystemManager/initializeTopLevelWindow()
          at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::kickOff()
          at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::preloader_completeHandler()
          at flash.events::EventDispatcher/dispatchEventFunction()
          at flash.events::EventDispatcher/dispatchEvent()
          at mx.preloaders::Preloader/timerHandler()
          at flash.utils::Timer/_timerDispatch()
          at flash.utils::Timer/tick()
         
          Error: Skin for vid_player cannot be found.
              at spark.components.supportClasses::SkinnableComponent/attachSkin()
              at spark.components.supportClasses::SkinnableComponent/validateSkinChange()
              at spark.components.supportClasses::SkinnableComponent/commitProperties()
              at spark.components::Application/commitProperties()
              at mx.core::UIComponent/validateProperties()
              at mx.managers::LayoutManager/validateProperties()
              at mx.managers::LayoutManager/doPhasedInstantiation()
              at mx.managers::LayoutManager/doPhasedInstantiationCallback()

       

      cheers,

      evan