Quantcast
Channel: Adobe Community : Discussion List - Using Flash Builder
Viewing all 1802 articles
Browse latest View live

FlashBuilder NullPointerException while building (invoking Compiler)

$
0
0

Hello.

I've a problem building project, which is a AS3 library project.

The error I got in eclipse log is:

 

 

!ENTRY org.eclipse.core.resources 4 75 2014-04-14 10:14:33.378
!MESSAGE Errors occurred during the build.
!SUBENTRY 1 com.adobe.flexbuilder.project 4 75 2014-04-14 10:14:33.378
!MESSAGE Errors running builder 'Compiler' on project 'MyProjectName'.
!STACK 0
java.lang.NullPointerException    at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.calcBuildTotalWork(FlexProjectBuilder.java:214)    at com.adobe.flexbuilder.project.compiler.internal.FlexProjectBuilder.build(FlexProjectBuilder.java:227)    at com.adobe.flexbuilder.project.compiler.internal.FlexIncrementalBuilder.build(FlexIncrementalBuilder.java:171)    at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728)    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239)    at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)    at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351)    at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374)    at org.eclipse.core.internal.resources.Workspace.buildInternal(Workspace.java:513)    at org.eclipse.core.internal.resources.Workspace.build(Workspace.java:422)    at org.eclipse.ui.actions.GlobalBuildAction$1.run(GlobalBuildAction.java:180)    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

 

I keep wondering how is that possible anyway, meaning for such an expensive product to be still that buggy?!

NPE means someone saved him self some time not checking if something was null and displaying a proper message in eclipse, which could help me solve the problem (if in .project or .actionScriptProperties or .flexLibProperties for example).

The point of using expensive software when building our software is to work! I guess I've any right to a good explanation, thou I don't beleave that's what I will get.

 

Version details:

Adobe Flash Builder 4.7
Version: 4.7.0.349722

Syntax coloring known class types

$
0
0

Is there no available plugin or feature for syntax coloring on known class types, i.e. Object, int, number etc (FB 4.7)

 

I have scoured the internet and old threads on the forums without any answers regarding this issue.

FB 4.6 projects run/debug in separate browser instance?

$
0
0

I am moving a bunch of projects from Flex Builder 3 to Flash Builder 4.6. One project is a login component which logs in to a PHP server session, and the other components assume the user is already logged in.

 

In Flex Builder 3 I can test the components locally by having them all in the same FB workspace and just run the login component first. But in Flash Builder 4.6 the other components do not detect that the user has logged in. It's as if they are running in a separate browser instance.

 

Same behaviour with Run and Debug.

 

The browser in both cases is IE9, so the problem doesn't seem to be the browser or browser settings.

 

I am also using newer Flex libraries but I doubt that matters.

 

Is this a known change in FB 4.6? Is there a way to control it?

 

Help would be appreciated. Thanks!

Flash Builder very slow

$
0
0

Dear all,

 

InFlashBuilder4.7I haveabigslowdownduringencoding.

 

IfIrestartthe applicationspeedisOKbutaftera fewminutesitbecomesveryslow (Ctrl + Z, Copy/Paste...).

Sameproblemon2 PCs, includingaCorei5,8 GBRAM,andSSD.


Thank youforyourhelp in advance!

 

Best regards,

PY

View based application is not scalling full screen on iPhone 5

$
0
0

Hi,

 

I am new to Flash builder (flex) development for ios, when I created my first "View-Based" application and ran it in the iOs simulator iPhone 4" Retina, it would not fit completely, I can see some empty space at the top and the bottom..... 

 

Any help guys!!

 

Thanks,

Flash Builder & StageVideo

$
0
0

Hello everyone,

 

A major concern arises for me, and after several days of testing I can not find a solution.

 

I am currently developing a mobile application on Android to play a video locally.

 

For this I use the Adobe SimpleStageVideo class available on the website : http://www.adobe.com/devnet/flashplayer/articles/stage_video.html

 

At the launch all goes well , however when I switch to another application in full reading and then I go back to my video .

 

