Re: [flexcoders] Re: What's up Adobe?

2010-02-03 Thread Gautam P
I support you guys!

On Wed, Feb 3, 2010 at 9:32 PM, Gregor Kiddie 
gregor.kid...@channeladvisor.com wrote:



  “Yes, I can see your point. I think the two of us are the only people who

 think that the Flex brand is weakened by the Flash moniker.”



 No, there are more of us... We just aren’t as vocal!



 Gk.
  



Re: [flexcoders] Next version of Flex

2009-11-30 Thread Gautam P
have a feeling that it would be out in jan 2011, though their sales team
will be pushing for dec 2009 release...

On Mon, Nov 30, 2009 at 6:05 PM, Christophe
christophe_jacque...@yahoo.frwrote:



 Hello,

 When will be available the next version of flex : flash builder ?

 Thank you,
 Christophe,

  



Re: [flexcoders] Should I buy Lynda.com Flex 3 essential training to learn Flex?

2009-11-25 Thread Gautam P
You should start with Flex 4 sdk documentation and developer guide pdfs from
Adobe.


On Thu, Nov 26, 2009 at 6:12 AM, Kevin Mulvihill kbmulvih...@gmail.comwrote:



 I am a member of lynda.com and have also seen the Total Training Flex
 training. Of the two, I preferred the Total Training product, but neither is
 for REAL beginners. Lynda does have a Flash title on programming that’s put
 together for designers. That’s a good starting place because Flash uses
 Actionscript just like Flex.

 There’s also www.freeflextraining.com. You might try there first, since
 it’s free, and see how much of it you understand.

 Good luck!
 Kevin



 On 11/25/09 4:24 PM, fred44455 fred44...@yahoo.com wrote:






 I wonder that if I buy Flex Essential training from Lynda.com I will learn
 the material easier? I have no programming background. Thx for your time





   



[flexcoders] line series - resize issue

2009-09-03 Thread Gautam P
Hi,

I have a linechart within which there are a lot of line series. When I hide
a line series I want the line chart to resize/adjust to the visible line
series only.
This doesn't happen if I make the series I want to hide using visible=false
and includeInLayout=false. However the linechart does resize if I update the
dataprovider. Is there any way to resize the linechart with only visible
lineseries without updating the dataprovider?

Thanks,
Gautam.


Re: [flexcoders] css style and filter

2009-08-24 Thread Gautam P
It is not possible to define filter in css.
However you can create your own custom component and define styles which can
then be used to construct the filter object by overriding layoutChrome()
method.
Check the below url to create custom styles:
http://www.brooksandrus.com/blog/2008/05/26/adding-styles-to-custom-flex-components/

Regards,
Gautam.

On Mon, Aug 24, 2009 at 2:35 PM, Joe Lam joe@moni-media.net wrote:


 Is it possible to define filter in css?

 I have 2 css files, each for 1 skin. where I will export my app in 2
 versions.
 one of the Text controls got a glow filter. I wonder how can I do this via
 CSS without adding custom codes to the Text control.

 thanks


 Joe
 --
 View this message in context:
 http://www.nabble.com/css-style-and-filter-tp25112748p25112748.html
 Sent from the FlexCoders mailing list archive at Nabble.com.



 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location:
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
 Links






Re: [flexcoders] DataGrid RollOver Trashcan like Pixus

2009-08-23 Thread Gautam P
Hi,
You can either dispatch an event to your parent container with information
about the item and let the parent container update the properties of each
column.
Also you can update the data in the dataprovider for that item and override
the setter function in the itemrenderer to update the ui.
Regards,
Gautam.

On Sun, Aug 23, 2009 at 8:57 PM, jdizowat jasonharr...@gmail.com wrote:

 I am really struggling with this idea I got from an air app.  I recently
 downloaded the air app Pixus - http://code.google.com/p/pixus/

 If you open the preferences window and hover over a datagrid row, a
 trashcan becomes visible so you can delete the row you are hovering over.
  It then hides when you rollout of the row.  This is on rollover of any
 column in the row.  I have a itemRenderer to show my delete button and I can
 show/hide it on rollover of it's own column.  What I cannot figure out is
 how to show/hide the button in the itemRenderer column when I rollover
 another column in the same row.  I can't seem to figure out how to get the
 row object, only the row index.  Has anyone done this in flex?

 Thanks



 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location:
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
 Links






