Cannot access vector class in Flex Builder

I've installed sdk 3.4 and it will not compile:
private var result:Vector.<String>
Error:
Description    Resource    Path    Location    Type
1046: Type was not found or was not a compile-time constant: Vector.    odclasses.mxml    test1/src    line 14    Flex Problem
Any idea where i'm going wrong?
Thanks

Make sure you set flash player 10 as the target runtime. I don't think 
3.4 should require 10 but I am guessing that's what that error means.
Hth
Sim
Sent from my iPhone

Similar Messages

  • Thread cannot access the class variables.

    Hi
    I have below code snippet : (Only section of which I have copied below)
    public class ProcessAppendAction extends HttpServlet implements Runnable{
         public ProcessAppendAction ()
    MI_OS_APPEND port ;
    protected void doGet(
              HttpServletRequest request,
              HttpServletResponse response)
              throws ServletException, IOException {
              //TODO : Implement
    port =
                        (MI_OS_APPEND) obj.getLogicalPort(
                             "MI_OS_APPENDPort",
                             MI_OS_APPEND.class);
    Thread[] threads = new Thread[noOfThreads];
    ProcessAppendAction run = new ProcessAppendAction(req);
                                            Thread th = new Thread(run);
                                            threads[no] = th;          
                                  threads[no].start();
                                  threads[no].join();
    public ProcessAppendAction(DT_REQUEST_APPEND req) {
              this.requestObj = req;
              // TODO Auto-generated constructor stub
    public void run()
              try
                   DT_RESPONSE res = this.port.MI_OS_APPEND(requestObj);
                                  catch(Exception e)
                                       int ch=0;
                                       ch++;
              }     In above code I am successfully creating an object in line :
    port =
                        (MI_OS_APPEND) obj.getLogicalPort(
                             "MI_OS_APPENDPort",
                             MI_OS_APPEND.class);But when I am trying to access this port variable in run method it is giving null.
    Port in my code is a class variable.
    Is it the case that thread cannot access class variable !!

    money321 wrote:
    ok, I have removed join() from just after start().So that now the Servlet can return before the new Thread has finished. Is this what you want?
    First I did invoked all threads and then in second loop i invoked Join on all threads.I don't understand. Why do you need to join() all the threads since you only start one thread in this request. What am I missing?
    >
    Now, my problem.
    It was solved when I substituted the line
    ProcessAppendAction run = new ProcessAppendAction(req)
    with
    ProcessAppendAction run = new ProcessAppendAction(req,port);Of course. Instance variables in Servlet instances are a no-no so passing the 'port' though an instance variable is just wrong.
    >
    That is passes port alongwith req while creating thread object.
    But still if class variables are not thread safe, then it means if I pass object 1 to thread 1.
    And then try to pass object 2 to thread 2, it might be possibility that object 1 of thread 1 might be replaced by object 2.
    So, thread 1 will get an updated value object 2.Yep - that is why you should not use instance variables in Servlets and why they are not thread safe.
    >
    Which is not what I intend to do...:-)

  • Cannot run the samples in Flex Builde beta 3

    The installation of Flex Builder finished OK. I did choose to
    install Flash 9.0 in both IE and FF, but for some reason when going
    to the examples it asks me to install Flesh 8.0. Even if I say yes
    to th eprompt it doesn't display.
    I have even re-installed the flas Active X manually and even
    regieterd it as per instructions on the Installation of Flex
    Builder 2.0 beta 3 page,, but still no luck...
    Any help is appreciated.
    Thanks

    P.S. I asked Chris Agruss (our build and installer guru)
    about some
    possible reasons why the Flash player installer might have
    failed to
    work for IE. I've attached his reply.
    Rebecca - Adobe
    Here are a few cases I know about where the ActiveX plugin
    for FP won�t
    be installed normally:
    � IE is running at the time, and especially if activeX
    has been run
    � Outlook, or some other program that runs the IE
    engine under the hood,
    is running
    � Older ActiveX version installed that needs some Dark
    Magic, or
    explicit uninstallation of some sort
    In the first two cases, where IE is in use, the plugin will
    normally be
    installed after a reboot, but until then it will look as if
    the
    installation didn�t work.
    -ChrisAg
    Rebecca Hyatt wrote:
    > My guess is that something went wrong with your
    installation of Flash
    > Player 9 in IE failed for some reason (?), and that you
    have IE
    > configured as the default browser on your system (so
    that's the one that
    > FB launches).
    >
    > Uninstalling/reinstalling (with IE not running) might
    fix the IE/Flash
    > Player install.
    >
    > Changing the default browser to Firefox would be an
    alternative
    > solution... FB would launch to Firefox instead, where
    the install seems
    > to have worked correctly.
    >
    > Rebecca - Adobe
    >
    > mikiM wrote:
    >
    >> We are stuck and no idea where to go from here.
    >> System: Win XP Professional, sp 2 with the latest
    patches
    >> CFMX Developer Edition 7.01 with updater 1
    >> Clean installation of Flex Builder 2.0 beta 3,
    finished OK. During
    >> the installation Had selected to install the new
    flash player 9 for
    >> both IE (6.1) and FF (1.5)
    >> Flex Builder Opens OK and displays the help properly
    >> Clicking on any of the examples asks me if I want to
    install Flash 8,
    >> Even if I choose yes it doesn't display anything and
    if I select
    >> another example it will ask me again.
    >>
    >> Trying to run the same examples in directly in IE
    fails, but works in
    >> FF.
    >>
    >> Thanks
    >>
    >> BTW this is from the installation log
    >>
    >> Installation: Successful.
    >>
    >> 484 SUCCESSES
    >> 0 WARNINGS
    >> 0 NONFATAL ERRORS
    >> 0 FATAL ERRORS
    >>
    >>

  • Applet inside a JAR: Cannot access other classes within the JAR

    Hello,
    Description
    Web app + applet (packaged in a JAR)
    I have followed this tutorial
    JAR contents
    package mypackage
    SimpleApplet.class
    SimpleObj.class
    _"SimpleApplet" uses "SimpleObj"_
    package mypackage;
    public class SimpleApplet extends JApplet {
        @Override
        public void init() {
            SimpleObj obj = new SimpleObj();
    HTML code
    <applet archive="SimpleApplet.jar" codebase="." code="mypackage.SimpleApplet.class" width="800" height="600" />
    SimpleObj cannot be found (Java Console)
    java.lang.NoClassDefFoundError: mypackage/SimpleObj
    at java.lang.Class.getDeclaredConstructors0(Native Method)
    at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
    at java.lang.Class.getConstructor0(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.ClassNotFoundException: mypackage.SimpleObj
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    ... 8 more
    Caused by: java.io.IOException: open HTTP connection failed:*http://localhost:8080/SimpleApp/mypackage/SimpleObj.class*
    at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
    at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
    at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    ... 12 more
    Exception: java.lang.NoClassDefFoundError: mypackage/SimpleObj
    It looks like JRE does not search for the SimpleObj class inside the JAR, but tries to get it from the server...
    Any ideas?
    Thanks in advance,
    Gerard
    Edited by: gsoldevila on Dec 10, 2008 2:05 AM

    misread, deleted
    Edited by: atmguy on Dec 10, 2008 1:12 PM

  • Java file cannot access other class in same package???????

    I have written a bean as follows-------
    package CustTags;
    public class TomMovieBean
         private String movieName;
         private String movieDirector;
         public void setmovieName(String movieName)
              this.movieName = movieName;
         public String getmovieName()
              return this.movieName;
         public void setmovieDirector(String movieDirector)
              this.movieDirector = movieDirector;
         public String getmovieDirector()
              return this.movieDirector;
    Now i am writing a tag handler for my JSP custom tag as follows----------
    package CustTags;
    import javax.servlet.jsp.*;
    import javax.servlet.jsp.tagext.*;
    import java.util.*;
    public class Dynamic extends TagSupport
         private List movieList;
         public void setmovieList(List movieList)
              this.movieList = movieList;
         public int doStartTag() throws JspException
              Iterator iterator = movieList.iterator();
              TomMovieBean TMBObj = null;
              try
                   JspWriter out = pageContext.getOut();
                   while(iterator.hasNext())
                        TMBobj = (TomMovieBean)iterator.next();
                        String movieName = (String)TMBObj.getmovieName();
                        String movieDirector = (String)TMBObj.getmovieDirector();
                        out.println(movieName+"...."+movieDirector+"<br>");
              }catch(Exception ex)
                   throw new JspException("Error in doStartTag()");
              return SKIP_BODY;
    Now when i compile Dynamic.java it shows foll. errors
    Dynamic.java:19: cannot resolve symbol
    symbol : class TomMovieBean
    location: class CustTags.Dynamic
    TomMovieBean TMBObj = null;
    ^
    Dynamic.java:27: cannot resolve symbol
    symbol : variable TMBobj
    location: class CustTags.Dynamic
    TMBobj = (TomMovieBean)iterator.next();
    ^
    Dynamic.java:27: cannot resolve symbol
    symbol : class TomMovieBean
    location: class CustTags.Dynamic
    TMBobj = (TomMovieBean)iterator.next();
    ^
    3 errors
    I am unable to comprehend why it can't recognize TomMovieBean despite the fact that its a public class and in the same package as that of Dynamic.java

    Is your classpath set correctly? I.e. does it point to the directory containing the CustTags directory?
    BTW, by convention, package names are written in lower case.

  • Cannot open help pages in Flex Builder 2

    I have been working with FlexBuilder2 Beta 3, with no
    problems.
    Today I installed the release version (FB2), with a clean
    workspace. After copying the source files, I can compile/deploy the
    applications. One thing does not work however: the help in FB2.
    Help>Help Contents will open up a new browser, and wait
    forever, showing a white background.
    Help>Search will index the help file, and show results,
    but clicking on any result will again show the blank browser page.
    The
    Flex Start Page shows up correctly. I can run the 3 programs
    under
    Flex Samples and open the
    Restaurant Finder project. However, none of the items under
    How Flex Works can be opened.
    I noticed that they link to some site ending with:
    .../how_flex_works_2.html
    embed=false
    (with the first e in embed underlined).
    I think this sould be: .../how_flex_works_2.html
    ?embed=false (or something similar).
    Can someone indicate how this could be corrected? Maybe it
    can be done in the FB2 installation dir?
    Thanks,
    Rui

    Hi Randy,
    I am using the standalone version: 2.0.143459.
    Help>Dynamic Help and
    Help>Search, both open OK. They have their own view to
    the right of the main edit area. The search works fine, i.e. it
    will find and display results in this view. It is only when I click
    a result, or a dynamic help topic, that the main (internal) browser
    window opens, and starts loading "something".
    I have setup FB2 now such that
    Help>Contents opens in an external browser, and that is
    also working fine.
    My problem now is that I am unable to see result-pages or
    dynamic help topics. That is not working for the moment.
    BTW: When this main internal webbrowser help view opens, a
    progress-bar appears under the views, that shows something loading
    up to about 30%, and then it freezes.
    I'm considering re-installing FB2 again tomorrow, after
    tonights backups have been made. Maybe a fresh install will work
    better.
    Thank you for your assistance.
    Rui

  • Flex Builder 3 New Project

    I am trying to get Flex Builder 3 setup but having some
    problems configuring it to communicate with the app server. I had
    this working once but cannot get it back. Flex builder is installed
    on my XP machine and CF is installed on my Redhat 5 box with
    Apache.
    Here are my steps:
    1. Create new flex project
    2. Project Name: myfirstflex.
    3. Project location: N:\myfirstflex (mapped to samba share)
    This is actually /var/www/html/myfirstflex on the RH box.
    4. Application Type: Web Application(runs in Flash Player)
    5. Server Technology: Coldfusion. Use remote access service
    is checked. LCDS is selected at the moment but does not seem to
    matter which one is selected.
    6. Server Location: Standalone
    7. Coldfusion Root Folder: O:\WEB-INF\flex (samba share on RH
    box) This is actually /opt/coldfusion8/wwwroot/WEB-INF/flex.
    8. WebRoot: N:\myfirstflex (same as step 3)
    9. Root URL:
    http://myserver/myfirstflex
    Upon on validation I get " Invalid root. The WEB-INF/flex
    folder must contain either flex-config.xml or services-config.xml."
    Like I said I had this working once but cannot get it back. Does
    anyone see something I am overlooking?

    I'd love to help because I know how frustrating it is to get
    it working. Unfortunately, I run CF locally and IIS as the web
    server. However, maybe my settings will spark something that you
    can use:
    1
    2. myFirstFlex
    3. C:\Documents and Settings\[useraccount]My
    Documents\myFirstFlex
    4. Web application/
    5. Coldfusion/ColdFusion Remoting
    6. Standalone
    7. c:\coldfusion8
    8. c:\inetpub\wwwroot
    9.
    http://localhost/
    is what works for me

  • Flex Builder Integration

    Need To port a Microsoft Access Application into a Flex Builder Application,
    Any documentation, Tutorials on integrating Java, Flex Builder with Crystal Reports

    Need To port a Microsoft Access Application into a Flex Builder Application,
    Any documentation, Tutorials on integrating Java, Flex Builder with Crystal Reports

  • Flash CS3 fl.* package cannot be used in Flex Builder 3

    Hi,
    I was very disappointed to find out that one cannot import
    the fl.* package, which is available for flash CS3. I found a work
    around by creating swc file and importing them, however it's
    disappointing that flash CS3 would have such a major advantage over
    Flex Builder 3 when building an Action Script 3.0 Application.
    Best, E

    I've looked over that sample.
    Part of the problem is that I don't have access to
    mx.effects. I think this is because that example is a Flex 3
    Project and has a MXML file attributed to it. I opened a Flex 3
    project and was able to access mx.effects - but my project is
    different in that it's an ActionScript project - meaning, I opened
    an ActionScript project in Flex Builder 3. Apperantly the
    ActionScript projects don't have access to mx.effects.Tween. And
    niether do they have access to fl.transitions.Tween. It's strange -
    and I'm trying to find a way to access them by connecting the build
    path to the Tween classes somehow.
    My project preferences already have the fl.* folders in the
    build path. It just still doesn't seem to work.

  • Cannot access null object reference in flex

    Hi All,
    Please provide me the solution ASAP....for the below error........
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
        at Components::References/communicationServicesPort_resultHandler()[C:\Documents and Settings\xp\Adobe Flash Builder 4 Plug-in\LawPadPDA\src\Components\actionscript\ReferenceAS.as:345]
        at Components::References/__communicationServicesPort_result()[C:\Documents and Settings\xp\Adobe Flash Builder 4 Plug-in\LawPadPDA\src\Components\References.mxml:40]
        at flash.events::EventDispatcher/dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at com.adobe.fiber.services.wrapper::AbstractServiceWrapper/http://www.adobe.com/2008/flex/model/internal::propagateEvents()[C:\depot\DataServices\bra nches\lcds_modeler101\frameworks\projects\fiber-swc\src\com\adobe\fiber\services\wrapper\A bstractServiceWrapper.as:200]
        at flash.events::EventDispatcher/dispatchEventFunction()
        at flash.events::EventDispatcher/dispatchEvent()
        at mx.rpc::AbstractService/dispatchEvent()[E:\dev\4.0.0\frameworks\projects\rpc\src\mx\rpc\A bstractService.as:333] 
        at mx.rpc.soap.mxml::WebService/dispatchEvent()[E:\dev\4.0.0\frameworks\projects\rpc\src\mx\ rpc\soap\mxml\WebService.as:267] 
        at mx.rpc::AbstractOperation/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()[E:\dev\4.0.0\frameworks\pro jects\rpc\src\mx\rpc\AbstractOperation.as:254] 
        at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()[E:\dev\4.0.0\frameworks\projec ts\rpc\src\mx\rpc\AbstractInvoker.as:318] 
        at mx.rpc::Responder/result()[E:\dev\4.0.0\frameworks\projects\rpc\src\mx\rpc\Responder.as:5 6] 
        at mx.rpc::AsyncRequest/acknowledge()[E:\dev\4.0.0\frameworks\projects\rpc\src\mx\rpc\AsyncR equest.as:84] 
        at DirectHTTPMessageResponder/completeHandler()[E:\dev\4.0.0\frameworks\projects\rpc\src\mx\ messaging\channels\DirectHTTPChannel.as:446] 
        at flash.events::EventDispatcher/dispatchEventFunction() 
        at flash.events::EventDispatcher/dispatchEvent() 
        at flash.net::URLLoader/onComplete() 
    private function communicationServicesPort_resultHandler(event:ResultEvent):void{
                str = new ArrayCollection();
                if (event.token.result as ArrayCollection) { // When result contains more than one string
                    str = event.token.result as ArrayCollection;
                    if(str.length <= 15){ 
                        if(str.length<15)
                            nextLabel.enabled =false ; //  Here i am getting error for not accessing nextlabel i.e id of next button
                        else {
                            nextLabel.enabled =true ;
                        referenceDG.dataProvider = str; //Here i am getting error
                else {// When result contains single string or validation message
                    str = new ArrayCollection([event.result]);
                    if(str[0] == "NULL"){
                        str[0]= "                              Sorry! No Search Results Found... Please do search again..........          ";
                        nextLabel.enabled = false;
                    referenceDG.dataProvider = str;

    Hi,
    Thanks for ur reply,,
    I have posted u with some more code snippets .....please provide me solution ASAP
    Reference.mxml
    <s:HGroup width="1003" height="45" gap="2">
                <mx:Image id="judgements" width="98" minHeight="10" click="this.createMenu('judgements',JudgementsXMLTag)" buttonMode="true"
                          maxHeight="350" maxWidth="250" height="41" source="assets/images/ReferencesImages/JudgementsImg.jpg" left="0"/>
       </s:HGroup>
    <mx:Canvas id="datagrid" width="100%" height="100%">
                    <mx:VBox width="100%" height="100%" paddingBottom="5" paddingLeft="1" paddingRight="0"
                             paddingTop="10" verticalScrollPolicy="off" horizontalScrollPolicy="off">
                        <mx:DataGrid id="referenceDG" itemClick="openFile(event)"     //datagrid
                                     width="100%" height="100%" showHeaders="false"
                                     alternatingItemColors="[#ffffff,#ffffff]">
                            <mx:columns>
                                <mx:DataGridColumn dataField="*" fontWeight="normal" visible="false"
                                                   direction="ltr" fontGridFitType="pixel" color="#000000"
                                                   fontSize="12" fontStyle="normal" fontFamily="Verdana"
                                                   wordWrap="true" resizable="false" width="14"/>
                                <mx:DataGridColumn dataField="*" fontWeight="normal" labelFunction="SplitFunc" 
                                                   direction="ltr" fontGridFitType="pixel" color="#000000"
                                                   fontSize="12" fontStyle="normal" fontFamily="Verdana"
                                                   wordWrap="true" resizable="false" width="14"/>
                            </mx:columns>
                        </mx:DataGrid>
                        <mx:HRule width="968"/>
                        <mx:HBox horizontalAlign="right" width="968">
                            <mx:LinkButton id="prevLabel" label="Prev" fontWeight="bold" enabled="{counter>1}" click="prv_clickHandler(event)" color="#FF8800"/>  //Previous button
                            <mx:LinkButton id="nextLabel" label="Next" fontWeight="bold" click="nxt_clickHandler(event)" color="#FF8800"/>
    //Next Button
                        </mx:HBox>
                    </mx:VBox>
    </mx:Canvas>
    private function createMenu(btnName:String,xmlTag:XML):void {   //On click of judgements image
                /*reader.htmlText="";*/
                menu = new ScrollableArrowMenu();
                menu = ScrollableArrowMenu.createMenu(null,xmlTag, false);
                menu.labelField="@label";
                menu.verticalScrollPolicy =  ScrollPolicy.OFF;
                menu.arrowScrollPolicy =  ScrollPolicy.AUTO;
                menu.maxHeight=350;
                menu.maxWidth=250;
                var pt:Point = new Point(0, 40);
                    menu.addEventListener(MenuEvent.ITEM_CLICK,JudgementsMenuBar_itemClickHandler); ///menu item click event listener
                    pt = judgements.localToGlobal(pt);
                menu.show(pt.x, pt.y);
    protected function JudgementsMenuBar_itemClickHandler(event:MenuEvent):void /// On dropdown menu item click
                //Alert.show("Data under process","No Data");
                searchTxt.text ="";
                searchFlag = false;
                judgementItemLabel = null;
                var judgementItemLabel:String = null;
                judgementItemLabel = event.item.@label;
                var judgementItemLabelSplit:String = null;
                var judgementItemLabelSplitArray:Array = new Array();
                judgementItemLabelSplitArray = judgementItemLabel.split(" ");
                judgemntItemLabelAfterSplit=judgementItemLabelSplitArray[0];
                judgementsTtlWndw = PopUpManager.createPopUp(this, JudgementMenubarClickPopup, true) as JudgementMenubarClickPopup;   /// opening a pop up.... once th user enters the I/P iam dispatching the event from popup
                judgementsTtlWndw.addEventListener(ReferenceJudgementsEvent.SEARCH_CLICK_EVENT,searchButt onClickPopUp); //event listener for dispatched event from popup
                judgementsTtlWndw.judgementMess.text = " Please Enter Furthur Keywords to be Searched with respect to " + event.item.@label;
                judgementsTtlWndw.judgementitemlabelSplitPopUp.text = judgemntItemLabelAfterSplit+"btn";
                PopUpManager.centerPopUp(judgementsTtlWndw);
    private function searchButtonClickPopUp( event:ReferenceJudgementsEvent ) : void
                judgementFileDownloadString = event.judgementUserIp;
                searchButtonClick();
    public function searchButtonClick():void {
                    RefTxtInput = StringUtils.stripTags(judgementFileDownloadString);
                    judgementFileDownloadString = null;
                    searchFlag = false;
                    counter = 1;
                    getSearchEngineForReferencePageResult.token = lawPadCommunicationServicesPort.getSearchEngineForReferencePage(RefTxtInput, 15, counter);
    /////////////LawPad Search//////////////////////////
            private function lawPadCommunicationServicesPort_resultHandler(event:ResultEvent):void{
                str = new ArrayCollection();
                if (event.token.result as ArrayCollection) { // When result contains more than one string
                    str = event.token.result as ArrayCollection;
                    if(str.length <= 15){ 
                        if(str.length<15)
                            nextLabel.enabled =false ;
                        else {
                            nextLabel.enabled =true ; //error at this point
                        referenceDG.dataProvider = str; //error at this point

  • Cannot compile Library project in Flash builder 4: Unable to locate specified base class

    I am migrating from Flex builder 3 to Flash builder 4, during that process I found that Flash builder could'nt compile Flex Library projects which contains components in the form of mxml files. Compiler throws "Unable to locate specified base class".
    I have narrowed it down to by creating a flex library project named test library, below its screenshot with its package structure
    ControlA is based on componentA
    when i compile this project, mxml compiler throws this error
    Unable to locate specified base class 'components.componentA' for component class 'ControlA'.
    I cannot upload project code because file uploads are disabled on this forum so I am going to paste the code for both componentA and controlA
    componentA
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:local="*" width="400" height="300">
    </mx:Canvas>
    ControlA
    <?xml version="1.0" encoding="utf-8"?>
    <components:componentA xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:components="components.*" width="400" height="300">
    </components:componentA>
    To further test it, I have made another library project with same package structure using pure AS3, and it compiled without errors

    It might be this happens and other errors if you forget to Run Flash Builder 4.5 Buritto and startup the other version FB4.
    It uses the same project listings and that can be confusing since you're not expecting the old version to be aware of new Buritto (MobileApplications) projects you added (thinking) only to the BETA version installed elseware no doubt.
    Well it might not be your problem but worthy of noting for other's I'm sure.
    Otherwise you've double checked you're using SDK 4.5 Hero with it too! right?

  • Flex Builder 3 error: This file cannot be launched

    All of a sudden when I try to run my app from within Flex
    Builder 3, I get a popup that says:
    This file cannot be launched. I right click on my mxml file
    and the option to set it as default is greyed out.
    How can I make this error go away?
    Thanks

    I've filed a number of bugs about a lot of things :P
    Part of the problem for me is that I am using Vista x64 and
    there are known issues with Eclipse 3.3 and the Logitech SetPoint
    drivers on that OS. Basically, in FB3 I get corrupted Property
    Dialogs and Preferences (can't change key binds, or set compiler
    config, etc.). It does work in Eclipse 3.4M4 with the plugin, but
    then Design Mode doesn't work properly (images and style are
    wrong), and that is unsupported by Adobe. So basically I switch
    back and forth between the two whenever I need to access the
    dialogs lol. Given that kind of situation, it is difficult to know
    what is a propblem with my specific config, and what is a bug.
    Generally one of the things I see is my embedded fonts start
    showing up as errors when I hit compile, then I have to do a clean
    build. CSS errors/warnings show up in the main mxml file instead of
    the CSS file (at the CSS file's line numbers).
    I've also seen issues where modules aren't saved to the
    properties files properly. Lack of conditional compilation support
    (debug versus release at the bare minimum) in FB3 is annoying
    (though you can do it with ANT).

  • Flex 3 : How to import Vector Class ?

    Hi,
    I'm using Flex Builder3.
    And I'm trying to use the new Vector Class (the typed array : http://help.adobe.com/en_US/FlashPlatform/beta/reference/actionscript/3/Vector.html)
    But it seems that it's not available.
    I probably have to update something... but what? the sdk?
    thanks for your advices

    I've updated to sdk 3.4, but still I have a message saying that the compiler cannot find the type Vector
    I'm trying to do this...
    package{
        public class test{
            private var v:Vector.<String>;
            public function test(){
                v = new Vector.<String>();

  • Flex Builder marking a sample code invalid "Access of undefines property"?

    Hey,
    I used the code from this link: http://tdotblog.info/?q=node/6
    When i put it into Flex Builder 3, it has several issues with the code like "Access of undefined property FileStream" (or File).
    When I run the application, only the typical gray background appears.
    What am I doing wrong?
    Thanks, Erthy

    You probably just need to have import statements for these classes in your code:
    import flash.filesystem.File;
    import flash.filesystem.FileStream;
    import flash.filesystem.FileMode;
    It looks like whoever wrote that tutorial forgot to add those. If you were typing in the code rather than pasting it in, the import statements would get automatically added, so maybe the author just didn't notice that they were necessary.
    Related Flex Builder tip:
    If you get this error for any class, it means that the compiler can't find the class definition (which usually means you're missing an import statement). The easiest way to add the import statement is to put your cursor at the end of the class name (e.g. right after the word File) and hit Ctrl-Enter (on Windows -- probably Cmd-Enter on Mac). Ctrl-Enter is the shortcut to trigger a code hint, but if you trigger it that way it will recognize the class and just add the import statement for you.

  • How can I Access the Flash "Slide class" using flex and ActionScript 3?

    Hi,
    I hope someone can help me solve a problem...
    I'm using the flex SwfLoader to load a flash side
    presentation as follows...
    <mx:SWFLoader id="ss_slides" source="ss_slides.swf"
    width="320" height="240"/>
    I would like to access the flash "Slide Class" using flex so
    I can make the following call...
    Slide.gotoNextSlide();
    Anyone know how I can do that?
    Would it be through the SwfLoader Object?
    Is there another way?
    F.Y.I. Here is a snippets about the Slide class from the
    Flash 8 help...
    Using the Slide class (Flash Professional only)
    You use the methods and properties of the Slide class to
    control slide
    presentations you create using the Screen Outline pane for a
    Flash Slide
    Presentation, to get information about a slide presentation
    (for example, to
    determine the number of child slides contained by parent
    slide), or to navigate
    between slides in a slide presentation (for example, to
    create "Next slide" and
    "Previous slide" buttons).
    You can also use the built-in behaviors that are available
    in the Behaviors
    panel to control slide presentations. For more information,
    see Adding controls
    to screens using behaviors (Flash Professional only) in Using
    Flash.
    Thanks,
    Chris S.

    Hi Chris,
    You cannot access the methods of the Flash 8 movie from Flex.
    And you can't do it the other way around either.
    The only way to communicate is to create a LocalConnection on
    each side.
    M.

Maybe you are looking for