Quantcast
Channel: Adobe Community : Popular Discussions - Using Flash Builder
Viewing all 70427 articles
Browse latest View live

Error on Standard / Release Build Packaging

$
0
0

Hello All

 

I am trying to release an iphone APP using Flash Builder 4.7, FLEX 4.6.

 

I have just had to upgrade to Air 3.7 because of requirements by the App store submission process:

 

The upgrade of Air to 3.7 seemed to be working ok , but am now getting a strange issue:

 

When I create a Fast Build or run on the Air Simulator or the iphone emulator the package works fine,

However when I run a standard build or release build  I get the following error:

 

 

Error occurred while packaging the application:

 

Undefined symbols for architecture armv7:

  "__ZN7avmplus8Debugger9debugLineEi", referenced from:

      __ZN7avmplus9MethodEnv9debugExitEPNS_13CallStackNodeE in AOTBuildOutput-4.o

      __ZN7avmplus11BaseExecMgr22debugEnterExitWrapperNEPNS_9MethodEnvEiPj in AOTBuildOutput-4.o

      __ZN7avmplus11BaseExecMgr23debugEnterExitWrapper32EPNS_9MethodEnvEiPj in AOTBuildOutput-4.o

  "__ZN7avmplus7AbcFile11sourceNamedEPNS_6StringE", referenced from:

      __ZN7avmplus9AbcParser15addAOTDebugInfoEPNS_10PoolObjectE in AOTBuildOutput-4.o

  "__ZN7avmplus10SourceFile7addLineEiPNS_10MethodInfoEi", referenced from:

      __ZN7avmplus9AbcParser15addAOTDebugInfoEPNS_10PoolObjectE in AOTBuildOutput-4.o

  "__ZN7avmplus7AbcFileC1EPNS_7AvmCoreEi", referenced from:

      __ZN7avmplus9AbcParser15addAOTDebugInfoEPNS_10PoolObjectE in AOTBuildOutput-4.o

  "__ZN7avmplus7AbcFile9sourceAddEPNS_10SourceFileE", referenced from:

      __ZN7avmplus9AbcParser15addAOTDebugInfoEPNS_10PoolObjectE in AOTBuildOutput-4.o

  "__ZN7avmplus8DebuggerC2EPNS_7AvmCoreENS0_11_TraceLevelE", referenced from:

      __ZN7avmplus17PlayerAvmDebuggerC2EPNS_7AvmCoreENS_8Debugger11_TraceLe velE in libNoDebugger2.arm-air.a(PlayerAvmDebuggerStubs.o)

  "__ZN7avmplus8DebuggerD2Ev", referenced from:

      __ZN7avmplus17PlayerAvmDebuggerD0Ev in libNoDebugger2.arm-air.a(PlayerAvmDebuggerStubs.o)

      __ZN7avmplus17PlayerAvmDebuggerD1Ev in libNoDebugger2.arm-air.a(PlayerAvmDebuggerStubs.o)

  "__ZN7avmplus10SourceFileC1EPN4MMgc2GCEPNS_6StringE", referenced from:

      __ZN7avmplus9AbcParser15addAOTDebugInfoEPNS_10PoolObjectE in AOTBuildOutput-4.o

  "__ZN7avmplus8Debugger12_debugMethodEPNS_9MethodEnvE", referenced from:

      __ZN7avmplus9MethodEnv15debugEnterInnerEv in AOTBuildOutput-4.o

      __ZN7avmplus9MethodEnv10debugEnterEPKhPNS_13CallStackNodeEPNS_9FrameP tr_EPVl in AOTBuildOutput-4.o

ld: symbol(s) not found for architecture armv7

Compilation failed while executing : ld64

 

To try an narrow the problem down I have created a really simple app that just has a label saying “Hello” and it does the same thing. I have tried reinstalling - still doing it

 

Full details of my setup are running on OSX, Flash Builder 4.7 Flxe 4.6 Air 3.7 or 3.8

Can anybody help ?

 

Many Thanks

Toby


Flash Builder 4.7 licence activation

$
0
0

Hello,

 

    My company bought a flash builder 4.7 premium licence, but apparently it doesn't work...

     I created a small projet to test and add that piece of code to see if it's ok :

 

 

protected function applicationCompleteHandler(event:FlexEvent):void

                              {

                                        /*

                                        Many features require a Flash Builder Pro (Premium) license to function properly (i.e. automation)

                                        The LicenseUser class registers a handler (LicenseHandler) to be called if a Flash Builder Pro license is NOT present;

                                        if a Flash Builder Pro license IS present, then the compiler will remove the LicenseHandler class for the SWF

                                        */

                                        if (Class(this.systemManager.getDefinitionByName("licence.LicenseHandler")))

                                        {

                                                  Alert.show("This SWF was compiled WITHOUT a Flash Builder Pro license")

                                        }

                                        else

                                        {

                                                  Alert.show("This SWF was compiled WITH a Flash Builder Pro license")

                                        }

                              }

 

 

   [RequiresLicense("mx.fbpro", handler="licence.LicenseHandler")]

    public class LicenseUser

    {

        public function LicenseUser()

        {

        }

    }

 

 

    public class LicenseHandler

    {

        public function LicenseHandler()

        {

        }

    }

 

