Rebuild Flex in FlexBuilder?

I'm wanting to subclass Slider and need to tweak Slider's
code to set a method as override-able... does anyone have any
experience rebuilding Flex from inside FlexBuilder before I bumble
along?
The best I can tell this is the route I have to go, I've
tried just moving the class into my project (maintaining the
package structure) but the best I can tell this didn't work.
Thanks in advance... Mike

That was my initial approach, however Slider's private
declarations get in the way (numerous compiler errors).
Interestingly this just worked:
1) Copy Slider into my project maintaining its package
structure
2) Fix Slider's includes
3) Change the visibility attribute of a few variables and a
method in Slider from private to public
4) override in my subclass
5) recompile
I'm not sure why that didn't work on Sunday, but it works
fine now.
Thanks.

Similar Messages

  • Can I use CS4 rather than flex to program with stratus?

    Yeah it is all as3, but I need to know since it said "Flex or Flexbuild" which scares me. Can I use Stratus with flash cs4?

    I can.
    So I think you can too, just try.
    UPD: ando also try this http://forums.adobe.com/thread/26104

  • How does the ActionScript API, Eclipse IDE, Flex SDK, Cygwin & Flex Builder all communicate??

    Whats up Everyone! As you might've immediately recognized from the title of this thread I'm new to developing apps with Flex.....
    If I've succesfully set up my development environment (Flex SDK, Eclipse IDE, JAVA SDK, Apache Ant, Flash Player, etc.....) & checked out the source code using Subversion, can I start developing my app using the ActionScript 3 API using Eclipse? & how do those different SDK's & programs communicate? How should they be setup?

    If you're willing to buy into the FlexBuilder way of doing things, that's probably the way to go. In this case, you don't really need to worry about anything except FlexBuilder (at least for a while). I don't really have any experience in setting up a project with a server component (I always set 'server type' to 'None' and configure this manually), but other than that, the experience has been (fairly) smooth, and I'm someone who's pretty heavily biased towards the command line. FlexBuilder takes care of most of the Flex compiler options, tracking different SDK versions (I have three different ones installed), offers code completion and navigation tools, etc.
    To get some of the terms straight (I'm not sure how familiar you are with these, since you just threw them out there--pardon me if I'm being patronizing):
    * the ActionScript API: the function and class definitions built into Flash Player (fl.*) and the Flex standard library (mx.*)
    * Eclipse: a Java IDE, the core of FlexBuilder
    * Flex SDK: the Flex standard library, the mxml and compc flex compilers, some ant tasks for build automation, etc.
    * Cygwin: this does not really have anything to do with Flex specifically, as far as I'm aware--it's a *nix emulation layer for Windows
    * FlexBuilder: the Flex IDE from Adobe, built as a plug-in to Eclipse
    FlexBuilder is available in standalone (i.e., pre-bundled with Eclipse) and plug-in versions. Both versions include the SDK. If you're just starting out, I would suggest a FlexBuilder standalone trial, and follows some tutorials out there (or, really, just chose "new Flex project" and explore). In this case, you don't really have to worry about installing or configuring anything else to get started.
    Note also that for the upcoming Flex 4, FlexBuilder has been renamed Flash Builder (but I would stick with Flex 3.4 or 3.2 right now unless you really likethe bleeding edge).

  • IDE problems

    There are a couple of problems with the IDE that were
    acceptable in Beta releases, but should have been fixed for the
    Release.
    1. The compiler (builder) reports each problem 3 times. A
    minor problem, but one would think easy to fix??
    2. IDE crashes during builds. It is hard to tell what is
    going on when the crash occurs but it may be related to thread
    timing issues?? It seems to happen more often if I start a build
    right after doing a save or save all. Also if I do a clean after
    starting the IDE the odds appear to increase for a crash. I know
    that's not much help. However it is frustrating because sometimes
    after I get a crash I can't get a clean [non-crach] build until I
    reboot, which is a pain.

    Hi David. If you have been using any previous Beta release of
    Flex or FlexBuilder, we strongly recommend that you discard any
    Workspaces and Projects that were created with those previous
    releases (of course don't throw away your source code!). After you
    create a new workspace and project, see if the problems go away. If
    not, could you give some more details on what you're seeing - what
    is the exact text of the problem that's being reported 3 times,
    what is the line of source code that causes the problem, any other
    info that you think might help us understand the problem.
    If you are still seeing crashes then could you give us the
    exact text of the crash message.
    Thanks,
    Mark Shepherd
    FlexBuilder Engineering

  • TLF Hero?

    Adobe advises not to use TLF on (Flash 10.1 enabled) mobile devices (slide 42). Now that Slider is dead and Hero is the new (Flex SDK) king to be, I am wondering what this all means for the next major release of TLF. Will 'TLF Hero' be (more) suitable for smart phones? Will it shrink (in download size) and be less memory and CPU demanding? What new features will it bring? Will it be a better fit for users that aren't looking for a web based DTP-ish engine/editor but instead would prefer a (subset, standards compliant) HTML/CSS render engine/editor?
    Maybe it would be a defendable idea to build TLF Hero more like a real (non implementation targeted) framework. The Flash dev community could then build on that. I am sure we would soon see a lot of initiatives building HTML/CCS implementation, DTP-like implementations and special purpose implementations.
    Best regards,
    Benny

    We don't post the Flex builds, so I'm afraid I don't know when they will post a new build, although I will certainly inquire and see if they have a date for that. One thing you could try is to take the Flex source, and make the API change yourself, and then rebuild Flex.
    The problem you are running into is that there is a TLF API that was used in Flex that was renamed in TLF. The new TLF (build 200) is using the new name, while the older version of Flex is using the old name. API changes are all listed in the release notes (and in the checkin notes), the one that is hitting you is this one:
       * API Change: Renamed IEditManager.delayedOperations to allowDelayedOperations. Renamed IEditManager.delayedUpdate to delayUpdates.
    We apologize for the inconvenience -- we go through an API review process before finalizing an API to make sure that naming and functionality is as clear and simple as we can make it, but it does mean that you can get caught in the middle by changes caused by the review. Overall, I do think it improves the API, but it is painful when it hits you.
    If you make the corresponding change to Flex, that should fix this problem.
    - robin

  • Developing flex apps that use blazeds with flexbuilder and eclipse

    Hi all,
    Im new to Flex. I'm trying to setup my development environment. What I've noticed is that when blazeds is started and I run a flex project, it creates a folder in the blazeds root folder named $ProjectName-debug (replace $ProjectName with the actual project name). Once this folder is created, and the flash page is accessed, it cannot be deleted until blazeds is actually stopped. The files on that folder seem to be locked. While this folder is locked, eclipse cannot seem to re-build the project (specifically clean). Thus every small change I make to the project, I'm currently having to stop blazeds, clean the flex project, start blazeds, run the flex project.What makes things worse is that I have to start our application along with blazeds so it can retrieve the data from the app (which takes a few minutes).
    I'm wondering if other people are having to go through this pain or if they've figured out a way to get around this. I would ideally like to have a way where I'm able to rebuild the project and hit f5 and reload the page and see the changes. I understand this is not possible with debug.
    If anyone has figured out a way to incorporate blazeds to their development environment in a more practical way, please let me know. We just switched from tapestry/gwt to flex. We used to be able to update on the go thus development was much simpler.
    Regards,
    Udam

    Hi Udam. I don't seem to have that problem. I'm using the FlashBuilder 4 (formerly FlexBuilder) beta so maybe it is a bug in the version of FlexBuilder you are using, although it could also be something else in your environment.
    When I clean the project in FlashBuilder 4 it deletes all the assets from the $ProjectName-debug directory and then rebuilds the project. It doesn't attempt to delete the $ProjectName-debug directory itself.
    If you are not using the FlashBuilder 4 beta I would try using that and see if it resolves the problem for you. If that fixes things then you know it is an issue with the version of FlexBuilder you are using.
    If that doesn't do it, it could be an issue with the application server you are using or maybe something else in your environment.
    If you still have problems after trying this with FlashBuilder 4 please reply back with as much information about your environment as you can such as what application server you are using, what OS you have, what browser you are testing with, if you have FlexBuilder and BlazeDS running on the same machine or separate machines, etc.
    Thanks.
    -Alex

  • How do I rebuild a Flex 3.0/SDK 3.2 application in Flash Builder 4.7?

    I am trying to rebuild an old Adobe Flex/Air app.  The original developer is gone and we don't have the development environment he used available to us to do the rebuild.  As best I can see, this is an Adobe Flex SDK 3.2 application rebuilt in Flex Builder 3.0.   I've been able to get the project imported to Flash Builder 4.7 and set the SDK to use the 3.2 SDK and get a build, but all of my controls have the "Trial Version" water mark. 
    How can I get rid of this watermark?  Do I need a license for SDK 3.2 in addition to my Flash Builder 4.7 license?
    I've tried also to "upgrade" the proejct to 4.6 SDK in 3.0 Compatibility mode, but I am getting lots of errors at runtime for null object.
    I found this thread: http://forums.adobe.com/thread/441869
    But I don't know if that means I need to have an Adobe Flex 3.2 license key?  or will my new Flash Builder 4.7 key work?
    I'm new to Flex/Air and I'm just trying to get this old project rebuilt.  Any suggestions will be appreciated.

    Update - I have updated the license.properties file and added the compiler switch but still no luck.  Our Flash Builder 4.7 is fully licensed so I guess I need to know where to buy a Flex Builder 3 license key.  Is anyone from Adobe here?  Maybe someone can help me out please?

  • Help needed with building Flex App without FlexBuilder

    Hi Guys,
    I was building my application on Struts framework with JSPs
    as the front end. I just got a new requirement to try and build my
    application's GUI with Flex (completely replacing JSPs). I cannot
    use FlexBuilder as my company won't buy it. I've been trying to dig
    through all articles and documentation to find out how to write
    MXML files and compile them without a FlexBuilder. I have learnt
    that I can write MXML files using plain notepad, but I am totally
    lost when it comes to understanding how to compile my MXML files
    with FlexBuilder. I know about the ant compiler and web compiler
    but How do I use them? I want to use the web compiler but how can I
    configure the Web Compiler to compile my MXML files when I run my
    app? Can someone kindly help me out.
    Thank You,
    TNJ

    You can use mxmlc to compile your mxml files into swfs.
    Google for mxmlc and there should be plenty information.

  • Flex 2.0/Flexbuilder 2.0 and Windows Vista

    Hello,
    I have downloaded the trial downloads from the site and
    trying to install on my new machine that has Microsoft Windows
    Vista Ultimate Edition.
    However, dialog box that pops up during the installation
    process show junk characters everywhere on buttons, license
    agreements and other contents. In addition to this, the
    installation process requires my windows login name either as
    administrator or in power user group.
    Whereas my user account is the administrator for the machine.
    Does this mean that current versions of flex 2.0 and
    flexbuilder 2.0 does not support Windows vista yet?
    Thanks,
    Ruchir

    Eclipse 3.2 has known issues on Vista which have been
    resolved in Eclipse 3.3. Unfortunately Flex 2 Builder is not
    supported on Eclipse 3.3 and will not run on 3.3

  • WORKING example of BlazeDS with Flex 3 and FlexBuilder

    Can someone point me to an actual working example with BlazeDS used with Flex 3 and Eclipse?
    The examples on livedocs are broken or imcomplete. Others work to varying degrees but fail at some point.
    What I'd like to see is the following:
    1. How to create a project using
         a. Flex 3.0
         b. BlazeDS
         c. Eclipse - FULL project creation and deployment instructions.
         d. An example where the project is NOT created within the BlazeDS webapp that comes with the BlazeDS/Tomcat combo.
         e. An example where the ENTIRE project can be compiled and deployed to Tomcat in one shot.
         f.  An example where a DB can he altered using standard CRUD methods with the display displaying updated records without and event being used to
             refresh the view of the records.
    This shouldn't be too much to ask if Flex is to be expected to be taken seriously in data-driven applications. I've looked all over the web for weeks for something likethis and have come up with nothing. I don't need Spring or Hibernate at this point. Any help would be greatly appreciated as I'm working on a proof-of-concept at this time and the pressure is mounting to come up with something.
    Thanks!

    here is some stuff I wrote while back(they both have recorded video you can watch);
    http://ledtechdesign.com/2009/02/blazeds-tutorial-part-i-simple-remoting/
    http://ledtechdesign.com/2009/02/tutorial-blazeds-simple-remoting-part-ii-flex/

  • Flex compiler in FlexBuilder and Flex SDK

    I have downloaded Flex Builder 3.0.2 and Flex SDK 3.2. Are
    they using the same version of Flex compiler?
    Is there a way to check the version of Flex compiler?

    quote:
    Originally posted by:
    mab_bond
    And regarding the Advanced datagrid you must copy the
    dataVisualization.swc.from sdk 3.1
    It sounds like the SDK3.2 download is incomplete. I'm not
    sure if upgrade FB with this download is a good idea.

  • Flex Builder debugger breakpoint  folows wrong lines

    this morning i start seing strange things happening with
    flexbuilder, first it seeme that it was entering code that was
    physically impossible; things like entering "if" clause and then
    immediately entering " else " clause, finally i realized debugger
    was showing lines when in reality it was executing lines that were
    about 2-3 lines above what it was showing with breakpoint , I am
    blaming this to flash player 10 debug version, maybe because its
    still new there is bug ?
    I hate to uninstall it and reinstall version 9, maybe there
    is workaround to fix it.?

    yeah I implied that, I did clean, I did manual clean I did
    every possible option, then I uninstalled f player 10 debug and
    reinstalled f player 9 debug, and while doing that discovered
    another little bug in FB3 that could contribute to this issue ,
    case is following :
    I imported a flex project from my old machine where output
    folder was /a/b/c
    in my new PC output folder is /dev/a/b/c
    so I went in project properties and adjusted output folder to
    point to correct directory /dev/a/b/c but what flexbuilder is doing
    is, it does not update all property files that have this path so
    after you build the project, half of the assets go to new directory
    /dev/a/b/c and half goes to old directory, /a/b/c, whats even
    stranger is that if you close flex builder and reopen it, project
    output folder gets reset back to point to old /a/b/c folder,
    anyways I finally fixed it by manually modifying
    .actionScriptproperties and .project files restarted FB cleaned
    output folder,and then rebuild it, but now I am not sure did these
    steps fix the issue or the flashplayer downgrade, or maybe both?
    because I had to do these steps yesterday as well, and then
    it was building correctly whole afternoon into new output folder,
    but today it started it again, finaly I obliterated the existence
    of /a/b/c path completely.

  • Upgraded FlexBuilder to 2.01 .. Now CF App wizard won't compile projects.

    Hi,
    I just installed the upgrade for flexbuilder 2.01. Was
    working on a cf application wizard project and got to the end and
    found out the compiler won't work. Googled for an answer and found
    info that says a change was made late in the release that is
    causing this. Seems you now need to add an addtional argument
    -context-root "" in the complier string.
    Context root for server-based projects - The New Project
    Wizard now allows you to specify a context root when creating a
    Flex Data Services (FDS) or ColdFusion project. The context root is
    a name assigned when deploying a J2EE web application (FDS and
    ColdFusion are considered “web applications” from the
    J2EE perspective). It distinguishes one web application from
    another web application on the server and forms part of its root
    URL. The Flex services configuration needs to know this value in
    order to construct the correct URLs to the FDS or ColdFusion root.
    If it is incorrect, Flex services may throw errors at runtime
    relating to unreachable server URLs.
    Note: ColdFusion servers that use the standard configuration
    (that is, they don't use the multiserver or J2EE configurations)
    can leave this setting at its default value. However, if you
    created projects with the 2.0.0 version of the ColdFusion
    Extensions for Flex Builder, you must add -context-root "" to the
    additional compiler arguments in order to compile with Flex Builder
    2.0.1. For more information, see the Flex Team Blog.
    However this does not work for me.
    It does not compile. I've tried a number of things but none
    seem to work. Is there anyone here who can shed some light or has a
    work around that does work?
    Thanks

    I've tried Build solution, Rebuild solution, Clean solution and then build solution and also all of the above for just the project. Not to mention, delete the folder and checkout from the source control once more. In the other words, any combination I could
    think of.
    It's Visual Studio Professional 2013 12.0.31101.00 Update 4

  • Flex Builder 2 corrupting Eclipse 3.2.1

    Flex Builder 2 has some issues with Eclipse 3.2.1. I was
    working with the trial version, so maybe the full version does not
    exhibit these same problems, but if that is the case, then it is
    disappointing that adobe is trying to support two separate products
    instead of trying to resolve issues.
    The largest issue with the Flex Builder 2 plugin for eclipse
    is that if you have a flex project in the same workspace as other
    projects (like dynamic Java projects) the flex builder 2 will try
    to incorporate those projects in to the flex project when you do a
    build or a clean only on that specific flex project. As a result,
    eclipse consumes enormous amounts of memory that even with 2 gigs
    allocated to the heap, it runs in to out of memory exceptions
    frequently and the stability of eclipse has degraded significantly
    since I installed this product! The flex projects that I had loaded
    were some of the examples dealing with SpringGraph so I would not
    consider them as being large or complex. When there is a build
    occuring on just a Flex Project, it SHOULD HAVE NO BUSINESS even
    scanning other non-related projects regardless as to if they are in
    the same workspace!!!
    I am not too impressed with flex's interface with eclipse on
    the memory, the instability it introduced to eclipse, or how
    SpringGraph handles large graphs, so I did not pursue getting a
    license for future development. I also felt that the asking price
    for the Flex Builder 2 is steep for what you get and its maturity
    level. As such, when the license expired, Adobe had the nerve to
    disable core functionality within Eclipse!!! For example, it would
    not allow a CSS document to be opened in the CSS Editor! It
    Hijacked the basic Eclipse functionality!!!
    I am very disappointed in how the Flex Builder 2 plugin for
    Eclipse does not play friendly!
    But at least it does allow itself to be disabled. I am
    grateful for at least that level of accepted behavior.

    Cluebcke, thanks for the reply!
    I am using a compaq nx7010 laptop with 2 gigs ram, 60 gig hd,
    eclipse is set to utilize a minimum of 512 megs and a maximum of
    1540 megs for the heap space. Virtual memory is set to a max of
    4092 megs. Fairly generous I would assume. I doubt it was a
    configuration issue, but hey, I’m open to learning and the
    best lessons are through mistakes! ;-)
    Sorry, I was being a bit sarcastic when I mentioned that
    perhaps the issues were related to the free trial version knowingly
    perfectly well that in fact there is no difference between the two
    products. But I guess I was also conceding a possible out for Flex
    too. Hmm...
    To clarify my comment about aggressively compiling against
    other projects:
    1) I had about 4 demos loaded in to a workspace (269 files,
    82 folders, and 7.2 megs including my 1 test project as mentioned
    in item 4)
    2) I had about 7 large Java projects loaded in to the same
    workspace
    3) Total workspace size was about 22,000+ files and 1600+
    megs, give or take a fair number either way.
    4) I was making changes to a simple flex project based upon
    a SpringGraph demo
    5) I choose to manually build only the small flex project I
    was working on so as to replace all the generated files. NOTE:
    Might have been a clean, but only on that one flex project and NOT
    the whole work space. It takes too long to rebuild all of my other
    Java projects so that option has been unchecked for quite a while.
    6) What I saw in the Eclipse progress window was a list of
    files within my flex project getting reconstructed, and then it
    started to scan through the other projects too. All of their names
    and resources were flashed within that window.
    7) When finished with the build of the ONE flex project, the
    Java heap was basically gone. Starting a TomCat server would cause
    an out of memory exception. Recall I have allocated 1.5 gigs for
    the heap.
    8) Checking the other Java projects and Flex projects, the
    timestamps on the objects did not reflect that they were just
    rebuilt. They were untouched. Proof that I did not perform a build
    or a clean over the whole workspace.
    I agree with you whole heartedly that unless I explicitly
    select “build all” or “clean all” it should
    not touch other projects in anyway. But it did.
    As far as the issue with the CSS editor, I understand and
    accept your point. Perhaps as a friendly suggestion, when the trial
    expires, the plugin should uninstall itself. This may be very
    doable, and still have the functionality of a reminder and
    reactivation upon registration if Flex Builder actually had a
    second plugin called something like "FlexBuilder Registration"
    which would "intercept" attempts to edit and utilize the
    FlexBuilder only functionality so an informative message could be
    displayed. The benefit would be that normal functionality for
    non-flex resources such as CSS would return to normal.
    Anyway, as I stated before, I was not too impressed with
    performance of large graphs. What I consider to be large would be
    on the magnitude of 20,000 to 100,000+. It would need to display
    just about all nodes, or at lease an abstract relationship of those
    nodes rolled up to a higher level. I realize that SpringGraph is
    not ideal for those situations to begin with, but I was exploring
    the idea of writing other plugins to deal with other graphing
    formats.
    I guess to be fair to Flex in general, I should probably ask
    a general question of how well does Flex deal with large data sets
    that need to be resident and the manipulations of those data sets?
    Thanks for your time,
    Scott Tabar

  • Building from flex builder vs ant task

    I have a flex application written using flex builder. When I
    build it and run it using flex builder, or create an air file from
    flex builder and run that, then my application works just fine.
    However, I would like people without copies of flexBuilder
    installed to be able to build my application, so I am using the
    flex ant task (flex-mxmlc) to build my application. As far as I can
    tell I have the same configuration, and the same libraries included
    in the ant task. However, when I run the air file generated by the
    ant task nothing happens. If you look in the task manager, you can
    see that the application is running, but the main window for the
    application never appears.
    I tried running the swf through a debug version of flash to
    get some log output, and I am getting a bunch of exceptions, the
    first of which is:
    VerifyError: Error #1014: Class flash.display::NativeWindow
    could not be found.
    at flash.display::MovieClip/nextFrame()
    at mx.managers::SystemManager/deferredNextFrame()
    at
    mx.managers::SystemManager/preloader_initProgressHandler()
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.preloaders::Preloader/timerHandler()
    at flash.utils::Timer/_timerDispatch()
    at flash.utils::Timer/tick()
    It seems like it might not be finding the main flex library
    (flexlib.swc), is that where that class would be? In my ant task I
    have an include-libraries tag that points to that file.
    Anyone have any ideas?

    I experienced a similar problem (although the class that
    could not be found was different for me). Googling around I found
    someone who had a similar problem and claimed that using the
    flexlib.swc library was the culprit.
    The root of the problem is that the Flex SDK that comes
    bundled with the Flex Builder has libraries (under frameworks/libs)
    that are NOT included in plain free Flex SDK that you and I are
    presumably using on our build machines.
    When flexlib.swc is linked in, it causes certain classes to
    be required at runtime. Apparently when you compile these classes
    are linked in if available, but when they are not the compilation
    still succeeds. Only you get a VerifyError when you run the thing.
    What worked for me was to copy all the additional .swc files
    found in my Flex Builder SDK's frameworks/libs directory to the
    same directory on my build machine. Also you will need to copy the
    additional files under frameworks/locale/en_US.
    Rebuild and clear your browser's cache and it should then
    work.

