Compiling an existing as3 packag with flex sdk (for a flash/flex/as beginner)

Hi
I am new to flash, flex, mxml, and actionscript (with a strong background in c, python, and scheme and some background in Java, VBA, and Javascript). I have a website for which I would like to develop some simple swf content. Basically, I would like to load esri shp files at runtime (and display a series of them as an animation) using these APIs.
I have read through some flex getting started material, but I have found that there is no better way to learn a framework/language than to look at and modify existing code. Happily, I've found a sample that is both salient to my project and about the right level of complexity.
I have the Flex SDK 3 and have created some simple movies. However, I haven't managed to compile the example as3 source code to a successful swf movie. I'd like to write mxml for layout/structure and as3 for functionality, and compile with mxmlc, period. Most examples I've found use of Flex Builder, Adobe Air plugins, other IDEs, etc and so they aren't very helpful.
Here is a link to the content I'm interested in, and more importantly the as3 source packages (zip or browesable) that I'd like to compile. There are two: ManualCartogramTest.as and USStatesCartogramExample. I can use mxmlc to compile either one sucessfully, but the resulting swf file displays nothing. It seems that I should use the ManualCartogramTest class to create an instance of it, but none of my efforts have worked.
Can anyone help out? How should I generate the swf movie given one of these packages? What key piece am I missing?
Jeff
For completeness, here is another example using the shp/dbf packages (from the creator) that I just can't figure out what to do with.

1. Perhaps this wasn't the right forum.
2. I had to use set -use-network=false to enter "local-with-filesystem" mode. Unfortunately, it took a while before I finally used a flash player that told me the problem instead of silently failing. The linux standalone or linux debugger from adobe was key! Gnash, swfdec, and my firefox plugin hid the problem.