It's a piece of code we can find on some forum and works for some people.

 

But the message which is displayed is always the first one => "This SWF was compiled WITHOUT a Flash Builder Pro license"

 

I found that page (http://helpx.adobe.com/flash-builder/kb/flex-automation-issues-flash-builder.html) to replace the licence.jar but it still doesn't work...

 

The profiler doesn't work either...

 

Have you got any ideas please ?

 

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

Flash Builder 4.7 Serial number you provided is valid, but no qualifying product is found on this computer

$
0
0

Hello ,

 

I am trying to activate my Flash Builder 4.7 I but I an receiving  the message "Flash Builder 4.7 Serial number you provided is valid, but no qualifying product is found on this computer".

So what can I do. Do I have to install first some older version or something different?

 

Kind Regards,

Dimitar Marinov

Flash Builder 4.7 + OSX 10.10 Yosemite + File Dialogue Box = CRASH :-(

$
0
0

Problem Description:

When attempting to use a Flash Builder File Dialogue Box under OSX 10.10 Yosemite will immediately crash the application. This bug essentially now renders Flash Builder 100% useless!

 

 

Steps to Reproduce:

1. Open Flash Builder 4.7 on OSX 10.10 Yosemite

2. Attempt to use any File Dialogue Box, such as "Browse.." etc

 

 

Actual Result:

The application immediately crashes.

 

 

Expected Result:

You should be able to conduct the action, such as loading a Flex Project, adding an SDK etc.

 

 

Any Workarounds:

None

Flash Builder 4.7 crashes on startup

$
0
0

Installed and re-installed by IT on the company's Macbook Pro, licensed under the company's site license.  The same product installed by the same group on identical Macbook Pros works.  When running on my machine I get the message: 

An error has occurred.

 

See the log file

/Users/ppulliam/Documents/Adobe Flash Builder 4.7/.metadata/.log.

 

When looking in the .log, I see:

!ENTRY org.eclipse.osgi 4 0 2014-12-16 11:30:31.724

!MESSAGE An error occurred while automatically activating bundle com.adobe.flexide.editorcore (105).

!STACK 0

org.osgi.framework.BundleException: Exception in com.adobe.flexide.editorcore.EditorCore.start() of bundle com.adobe.flexide.editorcore.

        at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextIm pl.java:734)

        at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:6 83)

 

Caused by: java.lang.NoClassDefFoundError: com/adobe/flexbuilder/util/PluginProperties

        at com.adobe.flexide.editorcore.EditorCore.initializeOptions(EditorCore.java:212)

 

Caused by: org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$TerminatingClassNotFoundExce ption: An error occurred while automatically activating bundle com.adobe.flexbuilder.project (68).

        at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLa zyStarter.java:122)

 

Caused by: org.osgi.framework.BundleException: Exception in com.adobe.flexbuilder.project.internal.FlexProjectCore.start() of bundle com.adobe.flexbuilder.project.

 

Caused by: java.lang.UnsatisfiedLinkError: no BridgeTalk in java.library.path

 

Root exception:

java.lang.NoClassDefFoundError: com/adobe/flexbuilder/util/PluginProperties

        at com.adobe.flexide.editorcore.EditorCore.initializeOptions(EditorCore.java:212)

 

Caused by: java.lang.UnsatisfiedLinkError: no BridgeTalk in java.library.path

        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1857)

 

I've already tried installing version 4.2 of eclipse and using the flash builder plug-in utility to point to my version, as well as a large number of other things.

 

Pete

edit a .swf file to place animation part in PPT.

$
0
0

I have windows 7 64bit installed with adobe CS6 full suite. i am trying to learn more about flash and adobe products in general. however i have a project i need to complete with power point slides were i want to take this packetsniffer.swf file and it to my MS power point slide. i need to open the .swf file and edit a couple slides out of it. I only need the one animation in it. how do i do this with adobe flash or some other application. then i will need help putting it in the power point slide show as a slide animation. thanks

I need to buy an older version of Adobe Flash Professional

$
0
0

I need to get Adobe Flash Professional CS5 (an older version). Where and how can I do it?


setting up starling with flash builder 4.7 problems

$
0
0

I followed the instructions here:

 

https://helpx.adobe.com/flash-builder/kb/overlay-air-sdk-flash-builder.html

 

