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

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

  • FlasCC SWC freezes Flash Builder 4.7

    I have a 1.5 MB SWC created using FlasCC. When I add this SWC to my project, FB 4.7 becomes unresponsive for a couple of minutes. When I close it and then re-open it, it becomes unresponsive for four minutes. After it finally opens, the auto-complete on the CModue class brings up the pin-wheel for a few seconds.
    FB 4.6 is fine. It opens normally and the auto-complete is fast. I'm using OS X 10.8.4.
    Does anyone know what's causing this issue in FB 4.7?

    I have a similar issue. I have used FlasCC to create a trivial SWC (literally one function that just returns an int (2)), and whenever I use autocomplete in my project in flash builder 4.7 it takes an eternity to respond. This is for anything at all, not just members of the library. Member functions in the swc might be even slower than a general autocomplete, but the main problem is that everything is really slow. I think once the autocomplete cannot be something from an SWC then it returns to being fast.
    I haven't noticed the project opening being slow or adding the swc being particularly slow however.
    This issue is present when using the sample SWC created exactly as in sample 5 in the flascc folder. Having created a similarly simple SWC in Flash Builder 4.7 directly there is no delay in autocomplete.

  • Flash Builder and Flex 4 Press Coverage

    Could someone post some links to some of the  BIG BANG press coverage of the Flash Builder and Flex 4 releases ?

    What is an example of the code that is the source of the error?

  • Help deploy flash builder 4.5 project

    I need help.
    I am trying to deploy my first Flash Builder 4.5 project using the Zend framework.  My application runs fine on my localhost (on my home computer).  I am having trouble deploying it to my remote server.
    The error I receive is ‘Send failed  Channel.Connect.Failed error  NetConnection.Call.BadVersion: : url:’…’
    In the instructions it says that I need to modify the amf-config.ini file as follows:
        Uncomment zend_path and enter the absolute path for zend_path
        Set amf.production to true
        And update webroot with absolute path to the root on the server
    Here is the contents of my amf_config.ini file:
    [zend]
    ;set the absolute location path of webroot directory, example:
    ;Windows: C:\apache\www
    ;MAC/UNIX: /user/apache/www
    webroot =/home4/hiddenp6/public_html/HPD/
    ;set the absolute location path of zend installation directory, example:
    ;Windows: C:\apache\PHPFrameworks\ZendFramework\library
    ;MAC/UNIX: /user/apache/PHPFrameworks/ZendFramework/library
    zend_path =/home4/hiddenp6/public_html/HPD/ZendFramework/
    [zendamf]
    amf.production = true
    amf.directories[]=HiddenPointeAdmin-debug/services
    Thanks for any help you can offer...

    You can disable the asdoc hover by toggling Preferences -> Flash Builder -> Editors -> ActionScript Code -> Show in text hovers.
    -Anirudh

  • Creating .as class in Flash Builder for movieclip stored in SWC

    I need to use movieclips created in Flash Professional CC in my Flash Builder project. I have exported my .fla file as an .swc and included it in my Flash Builder project. The movieclips for which I DON'T need a custom .as class import without a problem. But the movieclips that need to be linked to an .as class don't appear. I have tried the following, using my ThoughtBubble movieclip as an example:
    1) Giving the .fla with the ThoughtBubble movieclip access to ThoughtBubble.as so that the movieclip doesn't create a dummy ThoughtBubble.as file.
    2) Denying the .fla access to ThoughtBubble.as so that the movieclip is forced to create a dummy ThoughtBubble.as class.
    Either way, the ThoughtBubble movieclip does not appear in the list of movieclips in my swc when imported into my Flash Builder project.
    3) I also tried removing my ThoughtBubble.as file from my FlashBuilder project and THEN importing the swc. The ThoughtBubble movieclip does show up in the list of swc assets--BUT when I try to create a ThoughtBubble.as file, I get the following error: "ThoughtBubble.swc already exists."
    What am I doing wrong? How can I link my ThoughtBubble movieclip with ThoughtBubble.as in Flash Builder?
    Here is a screenshot of my fla publish settings:
    And a screenshot of my ThoughtBubble movieclip properties:
    Thanks in advance!

    flex is not good for games because of performance compared to pure as3

  • 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.

  • How to display rich content with URL in adobe flash builder and flex for mobile apps?

    Hi,
      In Apple IOS SDK, I used the WebView control to display the rich text with Bullets, different font style, images within the text and the URLs also within the text as HTML content.
    Clicking on the URLs automatically opens the respective webpage in Safari.
    In Adobe Flash Builder, I don't see any control straight away equivalent to Apple WebView control.
    How to implement the same using adobe and flex?

    Thanks for your reply, its nice to know its not just me.
    the error i got when submitting to the App store where due to native support for IPHONE 5 which is now mandatory (from May 1st), looking around the internet the common soloution seemed to be upgrading to Air 3.7.
    The strange erorrs on 3.7 revolve around compiling a standard / production build (fast build works fine)
    the error is always the same (snippet shown below):
    Error occurred while packaging the application:
    Undefined symbols for architecture armv7:
      "__ZN7avmplus8Debugger9debugLineEi", referenced from:
          __ZN7avmplus9MethodEnv9debugExitEPNS_13CallStackNodeE in AOTBuildOutput-4.o
          __ZN7avmplus11BaseExecMgr22debugEnterExitWrapperNEPNS_9MethodEnvEiPj in AOTBuildOutput-4.o
    I have completly failed to work out why, but my gut feeling is its something to do with how the mac is compiling the code in standard build and unable to find a library it needs.
    cheers
    Toby

  • Loading purchased swf into Flash Builder 4 Flex app

    I have purchased a Flash "fundraising thermometer" from an online Flash components site. It takes input from an xml file and displays a thermometer with the goal at the top and the current amount raised indicated. It came with the following files:
    thermometer.swf
    thermometer01.fla
    thermometer01.html (A sample that works.)
    xml/thermometer.xml (The source file: goal amount, current amount, mark interval, etc.)
    caurina/transitions (Mostly .as files.)
    Since the test html (thermometer01.html) works fine, I thought this would be a no-brainer.
    I first unzipped the files into a "thermometer" folder in my current project. I then went into Flash Builder and created a SWFLoader object as follows:
    <mx:SWFLoader 
    id="myLoader" source="../thermometer/thermometer.swf" complete="initThermometer();" autoLoad="true" scaleContent="false"/>\
     private function initThermometer():void { 
         Alert.show('Thermometer loaded');
    The Design view looks fine. I can see the thermometer default image (see below).
    When I run the app, I get no errors, just a broken image link in a box (see below). The alert box also never shows up.
    I'm new to Flex, so I may be doing something stupid that keeps this from working. I contacted the author of the thermometer widget but he doesn't know anything about Flex.
    Any help figuring out how to get this to work in a flex app would be appreciated.

    You should probably add more event handlers to see what's going on.  Especially "ioError". The complete list is below.  For coverage, add a handler for each event. You can also use in MXML
         complete="initThermometer(event)
    and add an argument to your Actionscript method, to find out details about the event.
    private function initThermometer(event:Event):void { 
         Alert.show('Thermometer loaded ' + event.type);}
    Events
        complete="No default"
        httpStatus="No default"
        init="No default"
        ioError="No default"
        open="No default"
        progress="No default"
        securityError="No default"
        unload="No default
    General info here:
         http://livedocs.adobe.com/flex/3/langref/mx/controls/SWFLoader.html
    I did not test my code suggestions, but it's probably close.

  • Developing Iphone App using Flash Builder and Flex Air Mobile

    I started developing an Iphone app using the trial version of Flash Builder and was pretty impressed with how easy it was, then i hit problems:
    Trying to submit my app, I was getting invalid binary, using google i tracked this down to a change in the Apple App Store meaning that all apps needed to have native iphone 5 support, which meant updating to Air SDK 3.7
    Updating to AIR SDK 3.7 was a nightmare (mainly as a result of my failure to read the small print)
    Once I got SDK 3.7 to  work with flash builder / flex mobile i though i was there.
    However now i can produce a fast build but everytime i try and produce a standard / production build i get strange errors (air 3.8 does the same).
    My Question is - before i actually buy Flash Builder has anybody actually achieved the following:
         Building an Iphone App using:
         Flash Builder 4.7    (running on OSX)
         Flex Mobile 4.6
         Air 3.7
    If so how ?
    cheers
    Toby

    Thanks for your reply, its nice to know its not just me.
    the error i got when submitting to the App store where due to native support for IPHONE 5 which is now mandatory (from May 1st), looking around the internet the common soloution seemed to be upgrading to Air 3.7.
    The strange erorrs on 3.7 revolve around compiling a standard / production build (fast build works fine)
    the error is always the same (snippet shown below):
    Error occurred while packaging the application:
    Undefined symbols for architecture armv7:
      "__ZN7avmplus8Debugger9debugLineEi", referenced from:
          __ZN7avmplus9MethodEnv9debugExitEPNS_13CallStackNodeE in AOTBuildOutput-4.o
          __ZN7avmplus11BaseExecMgr22debugEnterExitWrapperNEPNS_9MethodEnvEiPj in AOTBuildOutput-4.o
    I have completly failed to work out why, but my gut feeling is its something to do with how the mac is compiling the code in standard build and unable to find a library it needs.
    cheers
    Toby

  • Flash Pro CC produces swc that Flash Builder can't compile

    I've been using Flash CS6 to work with graphics and I export swc files to use them in my FlashBuilder project.
    Today I tried to use to new Flash Pro CC. But now I've got the following issue. When I try to Run/Debug my project шт FlashBuilder - compiling is never be finished. It stucks on 57%. And it doesn't show any error.
    I worked fine when I used Flash CS6 to made swc files.
    I tried to use FlashBuilder 4.5 and 4.7 with different FlexSDK (from 4.0 to 4.6). But it didn't help.
    By trial and error I could figure out the problem is in any code I use in frames in my fla files. I usestop(); in many MovieClips. But that's enough that my projects can't be compiled now
    I tried to comment stop(); but Flash Builder still can't finish the compilation. Only full removing all the code from my fla files allowed the project to be compiled.
    Has anyone catched this bug too? Maybe is there better solution?
    Sometimes I use stop(); and gotoAndPlay("frameName") in frames to loop some animations - it's really convinient. And I wouldn't to give up this convenience
    P.S. Just in case I work on Mac.

    Try changing target player in Flash Professional to match Flex SDK version. For example Flex SDK 4.6 targets Flash Player 11.1.

  • 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

  • Is there a way to Open as3Proj in Flash Builder or Flex?

    I am starting to work on a project that they've been developing in FlashDevelop. Flash Develop creates a as3proj and I am sure there is a way to work on the project in Flash Builder...
    You guys have any idea on how I would go about doing that?
    Thanks!

    Hello,
    So I am not familiar with FlashDevelop and how it stores its projects, but is there any reason why you cannot just create a Flash Builder ActionScript project and point it to the same source files and libraries etc?
    -george
    George Comninos
    Sr Computer Scientist
    Adobe Systems Inc

  • Import WSDL into Flash Builder 4 (Flex 4)

    Our Flex 3 applications use the File \ Import \ Web Services (WSDL) feature to import a WSDL directly into our source code.
    With Flash Builder 4, how do we import a WSDL directly into our source code?
    Thanks,
    Bruce

    With Flex Builder 3 I used to import Web services directly from my file system, is that possible any more?
    Thanks,
    Philip

  • Flash Builder 4: "Flex 2 is not supported; use Flex 3.0.0 or higher "

    In our project we have to maintain an application developed in Flex 2, but we have licensed Flash Builder 4, which is now available for Adobe only. When we tried to configure Flash Builder 4 with Flex 2 SDK we get the following error: "Flex 2 is not supported; use Flex 3.0.0 or higher "
    What should we do to work with Flex 2 in Flash Builder 4?
    Thanks for the help

    In our project we have to maintain an application developed in Flex 2, but we have licensed Flash Builder 4, which is now available for Adobe only. When we tried to configure Flash Builder 4 with Flex 2 SDK we get the following error: "Flex 2 is not supported; use Flex 3.0.0 or higher "
    What should we do to work with Flex 2 in Flash Builder 4?
    Thanks for the help

Maybe you are looking for

  • Is it possible to upgrade iq526 graphics ?

    i just purchased an iq526 and altho the graphics are ok i would like to see faster frames on game like world of warcraft. Can i upgrade this video card to say a a 9600m from its current 9300m ? if that is possible could i get a link to the area i wou

  • MacBook Pro 2011 won't boot

    My early 2011 MacBook Pro 15" won't boot. Second time dealing with this this year. Apple Store charged me $300+ to fix it the first time. It worked for a few months, but stopped working again. Took it to the shop again and asked them to fix it for go

  • SAP ECC 6.0 GUI

    Hi,       can anyone tell me is there any version related to 4.7 which has the GUI as ECC 6.0?

  • Corba Client to a Session Bean deployed in OC4J

    Hello! I'm looking for an example showing how to make a call to some EJBs deployed in OC4J (Orion) through a plain CORBA call in java?... Is this possible? I know that regular EJB uses RMI over IIOP based on CORBA... is it possible to use only the CO

  • Capture Trainer in Quiz Results

    We are using Presenter 6.1 and Office 2003. On our shop floor we have trainers that want to lead a trainee through a quiz and then in the Quiz results capture who the trainer was. We are capturing the trainee as that person logs into Connect to acces