About Orland MediaDevelopmentTrainingBlogRSS FeedContact us
Microphone

Where to install SWCs for Flash CS4

Date: Thursday 31st December 2009
Time: 18:56
Category: Adobe Flash
Views: 941
Comments: 1 Comment

Something we use here is the Google Maps API for Flash, which is delivered as an SWC file. SWC files are ActionScript classes which have been pre-compiled into an SWF. The fact they are pre-compiled means you don’t have to re-compile them every time you export your application. Another benefit of  SWCs is that they enable you to deliver functionality while keeping your source code obfuscated to some degree.

In their instructions, Google say you should install the SWC files to the following location:

C:\Program Files\Adobe\Adobe Flash CS3\language\Configuration\Components

What if you’re using Flash CS4? Well, in this version of Flash the ActionScript 3.0 Settings dialogue has changed (both the publish settings version and the global preferences version). You can specify a “library path” – this may be any folder on your computer. This is supposed to be a repository for your SWC files; you can set this and drop an SWC in here.

This will allow you to access the classes compiled into the SWC, however the SWC does not show up in the Components panel in Flash. If you are working visually in the Flash IDE and would like it to do so, you will need to forget about the library path option and instead drop SWCs into this folder:

C:\Program Files\Adobe\Adobe Flash CS4\Common\Configuration\Components

Restart Flash and the component should be there.

Rate this post
1 star2 stars3 stars4 stars5 stars   (8 votes, average: 3.38 out of 5)

Flash Player on mobile devices

Date: Monday 28th December 2009
Time: 21:32
Category: Adobe Flash
Views: 186
Comments: No comments

Adobe Technical Evangelist James Ward here presents a great tour of cutting edge developments in the evolution of the Flash platform:

Rate this post
1 star2 stars3 stars4 stars5 stars   (2 votes, average: 4.50 out of 5)
Lenovo Microsoft Adobe Heart Internet Envirowise
Copyright © 2008 Orland Media Ltd | All rights reserved Company details Ethical policy Terms & conditions Privacy policy