Flex builder 4.0 ( mx:Script )

Hello Gurus,
We downloaded Flex builder 4.0 trial version for 60 days to learn Flash Island on webdynpro.
Now, we are facing a small problem that <mx:Script> tag is not working. Could be a missing library file...
Please help to resolve my problem.
Regards,
Abhishek.

Hi Abhishek,
It's may not be the case of any missing file.
Flex 3 Application codes may not be getting compiled as there are some differences in tag declarations and classes.
You can test any sample application which you can easily get from Tour de Flex examples to test Flash island in WD.
Note that you also need WDIslandLibrary 'SWC' file for same version compatibility.
If you want to use your own application then refer following links which will help you to understand the transition of Flex 3 applications into Flex 4.
http://www.adobe.com/devnet/flex/articles/flex3and4_differences.html/
http://www.sapphiresteel.com/Blog/Flex-3-Compatibility-in-Flex-4
http://ria.dzone.com/articles/transition-flex3-to-flex4
I hope these will help you to solve your issue.
Regards,
Vivek

Similar Messages

  • 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

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

  • Internal Server Error When Trying to Open Flex Builder Tutorials

    Anyone know what I need to set up to run the tutorials in
    Flex Builder - get an internal error server (500) when trying to
    open up the tutorials listed on the start page.
    I can open, compile and run projects .
    Thanks

    well thats a real vague error that IIS can spit out and it
    could mean anything. If you are using a server side script in
    conjunction with the tutorials for some reason that i would start
    by commenting it all out. If you are just getting that error when
    just trying to access a static html file that resides whithin your
    web root then i would open up IIS and check you permisions under
    your default web site for that folder.

  • Custom Components and Properties in Flex Builder Design View

    How do I create a custom component with custom properties
    that renders well in Flex Builder design view?
    This is a simple HelloWorld example of what I am trying
    below. Here is the HelloWorld.mxml file:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="
    http://www.adobe.com/2006/mxml"
    width="500" height="500">
    <mx:Script><![CDATA[
    [Bindable]
    public var message:String;
    ]]></mx:Script>
    <mx:Label x="100" y="100" text="{message}" />
    </mx:Canvas>
    And then when I use it in another mxml file, the design view
    does not show the label with the 'Hello World' value - instead it
    just shows {message} in design view where the label is located.
    When I run it as a compiled app in flash, the 'Hello World' is
    displayed correctly:
    -- HelloWorldTest.mxml --
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="
    http://www.adobe.com/2006/mxml"
    xmlns:views="mypackage.*" width="500" height="500">
    <views:SimpleLine message="Hello World."/>
    </mx:Canvas>

    design view does not do any variable assignments or function
    evaluations, so you won't be able to see it even if you don't use a
    custom component.

  • Flex Builder 4.5 Premium license not working for automation - anything else to try?

    So I'm getting the message when I try to record/run a test that the "License not present.  With the trial verison only limited replays are allowed."  I have a valid license key for Flash Builder 4.5 premium edition.  I have read many forums on this subject but none of them help me.  I compile my project either using Flash Builder 4.5 or an ant script invoking mxmlc.  I have modified my flex-config.xml to include "flashbuilder45", and my given serial number with and without dashes (and other combinations).  I do not have a license.properties file.  I'm not sure what else I can do.  I have already reinstalled Flash Builder 4.5.  I am now trying Flash Builder 4.6 with the same results.  This serial number is a group one good for 5 boxes.  My next step is to request a replacement serial number from Adobe, since I can't think of anything else that could be wrong with my setup.

    1.  It is a premium which I can see when I view "My Products" on this adobe site.  I can enable Network monitor and when I do my application hangs (I've read a bit on how to get this working properly, but I don't need it)
    2. It is an FB serial number.  Here is what it is under My Products:
    Serial Number: XXXX-XXXX-XXXX-XXXX-XXXX-XXXX
    Application or font: Flash Builder Prem
    Version: 4.5
    Platform: Multiple Platforms
    Date: June 7, 2011
    3. Yes I have.  I have uncommented
    <licenses>
          <license>
             <product>product</product>
             <serial-number>serial-num</serial-number>
          </license>
       </licenses>
    which sits one level down within <flex-config/>
    Under product I have tried "flashbuilder45", "flashbuilder4", "flashbuilder46", and even "flexbuilderXX" a few times.  Under my serial number I have entered the serial number as shown in My Products - I have tried tried it with dashes, and without.
    I found this post
    http://stackoverflow.com/questions/6993096/how-to-properly-define-the-flashbuilder-4-5-pre mium-license-for-a-maven-flexmojo
    which says "the serial-number element is NOT the license number that we got from Adobe (and that we use when installing the Flash Builder tooling) but it is a derived form of that license number that can be found for example in the license.properties file of a developer that has Flash Builder installed".  However I have read conflicting reports about this.  At any rate I do not have a license.properties file, which I assume was discounted after flex builder 3.x.
    4. Yes, using FlashBuilder and my ant script.  I have also cleaned my browser's cache.  The problem persists.

  • License not present.  With the trial version only limited replays are allowed -- Flex builder 4.5 Premium eclipse plugin with SDK 3.5

    Hi ,
    We are using Flex SDK 3.5 and using eclipse to build the war in order to make it automation compatible , Right now we tried with Premium version of Flex Builder 4.5 eclipse plugging to build and make application automation capable. But we are facing issues in terms of license , After deploying the automation compatible build we are getting error message "License not present.  With the trial version only limited replays are allowed".
    Previously we are using Flex Builder 4.0 and everything was working fine .
    Is Flex Builder 4.5 doesn't support SDK 3.5 ?
    Please help .
    Thanks in advance
    Thanks and Regards
    Sunil Kumar

    with trial version (FB basic) you can record/replay only 30
    script lines. You need to buy FB pro license to remove this
    restriction

  • Flex builder 3 - clean build

    I am having problems with Flex builder 3 not building
    correctly.
    It does incremental builds - to reduce compilation time on
    individual changes I assume - but quite often gets it wrong and
    produces a whole stack of invalid errors.
    I've tried the build clean function but that doesn't seem to
    actually perform a full build clean. It only resolves these issues
    some of the time. I can mess around with the code - deleting and
    then un-deleting lines that are throwing up errors, or sometimes
    renaming the main style sheet - which usually fixes it. But this is
    a constant drain on my productivity and sometimes no amount of
    messing around will help. In those cases only exporting the entire
    code base and creating a new project resolves the issue. (I would
    guess because this forces a completely clean build)
    Does anyone know of a way to either eliminate this problem
    alltogether or failing that perform a full clean build through the
    builder.
    I'm guessing a customised any build script may be the
    solution, but I've never created one of these.

    jfb, I tried all that but to no avail.
    Devtron, am not using SVN ! I'm using the Flex Builder standalone version.
    Thanks guys for your replies. I just ran out of patience and just started working with FB4 and all is going great !
    Thanks again

  • Flash CS3 vs. Flex Builder 2

    Here's the $64,000 question: should we be developing in Flash
    CS3 or should we shift over to Flex Builder 2? I maintain that AS
    3.0 is a pain in the proverbial, but I've been researching and
    finding as much help as possible online about it, and I've found
    that by and large people are using Flex Builder 2 as the basis of
    tutorials about AS 3.0. Does anyone have an official slant on this
    question? Should we abandon Flash for Flex? Will it help? Will it
    mitigate the difficulties non-programmers are experiencing with AS
    3.0 - or as I call it simply ***? Would I be getting more responses
    to my *** questions if I post them over in the *** forum under Flex
    Builder?
    Any thoughts on this matter would be most welcome, thank
    you.

    Beatie3,
    >> Help please.
    Sorry about that ... some days are crazier than others. :-/
    [From an earlier reply ...]
    > Thank you very much, that's exactly the sort of answer I
    > needed. Hmmm, cheque's in the mail. ;)
    Heh, good on ya! :)
    > I'm definitely a 'deseloper' and will stick with Flash.
    I wish
    > I had the luxury of only dipping into AS3.
    I don't know that I'd call it a luxury, really. Work is
    work. ;) As
    you might imagine, though, Flex Builder 2 provides a number
    of scripting
    improvements over the Actions panel (there's really no
    comparison; if you've
    tried them both, the Actions panel barely feels useful) and
    the Flex
    framework offers significantly more UI Components. Ideally,
    if the pocket
    book allows it, using both applications is the killer setup.
    > My problem is that I built a little program that draws
    scale bars
    > on uploaded images that can then be printed. It did
    everything
    > it needed to, but in AS2.0 you can't control the quality
    of the
    > imported jpgs.
    When you say imported, you mean dynamically loaded (loaded
    at runtime),
    right? Otherwise, I'm confused. The Flash IDE itself allows
    you to
    determine the quality of imported JPGs. In ActionScript 3.0
    ... are you
    talking about the Stage.quality property?
    > I'm experimenting with Sprites and I have something
    appearing
    > as the line is drawn but I can't crack the new way to
    express
    > coordinates.
    Not sure what might be tripping you up, actually. The
    coordinate grid
    is the same. Horizontally, higher numbers move toward the
    right;
    vertically, higher numbers move toward the bottom. That's the
    same as it's
    been.
    > I just want a blue hair line with a nice green dot at
    each end
    > that can be seen while the line is drawn. Once the
    mouseUp
    > happens the drawing guide should disappear and the black
    > line appear.
    Having heard what you're after, I just started a quick
    experiment from
    scratch. Here's my version, below. Note: I've made no effort
    to optimize
    my code. This is just a first draft to achieve a blue line
    segment with
    green dots on each end that becomes a black line segment when
    the mouse
    lifts.
    var startX:Number;
    var startY:Number;
    var canvas:Sprite = new Sprite();
    addChild(canvas);
    canvas.stage.addEventListener(MouseEvent.MOUSE_DOWN,
    mouseDownHandler);
    canvas.stage.addEventListener(MouseEvent.MOUSE_UP,
    mouseUpHandler);
    function mouseDownHandler(evt:MouseEvent):void {
    startX = mouseX;
    startY = mouseY;
    var dot:Sprite = new Sprite();
    dot.name = "dotStart";
    dot.graphics.beginFill(0x00FF00);
    dot.graphics.drawCircle(mouseX, mouseY, 5);
    dot.graphics.endFill();
    canvas.addChild(dot);
    dot = new Sprite();
    dot.name = "dotEnd";
    dot.graphics.beginFill(0x00FF00);
    dot.graphics.drawCircle(0, 0, 5);
    dot.graphics.endFill();
    canvas.addChild(dot);
    canvas.addEventListener(Event.ENTER_FRAME,
    enterFrameHandler);
    function enterFrameHandler(evt:Event):void {
    var dot:DisplayObject = canvas.getChildByName("dotEnd");
    dot.x = mouseX;
    dot.y = mouseY;
    canvas.graphics.clear();
    canvas.graphics.lineStyle(1, 0x0000FF);
    canvas.graphics.moveTo(startX, startY);
    canvas.graphics.lineTo(mouseX, mouseY);
    function mouseUpHandler(evt:MouseEvent):void {
    canvas.removeEventListener(Event.ENTER_FRAME,
    enterFrameHandler);
    canvas.removeChild(canvas.getChildByName("dotStart"));
    canvas.removeChild(canvas.getChildByName("dotEnd"));
    canvas.graphics.clear();
    canvas.graphics.lineStyle(2, 0x000000);
    canvas.graphics.moveTo(startX, startY);
    canvas.graphics.lineTo(mouseX, mouseY);
    There's a lot of repeated code there, and this isn't how I'd
    leave the
    above in an actual project, but by spilling out a rough cut
    like this, I'm
    hoping it gives you something to work with -- showing the
    mechanics of how
    this might be done.
    David Stiller
    Adobe Community Expert
    Dev blog,
    http://www.quip.net/blog/
    "Luck is the residue of good design."

  • Flex Builder choked - need help please

    I had to go out of town for a few days so I installed Flex Builder 3 on my MacBook, downloaded and installed Flex SDK 3.3 (Since that is what I have been building on, on my office Mac), created an exported .zip of my major project files on my office Mac, copied it to the MacBook and set off on my trip.
    When I set up the MacBook to start work, things looked OK at first, until I tried to switch to design mode. It popped up an error that "This component is based on ______, which is not a visual component. Switch to source mode to edit it" It did this for components based on Grid, Canvas, HBox and more.
    I was stumped, and miles from an Internet connection to be able to do research. FInally I decided maybe my install of SDK 3.3 was corrupt. I reset in the project prefs to use SDK 3.0 and ... everything worked perfectly!  I did what I needed to do for the rest of the weekend and returned home.
    Now, I just tried to export my project as a Flex Project Archive on my MacBook. It resulted in a 24K .zip file - basically empty - that can't be used. So, I just renamed my primary project folder on the office Mac to hide it from Flex Builder, then copied all the files, including the hidden .flexproperties, .project and .actionscriptproperties,  from the MacBook onto my office Mac in a new project folder named the same and in the same location as previously. The transfer appeared to be successful.
    Now, on my office Mac, I am getting the message "An unknown item is declared as the root of your MXML document.Switch to source mode to correct it." This happens every time I try to switch to Design view, regardless of what component is used in the MXML doc.
    After many attempts at figuring out and fixing the problem I tried setting the project properties to utilize SDK 3.1. Once that process was complete, then I went into properties again and set it to 3.3.  It appears that I may have succeeded in restoring it to usability, but I'm not confident in that yet.
    Can anyone give me some insight into the cause and fix of this problem? Especially the failure of Flex Builder to create a viable .zip archive file? I will be needing to move the project back and forth between my computers quite a bit for travel in the next few months.
    Thanks.
    Paul

    I am not being facetious with my answer but have you considered simply using XCode and Apache Ant and creating your own build script? This is the approach that I've had the fewest of problems with. The reason being is that Ant is Ant no matter where it is. It also cuts out all the background noise (i.e. configuration files, scripts, etc).
    I have had similar problems like what you've mentioned using Netbeans and Eclipse (e.g. a version change or an SDK change and suddenly my project is somehow foobar).
    As for your error message:
    "An unknown item is declared as the root of your MXML document.Switch to source mode to correct it."
    StackOverflow seemed to have a solution:
    http://stackoverflow.com/questions/347196/how-to-resove-this-error-an-unknown-item-is-decl ared-as-the-root-of-your-mxml-do
    Don't know if it's your solution. Sometimes these automated tools place little hidden scripts in their comments that are meant to mean something for the drag-and-drop GUI editor and deleting these comments confuses the IDE.

  • Flex Builder for Linux will need his companion Thermo

    I’ve been developing in Flex for a long time now. My
    main work is in the design area although I do a lot of coding. The
    Flex Builder Linux testing is being quite difficult, since the
    layout design view is not enabled yet. So we need a lot of
    imagination and a little bit of experience in AS3 and MXML tag
    codding.
    As a designer (and developer  ) I would like to ask
    for a Thermo for Linux. It’s just a request, but I think
    there are a lot of guys that share my opinion.
    Thanks,

    Hi, thanks for your answer.
    It turned out the problem was related to the *standalone* flashplayer.
    This is located in linux in:
    FLEX_BUILDER_INSTALL_PREFIX/Player/linux
    when I was clicking on the "Run" button Flex Builder was looking for a flashplayer standalone app, and was failing to find it.
    What I had to do was to add the complete the flashplayer path to the PATH used by eclipse.
    Now clicking on "Run" it compiles the application and launches the standalone player with the generated swf file.
    Now I wonder if there is some way to select the flashplayer to launch, and if it is possible to configure eclipse to make it launch a  browser or a custom script rather than execute that swf with the standalone player.
    Thanks, regards.

  • Calling WebServices using Flex Builder

    Hello,
    I want to use a WebService in the Flex Builder. I first defined the WebService:
    <mx:WebService id="test" wsdl="http://ld9030.wdf.sap.corp:50050/sap/bc/srt/rfc/sap/ZTP_TEST4?wsdl" result="log(event)" showBusyCursor="true">
    I have 2 importing parameters in the WebService (IText and IText2).
    But in the log-method, I cannot access these parameters:
        private function log(event:ResultEvent):void {
         var test1 = event.result.IText;
    Do you know, how I can access the import parameters?
    Please find attached the wsdl definition.
    Thanks,
    Thomas
      <?xml version="1.0" encoding="utf-8" ?>
    - <wsdl:definitions targetNamespace="urn:sap-com:document:sap:soap:functions:mc-style" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="urn:sap-com:document:sap:soap:functions:mc-style" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    - <wsdl:types>
    - <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="urn:sap-com:document:sap:soap:functions:mc-style" targetNamespace="urn:sap-com:document:sap:soap:functions:mc-style" elementFormDefault="unqualified" attributeFormDefault="qualified">
    - <xsd:element name="TpTest">
    - <xsd:complexType>
    - <xsd:sequence>
      <xsd:element name="IFlag" type="xsd:string" />
      <xsd:element name="IFlag2" type="xsd:string" />
      </xsd:sequence>
      </xsd:complexType>
      </xsd:element>
    - <xsd:element name="TpTestResponse">
    - <xsd:complexType>
    - <xsd:sequence>
      <xsd:element name="EText" type="xsd:string" />
      <xsd:element name="EText2" type="xsd:string" />
      </xsd:sequence>
      </xsd:complexType>
      </xsd:element>
      </xsd:schema>
      </wsdl:types>
    - <wsdl:message name="TpTest">
      <wsdl:part name="parameters" element="tns:TpTest" />
      </wsdl:message>
    - <wsdl:message name="TpTestResponse">
      <wsdl:part name="parameters" element="tns:TpTestResponse" />
      </wsdl:message>
    - <wsdl:portType name="ZTP_TEST4">
    - <wsdl:operation name="TpTest">
      <wsdl:input message="tns:TpTest" />
      <wsdl:output message="tns:TpTestResponse" />
      </wsdl:operation>
      </wsdl:portType>
    - <wsdl:binding name="ZTP_TEST4SoapBinding" type="tns:ZTP_TEST4">
      <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    - <wsdl:operation name="TpTest">
      <soap:operation soapAction="" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
      </wsdl:operation>
      </wsdl:binding>
    - <wsdl:service name="ZTP_TEST4Service">
    - <wsdl:port name="ZTP_TEST4SoapBinding" binding="tns:ZTP_TEST4SoapBinding">
      <soap:address location="http://us4419.wdf.sap.corp:50050/sap/bc/srt/rfc/sap/ZTP_TEST4?sap-client=000" />
      </wsdl:port>
      </wsdl:service>
      </wsdl:definitions>

    You can try putting the URL in a var as the next example:
    private var wsdl:String = "http://sapbdo5.bdo-argentina.com:8002/sap/bc/srt/rfc/sap/ZVER_TABLA?wsdl=1.1";
    private var wsdl2:String = "http://sapbdo5.bdo-argentina.com:8002/sap/bc/srt/rfc/sap/ZVER_TABLA?sap-client=600&wsdl=1.1";
              [Bindable] private var datos:ArrayCollection;
              private function retrieve_data():void{
                   //ws.loadWSDL(wsdl);
                                                                    ws.loadWSDL(wsdl2);
                   ws.ZVER_TABLA(txt.text);
              private function handleError(ev:Event):void{
                   Alert.show("Se produjo un error");
              private function handleResult(ev:ResultEvent):void{
                   datos = ev.result.DATA;
         ]]>
    </mx:Script>
    <mx:WebService id="ws" showBusyCursor="true" makeObjectsBindable="true">
         <mx:operation name="ZVER_TABLA" fault="handleError(event)"
         result="handleResult(event)"/>
    </mx:WebService>
    <mx:TextInput id="txt" enter="retrieve_data()" x="10" y="10"/>
    <mx:Button label="Ver datos" click="retrieve_data()" x="178" y="10"/>
    <mx:DataGrid id="dtGrid" horizontalScrollPolicy="auto" dataProvider=""
    verticalScrollPolicy="auto" right="10" bottom="10" top="40" left="10"
    visible="false"/>

  • Comunication and events: Flex Builder 2 with Flash CS3

    Hey hello...well, my question is: how can i comunicate Flex
    Builder 2 with Flash CS3?
    this is my code on Flex Builder 2:
    <mx:Script>
    <![CDATA[
    import mx.controls.*;
    import mx.events.*;
    public function CargaCompleta(e:Event):void
    try
    e.target.content.objeto_salida.addEventListener(Event.COMPLETE,uno);
    catch(er:Error) { Alert.show(er.message,"Error"); }
    public function uno(e:Event):void
    try
    s1.content["objeto_salida"].removeEventListener(MouseEvent.CLICK,s1.content["Finaliza"]);
    s1.source = null;
    s1.source = "recursos/reactivos/208M-1R.swf";
    catch(er:Error) { Alert.show(er.message,"Error"); }
    ]]>
    </mx:Script>
    <mx:SWFLoader id="s1" width="278" height="251"
    complete="CargaCompleta(event)"
    source="recursos/interactivos/208M-1I.swf">
    </mx:SWFLoader>
    and when it change from one file to another, on the event
    "Complete" for the SWFLodar, an error happend
    TypeError: Error #1009: No se puede acceder a una propiedad o
    a un método de una referencia a un objeto nulo.
    at 208M_fla::MainTimeline/frame1()
    Hope somebody can help me...for your time thanks...

    "Jorge EdOardo" <[email protected]> wrote in
    message
    news:gfcfcr$9s2$[email protected]..
    > Hey hello...well, my question is: how can i comunicate
    Flex Builder 2 with
    > Flash CS3?
    >
    > this is my code on Flex Builder 2:
    > <mx:Script>
    > <![CDATA[
    > import mx.controls.*;
    > import mx.events.*;
    > public function CargaCompleta(e:Event):void
    > {
    > try
    > {
    >
    e.target.content.objeto_salida.addEventListener(Event.COMPLETE,uno);
    > }
    > catch(er:Error) { Alert.show(er.message,"Error"); }
    > }
    > public function uno(e:Event):void
    > {
    > try
    > {
    >
    >
    s1.content["objeto_salida"].removeEventListener(MouseEvent.CLICK,s1.content["Fin
    > aliza"]);
    > s1.source = null;
    > s1.source = "recursos/reactivos/208M-1R.swf";
    > }
    > catch(er:Error) { Alert.show(er.message,"Error"); }
    > }
    > ]]>
    > </mx:Script>
    > <mx:SWFLoader id="s1" width="278" height="251"
    > complete="CargaCompleta(event)"
    > source="recursos/interactivos/208M-1I.swf">
    > </mx:SWFLoader>
    >
    > and when it change from one file to another, on the
    event "Complete" for
    > the
    > SWFLodar, an error happend
    >
    > TypeError: Error #1009: No se puede acceder a una
    propiedad o a un m?todo
    > de
    > una referencia a un objeto nulo.
    > at 208M_fla::MainTimeline/frame1()
    >
    > Hope somebody can help me...for your time thanks...
    http://weblogs.macromedia.com/pent/archives/2007/04/using_actionscr_1.html

  • Flex Builder 3 / Linux and flashplayer selection

    Hi all,
    I'm a Flex/AS/Eclipse newbie, and I'm learning all these ones at once in these days.
    I'm running Flex Builder 3 with Eclipse 3.3.2 (Europa) in Linux.
    Now I'm trying to write a simple project, I should have done something to my system so now I'm getting this error message when I try to compile:
    | Flex Builder cannot locate the required version of Flash Player. You might need to install Flash Player 9 or reinstall Flex Builder.
    | Do you want to try to run your application with the current version?
    My question is: how can I select the flashplayer / plugin to use for a specific Flex project?
    Many thanks in advance, best regards.

    Hi, thanks for your answer.
    It turned out the problem was related to the *standalone* flashplayer.
    This is located in linux in:
    FLEX_BUILDER_INSTALL_PREFIX/Player/linux
    when I was clicking on the "Run" button Flex Builder was looking for a flashplayer standalone app, and was failing to find it.
    What I had to do was to add the complete the flashplayer path to the PATH used by eclipse.
    Now clicking on "Run" it compiles the application and launches the standalone player with the generated swf file.
    Now I wonder if there is some way to select the flashplayer to launch, and if it is possible to configure eclipse to make it launch a  browser or a custom script rather than execute that swf with the standalone player.
    Thanks, regards.

  • How to add interface to customlize MXML Component when use Flex Builder 3?

    How to add interface to customlize MXML Component when use
    Flex Builder 3?

    David,
    I don't believe you can add the interface via the creation
    dialog in FlexBuilder 3. You can always manually add the
    "implements" property to your MXML Component root tag. Something
    like this: <mx:VBox implements="com.mycorp.IMyInterface">
    If you want autogeneration of the interface, then create an
    ActionScript class with that interface and then copy the generated
    functions and setter/getters into the script block of your MXML
    component.

Maybe you are looking for

  • APEX 3.0 Printing fails Acrobat could not open file

    I like the new printing tab in Apex 3.0 but I have already stumbled across a problem. If I put text in the "Page Header" with a page item: REPORT for &P9_USER The report errors when opening in Acrobat: Acrobat Reader could not open 'Report[1].pdf bec

  • Firefox doesn't show jpg files from a web page while other browsers do

    I have created a page and uploaded www.nutechequipments.com/equipment.html page doesn't show the jpg files in only firefox everywhere including Dubai. But all the other browsers show the uploaded jpg pictures in perfect manner. In Firefox only the ta

  • Adobe Acrobat Pro XI no more running after latest update

    I've subscribed to Adobe Creative Cloud package. Anyway, during the latest update, Adobe Acrobat Pro XI stopped working: I cannot launch it any more (I get this message, translated by Italian: "You cannot run "Adobe Acrobat Pro" because it may be dam

  • Deserialization error [Causes and Cure]

    Hi all, What is meant by "desearilizing error" ? Please provide information or links on this. And what should be done inorder to overcome it. I have a client proxy in SAP and i am trying to consume a WEB SERVICE from .NET. The services has 1 input pa

  • Lightroom Registry Entries...  Serial Number Submission / Location has changed...

    I just deleted all the registry settings for Lightroom on my Windows PC. I currently have Lightroom version 1.3.1 installed. TOPIC #1 Why is Lightroom version 1.3.1 recreating Lightroom 1.1 registry entries? Under HKEY_CURRENT_USER -> Software -> Ado