Re: [flexcoders] Difference between adding child at initialization and when after creationComplete event is dispatched

2009-08-23 Thread Gautam P
Call invalidateDisplayList() on gridItem.

Regards,
Gautam.

2009/8/23 Sébastien Tromp sebastien.tr...@gmail.com



 Hello everyone,

 I have a difference in behaviour using Flex which I cannot understand (I am
 rather new to this). Here is the thing:

 I have a FarmBoard.mxml component that extends Canvas, which contains:

 mx:Grid x=12 y=70 width=448 height=271
 mx:GridRow width=100% height=100%
 farm:FarmGridItem styleName=gridItem width=100%
 height=100% id=gridCell2/
 farm:FarmGridItem styleName=gridItem width=100%
 height=100% id=gridCell5/
...
 /mx:GridRow
 /mx:Grid

 The FarmGridItem is an ActionScript component defined like this:

 public class FarmGridItem extends GridItem
 {
 private var _innerCanvas:Canvas;

 public function FarmGridItem()
 {
 trace(this + \t Initializing farm grid item);
 super();

 var canvas1:Canvas = new Canvas();
 canvas1.percentWidth = 100;
 canvas1.percentHeight = 100;
 canvas1.setStyle(backgroundColor, 0xFF);
 canvas1.setStyle(backgroundAlpha, 0.0);
 canvas1.addEventListener(DragEvent.DRAG_ENTER, onDragEnter);
 super.addChild(canvas1);

 _innerCanvas = new Canvas();
 _innerCanvas.percentWidth = 90;
 _innerCanvas.percentHeight = 90;
 _innerCanvas.setStyle(horizontalCenter, 0);
 _innerCanvas.setStyle(verticalCenter, 0);
 canvas1.addChild(_innerCanvas);

 // For debugging purposes
 var _innerCanvas2:Canvas = new Canvas();
 _innerCanvas2.setStyle(backgroundColor, 0xFF);
 _innerCanvas2.setStyle(backgroundAlpha, 1.0);
 this.addChild(_innerCanvas2);
 }

 override public function
 addChild(child:DisplayObject):DisplayObject
 {
 trace(this + \t Adding child:  + child);
 (child as UIComponent).percentHeight = 90;
 (child as UIComponent).percentWidth = 90;
 return _innerCanvas.addChild(child);
 }

 Basically its role is to create smaller objects on the main grid (I did
 not find another way to make sure that everytime I add an object to my main
 Grid, it takes only, say, 90% of the cell space).
 Please note the folowing piece of code in the constructor that I have added
 for debugging purposes.

 var _innerCanvas2:Canvas = new Canvas();
 _innerCanvas2.setStyle(backgroundColor, 0xFF);
 _innerCanvas2.setStyle(backgroundAlpha, 1.0);
 this.addChild(_innerCanvas2);

 With this code, I get a grid full of white cells (which is what I want). If
 I remove the above piece of code to call it from another place  (this
 function gets called after the creationComplete event is dispatched; I use
 it to initialize the data on each of my grid cells):

 private function initializeFarm():void
 {
 var gridItem:FarmGridItem =
 FarmGridItem(getFarmView()[gridCell5]);
 if (gridItem != null)
 {
 // We really go through this piece of code
 var _innerCanvas2:Canvas = new Canvas();
 _innerCanvas2.setStyle(backgroundColor, 0xFF);
 _innerCanvas2.setStyle(backgroundAlpha, 1.0);
 gridItem.addChild(_innerCanvas2);
 }
 }
 }

 However, after the above code executes, the background of my cells
 stubbornly keeps on remaining transparent (even though I have a log that
 says FarmBoard226.Grid237.GridRow238.gridCell5 Adding child:
 CanvasView375)
 I do not know if I have provided enough information, but does anyone have a
 clue on why the behaviour is different?

 Thanks a lot,
 --
 Sebastien Tromp


 


Re: [flexcoders] Re: How to use XML file as dataProvider for s:List

2009-08-20 Thread Gautam P
if you need to load an external xml file from the file system rather than
from the server, compile your flex project using the option *
-use-network=false*. however, compiling in this fashion will not allow the
swf to make calls to the server.

