Flex Unit 4 Beta 2 and Flash Builder

Hi
I've downloaded Beta 2 and have got the sample ant task working how I want.
I'm having problems running tests in flash builder though.
When I right click and go to execute FlexUnit tests the generated mxml file tries to use the following runner:
xmlns:flexunit="flexunit.flexui.*">
<flexunit:FlexUnitTestRunnerUI id="testRunner"/>
which it can't find.
No additional swcs were added to the compiler path in the propject properties. Perhaps I just have to add som eprevious version swcs to my lib folder?

Hi,
Unfortunately this doesn't have anything to do with the FlexUnit code itself. These are bugs inside of the Flash Builder plugin. You may want to post on their forum as well to try to get some support.
The only advice I can offer, is that things seem to work much better if I consistently use the Execute FlexUnit Tests, which can be found under the run button. They work much less well if I right click and tell it to execute tests.
Mike

Similar Messages

  • Integration between Flex 3 SDK and Flash Builder 4.6

    I buy a book for Flex 3 SDK and I want to create this book exmaple in Flash Builder 4.6 ...
    infact I want to build a CMS with Flash Builder and this book discuss for it but in Flex 3 SDK.
    please show link to me for completely explanation.
    tanks a lot

    dont import it, do it from scratch in fb4

  • Difference between flash builder beta and flash builder beta 2 webservice.

    hey guys... got a quick weird question, im using a lot of webservices, and i immidiately noticed the new thing in the interospection wizard, there is a new field in the wizard called "Data type package", i was wondering what that field is exactly??
    i never noticed anything like that in the previous versions of flex,
    from my understanding it just sticks all the main components under "valueObjects"
    Thanks in Advance

    so let's say you have some php service and it returns a collection of objects through amf.
    for example your php has something like:
    $array = new array();
    $car1 = new car();
    $car1->year = 2009;
    $car1->model = 'ford';
    $car1 = new car();
    $car1->year = 2005;
    $car1->model = 'audi';
    $array[] = $car1;
    $array[] = $car2;
    return $array;
    well, when FB receives this data (when your return the config type) it will recognize that you're returning a collection of objects, specifically a collection of car objects that contain two properties (year:int and model:String).
    FB will offer to generate the Flex car class for you and you can store this autogenerated class in your valueObject folder (or whatever folder you want).
    does that answer your q??
    - e

  • The Blueprint Eclipse plug-in is live on Adobe Labs (for Flex Builder 3 and Flash Builder 4)

    Hi all,
    Last week, we posted the initial, Mac-only, Flex Builder 3-only release of the Blueprint Eclipse plug-in on Adobe Labs. Yesterday, we updated it to include support Windows and Flash Builder 4. Please try it out if you get a minute.
    For more info, see the Flex Doc Team blog: http://blogs.adobe.com/flexdoc/2009/06/the_blueprint_eclipse_plugin_i.html
    Regards,
    Randy Nielsen
    Flex Learning Resources Manager

    That's so cool.
    Thanks Randy.

  • Multi-module Maven and Flash Builder 4

    Sorry for cross-posting this, but I responded to:
    http://forums.adobe.com/message/3235768#3235768
    which was posted in the Flex forum, and this is more about Flash Builder. The issue is that content assist doesn't work with a multi-module maven project containing a Flex Project module. So here is my response to the above. Hopefully someone will see it here:
    <quote>
    I'm having the EXACT same problem reported by you as well as here:
    http://forums.adobe.com/message/2580402#2580402
    Steps to reproduce:
    1) Install Adobe Flash Builder 4 Standalone (I initially tried with Spring Toolsuite 2.5.0, but thought I should try with the standalone version from Adobe).
    2) Open FB4 and create a brand new workspace
    2) Add Eclipse Galileo and M2Eclipse as update sites
    3) Install m2eclipse
    4) From the command line, create a basic maven project via 'mvn archetype:create'.
    5) Remove the src folder and change packaging type to pom
    6) In FB4, import the new maven project
    7) Create a new Flex Project via File -> New -> Flex Project. Change the location so that it's in a folder under your newly created maven project
    8) Open Main.mxml -- notice that the generated file has syntax errors in it (another issue). Fix those errors and attempt the Content Assist -- no dice
    Notice that this is a vanilla FB4 standalone install. The only thing I added was the M2Eclipse plugin. Also, I am NOT using flexmojos, nor have I added a <modules/> section to the parent pom yet. As far as FB is concerned, the new flex project is just in a folder underneath another in it's workspace. Also note that this is a brand new workspace -- so a corrupted workspace shouldn't be an issue (as was apparent in the beta).
    This has been driving me nuts. We need this functionality. We have a multimodule maven project and really want to use Flex and Flash Builder. We're still in the eval period for FB, but may have to forgo buying FB and instead go with FlashDevelop, even though it's not as powerful.
    Justin
    </quote>

    Hi guy,
    its actually quite simple.
    The  "Root Folder"  "Root URL" "Context Root" define your server directory and its url.
    as the root folder you put in
    <your blazeds install dir>/tomcat/webapps/<your project dir> // you take the blazeds.war file and copy it , rename it and voila your app dir is ready
    so it should read something like : c:\blazeds\tomcat\webapps\my_project --> this then has a WEB-INF/flex directory in it. Thats why you have that error of yours  --> Invalid root. The WEB-INF/flex folder must contain either flex-config.xml or services-config.xml.
    the root url is something like
    http://localhost:8400/<your context root> --> is usually your project name in lower case
    the context root is your project name, the same name as your copied blazeds.war file
    <my_project_name> --> thats what you insert to access your app in a webbrowser
    Hope that helped a bit
    I am just getting started myself, so i hope i didnt make any mistake, if so I would also be happy if anybody you knows better corrects me    
    Have fun and good luck
    einrocker

  • Testing the water on possible Flash Professional and Flash Builder integration

    Hey,
    I just wanted to throw this out here instead of the bug area to see if I'm off my rocker or I'm on to something.
    Basically one of my major pains is that any application design I do, I do it in Flash Pro and I code in FB. Switching back and forth between apps just to press CTRL + ENTER seems like a) a waste of time and b) a waste of system resources.
    So what I'm proposing is having FB integrate with FLA files.
    When you create your product you have the option to specify a target FLA (or multiple with a build order) so that when you test your project it will actually build your FLAs in order (in the situation that the final SWF requires others) and you're off to the races.
    You could also have the currently associated FLA files have a checkbox next to them which could temporally disable them for a build.
    If you still need to make design tweaks later on, it's a mater of opening Flash and doing them, but it would be so slick to be able to have FB render the FLA for you in the same app (no more random CTRL+ENTER in FB anymore!)
    As far as where it could go. I think it would work the best if it was just a new tab that could be added to the perspective. Would allow drag+drop of FLA files to it, drag+drop ordering and also have the checkboxes to disable any FLAs from the build.
    So there we go, does that sound like a decent workflow?
    Cheers!

    Hi guys,
    Have you considered Testing the water on doing your design work in the new Flash Catalyst software http://labs.adobe.com/technologies/flashcatalyst/ for your skins instead of Flash CS4.
    You would be able to export directly in the new FXG format and integrate it directly in your FB4 coding.
    There is a tremendous productivity potential gain there.
    I am planning to abandon eventually completely Flash CS4 for both design  and coding and substitute it eventually by simultaneously working in FB4(coding) and Flash Catalyst(design) with input symbols directly linked to photoshop and illustrator related files.
    For those of you who would like to wet their toes  and initiate  a quick dive, Lynda.com has already released, on june 11,  an 1h40 min course on this subject. Here are the details.
    Length: 1 hour
    Online Training Library® exclusive!
    Flash Catalyst Beta Preview
    with: Mordy Golding
    Flash Catalyst is a new Adobe application that is currently in beta and available for downloading atlabs.adobe.com, that allows designers to quickly create interactive Flash content and rich internet applications without having to write a single line of code. In Flash Catalyst Beta Preview, Mordy Golding demonstrates a workflow that emphasizes the intuitive nature of the tool, and shows how to achieve results in a short time. Meant to bridge the gap between designers and developers, Flash Catalyst allows the designer to work with familiar applications, such as Photoshop and Illustrator, while automatically generating the necessary code in the background for the developer. Exercise files accompany the course.
    Topics include:
    Creating interactive content from Photoshop and Illustrator design compositions
    Turning ordinary graphics into functional components like buttons and sliders
    Using smooth transitions and animation techniques
    Moving content between Flash Catalyst and Flash Builder
    Declarative Graphics
    Flex 4 will make good use of FXG, the new graphics interchange format used with the CS4 graphics applications. Flex 4 and Flash Player 10 can together render FXG graphical elements. These include:
    graphics and text primitives
    fills, strokes, gradients, and bitmaps
    support for filters, masks, alphas, and blend modes.
    FXG graphical elements can be used in Flex 4 in a number of ways. FXG elements can be used within an MXML file or component and can also be saved as an .fxg file format. The CS4 tools will typically export an FXG using the FXG 2008 namespace. Because these files are designed to be shared between graphical applications, you’ll find that they have a stricter format to what’s used in Flex; the Flex compiler will only use the FXG-specific tags. Adobe’s new application, Flash Catalyst, will make it easy to create FXG graphics compatible with Flex 4, which you can then use to complete your application’s user interface and appearance.
    New effects have been added to Flex 4 that can also be applied to FXG graphical elements. These new effects will work on both new and old components alike. Standalone effects must now be declared within fx:Declarationstags instead of the body of the application. Once again, Flash Catalyst has additional tools to help make using these effects easier.
    Ref:http://www.sitepoint.com/article/whats-new-flex-4/ by Andrew Muller

  • Importing Flex 2 projects in Flash Builder 4.5

    I have a decent amount of Flash/ActionScript experience, but I'm brand new to both Flex and Flash Builder... so apologies for asking a potentially stupid question.
    I just received a Flex project from a client, and I assumed I'd be able to work on it with my recent install of Flash Builder 4.5
    But when I go to File > Import Flash Builder Project and navigate to the Project folder, I just get a warning that says:
    “The folder does not contain a valid Flash Builder Project.”
    I think this project might have originally been developed in Flex 2. Am I doing something wrong, or is it normal to not be able to import older Flex projects into Flash Builder? If Flash Builder can't import old Flex projects, what's the recommended workaround?

    dont import it, do it from scratch in fb4

  • Please suggest me use BlazeDS with Mac OS X, Glassfish v3, NetBeans 6.9 and Flash Builder 4

    I new user in Java. Please tell me example step by step how to use BlazeDS on Mac OS X, Glassfish v3, NetBeans and Flash Builder 4
    I test follow
    http://sujitreddyg.wordpress.com/category/flex-and-blazeds/
    until i Connect to Data/Service my Flash Builder 4 said like this :
    how i can make it work?
    Thank for answer.

    OK, the latest SVNKit only support Subversion 1.6.5 (http://svnkit.com/documentation.html), so Subclipse 1.6 is the latest version supported.
    Rats. I'll have to use a separate svn client just to work with Subversion 1.7 repositories.

  • Trying to understand capabilities of Flash Professional and Flash Builder 4

    I recently purchased the CS5 Master Collection and am struggling to understand the uses for Flash Professional and Flash Builder 4.  I was inspired by Jay Pavlina's Super Mario Crossover game and wish to make similar applications. 
    However, I am confused about whether I should be using Flash Professional or Flash Builder 4 or both?  I purchased the two books that Jay Pavlina recommended "ActionScript 3.0 Animation Making Things Move!" and "Essential ActionScript 3.0".  I've been trying to find resources that will help me understand exactly the purpose of each of these applications. 
    It appears to me that ActionScript 3.0 is used in both?  So which one should I be using?  Or both?  Or is one more design oriented and the other more development oriented?  Can one make flash game like Jay's using just one or the other?  Any help would be greatly appreciated.

    I thought about it a bit more. I think you should take my advice with a grain of salt. I am still standing behind what I said but there are some circumstances that we are not in control of.
    If your task is to be the beginning and the end of your code - don't bother with Flash IDE. BUT, if you plan to monetize on your Flash/ActionScript skills, you may not have choice but be familiar with as many environments as possible.
    Here is my personal experiense that illustrates this point.
    I always prayed to gods, chanted to mandalas and made offerings to spirits to avoid a single thing - not ever deal with custom Flash components. Rightly or wrongly I perceive them as one of the lamest Macromedia creations. I am not talking about SWCs but about this thing that you create with preview and all other crap. Above all, it did not (and still doesn't) make much sense to me from functionality standpoint.
    Anyway, as, I guess, a karmic retribution, I was dealt this card. I got involved in a project(s) where I was not told that my main task would be to, you are right, write and reverse engineer Flash custom components. If I did not know Flash IDE I would be totally lost. Custom components are so counter-intuitive that only people without programming background can view them as a convenience. Well, it is a convenience if they are written correctly.
    The point is that, if you want to make a career out of it, you should gradually get involved with Flash IDE for now. The truth is that there are tons of agencies out there that do not have resources to hire high level developers and they employ "drag n' drop, cut n' paste" individuals. And this is a real market segment. Even well seasoned development houses have to succumb to this reality and cater to such entities.
    It is your choice, of course, but I thought it wouldn't be fare to you to be very fascist about pushing my one-sided views.

  • What's the difference between Flash Builder 4.5 and Flash Builder 4.7?

    Hi everybody!
    Could you help me?
    this is my question:
    What's the difference between Flash Builder 4.5 and Flash Builder 4.7?
    I'm going to develope a new app using Flash Builder 4.5 but the new version is available... What could I wait about it?

    The only listed change is the addition of support for the new Nike + iPod system (more information about the Nike products can be found here).

  • Maximum Activations Exceeded CS6 Master Collection and Flash Builder 4.7 Premium

    I have reinstalled my OS on my MacBook Pro without deactivating my CS6 and Flash Builder programs and now I cannot reactivate them. I have serials for Master Collection 5.5 and 6, as well as Flash Builder 4.7 Premium. How can I get the old activations removed from my account?

    You need to contact Adobe support thru chat and ask them to reset your activations
    For the link below click the Still Need Help? option in the blue area at the bottom and choose the chat option...
    Serial number and activation chat support (non-CC)
    http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC )

  • Nightly SDK and Flash Builder Beta

    I am using Flash Builder Beta and have tried different nightly builds (ie. 4.0.0.9437, 4.0.0.9417, 4.0.0.9188) and have the same issue - when going into Design View I receive several warnings:
    Design View could not load fiber_rb.swc. It may be incompatible with this SDK, or invalid. (DesignSWFLoader.ERROR_LOAD_VERIFY).
    The same error for: fiber.swc, serializers_rb.swc and sparks.swc.
    Does anybody have a fix besides two workspaces with diff. sdks?
    There have been some other discussions in regards to this but with no fix.
    First ... Adobe talks of using nightly builds with instructions.
    Second ... when users have problems such as above a standard reply is "this has been fixed in an internal build".  How does that help us?
    Third ... in Flex Bug and Issue Management System this was a reply -
    Heidi Williams - [08/04/09 05:40 PM ]
    I don't think we want to spend time on encouraging users to use newer SDKs with DV of Beta 1. There are probably lots of things that won't work so they should either just get on prerelease or wait for the next Beta.
    Fourth ... prerelease is not open any more and I for one am unfortunately not on it.  FWIW - I do own a Flex Builder 3 license. 
    I understand Flash Builder is a Beta program, but why talk of nightly sdk releases and using Flash Builder if there are issues and unavailable internal builds.  And if Adobe is working on bug fixes, along with changes such as the Rename List, why not give users access to those internal builds?  At least licensed users.  Let everyone keep up to date!

    Hi,
    Form early in the piece it was acknowledged that nightly builds would not work corrrectly with design view. As there will be a second beta in a matter of days now It would be best to wait for that. The builds from the pre-release program have shown a great amount of improvements across the board so I am sure the end of August(hopefully) beta release will be pretty good and make a lot of people happy.
    I use locally compiled sdks that I update every night and things are working reasonably well. So just hold on for a little longer and enjoy the second beta release when it arrives.
    David.

  • Can you run Flex Builder 3 and Flash Builder 4 side by side?

    I have what I hope is a relatively simple question. The company I work at currently has several Flex 3 projects nearing completion or in the latter part of their development phase, but we use SVN version control. It's my understanding that while you can use Flash Builder 4 to create and/or edit and publish Flex 3 projects, once you use FB4 on a version controlled project, anyone who checks that project out from SVN will need to use FB4 to edit the project. Assuming that is correct, can we have both FB3 and FB4 installed on our workstations, and switch between them depending on the projects we use? We're hoping to migrate our developers over to FB4 as they wrap up development on Flex 3 projects, but we may need developers working on Flex 4 projects to assist on the final stages of our Flex 3 apps. Just to clarify: we do not need both the FB3 and FB4 executables running at the same time, just the ability to close FB4 and launch FB3 and vice-versa without having error or compile issues. We use the standalone FB installs, not the Eclipse plug-ins, btw.

    Yes - to my knowledge, you can have FB3 and FB4 installed on the same machine without conflicts.
    Each version uses a separate default workspace, so provided that you don't try to share workspaces between the two versions, you should be safe.
    -Chris

  • Adobe Flex and Flash Builder

    Hi,
    i program a keyboard with flash builder , i need to make it as On-Screen Keyboard of operating system ,, i can't found function that allaw me to write on another window (as Run Command or text document)  if there is a function do that for active Window
    Thanx

    That's so cool.
    Thanks Randy.

  • Migration from Flex 3.3 to Flash Builder 4 problems.

    So, I've been working on a Flex Builder 3.3 project for some time now. One of the things I had expected from Flash Builder 4 would be the ability to simply import a fully operational (bug free) 3.3 project. Wrong.
    My 3.3 project uses an imported FLVPlayback component (for a number of reasons) and under 3.3 I got no errors using it. Immediately upon importing and opening my 3.3 project in 4.0 I get the following: (any assistance whatsoever would be appreciate to resolve this)
    VideoError: 1008: VideoPlayer.iNCManagerClass has not been set or its value is invalid: fl.video.NCManagerDynamicStream
    at fl.video::VideoPlayer/http://www.adobe.com/2007/flash/flvplayback/internal::createINCManager()[E:\dev\beta1\frameworks\projects\flex4\src\fl\video\VideoPlayer.as:3710]
    at fl.video::VideoPlayer/http://www.adobe.com/2007/flash/flvplayback/internal::_load()[E:\dev\beta1\frameworks\projects\flex4\src\fl\video\VideoPlayer.as:1327]
    at fl.video::VideoPlayer/load()[E:\dev\beta1\frameworks\projects\flex4\src\fl\video\VideoPla yer.as:1270]
    at fl.video::FLVPlayback/doContentPathConnect()
    at fl.video::FLVPlayback/set source()
    at lucid/videoScene()[/Users/villmer/Documents/Adobe Flash Builder Beta/lucid/src/lucid.mxml:212]
    at lucid/build()[/Users/villmer/Documents/Adobe Flash Builder Beta/lucid/src/lucid.mxml:202]
    at lucid/init()[/Users/villmer/Documents/Adobe Flash Builder Beta/lucid/src/lucid.mxml:123]
    at lucid/loadXML/xmlComplete()[/Users/villmer/Documents/Adobe Flash Builder Beta/lucid/src/lucid.mxml:116]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at flash.net::URLLoader/onComplete()

    Hi Matt,
    Alright, I tried:
    1. Removing  the FLVPlayback.swc from Properties > Flex Build Path >  
    Library Path
    2. Adding import fl.video.*
                import fl.video.FLVPlayback;
    But I still get:
    VideoError: 1008: VideoPlayer.iNCManagerClass has not been set or its 
    value is invalid: fl.video.NCManagerDynamicStream
         at fl.video::VideoPlayer/http://www.adobe.com/2007/flash/flvplayback/internal::createINCManager()
    [E:\dev\beta1\frameworks\projects\flex4\src\fl\video\VideoPlayer.as:
    3710]
         at fl.video::VideoPlayer/http://www.adobe.com/2007/flash/flvplayback/internal::_load()
    [E:\dev\beta1\frameworks\projects\flex4\src\fl\video\VideoPlayer.as:
    1327]
         at fl.video::VideoPlayer/load()[E:\dev\beta1\frameworks\projects
    \flex4\src\fl\video\VideoPlayer.as:1270]
         at fl.video::FLVPlayback/doContentPathConnect()
         at fl.video::FLVPlayback/set source()
         at lucid/videoScene()[/Users/villmer/Documents/Adobe Flash Builder 
    Beta/lucid/src/lucid.mxml:210]
         at lucid/build()[/Users/villmer/Documents/Adobe Flash Builder Beta/
    lucid/src/lucid.mxml:200]
         at lucid/init()[/Users/villmer/Documents/Adobe Flash Builder Beta/
    lucid/src/lucid.mxml:121]
         at lucid/loadXML/xmlComplete()[/Users/villmer/Documents/Adobe Flash 
    Builder Beta/lucid/src/lucid.mxml:114]
         at flash.events::EventDispatcher/dispatchEventFunction()
         at flash.events::EventDispatcher/dispatchEvent()
         at flash.net::URLLoader/onComplete()

Maybe you are looking for