I clicked File -> New -> ActionScript Project

Then I called my "project StartingStarling01" and made it a Web Application.

I clicked Next -> Add SWC -> browse, then located my Starling.SWC file in the Program Files in my C drive that. I had downloaded the Game SDK from my Creative Cloud account: "C:\Program Files (x86)\Adobe Gaming SDK 1.4\Frameworks\Starling\Starling-Framework\starling\bin"

I clicked Finish.

 

I created these classes:

 

importflash.display.Sprite;
importstarling.core.Starling;

[SWF(width="400",height="300",frameRate="60",backgroundColor="#ffffff")]
publicclassStartingStarling01extendsSprite
{
   privatevar_starling:Starling;

   publicfunction StartingStarling01()
   {
   _starling=newStarling(Game,stage);
   _starling.start();
   }
}

 

importstarling.display.Sprite;
importstarling.text.TextField;

publicclassGameextendsSprite
{
   publicfunction Game()
   {
   vartextField:TextField=newTextField(400,300,"Welcome to Starling!");
   addChild(textField);
   }
}


But I get all these problems:


Capture.PNG

And when I run the file it comes up with this in my browser:



Capture2.PNG

What have I done wrong and how do I fix it please?



I am using adobe flash builder 4.7.but it always getting hang and making lot of problems.I need to downgrade adobe flash builder 4.7 to 4.5 version.Kindly support me as soon as possible

$
0
0

I am using adobe flash builder 4.7.but it always getting hang and making lot of problems.I need to downgrade adobe flash builder 4.7 to 4.5 version.Kindly support me as soon as possible

 

[Moved from the non-support, general, all-of-Adobe forums Lounge to a product-specific support forum - moderator]

Sprite animations gone from SWF when loaded into flash

$
0
0

I made an animation in Flash CS6 and part of it uses an animated symbol. After I exported as a SWF everything looked fine. But when I wanted to load it back into flash again, the symbol animations don't show up.m It's just one static frame. I ultimately want to convert this swf into a gif but my original flash file is corrupted and I can't find anything that will convert it without getting an error message. I've also looked into converting it to other formats like an image sequence, but I can't find a program that will do this. Please help me understand why this swf isn't showing every part of my animation or if there is another solution to my problem.

String Value output needed for SummaryField

$
0
0

My Requirement is Approvals Column should show Status of approval in the summary field against rs:285644 on 1st row as Not Validated and not in the below rows, How to achieve this...?

 

My Sample Data which I am parsing to display the above UI is an XML as follows,

<regions>

<ApprovalStatus_RegionNorth>NotValidated</ApprovalStatus_RegionNorth>

<UserType>HQ</UserType>

<region>

      <DISPLAY_NAME>REGION_NORTH</DISPLAY_NAME>

     <iUserGroup>5816</iUserGroup>

     <sDescription>BPCL Corp Ltd-BPCL-BPC1515</sDescription>

     <uptimePercentage>100.0</uptimePercentage>

     <totalVehicles>2</totalVehicles>

     <reportingVehicles>1</reportingVehicles>

     <billingAmount>928</billingAmount>

     <sapCode>BPC1515</sapCode>

</region>

</regions>

 

 

Please let me know if you need any more data to solve the issue.

 

My Full mxml code as follows,

 

 

<?xml version="1.0" encoding="utf-8"?>