That passes over other elements of my interface (ie the navigation menu ) and especially it grows.

 

I tried to do a resize an event type activate ( to intercept the return on applicaiton )

 

I also tried to remove the container, and then reinject the video in my interface ( although this is costly in resources ... ) .

 

It did not work .

 

I think during my event "activate " the UIComponent has not yet been fully rebuilt, and thereby resize does not work on a good screen size used (since it does not blow conscidère menus ) .

 

To test my theory , I tested passing in debug mode. By running my code slower, the video goes back to the right size ...

 

So I tried to put timers, but again it was a futile attempt .

 

How is it possible when returning to my application that my video remains the right size , and not overlooking the rest of the menus?

 

Here follows the code in question :

 

 

// La Vue Permettant de Visionner la Vidéo

 

 

<?xml version="1.0" encoding="utf-8"?><s:View xmlns:fx="http://ns.adobe.com/mxml/2009"                    xmlns:components="bouton.components.*"                    xmlns:s="library://ns.adobe.com/flex/spark" title="viewVideo" activate="view1_activateHandler(event)" creationComplete="view1_creationCompleteHandler(event)" backgroundAlpha="0" actionBarVisible="false" tabBarVisible="false">          <fx:Script>                    <![CDATA[                              import flash.events.MouseEvent;                              import mx.core.UIComponent;                              import mx.events.FlexEvent;                              import valueObjects.SimpleStageVideo;                               private var conn:SQLConnection;                              private var createStmt:SQLStatement;                              public var dbFile:File;                               public var fichierCharge:File;                               public var numeroBouton:int = 0;                              private var test:SimpleStageVideo = new SimpleStageVideo();                              private var container:UIComponent = new UIComponent();                               protected function view1_creationCompleteHandler(event:FlexEvent):void                              {                                        var chemin:File = new File(data.url);                                        test.setData(chemin);                                          //container.stage = this.stage;                                        container.height = stage.height;                                        container.width = stage.width;                                        container.addChildAt(test, 0);                                        addElementAt(container, 0);                                        trace(""+container.width+" : "+container.height+" : "+container.x+" : "+container.y);                              }                                protected function view1_activateHandler(event:Event):void                              {                                        test.resize();                              }                               private function resizeF(event:Event):void                              {                                        test.resize();                              }                     ]]>          </fx:Script>          <s:HGroup  id="barremenu" gap="0" horizontalAlign="left" styleName="header_style" verticalAlign="top" width="100%" contentBackgroundColor="#FFFFFF" contentBackgroundAlpha="1" paddingBottom="50" >                    <s:Image scaleMode="letterbox" smooth="true" smoothingQuality="high"                                         source="assets/header_droi.jpg" />                     <components:Boutton_Retour click="boutton_retour1_clickHandler(event)" enabled="true" height="100%" contentBackgroundColor="#FFFFFF" contentBackgroundAlpha="1"/>                    <components:Boutton_Accueil_Retour click="boutton_accueil1_clickHandler(event)" enabled="true" height="100%" contentBackgroundColor="#FFFFFF" contentBackgroundAlpha="1" />                    <s:Image scaleMode="stretch" smooth="true" smoothingQuality="high"                                         source="assets/header_milieu.jpg" fillMode="repeat" width="60%" height="99%" />                    <s:Image  scaleMode="stretch" smooth="true" smoothingQuality="high"                                          source="assets/ipad.jpg" />          </s:HGroup></s:View>

 

// Ma Classe SimpleStageVideo

 

package valueObjects
{          import flash.display.Loader;          import flash.display.Shape;          import flash.display.Sprite;          import flash.display.Stage;          import flash.display.StageAlign;          import flash.display.StageScaleMode;          import flash.events.Event;          import flash.events.MouseEvent;          import flash.events.NetStatusEvent;          import flash.events.StageVideoAvailabilityEvent;          import flash.events.StageVideoEvent;          import flash.events.VideoEvent;          import flash.filesystem.File;          import flash.geom.Rectangle;          import flash.media.StageVideo;          import flash.media.StageVideoAvailability;          import flash.media.Video;          import flash.net.NetConnection;          import flash.net.NetStream;          import flash.net.URLRequest;          import flash.text.TextField;          import flash.text.TextFieldAutoSize;           import mx.core.UIComponent;           import spark.components.Image;          import spark.components.NavigatorContent;            [SWF(frameRate="1", backgroundColor="#000000")]          public class SimpleStageVideo extends Sprite          {                    public var chemin:File;                    private var FILE_NAME:String = "";                    private static const INTERVAL:Number = 500;                    private static const BORDER:Number = 20;                     private var legend:TextField = new TextField();                    private var sv:StageVideo;                    private var nc:NetConnection;                    private var ns:NetStream;                    private var rc:Rectangle;                    private var video:Video;                    private var thumb:Shape;                    private var interactiveThumb:Sprite;                    private var totalTime:Number;                     private var videoWidth:int;                    private var videoHeight:int;                    private var outputBuffer:String = new String();                    private var rect:Rectangle = new Rectangle(0, 0, 0, BORDER);                    private var videoRect:Rectangle = new Rectangle(0, 0, 0, 0);                    private var gotStage:Boolean;                    private var stageVideoInUse:Boolean;                    private var classicVideoInUse:Boolean;                    private var accelerationType:String;                    private var infos:String = new String();                    private var available:Boolean;                    private var inited:Boolean;                    private var played:Boolean;                    private var container:Sprite;                    private var displayButtonPause:Boolean;                    public var imagePause:UIComponent;                    public var pLoad:Loader;                    private var testResize:Boolean = false;                    private var widthStage:int = 0;                       /**                     *                     *                     */                    public function SimpleStageVideo()                    {                              // Make sure the app is visible and stage available                              addEventListener(Event.ADDED_TO_STAGE, onAddedToStage);                              //addEventListener(Event.ACTIVATE, onActivate);                    }                     private function onActivate(event:Event):void                    {                               video.addEventListener(Event.RENDER, functionResize);                     }                     private function functionResize(event:Event):void                    {                              resize();                    }                      /**                     *                     * @param event                     *                     */                    private function onAddedToStage(event:Event):void                    {                                // Scaling                              stage.scaleMode = StageScaleMode.NO_SCALE;                              stage.align = StageAlign.TOP_LEFT;                              widthStage = stage.width;                                // Thumb seek Bar                              thumb = new Shape();                               interactiveThumb = new Sprite();                              interactiveThumb.addChild(thumb);                              addChild(interactiveThumb);                               // Connections                              nc = new NetConnection();                              nc.connect(null);                              ns = new NetStream(nc);                              ns.addEventListener(NetStatusEvent.NET_STATUS, onNetStatus);                              ns.client = this;                               // Screen                              video = new Video();                              video.smoothing = true;                               // Video Events                              // the StageVideoEvent.STAGE_VIDEO_STATE informs you if StageVideo is available or not                              stage.addEventListener(StageVideoAvailabilityEvent.STAGE_VIDEO_AVAILABILITY, onStageVideoState);                              // in case of fallback to Video, we listen to the VideoEvent.RENDER_STATE event to handle resize properly and know about the acceleration mode running                              video.addEventListener(VideoEvent.RENDER_STATE, videoStateChange);                               // Input Events                              stage.addEventListener(MouseEvent.DOUBLE_CLICK, onKeyDown);                              stage.addEventListener(Event.RESIZE,  onResize);                              stage.addEventListener(MouseEvent.CLICK, onClick);                     }                     /**                     *                     * @param event                     *                     */                    private function onNetStatus(event:NetStatusEvent):void                    {                              if ( event.info == "NetStream.Play.StreamNotFound" )                                        legend.text = "Video file passed, not available!";                    }                     public function setData(chem:File):void                    {                              chemin = chem;                              FILE_NAME = chemin.url;                    }                     /**                     *                     * @param event                     *                     */                    private function onFrame(event:Event):void                    {                               var ratio:Number = (ns.time / totalTime) * (widthStage+470);                              rect.width = ratio;                              thumb.graphics.clear();                              thumb.graphics.beginFill(0xFF0000);                              thumb.graphics.drawRect(rect.x, rect.y+350, rect.width+120, rect.height);                              //thumb.graphics.drawRect(rect.x, rect.y, rect.width, rect.height);                              //testResize = true;                     }                     /**                     *                     * @param event                     *                     */                    private function onClick(event:MouseEvent):void                    {                               //ns.pause();                              if ( event.stageY >= interactiveThumb.y - BORDER && event.stageX <= stage.stageWidth - BORDER )                              {                                        var seekTime:Number = (stage.mouseX - BORDER) * ( totalTime / (stage.stageWidth - (BORDER << 1) ) );                                        ns.seek( seekTime );                              }                    }                     /**                     *                     * @param event                     *                     */                    private function onKeyDown(event:MouseEvent):void                    {                               ns.togglePause();                              // Affichage du bouton d'affichage de la mise en pause de la video                              if(displayButtonPause == false)                              {                                        pLoad = new Loader();                                        pLoad.load(new URLRequest("assets/pause.png"));                                        //imagePause = new UIComponent();                                        //imagePause.addChild(pLoad);                                        //imagePause.x = 200;                                        //imagePause.y = 200;                                        pLoad.x = (stage.width - (stage.width/3.5));                                        pLoad.y = (stage.height - (stage.height/3.5));                                        addChild(pLoad);                                        displayButtonPause = true;                                        pLoad.visible = true;                              } else                              {                                        displayButtonPause = false;                                        pLoad.visible = false;                                        removeChild(pLoad);                              }                    }                     /**                     * Permet l'arret de la video avant la supression de la vue                     */                    public function arretVideo():void                    {                              //video.clear();                              //sv.attachNetStream(null);                              ns.close();                              //video.attachNetStream(null);                              /*var nce:NetConnection = new NetConnection();                              nce.connect(null);                              sv.attachNetStream(new NetStream(nce));                              //sv.attachNetStream();*/                    }                     /**                     *                     * @param width                     * @param height                     * @return                     *                     */                    private function getVideoRect(width:uint, height:uint):Rectangle                    {                              trace("Width" + width);                              trace("Stage Width" + stage.stageWidth);                              trace("Height" + height);                              trace("Stage height" + stage.stageHeight);                                 var videoWidth:uint = width;                              var videoHeight:uint = height;                              var scaling:Number = Math.min ( stage.stageWidth / videoWidth, stage.stageHeight / videoHeight );                               videoWidth *= scaling, videoHeight *= scaling;                               var posX:uint = stage.stageWidth - videoWidth >> 1;                              var posY:uint = stage.stageHeight - videoHeight >> 1;                               videoRect.x = posX;                              videoRect.y = posY;                              videoRect.width = videoWidth;                              videoRect.height = videoHeight;                               trace("Objet video width" + video.width);                              trace("Objet video height" + video.height);                               trace("Objet video rect width" + videoRect.width);                              trace("Objet video rect height" + videoRect.height);                               return videoRect;                    }                     /**                     *                     *                     */                    public function resize ():void                    {                              if ( stageVideoInUse )                              {                                        // Get the Viewport viewable rectangle                                        rc = getVideoRect(sv.videoWidth, sv.videoHeight);                                        // set the StageVideo size using the viewPort property                                        sv.viewPort = rc;                              } else                              {                                         // Get the Viewport viewable rectangle                                        rc = getVideoRect(video.videoWidth, video.videoHeight);                                        // Set the Video object size                                        video.width = rc.width;                                        video.height = rc.height;                                        video.x = rc.x, video.y = rc.y;                                        //trace(""+rc.width+" : "+rc.height+" : "+rc.x+" : "+rc.y);                                        testResize = true;                               }                              interactiveThumb.x = BORDER, interactiveThumb.y = stage.stageHeight - (BORDER << 1);                              legend.text = infos;                    }                      /**                     *                     * @param evt                     *                     */                    public function onMetaData ( evt:Object ):void                    {                              totalTime = evt.duration;                              stage.addEventListener(Event.ENTER_FRAME, onFrame);                    }                     /**                     *                     * @param event                     *                     */                    private function onStageVideoState(event:StageVideoAvailabilityEvent):void                    {                              // Detect if StageVideo is available and decide what to do in toggleStageVideo                              toggleStageVideo(available = inited = (event.availability == StageVideoAvailability.AVAILABLE));                    }                     /**                     *                     * @param on                     *                     */                    private function toggleStageVideo(on:Boolean):void                    {                              infos = "StageVideo Running (Direct path) : " + on + "\n";                               // If we choose StageVideo we attach the NetStream to StageVideo                              if (on)                              {                                        stageVideoInUse = true;                                        if ( sv == null )                                        {                                                  sv = stage.stageVideos[0];                                                  sv.addEventListener(StageVideoEvent.RENDER_STATE, stageVideoStateChange);                                        }                                        sv.attachNetStream(ns);                                        if (classicVideoInUse)                                        {                                                  // If we use StageVideo, we just remove from the display list the Video object to avoid covering the StageVideo object (always in the background)                                                  stage.removeChild ( video );                                                  classicVideoInUse = false;                                        }                              } else                              {                                        // Otherwise we attach it to a Video object                                        if (stageVideoInUse)                                                  stageVideoInUse = false;                                        classicVideoInUse = true;                                        video.attachNetStream(ns);                                        stage.addChildAt(video, 0);                              }                               if ( !played )                              {                                        played = true;                                        ns.play(FILE_NAME);                              }                    }                     /**                     *                     * @param event                     *                     */                    private function onResize(event:Event):void                    {                              resize();                    }                     /**                     *                     * @param event                     *                     */                    private function stageVideoStateChange(event:StageVideoEvent):void                    {                              infos += "StageVideoEvent received\n";                              infos += "Render State : " + event.status + "\n";                              trace(infos);                               resize();                     }                     /**                     *                     * @param event                     *                     */                    private function videoStateChange(event:VideoEvent):void                    {                              infos += "VideoEvent received\n";                              infos += "Render State : " + event.status + "\n";                              trace(infos);                               resize();                     }          }
}

Flex Mobile project scaling with Retina display iPad (3rd gen).

$
0
0

Adobe et al,

 

With the new iPad 3 we now have a ton more pixels to utilize. I'm familiar with and have already successfully tested the AIR 3.1+ commandline compiler option (-platformsdk) to get Retina display on the new iPad. In ActionScript mobile projects the content is rendered beautifully on the new iPad. But with Flex Mobile projects, something is happening that causes it to render incorrectly. It's retina display alright, but the size is way too small.

 

Below is an image WITHOUT the -platformsdk build tag, that causes the app to be pixel doubled to fit on the new iPad:

 

FB_Non_Retina.PNG

Notice that it's scaled proportionally, even though the text and components are slightly pixelated. Not a big deal, but noticeable on the device.

 

This image is taken with the app rendering in Retina display (setting the -platformsdk pointing to iOS 5.1 SDK):

 

FB_Retina.PNG

 

As you can see, the text/components are rendered really clear, but the scale is way off. Obviously it's getting the width of 2048x1536 from the device, but it's way too small.

 

How do I fix this? I've tried changing the applicationDPI, but it doesn't fix it. Setting a width/height of 1024x768 does nothing either. It seems we need to overrride a behavior that causes it to fit everything in so small.

 

A little help?

 

Thanks,

 

iBrent

Flash Builder Won't Open

$
0
0

When I click on the Flash Builder application, the program brings up the loading screen. However, after a few minutes, the loading screen disappears and that's it. I checked my task manager and the program isn't open. So, what's going on? I even tried to open the program directly through the Program Files instead of my desktop, just encase that was a problem. There was no difference. So I don't know what to do. I don't have any problems with any other adobe programs. So why this one?

 

It's Adobe Flash Builder 4.6 Premium.


Worker Question

$
0
0

Hi, I can't get any traces from my worker swf. I have a main swf and a worker swf. The traces in the worker's constructor and the message handler when receiving messages are not showing. In the main swf, the event handler for worker running works and the listWorkers function shows there are workers. Heres the code for the worker:

 

publicfunction Worker()

                    {

  trace("BackWorker");

                              bm = Worker.current.getSharedProperty("btm");

                              mb = Worker.current.getSharedProperty("mtb");

  trace("BackWorker " + mb);

                              mb.addEventListener(Event.CHANNEL_MESSAGE, onMainToBack);

                    }

 

                    protectedfunction onMainToBack(event:Event):void

                    {

  trace("onMainToBack");

                              if(mb.messageAvailable)

                              {

                                        var header:String = bm.receive();

                                        if(header == "HELLO")

                                        {

                                                  trace("WORLD");

                                                  bm.send("WORLD");

                                        }

                              }

                    }

 

none of the traces from the worker swf is showing and I don't get a reply from the bm.send() function.

 

Anyone know why?

flash builder database

$
0
0

I am using flash builder to create a database.  The database works until I try to use the create table button on the form that is created.  I can input information but nothing happens when I click the create table button.

Create workers for android?

$
0
0

I have downloaded and overlayed the AIR 4 SDK, which supports Workers on Android.

 

Yet in Flash Builder 4.7, when I try to create a Worker via the menu, I get the error message:

 

"You must create a Flex or Actionscript project to hold this file"

 

How to

 

1) Work around this to get Workers working on Android/Mobile even if not via the menu?

and/or

2) Get Workers working the way they were meant to work in Flash Builder, on Android/Mobile?

 

Thanks,

David

Flash Builder improvements, Syntax coloring, Custom format, Auto close

$
0
0

Hello,

 

I'm trying Flash Builder 4.7 but I see there is missing features in the Softaware.

 

I didn't found this important features in the preferences and I think you could add this new features in the new version of FB:

 

  • Syntax coloring like Flash Professional: Coloring the AS3 keywords properties and methods like (addChild, x, y, width, height, etc.)
  • Custom format code. In FB 4.7 there no way to custom the format code in AS3 but you can do it for Java.
  • AutoClose : Inserts matching bracket, paren, brace or quote
  • A list of color themes

 

I hope it will help to improve this software.

 

Cheers.

Generating an apk in FB 4.7 trial? apk is not getting generate under the libs folder.

$
0
0

I am trying to build a simple camera application in Flash Builder 4.7 version.This Flash Builder is also a trial version.But when I create a Mobile Flex Project , then every time do not generate apk file under libs folder.How to recover from this problem?

I attach a snapshot of my Flash Builder creating mobile flex project.

Apk.jpg

profiler does not work

$
0
0

Hi. When I use the profiler to check the memory usage of my app, there is nothing shown in the Live Objects list, and used Memory is returned as zero, which is clearly not the case.

Everything works fine on MacOS, the trouble is only with Windows.

 

windows 7 x64

flash builder 4.7

AIR SDK 4.7.0.349722

 

http://f5.s.qip.ru/xN3PiYbq.png

Flex 4.7 Tutorial Help

$
0
0

Hello Everyone,

 

I am new to the Adobe community and need help with a few things to get me started.  I developed an application in Android using Java but now I have the need to port that same app to iPhone.  I ran into this technology after doing a search because I want to avoid having to deal with two languages if that can be avoided.  I am trying out Flex Building and it seems like a cool interface but I am a little lost.  I looked for tutorials on the Adobe site but they are outdated showing how to create an app using the design view drag and drop options. From what I read that was removed from the latest version. Can someone provide an up to date tutorial or a book they can refer me to buy.

 

-Thanks


Darme de baja

$
0
0

Yo me asocié a Creative Cloud para usar Flash Builder, pero en realidad no lo he usado.  Necesito saber como darme de baja, pagar lo que resta del año y que no se active automaticamente para el próximo año

flash builder 4.5 database

$
0
0

I am using tutorials to learn database creation.  In my flex project I am able to use the database that I created.  My flex program creates the code and I can get the page to load with the table there and the input boxes to put info in.  the create table button shows up but when clicked it does nothing.  The code in the video show a dataProvider="{getalltableresults.lastresult} in the code but the code that is generated for does not have this code. here is my code that was generated for the button

 

protected function button_clickHandler (event:MouseEvent):void

{

var cookbook2:Cookbook = new Cookbood();

cookbook2.id = parseInt (idTextInput.text);

cookbook2.title = titleTextInput.text;

cookbook2.recipe = reecipeTextInput.text;

 

createCookbookResult.token = cookbookService.createCookbook(cookbook2);

var cookbook3:Cookbook = new Cookbook();

cookbook3.id =parseInt(idTextInput.text);

cookbook3.title = titleTextInput.text;

cookbook3.recipe = recipeTextInput.text;

 

createCookbookResult2.token = cookbookService.createCookbook(cookbook3);

}

 

then there are call responder getallcookbookreult and a lueObjects:cookbook for each id, title and recipe

 

next is the grid column array list

the this line

AsyncListView list="{getAllCookbookResult.lastResult}"/>

Can anyone tell me where I am going wrong

How to access Flash Apps over https with a self signed certificate?

$
0
0

I have a Flex app that needs to access data from a SOAP web service over https with a self signed certificate. The app needs to ignore the https warnings, just as a browser would warn & allow the user to proceed. Buying a valid signed certificate is not an option for us.

It works fine over http.

 

How can I achieve this?

 

I read that URLRequest has a property: authenticate, that I can set to false. However, this property is available only for Adobe AIR applications from what I can see. This doesn't seem available for Flex apps.

 

I have tried this in both Flex 3 & the latest Flash Builder 4. Have the same issue in both cases.

 

Help appreciated.

 

Thanks

License problem with automation.swc and mxmlc

$
0
0

We are currently migrating our flex application from flex 3.6 to flex 4.6 framework. To functionally test our application, we use RIAtest. RIAtest uses the automation.swc library to test the user interface automatically. automation.swc seems to be a proprietary library and you need a Flash Builder Premium license. We have such a license for Flash Builder 4 Premium. We do not really use flash builder to develop, but we use build scripts to trigger the mxmlc directly from ANT. The build scripts pass the license to the mxmlc compiler using the license flag. This all worked perfectly when we used flex 3 SDK. We use the SDKs that were included in the Flash Builder distribution.

 

But now we try to migrate our application to flex 4 SDK. Everything compiles and runs, we solved a minor amount of issues for that. But automatically testing the application with RIAtest does not work. After a few seconds we get the error:

 

"License not present. With trial version only limited replays are allowed"

 

Which turns out to be caused by the automation library not accepting our license. But we are unable to solve the issue. We tried everything possible but the mxmlc compiler is just IGNORING our license. The license should be valid, it works perfectly with flex 3 SDK. But with flex 4, we get the error described above while testing. The mxmlc compiler does not give any feedback AT ALL what is wrong with the license.

 

We now pass in the license like this, but we tried many variations.

 

'-license=flashbuilder4,"xxxx-xxxx-xxxx-xxxx-xxxx-xxxx"'

 

  • We use the Flex SDK version 3.6.0 and Flex SDK version 4.6.0 both installed by Flash Builder version 4.
  • We use a volume license for flash builder. When i try to register the volume license in my adobe account it also does not accept it. Although we can use it to register flashbuilder. Maybe this is part of the problem

 

We have the following questions:

  • How can we solve this issue?
  • How do we debug what is going wrong because mxmlc is giving no feedback?
  • How can I validate my license?

 

I found multiple topics on this forum similair to this problem, but they where all about licensing in general. We only have problems with SDK 4.

 

Regards, Martin

Can I upgrade flash builder to any latest version so as to have fixes available in apache flex 4.12

Viewing all 1802 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>