If I have an *.as file that is my custom component, a SWC class that contains the custom components skins and a css file that tells the custom class how it should look (references the SWC skin file), how do I set up a library project (using flexbuilder 3) to generate a single SWC file that will contain everything?
...
I am trying to link the as3corelib library to use their JSON functionality following this tutorial. But am having trouble compiling it. My command looks like:
mxmlc --strict=true -library-path+=as3corelib.swc --file-specs myapp.mxml
But I am getting this error:
_divided_mx_managers_SystemManager.as(13): col: 14 Error: Interface me...
Scenario: there is an Adobe Flex 3 project which uses several third-party libraries and components in the form of SWC files.
How can we know "what is inside" those SWC files? Specifically, how can I make sure that the project uses the latest versions of all those components?
According to official Adobe Flex 3 help, "you can define" (si...
I have been using custom swc based components for my new flash game. I was nearly through with the engine development when I decided to update some of my placeholder graphics. I made the necessary changes only to find that my component wouldn't compile. I found this strange because I merely updated the graphics and some non-essential cod...
Hey there,
I created a graphic in Flash CS4 that contains text. I embedded the appropriate characters then saved it as a MovieClip into my library. I then exported it to an SWC file.
In my AS3 code (using Flex SDK/notepad), I then import the movieclip and assign it some mouse events so I can use it as a button.
Unfortunately, all the ...
Whenever I create custom swc-based components in flash cs3, the live preview doesn't display correctly. The preview is always off-center from the component. Whenever I rotate the component, the preview becomes very skewed and sometimes disappears. Is there any way to get the preview to align correctly with the component as well as res...
Hi,
I have the following project structure:
- A Flex Project (SDK 3.3)
- Multiple SWCs with grafics and textfields that are used as components in the Flex project.
Since I have a lot of SWCs that all use the same font in dynamic textfields, I do not want to embed the font in every SWC.
Instead I want to have a library (RSL?) with the fo...
I am in the process of creating a new - "lite" - version of a Flex application I created a while ago. I have been porting over many of the Classes and Components to a Flex Library Project that compiles an SWC file. Because both are Cairngorm applications, I'm not able to completely eradicate duplicate code, but it seems logical that I sh...
OK,
It sounds complicated, but it's not. Here goes:
I want to use some assets ( buttons, etc. ) I'm creating in flash in a flex actionscript project. Since all my assets are bellow 10K, I'm not planning to load a swf ,wait until it's loaded and create the interface. I want to use a swc and just instance the clips I need. Also, I want my...
I'm using Flex Builder more and more and attempting to create a fairly asset heavy application all in Flex Builder.
I know how to publish or export Flash assets as SWC's so they are available in Flex Builder, but what if you have a button MovieClip with frame states in Flash, which is either exported or included in the swf published as a...
I have a Flash component that's just a library of compiled code with some exposed API calls. Normally we distribute this as a SWC or MXP, and it works just fine. Recently I had a client express interest in using my component, but they do all their development in MTASC only. MTASC doesn't support SWC files, so ss there a good way to send ...
Hi,
I have a code library that I have built. It relies on 2 other (third party) libraries. At the moment, when I compile the library into a swc, both third party libraries are included. I am looking for a way to compile my code library against the third party libraries, but without including them in the compiled swc.
This would obviou...
Does anyone know what criterea Flash uses for discovering the Live Preview class for a Component?
Background
We are attempting to automate the creation of a SWC that contains a component to be used from Flash. We are able to make it visible to flash by modifying the manifest.xml and wiring up the component definitions. However, the com...
What is a .SWC file and how is it commonly used?
...
For a normal Flash/Flex application I would include my Unit Tests in my application project (perhaps in a tests source folder alongside my main src folder). I'd then have two application entry points: the app, and it's tests.
How are people doing this for their Flex Library Projects? You know, the kind that produces a SWC file. As far a...
Hi,
I'm trying to compile an SWC file from a list of given ActionScript classes. I'm using the compc compiler. The problem is that there are so many classes grouped into multiple namespaces that I am finding it very tedious to specify each individual class to be included in the SWC. Is there any easier way of doing this like just simpl...
I have a SWC file with a skinned version of the ActionScript 3 UI components. I want to use this SWC file on 'some' of my projects so instead of dropping the file in the Adobe Flash CS4\Common\Configuration\Components path, which makes it available to every Flash project, I add the path to my SWC file in the Publish Settings > Flash > Se...
Ill try to explain the best i can :)
I want to use the strengths of both Flex and Flash in an upcoming project. Doing the graphical related stuff in Flash and all the coding in Flex.
What i want to do is create a layout in flash making classes as you would normally by creating symbols and exporting them for actionscript etc. Then i wan...
I am trying to compile a Library SWC using FlashBuilder while retaining the references to the source code so that asdocs will still appear and the debugger will show source code when there is a problem. The results I want are similar to what you get when you set a "source-attachment" in the "ActionScript Build Path" settings panel. (see ...
I'm working on a very graphic-heavy application which uses content from a bunch of different FLAs. I'm a coder, though, so I want to do all my coding in Flash Builder, however I want to allow my designer to still use a few timeline actions such as stop(); and even a few simple button handlers to change the view. I've been trying to find ...