<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"

    xmlns:s="library://ns.adobe.com/flex/spark"

    xmlns:mx="library://ns.adobe.com/flex/mx"

    creationComplete="application1_creationCompleteHandler(event)" viewSourceURL="srcview/index.html">

 

  <fx:Declarations>

 

  <mx:DateFormatter id="dateFormatter" formatString="DD-MMM-YYYY" />

 

  <mx:HTTPService

  id="ewsCumulativeDetails"

  url="http://localhost:8080/cms/xml/populateBillingByHierarchy.action"

  resultFormat="text" method="POST"

  result="ewsCumulativeDetails_resultHandler(event)" fault="ewsCumulativeDetails_faultHandler(event)">

  </mx:HTTPService>

  <mx:HTTPService

  id="billingApproval"

  url="http://localhost:8080/cms/xml/billingApproval.action"

  resultFormat="text" method="POST"

  result="ewsCumulativeDetails_resultHandler(event)" fault="ewsCumulativeDetails_faultHandler(event)">

  </mx:HTTPService>

  <mx:HTTPService

  id="billingRejection"

  url="http://localhost:8080/cms/xml/billingRejection.action"

  resultFormat="text" method="POST"

  result="ewsCumulativeDetails_resultHandler(event)" fault="ewsCumulativeDetails_faultHandler(event)">

  </mx:HTTPService>

  </fx:Declarations>

  

  <fx:Script>

  <![CDATA[

  import PopUp.Window;

 

  import com.adobe.serialization.json.JSON;

  import com.rupendra.utils.ADGExcelTripReport;

  import com.rupendra.utils.BillingByHierarchyExcel;

 

  import components.HeaderRendererDistance;

  import components.HeaderRendererTT;

  import components.MyTitleWindow;

 

  import controls.CursorFactory;

  import controls.CursorFactorySWF;

  import controls.DropDownSelector;

 

  import events.DropDownEvent;

 

  import flash.net.navigateToURL;

 

  import mx.binding.utils.BindingUtils;

  import mx.collections.ArrayCollection;

  import mx.collections.Sort;

  import mx.collections.SortField;

  import mx.collections.XMLListCollection;

  import mx.controls.Alert;

  import mx.controls.advancedDataGridClasses.AdvancedDataGridColumn;

  import mx.controls.advancedDataGridClasses.AdvancedDataGridColumnGroup;

  import mx.core.FlexGlobals;

  import mx.effects.effectClasses.HideShowEffectTargetFilter;

  import mx.events.FlexEvent;

  import mx.managers.CursorManager;

  import mx.managers.PopUpManager;

  import mx.rpc.events.FaultEvent;

  import mx.rpc.events.ResultEvent;

  import mx.rpc.xml.SimpleXMLDecoder;

  import mx.rpc.xml.SimpleXMLEncoder;

  import mx.utils.ArrayUtil;

  import mx.utils.ObjectUtil;

  import mx.collections.IViewCursor;

 

 

  [Bindable]

  private var result:XML;

 

  [Bindable]

  public var resultData:XMLList;

 

 

  [Bindable]

  public var userGroup:String;

 

  [Bindable]

  public var userName:String;

  [Bindable]

  public var displayName:String;

 

  [Bindable]

  private var midDate:Date;

 

  [Bindable]

  public var userId:String;

  [Bindable]

  private var dpTrip:ArrayCollection;

  [Bindable]

  public var jsonTrip:Object;

 

 

  public var daysOfMonth:int;

 

  public var fd:Date=new Date();

  public var ld:Date=new Date();

 

 

  [Bindable]

  public var months:ArrayCollection = new ArrayCollection([

  { Id:""},

  { Id:"Jan", month:"00" , lastDay:"31"},

  { Id:"Feb", month:"01" , lastDay:"28"},

  { Id:"Mar", month:"02" , lastDay:"31"},

  { Id:"Apr", month:"03" , lastDay:"30"},

  { Id:"May", month:"04" , lastDay:"31"},

  { Id:"June", month:"05" , lastDay:"30"},

  { Id:"July", month:"06" , lastDay:"31"},

  { Id:"Aug", month:"07" , lastDay:"31"},

  { Id:"Sep", month:"08" , lastDay:"30"},

  { Id:"Oct", month:"09" , lastDay:"31"},

  { Id:"Nov", month:"10" , lastDay:"30"},

  { Id:"Dec", month:"11" , lastDay:"31"} ]);

 

  protected function ewsCumulativeDetails_resultHandler(event:ResultEvent):void

  {

 

  Alert.show("dataFieldDataFetched");

  var resultString:String = event.result.toString();

  // result = new XML("<regions><ApprovalStatus_RegionNorth>NotValidated</ApprovalStatus_RegionNorth><UserT ype>HQ</UserType><region><ApprovalStatus>Not Validated</ApprovalStatus><DISPLAY_NAME>REGION_NORTH</DISPLAY_NAME><iUserGroup>5816</iUse rGroup><sDescription>BPCL Corp Ltd-BPCL-BPC1515</sDescription><uptimePercentage>100.0</uptimePercentage><totalVehicles>2 </totalVehicles><reportingVehicles>1</reportingVehicles><billingAmount>928</billingAmount> <sapCode>BPC1515</sapCode></region></regions>");

  result = new XML(resultString);

  resultData = result.region;

  gc2.refresh();

  adg2.dataProvider = gc2;

 

  if(result.UserType == "HQ"){

  adg2.visible = true;

  // Approvals.visible = true;

  // ApprovalsHeader.visible = true;

  // regNorth.text = result.ApprovalStatus_RegionNorth;

  // regSouth.text = result.ApprovalStatus_RegionSouth;

  // regEast.text = result.ApprovalStatus_RegionEast;

  // regWest.text = result.ApprovalStatus_RegionWest;

 

  }

  else{

  adg2.visible = true;

  if(result.UserType == "REGION_NORTH(CM)")

  {

  if(result.ApprovalStatus_RegionNorth == "Not Validated")

  {

  Approve.visible="true";

  CallBack.visible="true";

  }

  }

  if(result.UserType == "REGION_SOUTH(CM)")

  {

  if(result.ApprovalStatus_RegionSouth == "Not Validated")

  {

  Approve.visible="true";

  CallBack.visible="true";

  }

  }

  if(result.UserType == "REGION_EAST(CM)")

  {

  if(result.ApprovalStatus_RegionEast== "Not Validated")

  {

  Approve.visible="true";

  CallBack.visible="true";

  }

  }

  if(result.UserType == "REGION_WEST(CM)")

  {

  if(result.ApprovalStatus_RegionWest == "Not Validated")

  {

  Approve.visible="true";

  CallBack.visible="true";

  }

  }

 

  }

  }

 

  protected function ewsCumulativeDetails_faultHandler(event:FaultEvent):void

  {

  Alert.show("fault");

  // TODO Auto-generated method stub

  }

 

 

 

 

  protected function application1_creationCompleteHandler(event:FlexEvent):void

  {

 

  var params:Object = new Object();

  var xmlD:XML = new XML(this.parameters.paramVal);

  params.uId = this.parameters.uId;

  userId = this.parameters.uId;

  // ewsCumulativeDetails.send(params);

  }

 

  public function openDetailedForUser():void{

 

  var win : Window = new Window();

  PopUpManager.addPopUp(win,this,true);

  PopUpManager.centerPopUp(win);

 

  }

 

  private function labelFunction1(item:Date):String {

  midDate = item;

  return dateFormatter.format(item);

  }

 

  private function labelFunction2(item:Date):String {

  return dateFormatter.format(item);

  }

 

// private function disableinvalidDates(toBeDisabled:String):void{

// switch(toBeDisabled)

// {

// //disabledRanges="{[{rangeEnd: new Date((new Date()).getTime() - (1000*60*60*24))}]}" selectableRange="{{rangeStart : new Date()}}"

// case "FromDate":

// fDate.selectableRange = {rangeStart:new Date((new Date()).getTime() - (1000*60*60*1440)),rangeEnd: new Date()};

// break;

// case "ToDate":

//

//

// tDate.selectableRange = {rangeStart: fDate.value < new Date((1000*60*60*720)) ? new Date() : fDate + (1000*60*60*720), rangeEnd: new Date()};

// break;

// }

// }

 

 

 

// protected function tDate_clickHandler(clickedField:String):void

// {

// var addDate:Date = new Date(midDate.fullYear,

// midDate.month, 

// midDate.date+30,

// midDate.hours,

// midDate.minutes,

// midDate.seconds,

// midDate.milliseconds);

//

// if(addDate > new Date())

// addDate = new Date();

//

// switch(clickedField)

// {

// case "ToDate":

// fDate.text.length > 0 ? tDate.selectableRange = {rangeStart: midDate,rangeEnd: addDate} : Alert.show("You need to Select from Date first");

// break;

// }

// }

//

 

 

 

  protected function button3_clickHandler(event:MouseEvent):void

  {

  Alert.show("dataFieldSubmit");

  adg2.visible = false;

  // ApprovalsHeader.visible = false;

  // Approvals.visible = false;

  resultData = null;

  gc2.refresh();

  adg2.dataProvider = null;

  Approve.setVisible(false);

  CallBack.setVisible(false);

  var params:Object = new Object();

  params.monthAndYear = pickYear.selectedItem+''+pickMonth.selectedItem.month;

 

  fd.setFullYear(pickYear.selectedItem,pickMonth.selectedItem.month,1);

  var xmlD:XML = new XML(this.parameters.paramVal);

  ld=new Date(pickYear.selectedItem, pickMonth.selectedItem.month, pickMonth.selectedItem.lastDay);

  params.uId = this.parameters.uId;

  params.fromDate = labelFunction1(fd) ;

  params.toDate = labelFunction1(ld);

 

  ewsCumulativeDetails.send(params);

  }

 

  public function approval_clickHandler(event:MouseEvent):void

  {

  var params:Object = new Object();

  params.monthAndYear = pickYear.selectedItem+''+pickMonth.selectedItem.month;

  var fd:Date=new Date();

  fd.setFullYear(pickYear.selectedItem,pickMonth.selectedItem.month,1);

  var xmlD:XML = new XML(this.parameters.paramVal);

  var ld:Date=new Date(pickYear.selectedItem, pickMonth.selectedItem.month, pickMonth.selectedItem.lastDay);

  params.uId = this.parameters.uId;

  params.fromDate = labelFunction1(fd) ;

  params.toDate = labelFunction1(ld);

  billingApproval.send(params);

  }

  public function rejection_clickHandler(event:MouseEvent):void

  {

  var params:Object = new Object();

  params.monthAndYear = pickYear.selectedItem+''+pickMonth.selectedItem.month;

  var fd:Date=new Date();

  fd.setFullYear(pickYear.selectedItem,pickMonth.selectedItem.month,1);

  var xmlD:XML = new XML(this.parameters.paramVal);

  var ld:Date=new Date(pickYear.selectedItem, pickMonth.selectedItem.month, pickMonth.selectedItem.lastDay);

  params.uId = this.parameters.uId;

  params.fromDate = labelFunction1(fd) ;

  params.toDate = labelFunction1(ld);

 

  billingRejection.send(params);

  }

 

 

  public function nciLabelFunction(item:Object, column:AdvancedDataGridColumn):int

  {

  var param:int = item.totalVehicles-item.reportingVehicles;

 

  return param;

  }

 

 

  public function mySummaryFunction(iterator:IViewCursor, dataField:String, operation:String):Object {

  var param:String;

  Alert.show("dataField");

  if(dataField == "REGION_EAST")

  {

  param = result.ApprovalStatus_RegionEast;

  }

  if(dataField == "REGION_NORTH")

  {

  param = result.ApprovalStatus_RegionNorth;

  }

  if(dataField == "REGION_WEST")

  {

  param = result.ApprovalStatus_RegionWest;

  }

  if(dataField == "REGION_SOUTH")

  {

  param = result.ApprovalStatus_RegionSouth;

  }

  return param;

  }

 

  public function approvalFunction(item:Object, column:AdvancedDataGridColumn):Object {

  var param:String;

 

  if(item.DISPLAY_NAME == "REGION_EAST")

  {

  param = result.ApprovalStatus_RegionEast;

  }

  if(item.DISPLAY_NAME == "REGION_NORTH")

  {

  param = result.ApprovalStatus_RegionNorth;

  }

  if(item.DISPLAY_NAME == "REGION_WEST")

  {

  param = result.ApprovalStatus_RegionWest;

  }

  if(item.DISPLAY_NAME == "REGION_SOUTH")

  {

  param = result.ApprovalStatus_RegionSouth;

  }

  return param;

  }

 

 

 

  ]]>

  </fx:Script>

 

  <mx:VBox width="100%" height="100%" verticalScrollPolicy="auto" horizontalScrollPolicy="off">

  <mx:ApplicationControlBar id="dockedBar">

 

  <mx:HBox id="dateSelect" width="100%" horizontalAlign="center">

  <mx:HBox width="100%" height="100%">

  <s:Label text="Month" height="100%" verticalAlign="middle"/>

  <mx:ComboBox id="pickMonth" dataProvider="{months}" labelField="Id" height="100%"/>

  </mx:HBox>

  <mx:HBox width="100%" height="100%" >

  <s:Label text="Year"  height="100%" verticalAlign="middle"  />

  <mx:ComboBox id="pickYear" height="100%">

  <mx:dataProvider>

  <fx:String></fx:String>

  <fx:String>2013</fx:String>

  <fx:String>2014</fx:String>

  <fx:String>2015</fx:String>

  <fx:String>2016</fx:String>

  <fx:String>2017</fx:String>

  </mx:dataProvider>

  </mx:ComboBox>

  </mx:HBox>

 

  <mx:Button label="Submit" click="button3_clickHandler(event)"/>

  <mx:Button id="Approve" visible="false" label="Approve" click="approval_clickHandler(event);" />

  <mx:Button id="CallBack" visible="false" label="Reject" click="rejection_clickHandler(event);" />

 

 

  </mx:HBox>

 

  </mx:ApplicationControlBar>

 

  <!-- <mx:ApplicationControlBar width="100%">

  <mx:Box direction="vertical" horizontalAlign="center">

  <mx:VBox>

  <mx:HBox visible = "false"  id="ApprovalsHeader" >

  <s:Label fontSize="16" fontWeight="bold" text="Region Wise Approval Details " height="100%" verticalAlign="middle"/>

  </mx:HBox>

  </mx:VBox>

  <mx:VBox>

  <mx:HBox visible = "false"  id="Approvals" >

  <s:Label text="Region North : " height="100%" verticalAlign="middle"/>

  <s:Label id = "regNorth"/>

  <s:Label text=", Region South : " height="100%" verticalAlign="middle"/>

  <s:Label id = "regSouth"/>

  <s:Label text=", Region East : " height="100%" verticalAlign="middle"/>

  <s:Label id = "regEast"/>

  <s:Label text=", Region West : " height="100%" verticalAlign="middle"/>

  <s:Label id = "regWest"/>

  </mx:HBox>

  </mx:VBox>

  </mx:Box>

  </mx:ApplicationControlBar>

  -->

  <mx:Box>

  <mx:VBox>

  <mx:HBox width="1545" height="177">

 

  <mx:AdvancedDataGrid creationComplete="gc2.refresh();adg2.dataProvider = gc2;"  width="100%" height="100%" id = "adg2" visible = "false"

  disclosureClosedIcon="@Embed(source='assets/icons/application_side_expand.png')"

  disclosureOpenIcon="@Embed(source='assets/icons/application_put.png')"

  folderOpenIcon="@Embed(source='assets/icons/group_link.png')"

  folderClosedIcon="@Embed(source='assets/icons/group_link.png')"

  defaultLeafIcon="@Embed(source='assets/icons/arrow_right.png')"

  >

 

  <mx:dataProvider>

 

  <mx:GroupingCollection2 source="{resultData}" id="gc2" childrenField="undefined" >

  <mx:Grouping>

  <mx:GroupingField name="DISPLAY_NAME">

  <mx:summaries>

  <mx:SummaryRow summaryPlacement="group">

  <mx:fields>

  <mx:SummaryField2 label="Total Transporters" dataField="sDescription" summaryOperation="COUNT"/>

  <mx:SummaryField2 dataField="totalVehicles" summaryOperation="SUM"/>

  <mx:SummaryField2 dataField="reportingVehicles" summaryOperation="SUM"/>

  <mx:SummaryField2 dataField="nci" summaryOperation="SUM"/>

  <mx:SummaryField2 dataField="uptimePercentage" summaryOperation="AVG"/>

  <mx:SummaryField2 dataField="billingAmount" summaryOperation="SUM"/>

  <mx:SummaryField2 dataField="billingAmount" summaryOperation="SUM"/>

  <!-- <mx:SummaryField label="Approvals" dataField="DISPLAY_NAME" summaryFunction="mySummaryFunction"/> -->

  </mx:fields>

  </mx:SummaryRow>

 

  </mx:summaries>

  </mx:GroupingField>

  </mx:Grouping>

 

  </mx:GroupingCollection2>

  <!-- <mx:AdvancedDataGridColumn headerText="Approvals" 

    editorDataField="status"

    labelFunction="approvalLabelFunction"/> -->

  </mx:dataProvider>

  <mx:groupedColumns>

  <mx:AdvancedDataGridColumn dataField="sDescription"

    headerText="Transporter Name">

  <mx:itemRenderer>

  <fx:Component>

 

  <mx:LinkButton label="{new XML(this.data).sDescription}"

    click="linkbutton2_clickHandler(event)"

    textAlign="left">

 

  <fx:Script>

  <![CDATA[

  import mx.controls.Alert;

  protected function linkbutton2_clickHandler(event:MouseEvent):void

  {

  trace(new XML(this.data).sDescription);

  outerDocument.userName = new XML(this.data).sDescription;

  outerDocument.userGroup = new XML(this.data).iUserGroup;

  outerDocument.displayName = new XML(this.data).DISPLAY_NAME;

  outerDocument.openDetailedForUser();

  }

  ]]>

  </fx:Script>

 

  </mx:LinkButton>

 

  </fx:Component>

  </mx:itemRenderer>

 

  </mx:AdvancedDataGridColumn>

  <mx:AdvancedDataGridColumn dataField="Total Transporters"

   headerText="Total Transporters"/>

  <mx:AdvancedDataGridColumn dataField="totalVehicles"

    headerText="Total Vehicles"/>

  <mx:AdvancedDataGridColumn dataField="reportingVehicles"

    headerText="Reporting Vehicles"/>

  <mx:AdvancedDataGridColumn editorDataField="nci"

    labelFunction="nciLabelFunction"

    headerText="Needing Customer Input"/>

  <mx:AdvancedDataGridColumn dataField="uptimePercentage"

    headerText="Uptime Percentage"/>

  <mx:AdvancedDataGridColumn dataField="billingAmount"

   headerText="Billing Amount"/>

  <mx:AdvancedDataGridColumn dataField="billingAmount" headerText="Approvals"/>

  <!-- <mx:AdvancedDataGridColumn visible="false" dataField = "ApprovalStatus" headerText="DummyApprovals"/> -->

 

 

 

  </mx:groupedColumns>

 

  </mx:AdvancedDataGrid>

  <mx:AdvancedDataGrid id = "Approvals">

  <mx:groupedColumns>

  <mx:AdvancedDataGridColumn headerText="Approvals">

 

  </mx:AdvancedDataGridColumn>

  </mx:groupedColumns>

  </mx:AdvancedDataGrid>

  </mx:HBox>

  </mx:VBox>

  </mx:Box>

 

  </mx:VBox>

 

 

 

 

 

 

 

  <mx:HBox horizontalAlign="right" width="100%" paddingRight="15">

  <mx:Image id="exportButton"

   source="@Embed('assets/icons/Excel-16.gif')"

   useHandCursor="true"

   buttonMode="true"

   click="BillingByHierarchyExcel.exportToExcel(adg2,'BillingCumulativedata.xls')"

   visible="true"/>

  </mx:HBox>

 

 

 

