Using CS3 Libraries in flex builder

Hi,
Im fairly new to Flex and im a starting out with flex builder
3. I am trying to add the CS Libraries as I would have done via
Preferences->Actionscript->ActionScript 3.0 Settings in Flash
CS3 so that projects can reference these packages.
I have complie errors when using import
mx.transitions.easing.*; and I cant seem to get flex to reference
that libray.
thanks for your help

thanks Greg,
Followed your instructions and added the path D:/Program
Files/Adobe/Adobe Flash CS3/en/Configuration/ActionScript
3.0/Classes/playerglobal.swc but still get the same compile error
1172: Definition mx.transitions.easing could not be found.
thanks

Similar Messages

  • I am using strobe player in flex builder 4.6 but its not loading.

    I am using strobe player in flex builder 4.6 but its not loading,
    I have made required change in compiler option as below: 
    -locale en_US -swf-version=11 -define CONFIG::LOGGING true -define CONFIG::FLASH_10_1 true -define CONFIG::MOCK false -define CONFIG::PLATFORM true
    There is no any error but player does not load, here is my code I am using;
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
          xmlns:s="library://ns.adobe.com/flex/spark"
          xmlns:mx="library://ns.adobe.com/flex/mx"
          applicationComplete="init(event)" backgroundAlpha="0">
    <fx:Declarations>
      <!-- Place non-visual elements (e.g., services, value objects) here -->
    </fx:Declarations>
    <fx:Script>
      <![CDATA[
       import mx.core.UIComponent;
       private const HTTP:String = "http://ec2-54-84-194-229.compute-1.amazonaws.com:1935/live/legacyLive/manifest.f4m?DVR";
       protected function init(event:Event):void
        var playerInstance:StrobeMediaPlayback = new StrobeMediaPlayback();
         var ui:UIComponent = new UIComponent();
        var parameters:Object = {
         src:HTTP,
         controlBarMode:"floating",
         controlBarAutoHide:"true"
        playerInstance.initialize(parameters, systemManager.stage, systemManager.loaderInfo, null);
        ui.addChild(playerInstance as DisplayObject);
        addChild(ui);
      ]]>
    </fx:Script>
    </s:Application>

    I am using strobe player in flex builder 4.6 but its not loading,
    I have made required change in compiler option as below: 
    -locale en_US -swf-version=11 -define CONFIG::LOGGING true -define CONFIG::FLASH_10_1 true -define CONFIG::MOCK false -define CONFIG::PLATFORM true
    There is no any error but player does not load, here is my code I am using;
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
          xmlns:s="library://ns.adobe.com/flex/spark"
          xmlns:mx="library://ns.adobe.com/flex/mx"
          applicationComplete="init(event)" backgroundAlpha="0">
    <fx:Declarations>
      <!-- Place non-visual elements (e.g., services, value objects) here -->
    </fx:Declarations>
    <fx:Script>
      <![CDATA[
       import mx.core.UIComponent;
       private const HTTP:String = "http://ec2-54-84-194-229.compute-1.amazonaws.com:1935/live/legacyLive/manifest.f4m?DVR";
       protected function init(event:Event):void
        var playerInstance:StrobeMediaPlayback = new StrobeMediaPlayback();
         var ui:UIComponent = new UIComponent();
        var parameters:Object = {
         src:HTTP,
         controlBarMode:"floating",
         controlBarAutoHide:"true"
        playerInstance.initialize(parameters, systemManager.stage, systemManager.loaderInfo, null);
        ui.addChild(playerInstance as DisplayObject);
        addChild(ui);
      ]]>
    </fx:Script>
    </s:Application>

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

  • How to use fla file in Flex Builder 3?

    Is there a way to do it?

    I got these files also. But how to use Flash's fl.transitions. package with Flex.
    Flash and Flex are doing transitions very differently.
    In Flex, for example,
    Define a transition effect: <mx:WipeLeft id="wl"/>
    Use it: <mx:Canvas id="home" ... showEffect="wl">
    Flash uses TransitionManager:
    import fl.transitions.*;
    import fl.transitions.easing.*;
    var myTM:TransitionManager = new TransitionManager(my_mc);
    myTM.startTransition({type:Wipe, direction:Transition.OUT, duration:3, easing:Strong.easeOut, startPoint:1});
    How to define the MovieClip - "my_mc"? Both Flex and Flash have flash.dispaly.MoiveClip. Are they the same?

  • Q: Issues using WSDL wizard in Flex Builder

    I'm having trouble generating AS Proxy files from a WSDL.
    Incident (with the WSDL/schema files) is here
    http://bugs.adobe.com/jira/browse/FB-10541
    I'd appreciate it if you could try generating the AS proxy
    stubs - if you have any luck, please forward them to me!
    Thanks in advance.
    Adam

    Hi Adam,
    Please read the following
    bug report for
    more details about this issue and how to fix it.
    Thanks,
    -Catalin

  • Flex Builder 3  new j2ee project using LDS

    Hello
    I am using Eclipse Europa With flex builder v3 beta 2. My
    application server is apache geronimo v2.
    When i deploy my ear file into geronimo i recieve an
    exception: org.apache.geronimo.common.DeploymentException: Could
    not parse TLD file at file in /WEB-INF/lib/flex-bootstrap-jsp.jar.
    This is a flex jar. it is caused by caused by
    org.apache.xmlbeans.impl.piccolo.io.IllegalCharException: Illegal
    XML character: 0x3
    Can any one help me . as i have tried to view this file and i
    have found no illegal character.
    I think this might be an issue with geronimo . but does Flex
    support geronimo.
    Thnks in advance for any help

    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

  • 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

  • Flex builder with AS3 project

    Hi,
    I am developing a Flash game using as3, I chose flex Builder with an AS3 project. Now I am thinking that if selecting the project to be a flex project instead of as3 project I would have a lot of flex functionality like a swf loader,preloaders and the popup manager etc. The graphic components would obviously have been made in flash and used through the swc (avoiding the heavy mxml components).
    Need to know what other developers think of this approach.

    You must include in library:
    ${FRAMEWORKS}/locale/{locale}

  • Upgrade from Flex Builder 3.1 to Flash Builder 4.5

    I have several project in Flex Builder 3.1 now.
    What is the best way to move them in Flash Builder 4.5? Can I just use the workspace from Flex Builder 3.1 in Flash Builder 4.5?
    Is Flex 4.5 backward compatible at API level?

    You should always have separate workspaces for separate versions of Flash Builder.
    Flex 3 and Flex 4 have some large differences.  You will probably want to spend some time reading about migrating by searching on Google.  Here is a good place to start: http://www.adobe.com/devnet/flex/articles/flex3and4_differences.html

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

  • Use Flash CS3 component in Flex

    As a bit of a n00b, this may be a stupid question...
    If I were to get a component made for use with "Flash CS3",
    once it's compiled to a swf & fla, is it entirely usable in
    Flex [Builder] 3 ? Say I didn't want to re-skin it, and it was
    fully programable via AS?
    Is this a "it depends"? Is it a "absolutely, you just need
    CS3 to compile it first"?
    Thanks in advance,
    AJ

    "GuinnessIsGoodness" <[email protected]>
    wrote in message
    news:gbe131$c20$[email protected]..
    > As a bit of a n00b, this may be a stupid question...
    >
    > If I were to get a component made for use with "Flash
    CS3", once it's
    > compiled
    > to a swf & fla, is it entirely usable in Flex
    [Builder] 3 ? Say I didn't
    > want
    > to re-skin it, and it was fully programable via AS?
    >
    > Is this a "it depends"? Is it a "absolutely, you just
    need CS3 to compile
    > it
    > first"?
    I think you need to either use it as an as file or compile it
    as a swc,
    unless you want to load it into a swfloader.
    HTH;
    Amy

  • Fireworks CS3 quit working after flex builder 3 uninstall

    I recently installed flexbuilder 3 to give it a test run. After a few days I uninstalled it. Now when I try to use FW CS3 I can't. When I open an image the only tool tip that shows up in the work area is the hand. When I try to select a different tip or use a different tool it doesn't work.
    To solve this I tried reinstalling the upgrade I purchased & downloaded a while ago (I purchased web prem upgrade for the mx 2004 suite.) and it doesn't work. I get the message "please insert Creative suite web premium" or something very similar. I dont have a disk. It was a download only and CS3 is installed already. I tried contacting support over the phone and all I got was some guy from india that I could barely understand and the eventual response that there is no download link to get the program. I already have the program....as a matter of fact I redownloaded it from my account page and I still get the same message.
    I have 3 projects I'm trying to get done and I cant because fireworks isn't working.
    Please help.
    Thanks
    After reading another thread that was fairly similar I opened it back up and now everything is working fine......... I don't get it. But problem solved. Just wish the phone support was better. That should really be fixed.

    I'm not quite sure what has gone wrong here, but can you
    please try launching with the "-clean" command line option? E.g.
    from the command line:
    eclipse -clean
    or
    flexbuilder -clean
    Some background, in case it helps: Although I don't know why
    this has happened, it appears that a DLL is missing. Almost all of
    Flex Builder is written in Java, but there are a few bits of native
    code. In your "plugins" directory (e.g. "C:\Program
    Files\Adobe\Flex Builder 3\plugins", or ""C:\Program
    Files\Adobe\Flex Builder 3 Plug-in\eclipse\plugins", something like
    that) should be either a file or a directory called
    com.adobe.flexbuilder.utils.osnative_3.0.*.jar (where "*" is a
    six-digit number). Inside that jar file, among other things, should
    be a file called os/win32/x86/JNIToNativeBridge.dll. Please note,
    there are two plugins with similar names:
    com.adobe.flexbuilder.utils.osnative, and
    com.adobe.flexbuilder.utils.osnative.win. The one I am referring to
    here is the one that does *not* have "win" in the name.
    Eclipse caches lots of stuff; one thing it does is, if it
    finds a DLL in a plugin, it sometimes copies that DLL to another
    place, called the configuration directory. The "-clean" option
    tells Eclipse to discard its cache.
    Please let me know whether this resolves the problem.

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

  • Calling Webservice defined in SAP R/3  in Flex builder using mx:Webservice

    Hi All,
    I am calling R/3 webservices in Flex builder using <mx:webservice> tag. but the wsdl is not accepting additional parameters like &, =  ....
    when I try to run this code Flex builder is generating an error
    <mx:WebService id="ws" wsdl="http://localhost.com:8088/sap/bc/srt/rfc/sap/Z_SIMPLE_TEST_WS?<b>sap-client=030</b>&wsdl<b>=1.1</b>"
              useProxy="false"
              result="handleResult(event)"
              fault="handleFault(event)" showBusyCursor="true" >
    and when I remove the <b>sap-client=030&</b> and <b>=1.1</b> from the wsdl, the program gets executed, however SAP is calling client 010 as that is the default client.
    I would appreciate if anyone can tell how to pass the parameter sap-client=030 in Flex.
    Thanks,
    Madhavi
    Message was edited by:
            Madhavi<b></b>
    Message was edited by:
            Madhavi

    its because of the & sign. instead use it like below it will work.
    Z_SIMPLE_TEST_WS?sap-client=030&emp;wsdl=1.1
    in the above line replace 'e' in emp with 'a' (amp)
    Raja

  • Using Eclipse project definitions to build the Flex SDK

    It would be great if someone from Adobe could post on the recommended usage of the Eclipse project definitions in the development/eclipse/ subdirectory of the 3.0.x trunk distribution. I would like to debug some compiler modifications that I am working on.
    I saw Peter Farland demo this setup at 360Flex, but was unable to capture all the details of the Eclipse configuration that he discussed in his talk.
    thanks!

    If you go to the framework project’s properties, there is a section called Flex Library Compiler, you want to use a specific flex sdk (add a new sdk which points to the trunk, and use that) — you are probably building /against/ the wrong sdk, right code, wrong compiler.
    - Jono
    From: Ben Clinkinbeard <[email protected]>
    Reply-To: <[email protected]>
    Date: Thu, 3 Apr 2008 12:56:01 -0700
    To: <[email protected]>
    Subject: Re: Using Eclipse project definitions to build the Flex SDK
    A new message was posted by Ben Clinkinbeard in
    Developers --
      Using Eclipse project definitions to build the Flex SDK
    Sorry, I'm not following. My SDK project is from the trunk.
    Thanks,
    Ben
    On Thu, Apr 3, 2008 at 3:32 PM, Jono Spiro <[email protected]> wrote:
    A new message was posted by Jono Spiro in
    Developers --
      Using Eclipse project definitions to build the Flex SDK
    Try changing the sdk for the framework lib project to trunk (you'll need to add a new flex sdk, name it whatever you want) -- it's in the project properties. It's using the wrong compiler.
    - Jono
    From: Ben Clinkinbeard <[email protected]>
    Reply-To: <[email protected]>
    Date: Thu, 3 Apr 2008 05:13:43 -0700
    To: <[email protected]>
    Subject: Re: Using Eclipse project definitions to build the Flex SDK
    A new message was posted by Ben Clinkinbeard in
    Developers --
      Using Eclipse project definitions to build the Flex SDK
    I am running FB on top of Eclipse 3.3.2.
    <http://3.3.2.>  <
    <http://3.3.2.>
    http://3.3.2.>  I checked out the whole SDK trunk and can build the main ant task with no errors. I used the instructions mentioned above to create a Flex framework library project and thats where the error comes in. (I had tried to manually build a framework project a few times and it was a nightmare.) I would probably prefer to work on the 3.0.x branch/tag as I hope to submit a patch or two but saw Joe mention that the project defs only existed in the trunk.
    Searching Google for the oem error turns up lots of links about projects that had assets deleted and the build got confused but following the instructions on how to fix proved unsuccessful.
    Thanks,
    Ben
    On Thu, Apr 3, 2008 at 1:45 AM, Jono Spiro <[email protected]> wrote:
    A new message was posted by Jono Spiro in
    Developers --
      Using Eclipse project definitions to build the Flex SDK
    I always forget what that error means when it comes up -- though it's been ages since I've seen it last, literally.
    Joe: Since you mention Java 1.5, I'm guessing the errors are in the asdoc package? Those should be turned off (read: turned into a warning) -- Eclipse is a little too persnickety about that particular error. There's a preference for this in the Java section under warnings and errors. It's turned off in the trunk dev projects. Otherwise, you should be able to run the compiler directly with no problems (okay, one more caveat: there's a class loader issue with the OEM, fixed in trunk if you look for my Java 1.5 checkin).
    Ben: What is your setup? What are you building (Ryan mentions trunk, Joe mentions 30x), which Eclipse, which dev projects, did you build the sdk from the commandline first, etc.?
    Cheers,
    Jono
    View/reply at Using Eclipse project definitions to build the Flex SDK <
    <http://www.adobeforums.com/webx?13@@.59b4a9d4/3>
    http://www.adobeforums.com/webx?13@@.59b4a9d4/3>
    Replies by email are OK.
    Use the unsubscribe <
    <http://www.adobeforums.com/webx?280@@.59b4a9d4%21folder=.3c060fa3>
    http://www.adobeforums.com/webx?280@@.59b4a9d4%21folder=.3c060fa3>  form to cancel your email subscription.
    View/reply at Using Eclipse project definitions to build the Flex SDK <
    <http://www.adobeforums.com/webx?13@@.59b4a9d4/5>
    http://www.adobeforums.com/webx?13@@.59b4a9d4/5>
    Replies by email are OK.
    Use the unsubscribe <
    <http://www.adobeforums.com/webx?280@@.59b4a9d4%21folder=.3c060fa3>
    http://www.adobeforums.com/webx?280@@.59b4a9d4!folder=.3c060fa3
    <http://www.adobeforums.com/webx?280@@.59b4a9d4%21folder=.3c060fa3> >  form to cancel your email subscription.
    View/reply at Using Eclipse project definitions to build the Flex SDK
    <http://www.adobeforums.com/webx?13@@.59b4a9d4/6>
    Replies by email are OK.
    Use the unsubscribe
    <http://www.adobeforums.com/webx?280@@.59b4a9d4%21folder=.3c060fa3>  form to cancel your email subscription.
    View/reply at Using Eclipse project definitions to build the Flex SDK
    <http://www.adobeforums.com/webx?13@@.59b4a9d4/7>
    Replies by email are OK.
    Use the unsubscribe
    <http://www.adobeforums.com/webx?280@@.59b4a9d4!folder=.3c060fa3>  form to cancel your email subscription.

Maybe you are looking for