Similar Messages

  • Latest flex sdk for Flash Builder 4

    HI,
    We bought Flash Builder 4 Premium and installed it.
    Now I want to use the latest flex sdk to use with it (I am working on a project using TLF 2).
    What is the version I should install, is it sdk 4.1 or 4.5(Hero).
    In Flex 4.1 there are about three variations http://opensource.adobe.com/wiki/display/flexsdk/Downloads. Which one should I download if using 4.1 ?
    Please explain.
    Thanks

    Thanks Chris.
    in sdk 4.1 download there are 3 download types. Can you please tell me the difference of 'Free Adobe Flex SDK' and 'Open Source Flex SDK' and which one should I use?
    Thank you very much

  • OpenSSH 4.4p1 packages with PAM support for Solaris 9, 10

    As mentioned in a previous post* , I've compiled OpenSSH packages with PAM support for Solaris 9 and 10. They've since been updated to version 4.4p1, and are compiled against a static zlib (1.2.3) and OpenSSL (0.9.8c). You can find them here:
    http://firewallworks.com/downloads/unsupported/Solaris-sparc/
    Regards,
    Greg
    * http://forum.sun.com/jive/thread.jspa?threadID=103378&tstart=105

    Yes, zlib 1.2.3 is a requirement. In facts, zlib mentions a 2005 vulnerability fix but I found no matching patch in sunsolve. See
    http://www.kb.cert.org/vuls/id/JGEI-6E7RC3
    I have been wandering whether to replace the official zlib. Linking statically is probably a better idea. Thanks

  • Any tutorials on how to use the daily build of the Flex SDK to create Flash Player 10 content?

    Is there a tutorial on Adobe on how to use the daily build of
    the Flex SDK to create Flash Player 10 content?

    The approach you take might depend on a few things, but it boils down to using mouse interactive coding to trigger whatever effect you eventually realize.  The code you use will depend on the version of Actionscript you plan to use.
    You could make this as a movieclip that is normally stopped at its first frame and when you mouseover or click the movieclip, it animates along its own timeline to its enlarged state.  If the thumbnail is very small and the larger version is substantially larger, and both need to be clear images, this might be the better approach.
    If this only involves enlarging something, you could also probably realize it just using Actionscript Tween coding rather than timeline animation.

  • [svn:fx- flex] 21426: Moved flex/sdk/tags/trunk to flex/sdk/tags/trunk4.5.1 .

    Revision: 21426
    Revision: 21426
    Author:   [email protected]
    Date:     2011-06-21 07:15:10 -0700 (Tue, 21 Jun 2011)
    Log Message:
    Moved flex/sdk/tags/trunk to flex/sdk/tags/trunk4.5.1. This tag has history for the 4.5.1 release
    Added Paths:
        flex/sdk/tags/trunk4.5.1/
    Removed Paths:
        private/flex/sdk/tags/trunk/

    I had downloaded it for test, and requested for evaluation license...
    But I haven't got license, and also I am not able to find Flash Builder Plugins from HFCD site....
    I think those plugins are removed from site....
    Please help me, if anyone have those plugins...

  • [svn:fx-] 21436: Copied flex/sdk/trunk to private/flex/sdk/tags/pub_trunk.

    Revision: 21436
    Revision: 21436
    Author:   [email protected]
    Date:     2011-06-22 06:26:53 -0700 (Wed, 22 Jun 2011)
    Log Message:
    Copied flex/sdk/trunk to private/flex/sdk/tags/pub_trunk.
    Added Paths:
        flex/sdk/private/
        flex/sdk/private/flex/
        flex/sdk/private/flex/sdk/
        flex/sdk/private/flex/sdk/tags/
        flex/sdk/private/flex/sdk/tags/pub_trunk/

    error dateField not selecion date 27/11/2002 ?
    This is bug flex 3 ?
    thanks

  • Shifting Flex project from Flex SDK 3.5 to Flex SDK 4.0

    Hi,
    I am currently working on a Flex project using Flex 3.5 SDK. I want to shift my project to Flex 4.0 SDK.
    When I changed the project settings to use SDK 4.0, I got lot of unknown location errors.
    1) 1046: Type was not found or was not a compile-time constant: ImportExportConfiguration
    2) 1061: Call to a possibly undefined method setSelection through a reference with static type mx.core.ITextInput
    While the same code of flex was working satisfactorily in Flex SDK 3.5.
    Please tell, how can I get rid of these error and successfully shift my project to Flex SDK 4.0.
    Regards,
    Nitika Agarwal

    Hi,
    While I am migrating my project from flex 3.5 to Flex 4, I have to keep the Flex 3 compatibility mode off and theme as Flex 4 default theme that is Spark.
    Then while i compile I get foloowing errors:
    The   style 'backgroundAlpha' is only supported by type 'mx.controls.TextInput'   with the theme(s) 'halo'.
    The style 'backgroundColor'   is only supported by type 'com.app.model.WLSMSTextArea' with the theme(s)   'halo'.
    The style 'borderColor' is   only supported by type 'mx.controls.ComboBox' with the theme(s) 'halo'.
    The style 'borderThickness'   is only supported by type 'mx.containers.Canvas' with the theme(s) 'halo'.
    The style 'cornerRadius' is   only supported by type 'com.app.model.WLTextInput' with the theme(s) 'halo'.
    The style 'cornerRadius' is   only supported by type 'mx.controls.TextArea' with the theme(s) 'halo'.
    The style 'fillAlphas' is   only supported by type 'mx.controls.Button' with the theme(s) 'halo'.
    The style 'fillAlphas' is   only supported by type 'mx.controls.ComboBox' with the theme(s) 'halo'.
    The style 'fillColors' is   only supported by type 'mx.controls.Button' with the theme(s) 'halo'.
    The style 'fillColors' is   only supported by type 'mx.controls.ComboBox' with the theme(s) 'halo'.
    The style 'themeColor' is   only supported by type 'com.app.model.WLSMSTextArea' with the theme(s)   'halo'.
    The style 'themeColor' is   only supported by type 'com.app.model.WLTextInput' with the theme(s) 'halo'.
    What is the resolution for these, as for most of the controls there is no substitute to these properties. If I do not want ot change my <mx:> controls to <s:>controls because it will hamper my UI look and field, which I cannot afford to do.
    I have added following lines at the beginning of my stylesheet (*.CSS) as well:
         @namespace "http://www.adobe.com/2006/mxml";
        @namespace "library://ns.adobe.com/flex/mx";
        @namespace s "library://ns.adobe.com/flex/spark";
         Button { .... }
         ........ / * other styles */
    Please help me on this.
    Regards,
    Nitika

  • Flex SDK 4.5 && flash player version

    Why does Flex SDK 4.5 requires minimum flash player version 10.1 not 10 ?

    I think the question was "Which flex components will not work in right way if we compile project with Flex SDK 4.5 and then run it in Flash Player 10.0 enviroment?"
    For example - as I understand some new components in Flex SDK 4.5 use flash.globalization classes - so new spark formatters and ?validators? will not work in in Flash Player 10.0.
        * spark.formatter.NumberFormatter
        * spark.formatter.CurrencyFormatter
        * spark.formatter.DateTimeFormatter
        * spark.globalization.SortingCollator
        * spark.globalization.MatchingCollator
        * spark.globalization.StringTools
    Also we have to pay attension to 'string sorting'  functionality - because it could be dependent on flash.globalization also.
    Are there another 'danger' components in Flex SDK 4.5 ?

  • Help installing Flex SDK 4.1 on Flex Builder 3 properly

    Flex Builder 3 comes with SDK for 2.0.1 and 3.2 by default, so I want to add Flex SDK 4.1
    I downloaded it, made a directory in the Flex Builder 3 sdks folder, and unzipped the contents there.
    After adding it and selecting/checking it on Flex Builder, I tried to use it by running a project I was using with 3.2 and I get the error below:
    unable to open 'C:\Program Files\Adobe\Flex Builder 3\sdks\4.1.0\frameworks\libs\player\9.0\playerglobal.swc'
    What do I need to do or didn't do?

    Hi,
    You can not use SDK 4.1 in flex builder 3. You need to purchase Flash Builder 4 or use free SDK 4.1 in eclipse.
    http://arunbluebrain.wordpress.com/2008/12/05/flex-40-gumbo-tutorial-installing-flex-40-sd k-in-eclipse-ide-flash-player-10/
    Regards
    Johnny

  • How to search in Flex SDK files in Flash Builder

    Hi there
    I want to search Flex sdk files out from flashbuilder - like I can do with the menu search->search dialog. Is there a way to do so? I am interested in it because sometimes I do not only want to hit F3 to go to a source file - I would like to serach the SDK.
    Thanks,
    Marc

    Thanks Mich - very helpful. This is easier than searching the google trunk - here on my sytem it is CTRL+SHIFT+T.
    Marc

  • Latest Flex SDK For LiveCycle ES2 !!!

    Hi,
    I am developing Flex Application for LiveCycle ES2. Currently using Flex 3.4. I want to use spark components in flex application but didn't find compatible Flex SDK. Is there any LiveCycle compatible SDK for Flex 4.
    Thanks.
    Abhinav

    Is there no answer to my question ??? OR I am at the wrong place ??
    Abhinav

  • Compile error at call Package with type parameter

    Hello!
    I have a problem.
    I have a package PKG_ARRAY_PARAMETER. This package has a procedure with an array parameter.
    PACKAGE PKG_ARRAY_PARAMETER IS
    -- Define Record and Record-Table (array)
    TYPE my_rec is record
    ( v_column1 VARCHAR2(5));
    --Array from my_rec
    TYPE my_rec_table is table of my_rec
    INDEX BY BINARY_INTEGER;
    v_rectable my_rec_table;
    PROCEDURE my_array_proc(p_array my_rec_table);
    END;
    PACKAGE BODY PKG_ARRAY_PARAMETER AS
    PROCEDURE my_array_proc (p_array my_rec_table)IS
    v_index BINARY_INTEGER;
    v_count number;
    BEGIN
    v_count := 1;
    END;
    END;
    The package compiled without errors.
    The problem ist the call of the package procedure.
    DECLARE
         -- Define Record and Record-Table (array)
    TYPE my_rec is record
    ( v_column1 VARCHAR2(5));
    --Array from my_rec
    TYPE my_rec_table is table of my_rec
    INDEX BY BINARY_INTEGER;
    v_rectable my_rec_table;
    BEGIN
         v_rectable(1).v_column1:='aaa';
         PKG_ARRAY_PARAMETER.my_array_proc(v_rectable);
    --null;     
    END;
    I get the error "Error 306.... wrong number or types of arguments in call to 'MY_ARRAY_PROC'"
    Can anybody help me. I have no idea wh I get this error.
    Thanks

    As you have discovered, even if the definitions are identical Oracle treats them as different objects. I recommend "Oracle PL/SQL Programming" by Steven Feuerstein which has a couple of chapters on collections and specifically warns against this.
    I have that section bookmarked as I can never remember how to manipulate collections.

  • SUNWsprox package with solaris 10 for Oracle 10g Installation....

    Hi
    I am in problem with a Solaris 10 package "SUNWsprox - Sun workshop Bundled 64-bit make library" for Oracle 10g Installation. I checked the CDs (In the /.../products) but did't found this packege. Can any one tell me please can I go without this package or where I found this package...Please Its very URGENT for me....
    Thanks
    Mohammed Tanvir

    Hi...
    I had the same issue, but found out that the SUNWsprox was replaced by SUNWsprot. The OUI 10.1 Release 2 will 'pass' as the doco in the Oracle quick install guide is wrong (as well as 10g Application Server).
    The only way to lay a 10g Release database on Solaris 10 is to lay the software doen only, then cd in the .../bin directory, step your Rdbms ORACLE_HOME, ORACLE_SID, LD_LIBRARY_PATH and of course the DISPLAY (is X-windowing into the server), and run dbca manually. Oracle 10g is a bit buggy.
    Roger

  • How to use flex SDK library in flash

    Halo.
    I would like to use BitmapAsset class inside CS3 or CS5.
    I know that the class is somewhere inside flexSDK library (I use version 4.1). So is it possible to use flexSDK for "flash purposes" ?
    Regards

    Thanks! You were right
    The solution is:
    For flash CS4 and CS5 one should specify path to the FlexSDK library (File/Publish Settings).
    For example:
    C:\.........\flex_sdk_4.1\framework\libs
    My mistake was that I was trying to find the exact package.
    Regards

  • Help with html code for displaying flash animation

    hi all,
    i'm new to the forums :)
    not sure if this is the correct section or not.
    i run a small web based community for xboxlive players and i
    am trying to add an interactive flash file into a block on the main
    portal page
    What
    the file should do- link to sample file
    link to swf
    file- link to actual flash file
    homepage - link to portal
    homepage where the flash file needs to be, if you scroll all the
    way down the bottom of the page you will se it sort of works but im
    stumped as to how to get the full animation to show properly ?
    any help would be most appreciated.
    cheers

    hard to say just what the issue is here, since the file
    operates normally in other embeds - I guessing that it has
    something to do with your BB settings somewhere.

