0 Replies Latest reply: Sep 21, 2012 10:55 PM by Wozza12 RSS

    Component assets exported in SWC, require AS linkage?


      I am trying to export a .swc from Flash pro to use in my project. Because I'm using some components (button, TextInput) there is a folder that appears in my library with the component assets. By default, these all seem to be given an AS linkage value the same as their name. This causes a headache, because that puts them in the default namespace? and it's screwing with my autocomplete.


      Considering I don't anticipate ever needing to access any of these component assets from my actionscript project, I thought the best solution would be to simply remove the AS linkage property of each of the component skins. However, this causes a runtime error when trying to use the .swc in my actionscript project


            [Fault] exception, information=TypeError: Error #2007: Parameter child must be non-null.


      I know I could put them all into an obscure namespace, but that seems rather tedious


      Thanks for reading