Apache Flex

Apache Flex is a highly productive, open source application framework for building and maintaining expressive web applications that deploy consistently on all major browsers, desktops and devices (including smartphones, tablets and television). It provides a modern, standards-based language and programming model that supports common design patterns suitable for developers from many backgrounds. Flex applications can be deployed to the Adobe Player in the browser, Adobe AIR on desktop and mobile devices or to native Android, iOS, Windows or Mac applications.

Share tech news, updates, or what's on your mind.

Sign up to Post

I have a string which it could have any char or number in it but what I want is to only retrieve the ip address somewhere in the string. how do I do it

ex:
khjjywdfb39i78*&YB192.168.1.1hgiuh

so to get the 192.168.1.1 out?
0
Hello everybody,

I really need your help. Personnel am with the following problem:
I have a datagrid where I have a column called: Column 2, which has a fixed number and the rest is with editable columns = true so that my client can enter data.

I wish every since I could manually inserted to call a funcion where I make a comparison. That line I'm changing the values ¿¿inserted into the line can not be greater than the value of the column: Column 2

and this was done for each sample line

Line 1: Fixed number ==> 85
I can get editable columns in column 3: value = 20
I can get editable columns in column 4: value = 50
I can get editable columns in column 5: value = 100

when the value is greater than the column Column 2 emits an alert.

I'm using Flex 3

CODE:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:ArrayCollection id="arrColl">
        <mx:source>
            <mx:Array>
                <mx:Object label="Student A" score="85" />
                <mx:Object label="Student B" score="48" />
                <mx:Object label="Student C" score="71" />
                <mx:Object label="Student D" score="88" />
                <mx:Object label="Student E" score="24" />
                <mx:Object label="Student F" score="64" />
                <mx:Object label="Student G" score="76" />
                <mx:Object label="Student H" score="76" />
                <mx:Object 

Open in new window

0
I want to editname on the Dialogbox which is opened at the Event.OPEN action on the actionListener of the FileReference object in FLEX
want to edittext where "select location for download by 172.16.10.67"
Dialog-box.bmp
0
Hi guys,

I need open one page html into the TitleWindow the Adobe flex3

how cant implementation this idea?
0
I made this easy component with just a few properties. The issue is that after I compile the flash file, I don't see the properties in the property panel any more. It does still work but I can't modify it since it does not show the property anymore.

Any tip?
0
hi,

i was wondering how do i edit an swc file or how to i output a .fla to an swc file?
0
C:\flash\Projects\FM104\Audio Player\src\EqualizerAnimation.as(63): col: 4 Error: Access of undefined property TweenLite.
C:\flash\Projects\FM104\Audio Player\src\EqualizerAnimation.as(7): col: 11 Error: Definition gs:TweenLite could not be found.
C:\flash\Projects\FM104\Audio Player\src\EqualizerAnimation.as(94): col: 4 Error: Access of undefined property TweenLite.
C:\flash\Projects\FM104\Audio Player\src\EqualizerAnimation.as(93): col: 4 Error: Access of undefined property TweenLite.
C:\flash\Projects\FM104\Audio Player\src\EqualizerAnimation.as(92): col: 4 Error: Access of undefined property TweenLite.
C:\flash\Projects\FM104\Audio Player\src\EqualizerAnimation.as(91): col: 4 Error: Access of undefined property TweenLite.
C:\flash\Projects\FM104\Audio Player\src\EqualizerAnimation.as(91): col: 4 Error: Access of undefined property TweenLite.
C:\flash\Projects\FM104\Audio Player\src\EqualizerAnimation.as(89): col: 4 Error: Access of undefined property TweenLite.
C:\flash\Projects\FM104\Audio Player\src\EqualizerAnimation.as(88): col: 4 Error: Access of undefined property TweenLite.
C:\flash\Projects\FM104\Audio Player\src\EqualizerAnimation.as(68): col: 4 Error: Access of undefined property TweenLite.
C:\flash\Projects\FM104\Audio Player\src\EqualizerAnimation.as(67): col: 4 Error: Access of undefined property TweenLite.
C:\flash\Projects\FM104\Audio Player\src\EqualizerAnimation.as(66): col: 4 Error: Access of undefined property TweenLite.

Open in new window

