Problems using Vector in Flex Builder 3

I've been using Vector with no problems in Flash Builder Beta, but when I try the same thing in Flex Builder 3, the compiler throws a fit when I use it. 
public function PuzzleEvent(type:String, pieces:Vector.<Sprite>, bubbles:Boolean=false, cancelable:Boolean=false)
     //handle PuzzleEvent
The other strange thing is, Flex automatically adds this line when I use vector:
import __AS3__.vec.Vector;
An import shouldn't be necessary should it?  Vector is in the top level package right?  With or without that import statement, I get compile errors.  Has anyone else had such problems with vector in Flex Builder?
Dan

The only way I was ever able to solve this problem was to use Flex builder Beta and now Flash Builder 4.  I did target flash player 10.0.0, but I still never could get it to work.  At least it works in Flash Builder 4.

Similar Messages

  • Researching to use Blazeds with spring. I can use blazeds with flex builder 3.

    I would like to know, If i can use balzeds 4 with flex builder 3.
    I have all my applications on flex builder 3 with web services.
    Trying to convert to blazeds with spring.

    Yes, it is very much possible. I have done the integration, please check the steps in my post.
    http://sixtyfourarts.blogspot.com/2009/05/gae-integration-with-blazeds-in-eclipse.html

  • Logical problem using vectors

    Hi and Happy New Year,
    I have a vector in my java application which contains a number of elements that is not fix which means each time the number of elements might change.
    I want to retrieve the elements of the vector 3 by 3 its like table records paging in jsp , asp or php
    - lets say this time i've got 10 elements in my vector , I have to JButtons previous_3 and next_3
    - The first time the program runs I want to get the first three elements of the vector (0 to 2)
    - By clicking on the next_3 button I want to get the next 3 ( 3 to 5) and so on... providing that the exist
    - By clicking on the privious_3 button I want to get the previous 3 ( 0 to 2) in this instance and so on... providing that the exist
    Can anyone give me a hint as how to solve this problem at least give me some ideas cause i am lacking of ideas my brain is frozen, I know that is it more a logical problem that a programming one
    I 've done this kind of thing in Asp and PHP but as I am new to Java
    I just can not figure out how to tackle this issue

    You may want to use the modulus function.
    lets look at an example.
    pseudo code
    vector v = new vector()
    v.size = 10; //lets say there are 10 elements in the vector
    int n = 3; // you want to jump maximum 3 elements each time
    // you can jump 3.3 times before running outide the scope
    // of the vector, well after the third time you must check
    // how many elements that is left in the vector, this is
    // done by modulus n%10 = 1, this means that the last time
    // you can not jump more than 1 element.
    I have to go now so I cant give you any code to cope with the problem, Ill be back in 3 hours, maybe I can give a good axample, but this outline is the way to go.
    TheLaw

  • VI Problem using LV8.2, Vision Builder for AI 3.0

    Dear All,
    I have problem that that some vi are missing while I upgrade LV and Vision bullder for AI.
    Origional: LV7.1 & Vision bullder for AI 2.0
    New: LV8.2, Vision Builder for AI 3.0
    I don't konw why the error happen. Please give advice for me.
    Thank You
    Attachments:
    Error.PNG ‏22 KB

    Hello HeartShield,
    If you double-click on each missing subVI error, you should be taken to a location on the block diagram where a question mark is holding the place of the missing subVI.  Right-click on the question mark, select Replace, and then navigate through the palettes until you find the VI.  Clicking on the VI in the palette completes the replace operation for that question mark.  After repeating this procedure for each missing subVI error, you will need to save your VI.
    Best Regards,
    T. McCarty 

  • How to solve the error problem error:1088 in flex builder 3

    I'm facing an error while creating an application from Database using wamp web server please tell me how to solve this?

    <!-- incorrect --> 
    <root>
      < myxml label="something" >
    </root>
    <!-- correct -->
    <root>
      <myxml label="something">
    </myxml></root>

  • Problem using vectors

    there is a warning message occuring when i try to add value
    Vector myVector = new Vector;
    String line = "check this out";code]myVector.add(line);

    Sorry for the late reply.......
    These are the error messages that i get.
    assignment.java:7: cannot find symbol
    symbol  : constructor <java.lang.String>Vector()
    location: class java.util.Vector
            Vector<String> myVector = new <String>Vector();
                                      ^
    assignment.java:123: warning: [unchecked] unchecked call to add(E) as a member of the raw type java.util.Vector
                                    myVector.add(newLine);
                                                ^
    1 warning

  • Does the Lifecycle product license include the use of Flex Builder Pro and Flex SDK?

    I have been trying to find out whether we can use the latest Flex Builder and SDK using the LiveCycle license or do we need to purchase additional license? We will use these products to develop Flash Applications to use with our Livecycle product.

    The end user license agreement and the supplement should provide your answer:
    http://www.adobe.com/products/eulas/pdfs/MET_and_LC4.pdf
    2.1. Definition of OnPremise Software for Additional Adobe LiveCycle Components. If Customer has licensed
    Additional Adobe LiveCycle Components as set forth on the Sales Order, then “OnPremise Software” means the
    Foundation Components, the LiveCycle SDK Components, the Flex SDK Components, and object code versions of
    any of the applicable Additional Adobe LiveCycle Components, including all Documentation and other materials
    provided by Adobe to Customer under this Agreement. Customer may install and use the Foundation Components solely for purposes of facilitating use of the OnPremise Software in accordance with this Agreement, subject to
    the following additional terms: Licensee’s right to design, implement and/or execute electronic processes that
    use the On Premise Software in any way is limited to Short-Lived Processes unless Licensee has obtained a valid
    license to the Production Software version of Adobe LiveCycle Process Management; (ii) Customer may install and
    use an unlimited number of copies of the LiveCycle Designer software installed as part of the Foundation
    Components, and its output, solely with the Foundation Components and specifically designed to operate with
    the Foundation Components; and (ii) for each single (1) Deployment, Customer may install and use five (5) copies
    of Adobe Flash Builder Pro software (or its successor) provided with the Foundation Components only if Adobe
    Flash Builder Pro is installed as part of the Foundation Components and used in combination with the LiveCycle
    SDK components to modify Additional Adobe LiveCycle Components and create Applications that integrate with
    the LiveCycle Software components; all other usage of Adobe Flash Builder Pro is prohibited.

  • How to install Flex Builder?

    I would like to start using Flex. But I have big problems when trying to install Flex Builder 3. I already have Eclipse (Ganymede, 3.4) installed on my Windows Vista machine so I tried to install the Eclipse plugin, but I got these dependency pronblems:
    Cannot complete the request.  See the details.
    Unsatisfied dependency: [com.adobe.flexbuilder.debug.e32 3.0.214193] requiredCapability: osgi.bundle/org.eclipse.debug.ui/[3.2.0,3.3.0)
    Cannot find a solution where both Match[requiredCapability: osgi.bundle/org.eclipse.debug.ui/[3.3.100,4.0.0)] and Match[requiredCapability: osgi.bundle/org.eclipse.debug.ui/[3.2.0,3.3.0)] can be satisfied.
    Cannot find a solution where both Match[requiredCapability: osgi.bundle/org.eclipse.debug.ui/[3.3.100,4.0.0)] and Match[requiredCapability: osgi.bundle/org.eclipse.debug.ui/[3.2.0,3.3.0)] can be satisfied.
    Cannot find a solution where both Match[requiredCapability: osgi.bundle/org.eclipse.debug.ui/[3.3.100,4.0.0)] and Match[requiredCapability: osgi.bundle/org.eclipse.debug.ui/[3.2.0,3.3.0)] can be satisfied.
    Cannot find a solution where both Match[requiredCapability: osgi.bundle/org.eclipse.debug.ui/[3.3.100,4.0.0)] and Match[requiredCapability: osgi.bundle/org.eclipse.debug.ui/[3.2.0,3.3.0)] can be satisfied.
    Unsatisfied dependency: [org.eclipse.platform.feature.group 3.4.1.r341_v20080731-9I96EiDElYevwz-p1bP5z-NlAaP7vtX6Utotqsu] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.help.feature.group/[1.0.1.R34x_v20080827-7r7xEIxEI6 Zu5nEqN7M3UBpglaat,1.0.1.R34x_v20080827-7r7xEIxEI6Zu5nEqN7M3UBpglaat]
    Unsatisfied dependency: [com.adobe.flexbuilder.debug.e32 3.0.214193] requiredCapability: osgi.bundle/org.eclipse.debug.ui/[3.2.0,3.3.0)
    Unsatisfied dependency: [org.eclipse.platform.ide 3.4.0.M20080911-1700] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.platform.feature.group/[3.4.1.r341_v20080731-9I96Ei DElYevwz-p1bP5z-NlAaP7vtX6Utotqsu,3.4.1.r341_v20080731-9I96EiDElYevwz-p1bP5z-NlAaP7vtX6Uto tqsu]
    Unsatisfied dependency: [com.adobe.flexbuilder.feature.core.feature.group 3.0.214193] requiredCapability: org.eclipse.equinox.p2.iu/com.adobe.flexbuilder.debug.e32/[3.0.214193,3.0.214193]
    Unsatisfied dependency: [org.eclipse.rcp.feature.group 3.4.100.r341_v20080814-989JESIEdAciFYfkZZsBfSwQ2341] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.ui.workbench/[3.4.1.M20080827-0800a,3.4.1.M20080827 -0800a]
    Unsatisfied dependency: [org.eclipse.help.feature.group 1.0.1.R34x_v20080827-7r7xEIxEI6Zu5nEqN7M3UBpglaat] requiredCapability: org.eclipse.equinox.p2.iu/org.eclipse.rcp.feature.group/[3.4.100.r341_v20080814-989JESIEd AciFYfkZZsBfSwQ2341,3.4.100.r341_v20080814-989JESIEdAciFYfkZZsBfSwQ2341]
    Unsatisfied dependency: [com.adobe.flexbuilder.feature.core.nl1.feature.group 3.0.214193] requiredCapability: org.eclipse.equinox.p2.iu/com.adobe.flexbuilder.feature.core.feature.group/[3.0.214193,3. 0.214193]
    And after that I tried to install Flex Builder 3 standalone, but that worked even worse, It just created two empty folders! How to solve all these problems?

    Read the Flex Builder release notes and installation instructions.
    Sincerely,
    Michael
    El 17/05/2009, a las 14:14, JPettersson <[email protected]> escribió:
    >
    Okey!
    >
    I tried again. This time I started with downloading a clean copy of 
    Eclipse and installed it in a new folder, then downloaded a clean 
    copy of the Flex plugin and saved it in a new folder. It did not 
    work that much better this time. The errors was the following:
    >
    >
    Cannot complete the request.  See the details.
    Unsatisfied dependency:  
    requiredCapability: osgi.bundle/org.eclipse.debug.ui/[3.2.0,3.3.0)
    Unsatisfied dependency:  
    requiredCapability: osgi.bundle/org.eclipse.debug.ui/[3.2.0,3.3.0)
    Unsatisfied dependency: 
    requiredCapability: org.eclipse.equinox.p2.iu/
    com.adobe.flexbuilder.debug.e32/[3.0.214193,3.0.21419 3]
    Unsatisfied dependency: 
    requiredCapability: org.eclipse.equinox.p2.iu/
    com.adobe.flexbuilder.feature.core.feature.group/[3.0 .214193,3.0.214193
    >
    I think Flex is'nt compatible with the newest Eclipse version, and I 
    don't know where I can get an old version of Eclipse.
    >

  • How to get WTP on my Flex Builder 3 Standalone Version: 3.0.214193?

    Hello All,
    I have downloaded the Flex builder 3.0.2 from the adobe website, and am trying to install the WTP plugin for it.
    When i use this link http://download.eclipse.org/webtools/updates/ for getting the plugin it throws the error as :
    Java Persistence API Tools (2.1.1.v200902200210-7A79BjDZRDE7GUMQDJGD) requires feature "org.eclipse.platform (3.4.0)", or compatible.
    Any many more like this. I know my eclipse plugin version is 3.3 version.
    I am not sure how can i upgrade my eclipse which came with Flex builder standalone to the 3.4 version. And also is it possible to use standalone only as using the flex builder plugin in not an option for me right now.
    Or any other way if i can use Tomcat from Flex builder without using WTP ??
    Please help

    I've installed and it works fine but I've many plugins installed.
    Try to install WST (Web Standart Tools) throw FB and after that install WTP.
    For intalling WST follow this.
    In FB menu.
    Help - Software updates - Find and install...
    "Search new features and install" Next
    "Europa Discovery Site" Finish
    Choose any nearest mirror for your location.
    Find "Web and JEE Development" folder.
    There are "Eclipce XML Editors and Tools" and
    "Web Standard Tools (WST) Project" check them to install. This plugins requier some other plugins, so it's easer to click "Select required" button on left side  to check them all automaticaly.
    After that standart installing procedure: Licence agreement, downloading and so on.

  • Suggestions for Flex Builder for Linux

    I'm new to Flex, and I have to say that I'm enjoying it quite
    a lot. I think the thing that really helps speed up development is
    good tools. Flex Builder 3 for Linux makes a good start at
    providing a very nice development tool, but there are a couple of
    things I'd like to see different with this tool.
    First off, please give me an update site to use to install
    Flex Builder. I use Red Hat Developer Studio (soon to be JBoss
    Developer Studio, Eclipse 3.2 based), and I can't get FB 3 Alpha
    for Linux to install into it. I have been successful with base
    Eclipse Europa and FB 3, but I'd like to have my IDE tools in one
    frame. An update site would let me add FB 3 into any Eclipse flavor
    I choose, as long as it supported the appropriate components.
    Next, Design mode for FB 3 is a must. I am very functional
    with the content assist features in the source editor (and they are
    _quite_ good, I must say), but design view really helps me preview
    changes quickly and rapidly test out UI designs. Much faster than
    writing and launching over and over.
    Otherwise, great work, and please get out a new release
    soon!

    cdelashm wrote:
    > I'm new to Flex, and I have to say that I'm enjoying it
    quite a lot. I think
    > the thing that really helps speed up development is good
    tools. Flex Builder 3
    > for Linux makes a good start at providing a very nice
    development tool, but
    > there are a couple of things I'd like to see different
    with this tool.
    >
    > First off, please give me an update site to use to
    install Flex Builder. I
    > use Red Hat Developer Studio (soon to be JBoss Developer
    Studio, Eclipse 3.2
    > based), and I can't get FB 3 Alpha for Linux to install
    into it. I have been
    > successful with base Eclipse Europa and FB 3, but I'd
    like to have my IDE tools
    > in one frame. An update site would let me add FB 3 into
    any Eclipse flavor I
    > choose, as long as it supported the appropriate
    components.
    >
    > Next, Design mode for FB 3 is a must. I am very
    functional with the content
    > assist features in the source editor (and they are
    _quite_ good, I must say),
    > but design view really helps me preview changes quickly
    and rapidly test out UI
    > designs. Much faster than writing and launching over and
    over.
    >
    > Otherwise, great work, and please get out a new release
    soon!
    >
    >
    Thank you for your valuable feedback. Can you please take 2
    minutes to
    log an Enhancement Bug in the bug base so we can track your
    request and
    work on it as we proceed.
    http://bugs.adobe.com/jira
    (Choose Flex Builder Linux Project)
    Thanks
    Arun

  • Incresing script Time Limit in Adobe Flex Builder 2.0

    Hi All,
    Using a Adobe Flex Builder I am creating an application which
    has lot of complex recursive sorting algorithms that take
    comparitively more time and hence the overall time required to
    complete the excecution of function goes beyond 60 secods after 60
    secods Flash player throws an error message and terminates the
    script excecution.Is there any way to increase scriptTimeLimit more
    than 60 Secods.Currently I am adding scriptTimeLimit parameter in
    Applicatio tag so that I am able to run my function for 60
    seconds...
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute" creationComplete="DoSomething()"
    scriptTimeLimit="60">
    Is there any way to increase tis limit to say 10 minutes?

    You will not be happy to hear this, but no. As of flash
    Player 8, 60 seconds is the maximum.
    I have a client who is frozen at FP7 because of this stupid,
    arrogant decision. I have filed enhancement requests on this to no
    avail.
    People will blather on about how longer times result in a
    "bad experience" for the user, but this is again arrogant for them
    to believe they have any clue what MY application does and what
    users will accept.
    What if Flex Builder bombed out any time a compile took
    longer than 60 seconds? What kind of "experience" would that be?
    Because of this idiotic limitation, I am going to have to
    move my recursive processing to the server. But this will take
    about 6 weeks, and I have yet to find the "spare" time, or to find
    someone to pay for it.
    Grrrr.
    Sorry to be the bearer of bad news.
    Tracy

  • Widget creation on Flex builder and related problems - need some help

    Hi all.
    I am trying to create a widget like application and it seems
    I have made a mistake. As you know, desktop widgets are like small
    stickers, they do not appear on taskbar and can be hidden or
    docked.
    The problem is that I created an AIR application using Flex
    Builder 3 Beta and now I cannot find how to make that application
    behave like custom-shaped window. My app appears on Windows taskbar
    and I don't want it. When I drag the window (which is a custom
    shape) it shows that nasty dragging rectangle around it.
    As far as I found out (and tried it) I need to use cod like:
    var initOptions:NativeWindowInitOptions = new
    NativeWindowInitOptions();
    initOptions.systemChrome = NativeWindowSystemChrome.NONE;
    initOptions.type = NativeWindowType.UTILITY;
    to hide my window from the taskbar. But it seems I cannot use
    such a code for class mx:Application. Or can I (would be grateful
    for some idea)?
    The main question is:
    if I want to migrate my app to that NativeWindow based
    solution - then NativeWindow is not an mx class and I cannot find
    how I will use Flex Builder Design mode to arrange my GUI elements.
    Is it somehow possible to wrap my mx:Application inside
    NativeWindow and do not have to migrate the design from mxml files
    to pure ActionScript?
    The second issue - if I want to use some kind of subforms -
    like widget settings window - when I move that window with the
    mouse, it is being clipped to the region of my Application. Does
    that again mean that I need to use NativeWindow for creating such a
    "Widget settings" dialog window?
    Thanks for any ideas (and especially for useful links and
    examples :-) )

    Hi all.
    I am trying to create a widget like application and it seems
    I have made a mistake. As you know, desktop widgets are like small
    stickers, they do not appear on taskbar and can be hidden or
    docked.
    The problem is that I created an AIR application using Flex
    Builder 3 Beta and now I cannot find how to make that application
    behave like custom-shaped window. My app appears on Windows taskbar
    and I don't want it. When I drag the window (which is a custom
    shape) it shows that nasty dragging rectangle around it.
    As far as I found out (and tried it) I need to use cod like:
    var initOptions:NativeWindowInitOptions = new
    NativeWindowInitOptions();
    initOptions.systemChrome = NativeWindowSystemChrome.NONE;
    initOptions.type = NativeWindowType.UTILITY;
    to hide my window from the taskbar. But it seems I cannot use
    such a code for class mx:Application. Or can I (would be grateful
    for some idea)?
    The main question is:
    if I want to migrate my app to that NativeWindow based
    solution - then NativeWindow is not an mx class and I cannot find
    how I will use Flex Builder Design mode to arrange my GUI elements.
    Is it somehow possible to wrap my mx:Application inside
    NativeWindow and do not have to migrate the design from mxml files
    to pure ActionScript?
    The second issue - if I want to use some kind of subforms -
    like widget settings window - when I move that window with the
    mouse, it is being clipped to the region of my Application. Does
    that again mean that I need to use NativeWindow for creating such a
    "Widget settings" dialog window?
    Thanks for any ideas (and especially for useful links and
    examples :-) )

  • Flex Builder 3 Beta 2 Expires early when using Flex 2 key, and new SDK

    I was told to use my Flex 2 key to extend the Beta period for
    Flex Builder 3, this worked, today it said I have 99 days left.
    but When I installed the latest SDK and restarted Flex
    Builder 3 Beta 2, it says it expires in 15 days.
    If I put the original SDK back and restart it goes back to 99
    days, so If I switch the SDKs while Eclipse is already loaded it
    seems to stay at 99 days, so now before I start Eclipse I have to
    move the orig SDK back, start Eclipse, then switch SDKs.
    This does not make much sense to me, why does the SDK affect
    the Builder Beta Period at all? is there a fix for this, I have a
    project due but 31st, and I would be screwed if it dies before
    then, I already have flex 2 but I cannot roll back as this project
    relies on Flex Builder 3 Functionality.

    I the probelm we are stating is that we DID enter our flex 2
    key and it DID initially set the expire date out, but I needed to
    use a later SDK and thats when the problem occured. without the
    latest the ImageSnapshot.captureImage does not work at all for me,
    so must use a later SDK. However this morning my Eclipse started
    stating 96 days remaining and I am still using the latest SDK, so
    no idea why it works sometimes and not others.

  • Cvs problem in flex builder 2.0

    Hi, everyone, I have installed my flex builder 2.0 without
    problem, and i have created some apps using it.
    It is really good.
    But the question is , when I set up a CVS client in flex
    builder, i can only do commit / update / synch, Why the Edit /
    Unedit menus are disabled? Dose anyone know this? I think it is
    very inconvenient.
    Thank you

    Hi There
    I am wondering if you can help me, i am looking to build a simple flex front end with a java back end, just to send simple requests and responses. By the sounds of your email you have an idea of how to do this, i am using websphere as my server, i am wondering if you have any links to tutorials on how to do this or any sample projects yourself. Any help would be amazing
    Thanks

  • Flex Builder 3 under Eclipse - project .settings problem

    I've been experiencing some odd problems with a project using FlexBuilder 3 plug-in with Eclipse.
    The first problem I've noticed is that a file under the .settings dir has a red 'x' beside it. The offending
    file is org.eclipse.jst.common.project.facet.core.prefs. I've left the file as is until I understand how it became corrupt.
    The second problem is that .as and .mxml files are no longer being opened in the Flex Builder editor -
    the are being opened in TextPad, which it the default editor outside of Flex Builder. I've tried all of the available
    editors and none of them work under Flex Builder.
    The third problem is that when I try to create a new Flex Builder project from New->Project-> there is no
    option for a FlexBuilder project.
    The Flex Development perspective is visible in the top right hand corner as usual. When I select Open Perspective
    there is no Flex perspective.
    Should I just reinstall the FlexBuilder plugin?
    Thanks!

    Hi Peter,
    It has not been fully tested yet but a few of us are using
    it. If you see any issues in Eclipse 3.3RC4 with FB3 Plugin, please
    file a bug in our new public bug system:
    http://bugs.adobe.com/flex.
    thanks,
    Sharon

Maybe you are looking for