Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 04-15-2008, 02:59 PM   #1
OmenKing's Avatar
Join Date: Jan 2007
Posts: 60
Default Adding SWC files to Flex Project?

I want to add a SWC file to my Flex Project so I can start using its components.

I'm not using Flex Builder and need to know how to do this without it.
The docs say you can add library-path and say where the file is.

So I tried it and Its not working so I'm doing something wrong.

This is what I tired to do:

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:degrafa="http://www.degrafa.com/2007" frameRate="25" backgroundColor="0xCCCCCC" paddingTop="0" paddingLeft="0" paddingRight="0" paddingBottom="0" creationComplete="onCreationComplete()" >
<degrafa:Surface verticalCenter="0" horizontalCenter="0">
	<geometry:Circle radius="150">
	          <paint:SolidFill color="#62ABCD"/>
mxmlc main.mxml -library-path=lib
And I've placed the swc within a directory called SWC.

Any suggestions on how to compile a flex project and including a SWC?
OmenKing is offline   Reply With Quote
Old 04-15-2008, 06:43 PM   #2
dr_zeus's Avatar
Join Date: Mar 2005
Location: Silicon Valley
Posts: 1,999


Josh Tynjala | Feathers
dr_zeus is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Flex Project AND ActionScript Project : IF tlc660 Flex 2, 3 & 4 8 12-02-2009 07:25 AM
Compiling a Flex 2 project from the commandline Chuck Taylor Flex 2, 3 & 4 3 03-15-2007 10:13 AM
How to structure a project in Flex 2 TheBigDaddy ActionScript 3.0 2 01-24-2007 12:31 PM
Adding links to loaded text files Pixel ActionScript 1.0 (and below) 3 11-05-2001 02:58 PM

All times are GMT. The time now is 04:37 AM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.