0
We have a flash player and i would like to add a facebook icon and twitter icon to it. we used to have flash developers but now we don't so i have been asked to get this to work so i have downloaded the swf decompiled it and opened it in flash and have imported the icons.

I thought i could then just republish the swf but it is giving me an error

1084: Syntax error: expecting identifier before rightparen.

Now, my skills are very limited when it comes to flash so i have uploaded all the nescessary files to http://www.hobartsinranelagh.com/audio/audioplayer.zip

Help would be greatly appreciated
0
I would like to be able to edit our flash player ( i work for a radio station) i have a copy of the source files but i dont know if it was built in flash (or flex) i have never used flex..and i have tried to decompile it using Sothink SWF Decompiler but cant decompile it and edit it.

I have it uploaded it to http://www.hobartsinranelagh.com/audio/audioplayer.zip if anyone could help me i would really grateful
0
I want to know if i can connect air running on ipad to mssql
if can.
can point in the right direction
0
Greetings.

Can someone please assist with showing me how to put a vertical scroll bar on a rich text area. I'm using flash builder 4.6.

Thanks

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

text.mxml file
------------------

<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                                 xmlns:s="library://ns.adobe.com/flex/spark"
                                 xmlns:mx="library://ns.adobe.com/flex/mx">
      <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
      </fx:Declarations>
      <fx:Script>
            
            <![CDATA[
                  import spark.utils.TextFlowUtil;
                  
                  XML.ignoreWhitespace = false;
            ]]>
                  
      </fx:Script>
      <fx:Declarations>
            <fx:XML id="text1" source="text1.xml" />
      </fx:Declarations>
      
      <s:RichText id="richTxt" width="338" height="167" horizontalCenter="0"
                        textFlow="{TextFlowUtil.importFromXML(text1)}"
                        verticalCenter="-8"/>

</s:WindowedApplication>

---------------
0
Hi Experts,

Here is my project i need help. I Have a short movie in FLV format. I need to add some frames at the beginning and at the end, eventually i will add small movies in the same format. I am using Alligator software which has limited options and is not full compatible with AS3. My question is what AS3 code i shall use to load a movie.
What other software you recommend for this job?

Regards,
Raul M.
0
Hello everybody,

I would like to position the window on the screen as TitleWindow image attached to an application because I'm using is necessary that he is to be called exactly that position. How could he do?
TitleWindow.jpg
0
Greetings.

How do I add a 'click' sound on mouseover that will apply to all buttons in my flex project? Looking forward to your responses.

Thanks
0
friends

It is an urgent problem'm in my flex command when compiling an application in Flex3 gives the error image attached.

I really need help
ERRO-FLEX.jpg
0
I swapped out a customers SATA drive for a SSD via an imaging process.

All worked well except for an older Adobe CS2 suite that he is using.

I came up indicating that he had a licensing issue... I assume it is due to the HD ID.

Adobe won't give him the time of day...

Any thoughts?
0
I'd just like to know if this is possible.  I've seen plenty of examples for GPS on iOS and Android but not for a Windows tablet.

Thanks.
0
		private function labelFunction_VENCIMENTO(item:Object,column:AdvancedDataGridColumn):String{
			
				var Dia:String;
				var Mes:String;
				var Ano:String;
				var Junta:String;
				
				Dia = item[column.dataField].substr(8,2);
				Mes = item[column.dataField].substr(5,2);
				Ano = item[column.dataField].substr(0,4);
				Junta = Dia+"/"+Mes+"/"+Ano;
				
				return Junta;
			
			}

Open in new window

<mx:AdvancedDataGrid width="995" height="331" dataProvider="{QuarterResults}" id="colgrouped_adg" x="10" y="71">
						 	 <mx:columns>
						 	 	      <mx:AdvancedDataGridColumn dataField="INQUILINO"/>
						 	 	      <mx:AdvancedDataGridColumn dataField="VENCIMENTO" labelFunction="labelFunction_VENCIMENTO"/>
						 	 	      <mx:AdvancedDataGridColumn dataField="VALOR" />
						 	 	      <mx:AdvancedDataGridColumn dataField="STATUS"/>
						 	 	      <mx:AdvancedDataGridColumn dataField="PAGAMENTO"/>
						 	 	      <mx:AdvancedDataGridColumn dataField="PROPRIETARIO"/>
						 	 	      <mx:AdvancedDataGridColumn dataField="COD_IMOVEL"/>
						 	 </mx:columns> 
						 	 <mx:rendererProviders>
						 	 	<mx:AdvancedDataGridRendererProvider dataField="summary" columnSpan="0" columnIndex="0" renderer="SummaryRenderer" />
						 	 </mx:rendererProviders> 	 
						 </mx:AdvancedDataGrid>

