Posts Tagged flex-sdk

Where Can I Find fds.swc?

If you ever need to compile a Flex app that requires classes like:

mx.messaging.channels.RTMPChannel
mx.messaging.channels.SecureRTMPChannel

then you’ll need fds.swc which isn’t shipped with the Flex SDK, but is shipped with LCDS. Download a trial vr of LCDS and grab this file from the web-app:

WEB-INF/flex/libs/fds.swc

…why might you need these classes?…perhaps if you’re building a Bootstrap loader for LCDS apps loading sub-apps and you want to share the messaging classes between the parent and child apps…I had to do this for an Xcelsius application.

Post to Twitter Tweet This Post

, , , ,

No Comments

Mac + Adobe AIR 1.5.1 + Flex Builder 3.0.2 + Flex SDK 3.3 = No Run or Debug Without This Fix; UPDATE

If you’re using a Mac and trying to build AIR applications with the following:

  • Mac
  • AIR 1.5.1
  • Flex Builder 3.0.2.214193
  • Flex SDK 3.3

You won’t be able to Run or Debug from Flex Builder and you won’t really get an error explainging why…here’s a list of instructions from the logged bug on Adobe’s Flex Bug and Issue Management System: http://bugs.adobe.com/jira/browse/SDK-19707

NOTE: If you just go to run the AIR app with this setup it’ll silently fail…if you try to debug it you’ll get the following: “DEBUG: error dialog with text: “Process terminated without establishing connection to debugger. If the program is already running, close it before attempting to debug.

To fix it, follow these steps:

  1. Download the attached change.sh.
  2. Copy the change.sh into the root directory of the SDK, at the same level of the ant, asdoc, bin, frameworks, lib, etc. folders. This probably looks something like: “/Applications/Adobe Flex Builder 3.0.2 Plugin-in/Adobe Flex Builder 3 Plug-in/sdks/3.3″ or wherever you keep your Flex SDKs…
  3. Change the script to executable (chmod 755 change.sh) — open up terminal and cd to the directory where you just put the change.sh file and run the command in bold: chmod 755 change.sh
  4. Run the script (./change.sh) run the bold command in terminal to execute the script: ./change.sh
  5. Open up FB and create a HelloWorld AIR app and make sure the SDK for Flex 3.3 is selected for this project.
  6. Run the AIR app and make sure it opens.

Big thanks to Joann Chuang Anderson for this fix, as it was driving me nuts!

Post to Twitter Tweet This Post

, , ,

4 Comments