Maybe you are looking for

  • Ayuda con el Photoshop CS

    Estimados, necesito su ayuda con un problema que tengo con el photoshop. Cuando estoy trabajando una foto y utilizo la herramienta Varita mágica y selecciono varias partes de la foto el phtoshop arroja un error y no me deja seguir trabajando la foto.

  • Modify table vbuk

    Hi all. I need modify the field vbuk-cmgst in the program SAPMV45A. To do it I wrote the code below: vbuk-cmgst = iv_cmgst. I hope it be committed in the standard commit of the program. Is there a rule to modify standard fields in standard programs ?

  • Fetching The more then One Company ID by using PLSQL Table on Block B1(FORM

    I have two blocks in Form (Forms 10g) .On the Block B2 I have populated the Company Id by using the PLSQL Table.Now I selected more than two company ID from that Block ...I just want to keep the Company ID in the Temp Field on the Block B1.which I ha

  • Captivate Bookmarking Issue

    We have developed a WBT using captivate 2.0. This WBT is published as SCORM 1.2 complaint. But while testing it on ADL Test Suit and on Sample RTE, we have observed that, the data was sent only on some slides. That is why, course is not bookmarking p

  • RTV user status - movement type 122

    Hello, We are trying to trigger RTV (Return To Vendor) user status automatically from the movement type '122' and vice versa back to AVLB with the reversal (movement type '123'). We tried to search for the SAP standard business through the IMG for us