Open in new window

Hello guys I am having a problem in Flex 3. I'm trying to use to format the date labelFunction coming Mysql Bank to the customer orders it can direct the AdvancedDataGrid. But my problems start when I try to use (substr) to format the date. When I take the substr everything works again when I put it returns me error.

See my script:

When I put it this way:  return item[column.dataField];

It works but when I try to put the right way gives error
0
Hello,

Personally I have a DataGrid, and this data grid contains some fields, I would like to modify or enter a value in column "Quantity2" I automatically calculate Quantity2 + Price column and return the value in column "Result" how could I make it friends?



<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" 
   initialize="initData()">
   <mx:Script>
   <![CDATA[
   	import mx.controls.Alert;
      import mx.collections.*;
      private var DGArray:Array = [
         {Artist:'Pavement', Album:'Slanted and Enchanted', Price:10},
         {Artist:'Pavement', Album:'Brighten the Corners', Price:20}];
         
      [Bindable]
      public var initDG:ArrayCollection;
      public function initData():void {
         initDG=new ArrayCollection(DGArray);
      }
      
      
      
      
   ]]>
   </mx:Script>

   <mx:DataGrid id="myGrid" width="350" height="200"  dataProvider="{initDG}" editable="true" >
      <mx:columns>
         <mx:DataGridColumn dataField="Album"  editable="false" />
         <mx:DataGridColumn dataField="Price"  editable="false" />
         <mx:DataGridColumn dataField="Quantity2"  editable="true"/>
         <mx:DataGridColumn dataField="Result"  editable="false" />
      </mx:columns> 
   </mx:DataGrid>
</mx:Application>

Open in new window

0
Hello,

I am crating an application purely with Actionscript 3.0, and I have some vector assets that I want to be loaded at runtime.  What is the best vector format to use for this (EPS,PDF,SVG,AI,etc.) and what is the preferred method of loading them onto the stage for use/manipulation.  The manipulations will be simple scaling and rotation.

Thank you for your help.
0
guys

I need to know how I can work with formatting online datagrid. Example I have a datagrid that brings the database the following records:

DATE OF PURCHASE - PURCHASE VALUE - NAME OF BUYER

But I bring the mysql data as follows:

DATE OF PURCHASE - PURCHASE VALUE - NAME OF BUYER
09/10/2012                  1547.89                      julio
10/13/2012                   20.89                       London
10/14/2012                    10:00                         john
09/10/2012                    300.89                        carlos


I wonder how I could implement a training date within the flex because when I format in php I can not sort of flex within the order gets messed up. I wanted to know how to use labelFunction = ""
0
staff,

I work with PHP + Flex 3, but I need to mount a clustered AdvancedDataGrid. I do not know how to group the data side php how I could implement this project?
0
Hi,

There were several good AS2 version of XML to Object class but I don't find anything good for AS3.  Does anybody know of good one for AS3/Flex?

Thanks.

CyanBlue
0
Hi,

I have as3 and I am using flashbuilder.
How do I get the debugger working so I can use trace commands?

How do I get the as3 project to load in a flash player instead of a browser when i run the project.
0
I habe flashbuilder 4.6 and have created a flash game that works fine.

How do I publish this to the web because I did project->export release build then clicked on the html file in the html-release folder and nothing. I placed image file in same dir as well so it isnt working for me.
0

Apache Flex

Apache Flex is a highly productive, open source application framework for building and maintaining expressive web applications that deploy consistently on all major browsers, desktops and devices (including smartphones, tablets and television). It provides a modern, standards-based language and programming model that supports common design patterns suitable for developers from many backgrounds. Flex applications can be deployed to the Adobe Player in the browser, Adobe AIR on desktop and mobile devices or to native Android, iOS, Windows or Mac applications.

Top Experts In
Apache Flex
<
Monthly
>