How to create an swc in Flash

Hi
I've searched around, but couldn't find a decent answer for this question...
I have a set of AS3 classes (it's actually the code for papervision 3d), and I'd like to create an .swc library in order to speed up compiling. Papervision provides an swc, but I've modified the core library.
I don't use Flex, or Flash builder, for the moment I'm using only Flash CS5.5 and the command line.
How can I create an swc from this code that can then be imported into a Flash file as a library?
From my search I'm getting the sense I need to use the command line tool compc, but I don't see clear instructions on how to do this. Does anyone know? Thanks.
-rich

If you have Windows as an OS, perhaps consider FlashDevelop (http://www.flashdevelop.org/) with the ExportSWC plugin (http://sourceforge.net/projects/exportswc/)? Looks like some people may be having some issues with it working 'right out of the box' with the latest release of FlashDevelop, but there seem to be answers to most problems within the FlashDevelop forums.

Similar Messages

  • How to create Theme SWC using Flash Builder 4

    I have created a library project in flex which contains spark skin classes for certain controls and a style sheet class. The problem is when I use the SWC generated by thsi project  and import this SWC as Theme and apply it to another test project. the stylings chasnges are not reflected.
    IF I use comand line to generate Theme SWC the changes are reflected.
    Can any one help me use FLash Builder to create and apply theme SWC.

    Connect to PHP in FB4 is used when you have a PHP Class and you want to use that in FB, for example Employee.php and it has a Employee class and various methods in that like create, update, get, delete.
    However, if you have exposed your functionality in PHP as a HTTP URL (i.e. it is not a class), then you should be using HTTPService from the data menu.
    So if your file is login.php and is accessible as a URL, then using the HTTPService and enter the URL.
    Does this help?
    -Sunil

  • Need to learn how to create a slideshow in Flash

    Hello All,
    I'm new to Flash and I need to learn how to do a slideshow with exactly the same features as can be found in this link:
    http://www.esppromo.com/index.asp
    Just like at the link above, it needs to play through the slides automatically once the page is loaded, each slide needs to link to a specific URL, and I need controls similar to the boxes at the bottom so the viewer can click on any specific slide they wish to view (I'd like to have numbers in the boxes though). The transitions don't have to slide across like this. If a fade is easier, that would be fine.
    Since I've looked online, but can't find any tutorials for doing this in Flash Professional, I think I'll pick up a book on Flash. There are some online tutorials that are close but nothing that is exactly what I'm looking for.
    I'm just wondering if anyone can recommend a particular book that covers creating this type of slide show with the links and controls exactly as I need it to be. I see these types of slide shows on a lot of sites now, so I'm hoping that maybe someone else on this forum has had to learn how to do this and can recommend a book they used?
    I was looking at Adobe Flash Professional CS5 Classroom in a Book and it looked like it may be what I'm after, but I am rather cautious, as I don't want to end up with instructions that are close to what I am looking for, but not quite right.
    Actually, I thought I'd be able to do this fairly easily with Flash Catalyst, so I updated to Adobe CS5 Design Premium. I found that Flash Catalyst can be used to create a slide show like this, but unfortunately it won't play automatically when the page loads and the viewer has to manually click through the slides, which is not what I need. I could be wrong, but from what I've read, I need Flash Builder to add code so the slide show will play automatically if I create it in Flash Catalyst. Since it's not an option for me to buy more software at this time, I've decided to learn how to do this in Flash Professional.
    I really want to learn how to do this. I expect to go on and create more using Flash, but for now I just REALLY need to figure this slide show out.
    If anyone can help out, I'd really appreciate it!
    Thanks,
    William

    Edit:
    i'm sorry. it is a huge work to type this and will be confusing as hell. i'm already up to 1 full word page of explanation. Though i am able to do it, explaning it in full lengh is ... well.. very hard. Way harder than it is to make your flash itself.
    I can however point you to some element you should read about how to make them:
    - How to use timeline in flash cs4
    - how to create a button in flash cs4
    - How to make "CLASSIC TWEEN" in flash cs4
    - How to use ActionScript 2 ( AS2) basic command like : GetUrl, Gotoandplay, Stop and how to put those script in the right location. ( AS2 allow you to put script directly on the button itself. however it is best to put it in the Action Layer that you will have to build in the timeline.
    - How to import thing in library.
    keep in mind that what you want to make is mostly a Logic probleme...
    - Image 1 click = GetURL X,
    - After Y time, Switch image 1 to image 2 with animation. Do the same for the button.
    - If you click on button 1 while being on image 3, you have to set all the reverse animation in the timeline, and use a lot of Gotoandplay.
    Hope this help you a little.
    I'm sorry. i really wanted to help you do it, but it is just a monstruous job to write all this.

  • How to create volume slider for flash cs 5 using action script 2.0?

    how to create volume slider for flash cs 5 using action script 2.0?the output should like if user want to hear sound in slow pitch,medium pitch or high pitch(slow to high pitch anything).i have attach this sound to button with using this code:
    stop();
    mySoundBtn.onRelease = function () {
              mySoundC = new Sound(this);
              mySoundC.attachSound("mySoundClip");
              mySoundC.start(0, 10);  //10 represents the number of loops
              gotoAndPlay(2);
    This sound plays till 3-4 scene ahead.
    Can anyone help me?

    Hey thnx Ned.
    this sites are really helpful.but,i have used sound through button.so how it is possible to attavh the link with slider.i have created slider also.
    Below is my slider code for sound.
    onClipEvent (load) {
        mySound1 = new Sound();
        mySound1.loadSound((myScale)+"/"+(myTanpura)+"/"+(myTanpuraSwar)+"/"+(myTanpuraTempo)+".w av", true);
        mySound1.onSoundComplete = function() {
        mySound1.start();
        mySound1.start(0.058,999);
    onClipEvent (enterFrame) {
        downloaded = mySound1.getBytesLoaded();
        total = mySound1.getBytesTotal();
        if (downloaded != total) {
            _root.dl = "You have to buy this software...";
        } else {
            complete = 1;
            _root.dl = "";
        mySound1.setVolume(ratio * 2);
    This code is working for slider.I mean it scrolls the slider.but it dosent make any effect to sound.
    Below is my button code.
    stop();
    mySoundBtn4.onRelease = function () {
              mySoundC = new Sound(this);
              mySoundC.attachSound("mySoundClip4");
              mySoundC.start(0, 300);  //10 represents the number of loops
              gotoAndPlay("play1");
    this is on button's frame.not exactly on button.
    Button and Slider both are on diffrent scene.
    Can you plese help me out?

  • How to create a Macromedia's Flash Java Player with JMF?

    How to create a Macromedia's Flash Java Player with JMF? Can you give me an example? My email:[email protected] [email protected]

    Yes, there is a way. Look up JTree in the API.-can you post some code.... i cant figure out on how to use JTree...
    i'm still confused on where will i get the entire directories of my drives...
    thanks

  • How to create a SWC file in flex

    Can any one help me giving step by step information of how to create .swc file in flex..Iam a starter to this...Pls reply

    You need to create Flex Library project & after compilation you will find project_name.SWC in bin-debug folder.
    referr
    http://www.adobe.com/devnet/flex/articles/flex_swc.html
    http://www.daveoncode.com/2009/04/07/deploy-and-work-with-flex-swc-library/
    http://kennethsutherland.com/2009/06/12/simple-tip-3-utility-swc-library-project/
    *If this information is useful, then mark this post as such.

  • Create library (swc) in Flash Builder 4 / Flex Project (not in a Library Project)

    I want to create a swc file to use it in an other project. I can't use the Flash 4 Library Project to do this, because in a Library Project I
    haven't the possibility to use data/services, which I need for my library. After click on "data / services" I get the message "This view is only for Flex-Projects available".
    Has anyone a solution for my problem?
    Thanks for your help.

    Connect to PHP in FB4 is used when you have a PHP Class and you want to use that in FB, for example Employee.php and it has a Employee class and various methods in that like create, update, get, delete.
    However, if you have exposed your functionality in PHP as a HTTP URL (i.e. it is not a class), then you should be using HTTPService from the data menu.
    So if your file is login.php and is accessible as a URL, then using the HTTPService and enter the URL.
    Does this help?
    -Sunil

  • How to create a USB recovery flash drive using recovery ISO image?

    This “HowTo” provides information and instruction how to create a USB recovery media flash drive using the Toshiba recovery ISO image files or Toshiba Recovery discs (DVDs)
    To create a USB recovery media flash drive, a USB flash drive with at least 16GB disk space is suggested (depends on the size of the ISO images or recovery discs).
    Note: Since 2015 the ISO layout has changed and a different procedure must be processed to create the USB media. The new recovery media type can be identified by the names of the ISO files.
    More info: http://aps2.toshiba-tro.de/kb0/HTD4103KB0000R01.htm

    Yes, that article should apply to tablets.
    But if your USB recovery drive does not get recognized then it must be corrupted - you should be able to format your disk and perhaps try to see if creating a Recovery device on other devices will make it recognizable on your tablet 2.

  • How to create web pages in Flash?

    Hi,
    I am trying to create a personal portfolio website using Flash CS4.
    Understand that there are a number of ways to create web pages using Flash.
    One way is to create separate swf files for the web pages and load them when the web page is requested.
    Another way is to put the pages in separate frames in the same swf file or to use scenes and use gotoAndPlay().
    Another possible way is to create separate movie clips for the web pages.
    Wonder if anybody can advice the recommended way of creating the web pages.
    Thanks in advance.
    regards,
    ladybug

    there are pros and cons to each approach.  which is best for your situation depends on your specifics.

  • How to create a Playlist in flash Streaming Server

    Hi all,
            am new in the flash streaming server. I download the Flash streaming server and install it its work fine.
    I want know about the following question:
              how to stream the video using playlist?
              What is the format of the playlist?
              can i create a playlist from visual studio.Net and pass the value to the player?
    awaiting your reply,
    Thanks in advance.

    If you have bought Streaming Server License - you want to be able to create any server-side playlists as you cannot write you own customized code on Streaming Server.
    However what you can do is create client-side playlist using client-side code, place all your files in media folder of VOD and use them in your playlist. Playlist is nothing but set of plays which are queued up so you just need to issue NetStream plays with last parameter "reset" set to false - this is so that you do not reset your previous play.
    So it would be like
    ns.play("abc",0,20,true);
    ns.play("xyz",0,30,false);
    ns.play("uvw",0,20,false);

  • How to create a sequence of flashes ...

    hey i'm trying to create a simple version of a simon says game. where the applet will have (some image) and it will flash (some image) in differnent sequences. i want it to randomly choose a sequence - that's the first part... then I would like to have the sequence extended on the next time around... I can't really explain it but here is some code that I have but I can't really understand it
      //     Setup the sequence array
      public void sequence() {
        int prev1= 0, prev2= 0, curr;
        for (int a= 0; a<imgSquare; a++) {
          while (prev1 == (curr= rand(7) + 1) || prev2 == curr) ;
          prev2= prev1; prev1= seq[a]= curr;
        seqLength= min_seqLength;
       //     Random numbers
      int rand(int siz) {
        return Math.abs(rand.nextInt()) % siz;
      } i think this is what is supposed to happen, but i'm very new to java so I am not really sure what to do first.
    I would like to have seven squares on the applet and each applet flashes in different sequences, the first one short, the next one longer...and so on.
    can anybody please help me out with this???
    how should I structure this program and where should I start first?
    Thank you in advance

    The basic idea here is,
    --> Store the images in an array of size 7
    loop {
    --> Randomly generate an integer in the range 0 to 6
    --> Get the image out of the array with this random index
    --> Update the image on your applet square(or whatever)
    } // end loop
    regds,
    CA

  • How to create php login in flash builder 4 using php data service

    I have seen the tutorials for creating a php login authentication using HTTP service in flex 3 It uses genrating xml and reading it . But i want to know how to do that with the help of php services in FB4 . I'm a newbie so please any kind of help would be appriciated as 'm not able to get any flex developer in nagpur ....

    Connect to PHP in FB4 is used when you have a PHP Class and you want to use that in FB, for example Employee.php and it has a Employee class and various methods in that like create, update, get, delete.
    However, if you have exposed your functionality in PHP as a HTTP URL (i.e. it is not a class), then you should be using HTTPService from the data menu.
    So if your file is login.php and is accessible as a URL, then using the HTTPService and enter the URL.
    Does this help?
    -Sunil

  • How to create slick maps in Flash?

    Admiring the new Flash maps I see on the web and wondering how I can make my flash map look as slick?
    I can make decent maps in flash but would like to make transparent windows, slick dropdowns, etc.
    I am not asking you to explain it all but if you could simply point me to a book or online resource I would be very grateful!

    And what business do you have on a forum where noobs ask for advice? To point to google?

  • How to create a preloader in Flash CS5?

    can someone help me with creatinga preloder in CS5?

    Here is the code.Create a movie clip and call it logo_mc    Inside that movie clip insert a text field.  Make it dynamic.  then lable it percent.  This will create a nice preloader.  Do not put this code in your current project.  Create a new file.  change "http://www.buttonbeats.com/images/pianonewSounds.swf" to the address of your flash app.
    var l:Loader = new Loader();
    l.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, loop);
    l.contentLoaderInfo.addEventListener(Event.COMPLETE, done);
    l.load(new URLRequest("http://www.buttonbeats.com/images/pianonewSounds.swf"));
    function loop(e:ProgressEvent):void
        var perc:Number = e.bytesLoaded / e.bytesTotal;
        logo_mc.percent.text = Math.ceil(perc*100).toString()+"%";
    function done(e:Event):void
    //    for(var i:uint = 0; i < numChildren;i++){
    //        trace("CHILD:"+getChildAt(i).name);        
        removeChildAt(0); 
        addChild(l); 
        var movie:* = l.content; 
        movie.play(); 

  • How to create Calendar Control using Flash Builder

    I want to implement a calendar control in Flex using flash builder 4.5.1. For this, I am thinking to extend the DateChooser Control.
    Can any please guide me in the correct way to get my  calendar control.
    In that calendar control I want to add some small images/text in each day cell with a tool tip information and with different colors for each day cell of the calendar control.
    plz help me.
    regards
    vijay

    Connect to PHP in FB4 is used when you have a PHP Class and you want to use that in FB, for example Employee.php and it has a Employee class and various methods in that like create, update, get, delete.
    However, if you have exposed your functionality in PHP as a HTTP URL (i.e. it is not a class), then you should be using HTTPService from the data menu.
    So if your file is login.php and is accessible as a URL, then using the HTTPService and enter the URL.
    Does this help?
    -Sunil

Maybe you are looking for

  • Gettin data from SAP R/3 4.7 unicode sys to SAP ERP non-unicode sys via RFC

    We are trying to get data from SAP R/3 4.7 unicode sys to SAP ERP non-unicode sys via RFC. We are reading field from the database via FM and this field got converted by SAP standard Method (CL_ABAP_CONTAINER_UTILITIES=>fill_CONTAINER_C) from structur

  • Report to show Dely sch dt/OA dt/IBD dt.

    Hi, Is there any standard report to show quantities against the following. Input is Material. Delivery schedule date as per PO/Order Acknowledgement date as entered in Confirmations tab/Delivery date as mentioned in Inbound Delivery document. If it i

  • Oracle 10g webcache as load balancer with Clusterware for HA

    Hi All I'm trying to put together a solution for my organisation to include a resilient load balanced setup without buying hardware load balancing kit. We are implementing an Oracle Forms based product from a software supplier on the Oracle 10g Forms

  • Oracle Linux 6.4 Do Not Boot After GUI Installation

    Hi Guys, I installed Oracle Linux 6.4 in my Virtual Box Machine with Minimal Option. There was only command page withouth any GUI. and then i have installed 'X Window System' and 'General Purpose Desktop' by writing yum groupinstall -y 'X Window Syst

  • How To Organize Entity Files In A Project

    I'm using Entity Framework to connect to our databases and the project is getting clutter with multiple edmx files. I tried to drag them to a Data Models folder that I created, but that broke the project. Is there a way to put the EF model files into