</s:Application>

Error creating native installer file: could not generate timestamp

$
0
0

Trying to build AIR Native installer  getting error

 

"Error creating native installer file: could not generate timestamp: Remote host closed connection during handshake"

 

Flash Builder 4.6

Windows 7 64

 

Was Ok yesterday but today have tried from two different offices in different locations and have the same problem

 

Is the timestamp server down, how can I resolve the issue, customers waiting for code release.

Error 5 when opening Flash Builder 4.7

$
0
0

When opening Flash Builder 4.7 I receive the next error:

 

Please uninstall and reinstall the product.

 

If this problem still occurs, please contact Adobe techinical support for help, and mention the error code shown at the bottom of this screen.

 

Error: 5

 

------------------------------------

I've uninstalled and reinstalled it, but no luck. Also verified the permissions for both the Adobe PCD folder and the SLStore folder.

 

OS: Windows 7 x64.

How to save library symbols' class files in packages that are not the default package?

$
0
0

Hi,

 

I perform the following in Flash CS5 with Flash Builder 4

 

1) Create a new library symbol.

2) Do a RightClick->Properties on the new symbol

3) Check the options for "Export for ActionScript" and "Export in frame 1".

4) I write a new name for my class "Class1" and click on the pencil icon "edit class definition" to edit the class.

 

