Skip navigation
Currently Being Moderated

Component assets exported in SWC, require AS linkage?

Sep 21, 2012 10:55 PM

Tags: #flash #actionscript #swc

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


More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points