On Thu, Aug 13, 2009 at 1:57 AM, mattcalthropmcalth...@gmail.com wrote:
 Thanks Gautam.

 I think we're almost there... except: I want the XML to reside in an
external file, not as a string in the AS3 code.

 Is that easy to do?

 cheers,

 Matt

 --- In flexcoders@yahoogroups.com, Gautam P p.gau...@... wrote:

 var imageXML:XML = new XML('imageListimage
location=path/to/image1.jpg/'+

 'image location=path/to/image2.jpg//imageList');
 var s:List = new List();
 s.dataProvider = imageXML.image; // this give a XMLList (e4x expression)
 s.labelfield = @location; // to display location in the list. to
 access attribute prefix @ symbol

 Regards,
 Gautam.

 On Wed, Aug 12, 2009 at 5:09 PM, mattcalthropmcalth...@... wrote:
  Hi all.
 
  I am using FB4, and want to specify an XML file to be used as the
dataProvider for an s:List object.
 
  However, I just can't seem to work out how to do it.
 
  Have read manuals, done google searches, checked forums - all to no
avail.
 
  Can anyone help me please?
 
  Format of XML file is thus:
 
  ?xml version=1.0 encoding=ISO-8859-1?
  imageList
   image location=path/to/image1.jpg /
   image location=path/to/image2.jpg /
   !-- ... --
  /imageList
 
  many thanks in advance!
 
  Matt
 
 
 
  
 
  --
  Flexcoders Mailing List
  FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
  Alternative FAQ location:
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
  Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
 
 
 
 




 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location:
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links






Re: [flexcoders] How to run an AIR app in headless mode?

2009-08-12 Thread Gautam P
I have done this on a linux machine and it works. air app can run in
headless mode, but not your flash app (on ur browser). you need to
disable GUI on linux and then have xvfb installed to get the air app
working in headless mode.

On Wed, Aug 12, 2009 at 6:15 AM, Sonia Guptasoniagup...@yahoo.com wrote:
 I have to call an AIR app from my Flash app but in headless mode.. I know the 
 command of FLFile.runCommandLine (but what will go here?);

 P.S: I am running this code on Windows machine.



 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location: 
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links






Re: [flexcoders] How to use XML file as dataProvider for s:List

2009-08-12 Thread Gautam P
var imageXML:XML = new XML('imageListimage location=path/to/image1.jpg/'+

'image location=path/to/image2.jpg//imageList');
var s:List = new List();
s.dataProvider = imageXML.image; // this give a XMLList (e4x expression)
s.labelfield = @location; // to display location in the list. to
access attribute prefix @ symbol

Regards,
Gautam.

On Wed, Aug 12, 2009 at 5:09 PM, mattcalthropmcalth...@gmail.com wrote:
 Hi all.

 I am using FB4, and want to specify an XML file to be used as the 
 dataProvider for an s:List object.

 However, I just can't seem to work out how to do it.

 Have read manuals, done google searches, checked forums - all to no avail.

 Can anyone help me please?

 Format of XML file is thus:

 ?xml version=1.0 encoding=ISO-8859-1?
 imageList
  image location=path/to/image1.jpg /
  image location=path/to/image2.jpg /
  !-- ... --
 /imageList

 many thanks in advance!

 Matt



 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Alternative FAQ location: 
 https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
 Search Archives: 
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links






Re: [flexcoders] Testing socket... [1 Attachment]

2009-07-02 Thread Gautam P
Hope this helps...

On Thu, Jul 2, 2009 at 7:27 PM, Marvin Froeder velo...@gmail.com wrote:



 Hi,
 I have an APP that connects to a server using socket...  but, I would like
 to unit test it w/o connecting the real server...  is there any way I can
 create a flex server socket? Maybe using AIR?  I found no way so far.


 VELO


 



[flexcoders] how to localize pageTitle

2009-02-10 Thread Gautam P
Hi,

Following is the code I tried out:

mx:Application pageTitle={resourceManager.getString('AppMessages',
'GREETING')} xmlns:mx=http://www.adobe.com/2006/mxml;
mx:Metadata
[ResourceBundle(AppMessages)]
/mx:Metadata


I am not able to localize the application's pageTitle property string. Also
the documentation says we can't use actionscript to update this property.
Any idea what I am doing wrong...

Thanks,
Gautam.