Vector. * triggers a "Problem" in Flash Builder but doesn't create an error during runtime.

In Flash Builder 4.6 I get an error for this:
var testVector:Vector.<*> = new Vector.<*>();
trace(testVector.length);
Sometimes the error shows up in the "Problems" panel and pointing at the trace it says something about byte code. Other times it just shows the "?" symbol next to the trace command that says "Access of undefined property length".
When I test the movie there are no runtime errors.
Can someone explain this?
cheers.

OK, I take that back, I read up on the docs and see that Math.random() returns 0 <= n < 1 where I thought it was <=1.
I also ran a test bed on the Math.random() thing and I see what your man means. My method of calculating the index gave a slight imbalance towards the end of letter distributions, but I can't see why!
Have reverted to yours for the below, on first run it looked good, but I am seeing a cluster around the original letter position? (EG: Follow position 0 for a, position 1 for b etc. and you will see they have a disproportionate number there.)
G
[code]
protected function doTheTest():void {
var iterations:uint = 100000;
var index:Dictionary = new Dictionary;
var i:int = 0;
var letter:String;
var pos:int;
var currentLetterIndex:Vector.<uint>;
var toSort:Vector.<String>;
var testSource:Vector.<String> = Vector.<String>(["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r", "s","t","u","v","w","x","y","z"]);
testSource.fixed = true;
var posIndex:Vector.<uint> = new Vector.<uint>;
posIndex.length = testSource.length;
posIndex.fixed = true;
// Build the index using a copy of the posIndex input.
for(i=0;i<testSource.length;i++) index[testSource[i]] = posIndex.concat();
// TEST USING JUST RANDOM
for(i=0;i<iterations;i++) {
          // Use a concat to prevent sort changing inputs
          toSort = testSource.concat();
          toSort = toSort.sort(function (a:*,b:*):int { return Math.random()>0.5?1:-1; });
          for(pos=0;pos<toSort.length;pos++) {
                    letter = toSort[pos];
                    currentLetterIndex = index[letter] as Vector.<uint>;
                    currentLetterIndex[pos]++;
trace("@@@@@ USING RANDOM @@@@");
for(i=0;i<testSource.length;i++) {
          letter = testSource[i];
          currentLetterIndex = index[letter] as Vector.<uint>;
          trace("POSITION COUNT OF "+letter+" is:"+index[letter].join(","));
// Test using function
for(i=0;i<iterations;i++) {
          // Use a concat to prevent sort changing inputs
          toSort = testSource.concat();
          randomSortArrayOrVector(toSort);
          for(pos=0;pos<toSort.length;pos++) {
                    letter = toSort[pos];
                    currentLetterIndex = index[letter] as Vector.<uint>;
                    currentLetterIndex[pos]++;
trace("@@@@@ USING SORT FUNCTION @@@@");
for(i=0;i<testSource.length;i++) {
          letter = testSource[i];
          currentLetterIndex = index[letter] as Vector.<uint>;
          trace("POSITION COUNT OF "+letter+" is:"+index[letter].join(","));
protected static function randomSortArrayOrVector(a:Object):void {
if(a.hasOwnProperty('length')) {
          var l:int = a['length'];
          for (var i:int = l-1; i >=0; i--)
                    var randomIndex:int = Math.floor(Math.random()*(i+1));
                    var itemAtIndex:Object = a[randomIndex];
                    a[randomIndex] = a[i];
                    a[i] = itemAtIndex;
[/code]
@@@@@ USING RANDOM @@@@
POSITION COUNT OF a is:3150,3207,3010,2741,2653,3063,4174,2606,2674,2991,3172,3889,4872,18865,3851,3356,3219, 2971,2732,3930,3319,2814,2944,3058,3222,3517
POSITION COUNT OF b is:6815,7482,2634,2925,3023,2921,3107,3416,3459,3508,3444,3387,3212,3170,3331,3439,3444,3 375,3312,3158,3180,3339,3776,4356,5441,7346
POSITION COUNT OF c is:6149,5382,8320,2133,2209,2931,3224,3274,3427,3438,3290,3114,2888,2859,2997,3180,3431,3 493,3551,3416,3732,3906,4336,4864,5206,5250
POSITION COUNT OF d is:4516,4382,4620,9761,2966,2096,2555,3285,3365,3274,3083,2785,2603,2759,2730,3145,3469,3 706,3752,3890,4169,4343,4888,4868,4797,4193
POSITION COUNT OF e is:3418,3385,4878,4681,11058,3387,2456,2421,2769,3163,2892,2596,2457,2390,2622,2934,3392, 3813,4177,4334,4471,4700,4857,4672,4364,3713
POSITION COUNT OF f is:3178,3193,4506,4454,5179,11514,3753,2834,2303,2027,2308,2454,2275,2290,2466,2960,3444, 3941,4292,4489,4647,4824,4686,4498,4058,3427
POSITION COUNT OF g is:3035,3073,3577,4665,4627,5549,11737,4087,3112,2132,1750,1557,1789,2331,2568,2930,3469, 3979,4324,4564,4606,4686,4468,4278,3757,3350
POSITION COUNT OF h is:3194,3121,3219,4018,3595,4356,5302,12154,3533,3078,2513,2009,1867,1874,2414,2967,3466, 4079,4251,4441,4409,4535,4436,3912,3792,3465
POSITION COUNT OF i is:3460,3486,3287,3430,3748,3089,3875,4449,12535,3322,2844,2694,2401,2421,2671,2886,3405, 3980,4252,4225,4137,4181,4016,3803,3734,3669
POSITION COUNT OF j is:3757,3675,3415,3147,4020,2644,2855,3510,4389,13514,3192,2865,2896,2833,2905,3039,3367, 3740,4102,3909,3678,3859,3672,3624,3666,3727
POSITION COUNT OF k is:3634,3707,3409,3020,3141,3712,2390,2780,3514,4322,15026,3388,3034,3047,3165,3287,3290, 3432,4098,3759,3514,3279,3497,3508,3484,3563
POSITION COUNT OF l is:3564,3493,3382,2775,2990,4085,2299,2409,2970,3430,4434,17142,3665,3362,3419,3301,3245, 3115,3767,3581,3318,3031,3144,3187,3385,3507
POSITION COUNT OF m is:3213,3343,3112,2871,2789,3128,3887,2504,2607,3228,3750,4587,18391,3865,3430,3379,3078, 3046,2858,4219,3164,2925,2877,3176,3151,3422
POSITION COUNT OF n is:73,81,150,308,571,1106,2135,3639,6189,9115,11788,13690,14242,12757,9894,6957,4005,2012 ,880,292,98,14,4,0,0,0
POSITION COUNT OF o is:3096,3174,2864,2839,2678,2966,3400,3826,2849,2956,3121,3355,4061,5195,18308,3599,3090, 2907,2645,2548,4380,3016,2836,3255,3371,3665
POSITION COUNT OF p is:3396,3317,3083,3026,2878,3017,3400,4197,3156,3107,3039,3140,3521,4147,5073,16486,3221, 2919,2523,2535,3989,3072,3056,3430,3474,3798
POSITION COUNT OF q is:3650,3640,3377,3409,3183,3283,3465,3721,3714,3292,3057,2977,2999,3334,3963,4776,15045, 2912,2596,2421,2562,4140,3361,3570,3714,3839
POSITION COUNT OF r is:3639,3711,3590,3727,3646,3596,3739,3887,3812,3216,3058,2854,2705,2849,3179,3988,4711,1 3457,2936,2571,2689,3802,3523,3555,3687,3873
POSITION COUNT OF s is:3769,3828,3832,4172,4138,3880,4010,3987,3798,3504,2908,2438,2318,2291,2679,3553,4241,5 000,12631,3288,2755,2763,3986,3206,3509,3516
POSITION COUNT OF t is:3692,3761,4099,4493,4484,4423,4251,4218,3815,3462,2883,2494,2145,1895,2182,2630,3651,4 920,5611,11928,3719,2874,3380,2906,3053,3031
POSITION COUNT OF u is:3786,3809,4243,4633,4804,4607,4425,4106,3902,3223,2869,2511,2216,2122,2143,2393,2793,3 626,4956,5761,11321,3847,2805,3621,2702,2776
POSITION COUNT OF v is:3901,3834,4447,4785,4917,4857,4395,4187,3765,3338,2876,2482,2254,2217,2257,2467,2729,2 997,3305,4342,5305,11215,3445,3708,3008,2967
POSITION COUNT OF w is:4119,4132,4657,4947,4837,4714,4345,3984,3689,3328,2887,2500,2417,2350,2516,2622,2755,2 857,3133,3557,3844,5094,10545,3286,3921,2964
POSITION COUNT OF x is:4535,4515,4916,4866,4544,4190,4010,3721,3610,3279,3126,2740,2661,2682,2797,2887,3123,3 077,2954,2817,3418,4208,4645,10185,3771,2723
POSITION COUNT OF y is:5207,5053,4972,4476,3983,3699,3593,3462,3441,3348,3283,3049,2903,2899,3145,3336,3343,3 236,3066,2914,2709,2771,4125,4476,9639,3872
POSITION COUNT OF z is:6054,6216,4401,3698,3339,3187,3218,3336,3603,3405,3407,3303,3208,3196,3295,3503,3574,3 410,3296,3111,2867,2762,2692,2998,4094,10827
@@@@@ USING SORT FUNCTION @@@@
POSITION COUNT OF a is:7048,6896,6922,6642,6495,6966,8035,6402,6483,6809,7073,7718,8670,22643,7736,7221,7116, 6875,6623,7677,7131,6625,6800,6941,7063,7390
POSITION COUNT OF b is:10633,11230,6457,6756,6792,6692,6971,7303,7370,7371,7234,7276,7067,7033,7248,7380,7193 ,7317,7085,6973,7032,7294,7618,8184,9211,11280
POSITION COUNT OF c is:9963,9370,12206,6047,6121,6835,6944,7120,7334,7346,7046,6967,6800,6727,6815,6963,7207, 7300,7433,7250,7650,7631,8173,8698,9006,9048
POSITION COUNT OF d is:8432,8347,8465,13595,6812,6018,6390,7084,7266,7053,6926,6559,6392,6570,6602,6871,7326, 7609,7478,7807,7926,8172,8807,8827,8576,8090
POSITION COUNT OF e is:7275,7183,8780,8527,14854,7144,6158,6350,6632,7002,6750,6560,6352,6330,6366,6728,7262, 7660,8003,8206,8152,8471,8854,8506,8241,7654
POSITION COUNT OF f is:7028,7011,8403,8289,8987,15354,7533,6746,6212,5784,6127,6470,6030,6054,6297,6828,7380, 7775,8164,8296,8457,8726,8496,8283,7984,7286
POSITION COUNT OF g is:6759,6885,7316,8482,8489,9464,15543,7935,6885,6009,5649,5328,5699,6170,6360,6837,7325, 7786,8223,8485,8597,8552,8240,8130,7605,7247
POSITION COUNT OF h is:6992,7025,7100,7814,7429,8068,9226,15944,7358,6918,6299,5845,5777,5802,6294,6767,7369, 7877,8173,8285,8309,8292,8280,7700,7691,7366
POSITION COUNT OF i is:7266,7242,7153,7312,7722,6900,7608,8355,16314,7192,6621,6512,6248,6231,6543,6751,7332, 7841,8109,8013,7993,8191,7756,7744,7567,7484
POSITION COUNT OF j is:7598,7575,7144,6972,7850,6484,6684,7355,8206,17234,7042,6845,6888,6612,6761,6778,7155, 7588,8040,7917,7627,7615,7505,7441,7594,7490
POSITION COUNT OF k is:7442,7647,7303,6735,6972,7552,6286,6572,7308,8254,18843,7258,6883,6913,6986,7113,7195, 7365,7984,7558,7411,7179,7291,7275,7324,7351
POSITION COUNT OF l is:7428,7376,7194,6669,6800,7895,6185,6135,6817,7225,8293,20967,7465,7239,7274,7260,7071, 6900,7610,7371,7239,6850,6968,7002,7329,7438
POSITION COUNT OF m is:7087,7165,6896,6675,6676,6871,7747,6262,6431,7058,7537,8384,22213,7716,7419,7231,6931, 6900,6726,8026,7101,6751,6706,7166,6983,7342
POSITION COUNT OF n is:3852,3871,3988,4172,4429,4956,6124,7441,9986,12986,15719,17590,18088,16635,13686,10935 ,7846,5889,4687,4236,3881,3785,3829,3802,3872,3715
POSITION COUNT OF o is:6866,7064,6615,6767,6480,6823,7323,7696,6676,6793,7023,7350,7849,9114,22166,7449,6926, 6765,6495,6341,8193,6843,6709,7071,7135,7468
POSITION COUNT OF p is:7193,7026,6895,6964,6695,6943,7216,8137,7037,7075,6934,6906,7501,8031,8943,20305,6953, 6805,6349,6270,7931,6920,6861,7205,7249,7656
POSITION COUNT OF q is:7579,7429,7228,7229,7031,7111,7503,7598,7564,7129,7008,6713,6773,7245,7856,8638,18874, 6647,6369,6336,6377,7991,7262,7386,7458,7666
POSITION COUNT OF r is:7569,7512,7489,7561,7480,7480,7618,7714,7643,7139,6896,6714,6584,6672,7008,7773,8468,1 7287,6842,6296,6471,7707,7444,7382,7555,7696
POSITION COUNT OF s is:7631,7652,7786,8035,8000,7669,7883,7832,7641,7318,6793,6215,6080,6106,6473,7478,8088,8 843,16527,7221,6594,6627,7894,6995,7238,7381
POSITION COUNT OF t is:7595,7565,7976,8352,8392,8295,8161,8123,7658,7288,6726,6284,5956,5719,6024,6433,7496,8 705,9380,15755,7497,6850,7208,6746,6893,6923
POSITION COUNT OF u is:7607,7682,8120,8468,8687,8454,8236,8038,7677,7142,6790,6347,5983,5960,6010,6198,6692,7 389,8731,9681,15085,7692,6747,7415,6649,6520
POSITION COUNT OF v is:7788,7658,8249,8635,8874,8696,8176,8027,7656,7193,6633,6322,6027,6004,6098,6352,6614,6 844,7214,8105,9286,15075,7225,7629,6908,6712
POSITION COUNT OF w is:7993,8006,8534,8767,8664,8648,8203,7935,7597,7150,6682,6337,6295,6167,6251,6448,6626,6 782,6968,7390,7561,8914,14369,7148,7760,6805
POSITION COUNT OF x is:8353,8453,8780,8724,8248,8011,7825,7651,7523,7215,6993,6612,6547,6523,6587,6704,6916,6 945,6794,6680,7174,7993,8508,14019,7617,6605
POSITION COUNT OF y is:9123,8969,8834,8331,7764,7516,7413,7130,7263,7153,7058,6787,6792,6720,7020,7295,7271,7 054,6897,6784,6544,6638,7950,8492,13483,7719
POSITION COUNT OF z is:9900,10161,8167,7480,7257,7155,7009,7115,7463,7164,7305,7134,7041,7064,7177,7264,7368, 7252,7096,7041,6781,6616,6500,6813,8009,14668
Message was edited by: Gaius Coffey

Similar Messages

  • Native Process running from Flash Builder but not from the installed exe

    I have created an AIR application to launch a native process. The   application works fine when tested in Flash Builder but doesn't runs   when I create and AIR  installer and run the installed exe. Any idea  what might be wrong?

    Have you created a native installer instead of just an AIR file.
    -ted

  • Problems running Flash Builder 4.6 profiler

    Hello,
    I have a problem running Flash Builder profiler. When I click "Profile" it starts my web application, but nothing else happens inside Flash Builder itself - no new data appears in Profiler perspective, Flash Builder itself doesn't show any sign of doing something.
    My mm.cfg contains the next line: "PreloadSwf=C:/flash builder workspace/.metadata/.plugins/com.adobe.flash.profiler/11/ProfilerAgent.swf?host=localhost &port=9999"
    Additional details:
    OS: Windows 7
    Flash Builder version: 4.6
    Tested web browsers: Firefox, IE 8 - the same problem in both of them
    Flash player versions: ActiveX/Plug-in Version:11.7.700.169
    I made sure that ProfilerAgent.swf indeed exists in the location defined in mm.cfg. In addition, I tried to change port 9999 to other ports (both in mm.cfg and in Flash Builder). I also verified that the location of ProfilerAgent.swf appears in trusted locations of Flash Player.
    I would be very grateful if someone could help me to solve this problem.
    Thanks,
    Valeria

    R Grieve wrote:
    This sounds like something has gone wrong during installation. CSAR and CSLIBS references should be set up automatically during installation.
    There should also be no need to import the Flex SDKs as CS Extension Builder 2.0 ships with them included. It won't do any harm though having the CS Flex SDKs imported.
    Can you detail how you installed CS Extension Builder 2.0, please and where you obtained it from?
    Here are the installation instructions I would recommend starting from a clean FlashBuilder 4.6 instance:
    To install Adobe Creative Suite Extension Builder, download the ZIP file and unzip it into a root location (SDKRoot).
    Install Extension Builder in Eclipse with Flash Builder or Flash Builder Standalone:
    In Eclipse, choose Help > Install New Software.
    In the Install dialog, click Add.
    In the Add Site dialog, click Local... to browse to the SDK root folder or enter the URL of the update site.
    Name the site CS SDK and click OK to confirm the changes.
    Select the new CS SDK site in the "Work with" field.
    -- Select all the Adobe Creative Suite Extension Builder components.
    -- Click Next to confirm the selection.
    In the Install Details review dialog, click Next to confirm that you want to install all the components listed.
    Accept the terms of license agreements and click Finish.
    Re-start  Eclipse as recommended.
    I obtained it from Adobe and installed it using the Help > Install software option, but without unzipping it. Maybe that was it.
    Now I've done a clean installation and it works perfect. I did it with administrator permissions, don't know if it has anything to do with it, but I read it somewhere and did so just in case!
    Thanks a lot!

  • Flex mobile 4.6 app works inside flash builder but not in android emulator

    Originally posted on stackoverflow: http://stackoverflow.com/questions/8663892/flex-mobile-4-6-app-works-inside-flash-builder- but-not-in-android-emulator
    I have a basic flex mobile 4.6 app and it works fully fine in the flash builder built-in emulator using an android device profile like aria...
    It also launches fine in the android emulator but one particular view shows blank (and this view works fine in flash builder).
    Before I get in to many details of the view are there any categorical gotchas that can be causing this?
    I can't seem to get the trace statements from the app to show in 'adb logcat'. It seems I need to compile a debug version of the apk but I don't know how to do this. I use the 'Export Release Build' from the Project menu in flash builder and it doesn't seem to have an option for debug=true.
    The problematic/blank view basically uses the stagewebview and iotashan's oauth library to call linkedin rest apis... A different (and working) view can make restful web service calls in the emulator fine, so it doesn't seem to be an internet permission.
    The source code contained in the problematic/blank view is almost identical to the tutorial found at:http://www.riagora.com/2011/01/air-and-linkedin/
    The differences are: a) The root tag is a View b) I use StageWebView instead of HtmlContainer c) I use my own linkedin key and tokens.
    I would appreciate it if someone can provide me with some pointers on how to troubleshoot this situation. Perhaps someone can tell me how to debug the app while running in the emulator (I think I need the correct adt command arguments for this which matches the 'Export Release Build' menu but adds the debug param?)
    Thanks for your help in advance.
    Comment Added:
    I suspect that this has to do with connections to https:// api.linkedin.com and https:// www.linkedin.com. The only reason I can think of that the same code is not having issues inside of Flex Builder but indeed having issues in the Android emulator is something to do with certificates. Any ideas?

    Thanks er453r,
    I have created a project that clearly reproduces the bug.  Here are the steps:
    1) Create a UrlLoader and point it to https://www.google.com (HTTPS is important because http works but HTTPS does not)
    2) Load it
    3) Run in Flash Builder 4.6/Air 3.1 and then run in Android emulator.  The former works with an http status 200.  The latter gives you an ioerror 2032.  I am assuming what works in Flash Builder is supposed to work in the Android Emulator and what what works in the emulator is supposed to work in a physical device (plus or minus boundary conditions).
    I see a certificate exception in adb logcat but not sure if it's related...
    Here is the self contained View code which works with a TabbedViewNavigatorApplication:
    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
                        xmlns:s="library://ns.adobe.com/flex/spark"
                        xmlns:mx="library://ns.adobe.com/flex/mx"
                        xmlns:ns1="*"
                        xmlns:local="*"
                        creationComplete="windowedapplication1_creationCompleteHandler(event) "
                        actionBarVisible="true" tabBarVisible="true">
              <fx:Script>
                        <![CDATA[
                                  import mx.events.FlexEvent;
                                  protected var requestTokenUrl:String = "https://www.google.com";
                                  protected function windowedapplication1_creationCompleteHandler(event:FlexEvent):void
                                            var loader:URLLoader = new URLLoader();
                                            loader.addEventListener(ErrorEvent.ERROR, onError);
                                            loader.addEventListener(AsyncErrorEvent.ASYNC_ERROR, onAsyncError);
                                            loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
                                            loader.addEventListener(HTTPStatusEvent.HTTP_RESPONSE_STATUS, httpResponseStatusHandler);
                                            loader.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);
                                            var urlRequest:URLRequest = new URLRequest(requestTokenUrl);
                                            loader.load(urlRequest);
                                  protected function requestTokenHandler(event:Event):void
                                  protected function httpResponse(event:HTTPStatusEvent):void
                                            label.text += event.status;
                                            // TODO Auto-generated method stub
                                  private function completeHandler(event:Event):void {
                                            label.text += event.toString();
                                            trace("completeHandler data: " + event.currentTarget.data);
                                  private function openHandler(event:Event):void {
                                            label.text +=  event.toString();
                                            trace("openHandler: " + event);
                                  private function onError(event:ErrorEvent):void {
                                            label.text +=  event.toString();
                                            trace("onError: " + event.type);
                                  private function onAsyncError(event:AsyncErrorEvent):void {
                                            label.text += event.toString();
                                            trace("onAsyncError: " + event);
                                  private function onNetStatus(event:NetStatusEvent):void {
                                            label.text += event.toString();
                                            trace("onNetStatus: " + event);
                                  private function progressHandler(event:ProgressEvent):void {
                                            label.text += event.toString();
                                            trace("progressHandler loaded:" + event.bytesLoaded + " total: " + event.bytesTotal);
                                  private function securityErrorHandler(event:SecurityErrorEvent):void {
                                            label.text +=  event.toString();
                                            trace("securityErrorHandler: " + event);
                                  private function httpStatusHandler(event:HTTPStatusEvent):void {
                                            label.text += event.toString();
                                            //label.text += event.responseHeaders.toString();
                                            trace("httpStatusHandler: " + event);
                                  private function httpResponseStatusHandler(event:HTTPStatusEvent):void {
                                            label.text +=  event.toString();
                                            trace("httpStatusHandler: " + event);
                                  private function ioErrorHandler(event:IOErrorEvent):void {
                                            label.text +=  event.toString();
                                            label.text += event.text;
                                            trace("ioErrorHandler: " + event);
                        ]]>
              </fx:Script>
              <fx:Declarations>
                        <!-- Place non-visual elements (e.g., services, value objects) here -->
              </fx:Declarations>
              <s:Label id="label" y="185" width="100%" color="#0A0909" horizontalCenter="0" text=""/>
    </s:View>

  • Flash Builder 4 Beta 2 throwing security error on every run

    I just installed the beta 2 version of flash builder, but every time I try to actually run anything built on the 4.0 SDK, it throws a security runtime error when trying to access the 4.0 sdk swf.
    SecurityError: Error #2148: SWF file ......../Test.swf cannot access local resource ....../Test/bin-debug/framework_4.0.0.10485.swf. Only local-with-filesystem and trusted local SWF files may access local resources.
    at flash.net::URLStream/load()
    at flash.net::URLLoader/load()
    at mx.core::CrossDomainRSLItem/load()[E:\dev\gumbo_beta2\frameworks\projects\framework\src\m x\core\CrossDomainRSLItem.as:235]
    at mx.core::RSLListLoader/loadNext()[E:\dev\gumbo_beta2\frameworks\projects\framework\src\mx \core\RSLListLoader.as:184]
    at mx.core::RSLListLoader/load()[E:\dev\gumbo_beta2\frameworks\projects\framework\src\mx\cor e\RSLListLoader.as:156]
    at mx.preloaders::Preloader/initialize()[E:\dev\gumbo_beta2\frameworks\projects\framework\sr c\mx\preloaders\Preloader.as:279]
    at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::initialize()[E:\dev\gumbo_beta2\frameworks\pro jects\framework\src\mx\managers\SystemManager.as:1923]
    at mx.managers::SystemManager/initHandler()[E:\dev\gumbo_beta2\frameworks\projects\framework \src\mx\managers\SystemManager.as:2412]
    I'm running eclipse galileo (carbon) on OS X. If I create a 3.4 project, everything is fine.
    Any ideas?

    Hi Mike,
    It seems that part of my problem is due to an error in .actionScriptProperties (which file doesn't show up in the package explorer): the "mainApplicationPath" refers to a non existent file "StockQuotesExample.mxml" (see screen copy below):
    So I manually modified the property to replace it with the correct file name:
    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <actionScriptProperties mainApplicationPath="StockQuoteExampleWebService.mxml" projectUUID="2376e773-57bd-4f6a-9034-7911cb1df6d8" version="6">
      <compiler additionalCompilerArguments="-locale fr_FR" autoRSLOrdering="true" copyDependentFiles="true" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="true" htmlHistoryManagement="true" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="bin-debug" sourceFolderPath="src" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" verifyDigests="true" warn="true">
        <compilerSourcePath/>
        <libraryPath defaultLinkType="0">
          <libraryPathEntry kind="4" path="">
            <modifiedEntries>
              <libraryPathEntry index="2" kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/framework.swc" useDefaultLinkType="false"/>
              <libraryPathEntry index="4" kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/rpc.swc" useDefaultLinkType="false"/>
              <libraryPathEntry index="3" kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/spark.swc" useDefaultLinkType="false"/>
              <libraryPathEntry index="1" kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/textLayout.swc" useDefaultLinkType="false"/>
            </modifiedEntries>
            <excludedEntries>
              <libraryPathEntry kind="3" linkType="1" path="${PROJECT_FRAMEWORKS}/libs/flex.swc" useDefaultLinkType="false"/>
            </excludedEntries>
          </libraryPathEntry>
          <libraryPathEntry kind="1" linkType="1" path="libs"/>
          <libraryPathEntry kind="3" linkType="1" path="G:/Program Files/Adobe/Mate/libs/Mate_07_8.swc" useDefaultLinkType="false"/>
        </libraryPath>
        <sourceAttachmentPath/>
      </compiler>
      <applications/>
      <modules/>
      <buildCSSFiles/>
    </actionScriptProperties>
    Unfortunately, I still get the same error message in the Flex Compiler settings page, in the project's Properties. Indeed, the message looks for the file in the wrong path: "G:\Program Files\Adobe\Mate\src\src", when it's really in "G:\Program Files\Adobe\Mate\src"... The screen shot below shows my directory structure:
    This is an example application that I downloaded to test the Mate framework; maybe it set it up wrong. Also, I created an SWC file with their new made-for-Flex 4 library, but that didn't solve my problem.
    Thanks for your help,
    Chris.

  • New to programming. Should I use Flash Builder 4.6 to create CRUD interface to MySQL?

    Having just acquired Creative Cloud subscription, I see that I have access to Flash Builder 4.6 Premium. I haven't figured out yet if I will eventually have access to Flash Builder 4.6 for PHP when / if it is released.
    I am relatively new to programming. I want to create a desktop application, perhaps a web application, to manage a MySQL database. I am not, at this time, concerned with mobile applications. I'm primarily interested in just managing the MySQL data -- CRUD (create, read, update, delete) operations.
    Hopefully I've provided enough context. My question concerns whether learning Flash Builder 4.6 and Flex programming is an appropriate choice. Alternatively, I could just focus on learning basic PHP programming or perhaps learning to use one of the PHP frameworks (CakePHP, CodeIgniter, or Zend). It seems like learning these frameworks will take time as well, so I don't know where I should begin.
    I would really value your perspective. Are the Flash Builder related technologies here to stay? Is Flash Builder primarily suitable for mobile applications (rather than desktop or web)? Would it be more or less difficult to learn Flash Builder and Flex than PHP and one of the PHP frameworks with a view to building a MySQL CRUD application?
    Thank you, so very much -- for your time and expertise.
    Kevin

    Kevin,
    I am a big fan of Flash Builder.  You can build great desktop web applications as well desktop applications that run on AIR (installs locally to the desktop).
    I found it easier to pick up Flex (now Flash Builder) primarily due to the resources (Learn Flex in a week video tutorials http://www.adobe.com/devnet/flex/videotraining.html ) as well as a big developer community that posts a lot of how to's and walk throughs.  In my personal opinion, I think the power of Flash Builder/Flex framework is the ability to create what traditionally was seen as desktop apps within your web browser.  If you're looking to create a basic crud interface, skipping Flash Builder and just doing it in PHP may be the way to go.  If you're looking to add visualizations (ie graphs, charts) or highly interactive user interface to it then Flash Builder would be a good way to go (though keep in mind that you will still need PHP (or some other server side application layer like coldfusion) to interface with your mysql database  but Flash Builder's dataservices creates some sample php classes for you to handle CRUD using Zend).    There's lots of amazing things you can do with Flash Builder.  I'd recommend checking out some of the samples from Tour de Flex to get a sense of what can be done with Flash Builder.
    A couple of notes though - You can build and package native mobile apps with Flash Builder but if you're looking to create web apps for devices like iphone and ipads, Flash Builder isn't the solution since it compiles web based apps to Flash and we all know how idevices don't play nicely with Flash.

  • Having a problem with Flash Builder and Extension Builder - images not apearing on Mac system

    Have a panel created in Flash Builder 4.5 with Extension Builder 2.1. Everything is fine when installed on a PC but when installed on a Mac the images in the panel do not show.
    Mac and PC both using Adobe Photoshop CC . Both installed from same .ZXP file using Adobe Extension Manager CC.
    Any ideas?

    No I used relative path - the path is  images/image name
    example images/cRight.png
    tried downloading Extension Builder 2.1 and compiling on Mac but still have same results - images show up fine in design window , but not when running panel in Photoshop
    Created a new project: testImage
    added an image component to form
    answered yes to add asset to project
    ran project
    image did not show up in Photoshop
    went back to project
    checked item Embed under Common image properties
    ran project and image shows up
    Looks like it works if I add @Embed("assets/image name") on Mac to display images
    tried in my real project:
    Looks like it works if I add @Embed("images/image name") on Mac to display images
    When I change this on PC to @Embed("images/image name") images do not show Up
    Don't know if I need to create two versions one for Mac one for PC
    Don't know how this would affect product on Adobe Exchange

  • Amazon Kindle problem using Flash Builder 4.6

    Is there a way to specify a version of Air 2.7 using Flash Builder 4.6?  This would be handy for getting apps accepted by the Amazon App store for the Kindle.  Recently, I had an app accepted into the Amazon App store.  However, the App needs to use a version of Air that preceeds Air 3.1.  The version that I was advised to use is
    Adobe AIR v. 2.7.1.1999.
    I tried changing the 2nd line in the prog-app.xml file from:
    <application xmlns="http://ns.adobe.com/air/application/3.1">
    to
    <application xmlns="http://ns.adobe.com/air/application/2.7">
    However, this change led to an error:
    "See details for more information.
      Namespace 2.7 in the application descriptor file should be equal or higher than the minimum version 3.1 required by Flex SDK. "
    I recall that there was a temporary workaround for a similar problem with the Blackberry tablet OS.  The Blackberry OS problem was later solved and the fix is no longer necessary.  Perhaps, we need a work around for the Amazon Kindle to force the Flash Builder 4.6 to compile a release with Air 2.7.1.xx?
    Any ideas how to make this happen?

    Hello,
    did you ever find a solution?
    thanks.

  • I have problem installing Flash Builder 4

    When I tried to download from official site and install Flash Builder 4,
    the alert information popout and said I need to remove beta or test version in advanced.
    But I do remove beta version of Flash Builder 4,
    and the alert just keep showing so that I just can not get installation done.
    I environment is
    Macbook pro, version 10.6.4
    Chinese language.
    Please help me.
    Thanks in advanced.

    Hi,
    Try running the CS5 Clean Tool before installing:
    http://www.adobe.com/support/contact/cs5clean.html
    For good measure, reboot after running the clean tool, and then see if you can install successfully.
    Let us know whether that works,
    -Chris

  • New to flash. I import a flash professional project into flash builder but don't see a design mode

    in flash builder to place object onto!!!
    I can see design mode if I import a catalyst project, as well an mxml file, but not with flash professional. Any help?

    in flash builder to place object onto!!!
    I can see design mode if I import a catalyst project, as well an mxml file, but not with flash professional. Any help?

  • ***URGENT*** - Problem Installing Flash Builder 4 beta

    Hi folks,
    I'm really having a trouble with Installing FLASH BUILDER 4 beta on my WinXP SP2, 1.5 Ghz processor, 256 Mb RAM, 1.12 GB free on C drive, 1.26 GB free on H:drive, and 1 GB free on D drive.
    But still i'm getting this prompt by Installer files I dowloaded from Adobe Labs for Flash Builder 4 beta.
    Do i need more Hard Drive space ?
    I have attached the jpeg image of the prompt.
    Please Help me with this. I have a client with a project to build on Flash Builder 4 beta & only got 3 days to deliver.
    thanks in advance.
    regards
    Ronny Depp

    Firstly, are you serious ?
    virtually no hard disk space(the install files need to extract with enough space to actually then install the software)
    virtually no ram  256mb is barely enough for windows XP to start up. How are you going to run Flashbuilder
    1.5ghz cpu - hmmm I don't think flashbuilder will run on a pda....
    delivering a project in 3 days with beta software that you are obviously unfamiliar with...sounds almost like a mastercard ad
    $100 for a cpu, $100 for some ram, $100 for some hard disk, look on the clients face when he saw the result- priceless...
    hate to take the mickey, but I couldnt let something like this slide by it was just to easy
    David.

  • Problem running Flash Builder on OSX 10.8.3

    Hi,
    I am having no luck getting Flash Builder to run under OSX. I have tried reinstalling the JDK and JRE multiple times but I still get this message every time I attempt to start the application.
    A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run Adobe Flash Builder 4.7. No Java virtual machinewas found after searching the following locations:/Applications/Adobe Flash Builder 4.7/Adobe Flash Builder 4.7.app/Contents/MacOS/jre/bin/javajava in your current PATH
    Does anyone have any ideas how to overcome this issue?

    I just installed 10.8, can't get FB to work either. Did you resolve this issue?

  • Problem Installing Flash Builder 4.6 from Creative Cloud Suite

    Flash Builder 4.6 Premium was downloaded and supposedly installed. However, the only version I could find on my Mac was a previously installed 4.5.1. Can anyone provide any help?

    Please try removing Flash Builder 4.5.1 and then try downloading and installing from the Adobe Application Manager.  If that still does not work then I would recommend downloading the trial of Flash Builder and entering your Adobe ID tied to your Creative Cloud subscription.

  • Problem w Flash Builder 4 help

    Hi all,
    I opened my help today for the first time and noticed that Flash Builder is not included, nor are there any filters.  Am I going to have to reinstall Flash Builder or is there another way of getting it into my local help?  Screenshot attached
    Thanks!
    Shawn

    I found the solutionat http://blogs.adobe.com/flexdoc/2010/03/using_the_adobe_community_help.html.
    Apparently there was an issue with the file locations on Windows 7 64 bit.
    All you need to do to fix is copy the missing .helpcfg files from your preferred language directory in
    C:\Program Files(x86)\Common Files\Adobe\HelpCfg
    into the corresponding folder in
    C:\Program Files\Common Files\Adobe\HelpCfg
    Then restart help.  Thanks Tim!

  • Problemas con Flash builder 4 plugin para eclipse

    Hola,
    He instalado el plugin para eclipse de flash player 4 en un ordenador con Windows 2000 y me da el siguiente error:
    java.lang.UnsatisfiedLinkError: C:\Archivos de programa\Adobe\Adobe Flash Builder 4 Plug-in\eclipse\plugins\com.adobe.flexbuilder.utils.osnative_4.0.1.277662\os\win32\x86\JN IToNativeBridge.dll: No se encontró el proceso especificado
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(Unknown Source)
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at com.adobe.flexbuilder.utils.osnative.OSNative.<clinit>(OSNative.java:40)
    at com.adobe.flexbuilder.utils.osnative.NativeControl.getFlashPlayerTrustDirectory(NativeCon trol.java:184)
    at com.adobe.flexbuilder.project.internal.PlayerTrustStore.getUserFlashPlayerTrustFolder(Pla yerTrustStore.java:198)
    at com.adobe.flexbuilder.project.internal.PlayerTrustStore.<init>(PlayerTrustStore.java:81)
    at com.adobe.flexbuilder.project.internal.PlayerTrustStore.getInstance(PlayerTrustStore.java :71)
    at com.adobe.flexbuilder.project.internal.FlexProjectCore$4.run(FlexProjectCore.java:391)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
    Alguien sabe el motivo por el que me puede estar dando este error?
    Gracias.

    Sin entrar en detalle en tu pregunta que no puedo responder, leo que Flash Builder 4 (anteriormente Flex Builder) una potente herramienta de desarrollo, requiere:
    Microsoft® Windows® XP con Service Pack 3,
    Windows Vista® Ultimate o Enterprise (32 o 64 bits ejecutándose en el modo de 32 bits),
    Windows Server® 2008 (32 bits), o
    Windows 7 (32 o 64 bits ejecutándose en el modo de 32 bits)
    Si estás usando (todavía) Windows 2000 quizás ese sea el problema

Maybe you are looking for

  • "podcast" media type in options won't work on MP3s in iTunes 11

    Why won't "podcast" MEDIA TYPE selection in OPTIONS work with mp3s anymore in iTunes 11? Trying to save some of my mp3s from a class as podcasts. I do this so I can run them at 1.5x speed and get through them faster. The option to change media type t

  • Version history Smartform?

    Hello experts, is there a version history for smartforms like for reports, fm´s .... ? In transaction SMARTFORM i can not find it.

  • Valuable suggestion required please!!!!!!!!!!!!!!!!!

    hi all pertaining to EJBs, taking performance and on overall scales which of the two websphere and weblogic do u consider the better choice, also which of them is ahead and used most xtensively in IT corportes. thx pawan

  • Google indexing xml-files, how to prevent....

    Hi developers, maybe its a strange questions but i have a little dilemma. I have some flash-xml sites and Google is indexing the xml-files. When a user is searching (Google) and the text is inside the xml-file, the result of the search sometimes will

  • Can't move/delete/create files on external drive created with windows xp

    A friend of mine bought a brand new Maxtor External Hard drive. I connected it to my Windows XP machine and formatted it with NTFS and dumped 80Gig folder of data onto it. When he took it home and plugged it into his Mac G5 running Tiger, it see's th