Maybe you are looking for

  • Audio tracks go out of pitch then return mysteriously

    Quite a mystery: for some unusual reason I found when I booted my Intel iMac duo core and started Logic Pro 7, then played a project; the audio tracks (vocal's) were out of pitch. I adjusted them using a manual plug in and found a reasonable pitch at

  • JMS and XML in PL/SQL

    I'm prototyping a JMS Listener / XML Parser in PL/SQL. I've not used either technology in conjunction with PL/SQL before, so I'm looking for resources to aid my research. Our current system is a Java Application that receives JMS messages off of a TI

  • Inaccurate FCP Canvas Color Preview

    I am getting FCP 7 this afternoon but I am not sure that it will address the problem I have been having in FCP 6 at all. I have a NEC LCD3090WQXi and a 2690WQXi as my primary desktop displays. I have a AJA Kona3 outputting to a HI-5 SDI to HDMI conve

  • All you GURUS...This is Soniya.. Please HELP ME OUT ....

    For creating a handling Unit we can use  BAPI_HU_CREATE . The problem is this returns a HU number. But I want to create a HU  with my own generated key, that is the newly created HU should have my own key rather than the SAP generated Key.. Can anyon

  • LSMW IDOC method to upload material master

    hi, i want to upload the Material Master using LSMW Idoc Method.  I have not worked in LSMW IDOC MEthod previously can anyone help me.. please.. ThankS IN ADVANCE GUHAPRIYAN