At this point my FlashBuilder 4 takes over and opens the "New ActionScript" dialog.

 

4) I then click on Package-Browse to select a package e.g. com.mycompany.myfiles as the new class destination.

 

The as file is created as com.mycompany.myfiles/Class1.as as everything seems just fine.

 

5) I close the ActionScript file and back in Flash CS5 I RightClick on the symbol and select "Edit Class".

 

At this time, FB4 suggests again to create the file, ignoring the fact that I already created it before.

 

 

Do you know of a way I can make Flash CS5 remember where I created the file?

 

 

Thanks.


License Key issue

$
0
0

I have a developer that has left our company.  He was assigned a license before I joined, and nobody here can find the license key that he had.  I can access his system, and select Deactive Flash Builder to reuse the license, but is there a way to find the actual license key that it was using?  It does not appear to be shown in the About screen, or anywhere else I see.

Load a PDF in StageWebView - iOS

$
0
0

I am trying to create an iOS app that loads my companies product catalogue into a webview stage. I cannot figure out after a lot of google how to access this local file, although external files load fine. I'm trying to use the "file:" command. I'm doing this in flash builder.

 

<![CDATA[

 

 

                              import flash.display.MovieClip;

                              import flash.media.StageWebView;

                              import flash.geom.Rectangle;

 

                              var webView:StageWebView = new StageWebView();

                              var yOffset = 47

                              {

                                             public function FestoKP() {

                                                       webView.stage = this.stage;

       webView.viewPort = new Rectangle( 0, yOffset, stage.stageWidth, stage.stageHeight - yOffset);

       webView.loadURL( "file:///asset/Festo_KP_Catalogue.pdf" );

                                                       closeBtn.visible = true

       }

       public function Close() {

       webView.stage = null;

       closeBtn.visible = false;

       }

                              }

Signing native installer with Apple's Developer ID certificate

$
0
0

I am trying to sign my AIR OSX application using Flash Builder's 4.6 "Export Release Build" option. For this purpose I am using Apple's "Developer ID Application" certificate to be able to install and run my app on OSX 10.8 Mountain Lion.

 

After identifying correct certificates in the chain and exporting them all to p12 format (I chose "Developer ID Application", "Developer ID Certification Authority" and "Apple Root CA" within Keychain Access application on my Mac) I got the following error: "Error creating native installer file: Packaging failed. Make sure your computer time is in sync and your certificate is valid".

 

Does anybody has idea how to successfully sign AIR application using Developer ID certificates?

Where can I download flash builder 4.7 STANDARD?

$
0
0

I can get premium very easily off of the website, but it will not let me activate with my 4.7 standard key.  I need flash builder 4.7 standard.  After hours of searching I have not found any way to download it.  This should be easy!

'Finding Occurrences.' has encountered a problem.

$
0
0

Flash Builder 4.7 started giving errors today when it is using the Finding Occurrences.  The only thing I can find online is that people ignore the error.  This is unacceptable as the error just keeps occurring and Flash builder no longer will find occurrences within the document open.

 

 

'Finding Occurrences.' has encountered a problem.

An internal error occurred during: "Finding occurrences".

 

Details provides:

 

An internal error occurred during: "Finding occurrences".

java.lang.NullPointerException

Viewing all 70427 articles
Browse latest View live


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