swc

Loading .swc assets into array, in pure Actionscript 3 project

Hello, I know how to get Flash CS4 symbols into Flash Builder via .swc. The class names become available in the main class, but I can only instantiate those one by one, writing each name into the code. How can I loop through the .swc and load its assets in an array without mentioning their name, then obtain and use these names for inst...

Checking if Browser is using Cached SWC/SWF?

How do you know if the browser is actually using the cached swf RSL/library for Flex projects? I would like to be able to do different things from the preloader based on whether or not the user has never downloaded the library vs. they have it already cached by their browser. Is this possible? ...

Vector class in a Flex Library Project

i seem to be having some problems with the Vector class in actionscript 3 in a Flex Project or an ActionScript Project it is possible to do this var v:Vector.<String>; But when i do the same thing in a Flex Library Project (to create an SWC) then i get the following error on that line of code 1046: Type was not found or was not a com...

what is SWC, when/where we use SWC in Flash

hi, Does any one know what is SWC and where we use this SWC in Flash Development. thanks in advance ...

Building a SWC from IntelliJ Idea without resorting to ant?

First, here's what I want to do: * Compile my library code into a SWC * Do not staticly link the Flex framework At first, I tried just setting up a Flex module, clicking the "library" and "use framework as an RSL" buttons. This however doesn't compile any of my code into the SWC, and it basically just compiles a new SWC of the entire ...

How to embed xml into swc file

How can i embed and then read a xml file from and into a .swc file? ...

Flex SWCs: Are there "debug" and "release" versions for SWC's?

Using Flex Builder 3, I do not have an option to export a release build for my SWC. Is there such a concept - "release" versus "debug" versions for a SWC? ...

Problem using Flash Components in multiple SWC files

[Edit: Short version - how do you properly handle namespace collisions in SWC files if one SWC has fewer classes from that namespace than another?] I have a rather large Flash application which I'm building in Flash Builder (because coding/debugging in the Flash IDE is... not good) and I've got a ton of external SWC files which I'm link...

Flex Preloader sometimes doesn't show before it is at 100%

Hi, I have created a Flex custom preloader, exactly like it is done in this example: http://www.gotoandlearn.com/play?id=108 Now when I implement this, is seems to work fine on my computer in FireFox and Chrome. I publish it on the server, refresh my cache and reload the application and I do get my customized preloader. But on a frie...

Accessing children elements in a SWC

Does anyone know if its possible to access children elements in a SWC? I have created some MC's and inside of some of these MC's I have some dynamic textFields. I export the content to a SWC and load it into my Flex project. No problem loading it or accessing the parent elements, they display fine. But I want to access the textfields...

combine mutiple movie clip functions into a single swc file or MXP file For Flash Action Script 3.0?

hi, I have to build one MXP package for Flash (not Flex). But i have multiple components, somthing like HelpSymbolMovieClips(have its on class), one image holder. etc. I need to combine there swc file into a single MXP file. Is it possible? or How can i make a all these multi movieClip functionality in a single SWC file. Am bit confu...

SWC Instance name on movieclips?

Is it possible to compile movieclips to swc with the instance name as property name? This happends when I add a dynamic text field, but i would like this also on some UI elements. ...

Can we use compiled HAXE swf's swc's in Actionscript as normal libs?

Can we use compiled HAXE swf's swc's in Actionscript as normal libs? I have a swf compiled from haxe code (I can try to compile it into something else SWC for ex) I want to use it as lib in AS3. Is it possible? If yes how to do it? ...

Actionscript classes to 1 SWC file

I'm using Flash Builder 4 (the version after Flex Builder 3, so very similar to Flex Builder 3) and have a bunch of actionscript classes that I frequently need to reference. I have them in a separate folder/package to keep things clean. I know that it's possible to create a SWC from these actionscript files. My question is how do I do ...

Export SWC from Flash and Access Child from Flex

I'm creating an actionscript project in Flex Builder. I succeed to export from Flash a SWC file, and to use it succesfully in Flex. I have a good programming background and Flex looks very simple for me, but I have difficult times in flash. I'm trying to achieve something that might be very simple(not for me of course): I create a simp...

How to run .swc file in flex project?

I have a .swc file and I learned how to add that swc file into the library. I will be happy if any one explain how to use this .swc file into my flex project and run that with an example . ...

Change value from flex in a TextField exported from Flash through a SWC

I created a MovieClip symbol in flash containing a dynamic TextField and a background. I exported it in a SWC(using this method) and I'm trying to use it from flex. When I try to change the default value of the text field the new value is not displayed(indeed the default value I put in flash is cleared on screen, but in the debugger it s...

Understanding Flash SWC's imported into Flex Builder 3 and key framed animation

I am trying to understand what is going on in a SWC that I am importing from Flash CS4 into Flex Builder 3. Specifically I am using a SWC supplied by a Designer as the animation for a custom preloader (a subclassed DownloadProgressBar). The issue I am trying to understand is, once the FlexEvent.INIT_COMPLETE is fired, I cleanup by remov...

TextField instance inside a button created in a separate layer in Flash is null in Flex

I've created an button object in flash. The button contains 2 layers. One is the background image and on top of it is a textField. The textfield is dynamic. I use the button inside a movieclip and I export it in a SWC. The I'm trying to use it in flex. I'm trying to do this: var myComponent:MyComponent = new MyComponent(); myComponent....

facebook application using flex

how to develop new facebook application (login , add photos ) using the api of flex ...