lib/flashsdk/compiler_base.rb in flashsdk-1.0.5.pre vs lib/flashsdk/compiler_base.rb in flashsdk-1.0.12.pre
- old
+ new
@@ -627,8 +627,16 @@
#
# The default value is true.
#
add_param :warnings, Boolean
+ def library_added path
+ if(path =~ /\.swc$/)
+ self.library_path << path
+ else
+ self.source_path << path
+ end
+ end
+
end
end