[flexcoders] Re: dynamic dimension of the page

2009-07-01 Thread anitha2324
Hi thanks alot , It is a great , i have found a great information in your reply as well as in the link , i have downloaded the examples and i have tested them. that is what i was looking for ... Thank. --- In

[flexcoders] Re: item renderer in ComboBox not consistent

2009-07-01 Thread Mic
Hi Jeff, what this does is set the background color of the renderer's VBox and therefore the line shading to gray if the label text begins with an asterisk we want to highlight these paricular rows in the list. I know what you are saying about creationComplete() only running once, but I

[flexcoders] Re: ListEvent itemRenderer field null when parent is out of view

2009-07-01 Thread Tim Hoff
Here's another work-around Brian: public function handleTreeItemChange(event:ListEvent):void { callLater(getItemRenderer); } public function getItemRenderer():void { debugTextArea.text = ListEvent's itemRenderer: + testTree.itemToItemRenderer(testTree.selectedItem); } -TH --- In

[flexcoders] Re: itemrenderer in datagrid does not refresh

2009-07-01 Thread Tim Hoff
Sorry if this comes through twice. Instead of using the creationComplete and dataChange events, add this to the itemRenderer's script: override public function set data(value:Object):void { super.data = value; if ( value != null ) checkEmail(); } -TH --- In

[flexcoders] Button with skin

2009-07-01 Thread christophe_jacquelin
Hello, I am searching example on how to make a gradient skin on a button with an image for the button. Thank you, Christophe,

Re: [flexcoders] The Blueprint Eclipse plug-in is live on Adobe Labs

2009-07-01 Thread Sam Lai
I'm surprised at the lack of reaction for this on this list. I'm impressed - looks to be quite useful; just need to add it into my workflow. The examples are good when dealing with completely unfamiliar classes, but I often forget what a certain property/method in a certain class does/returns,

[flexcoders] LCDS and JMS topics

2009-07-01 Thread niamath basha
hi all, I have an Active MQ server which will publish messages ( STOCK.NYSE.GOOG, STOCK.NYSE.IBM.) and in Flex (using LCDS) i have to dynamically subscribe for STOCK.NYSE.GOOG or STOCK.NYSE.IBM i hve to get data for the subscribed topics only but now i am not able to subscribe for specific

Re: [flexcoders] Re: item renderer in ComboBox not consistent

2009-07-01 Thread Jeffry Houser
Use the dataChange event. Even if the data changes, the renderer is not re-created and creationComplete will not run again. Mic wrote: Hi Jeff, what this does is set the background color of the renderer's VBox and therefore the line shading to gray if the label text begins with an

[flexcoders] Audio recording using AIR

2009-07-01 Thread Kevin Carlson
Hello, I'd like to develop an AIR application which allows users to make audio recordings on their PC with a USB microphone, then either store the audio files locally (for later upload) or stream using Flash Media Server or Red5. Is this feasible?  Any commercial products to facilitate this? 

[flexcoders] Re: Reading a 2D barcode

2009-07-01 Thread markgoldin_2000
A quick Googling: http://www.download3k.com/System-Utilities/Automation-Tools/Download-bcWebCam-Read-Barcode-with-Web-Cam.html That means that yes, you can read barcodes with a web cam and the barcode gets entered into an active appication's active field. Just like if you would read a barcode

[flexcoders] Can I abort a print job after start() has returned?

2009-07-01 Thread Jeffrey EF Friedl
Using flash.printing.PrintJob, after start() I check to see whether the user has set the exact printing parameters needed for a successful print, and if not, I'd like to abort the print and send the user an Alert about the print requirements. However, I can't figure out how to kill the print

Re: [flexcoders] Audio recording using AIR

2009-07-01 Thread Jeffry Houser
I'm not sure of complete specifics, but I thought Ribbit supported something like this Wasn't sure if they support computer mics or you have to use a phone. AudioSpike may support something like this, I'm not sure. I thought Digimix also did this sort of thing, but I have no idea if it

[flexcoders] How apply a closeButtonSkin style to flex Application

2009-07-01 Thread j2me_soul
I use Flash make a Flex skin. Everythins is fine, but only the closeButtonSkin style can't apply to the Titlewindow component. I import the Flex skin swc into the project. The CSS is produced automatically. I didn't change anything. The code is: TitleWindow { borderSkin:

[flexcoders] Re: how can you make the icon in an AdvancedDataGridGroupItemRenderer accept clicks?

2009-07-01 Thread valdhor
I'm glad you found an easy way to get the functionality you wanted. According to the docs, mouseEnabled defaults to true. I wonder why the ADGGIR constructor sets it to false? Also, why don't the docs reflect this? I just wanted to say that if you still wanted the functionality from

[flexcoders] Re: date format according to the location client Browser

2009-07-01 Thread valdhor
date.toLocaleString ? --- In flexcoders@yahoogroups.com, mhbmarcos mhbmar...@... wrote: Hi!!!, how to display date values with the format according the location client browser?. My app is web. Regards

[flexcoders] UITextField alignment question

2009-07-01 Thread ACasualObserver
I need to place a text in a ActionScript 3 project. The supplied X and Y is left and baseline coordinates. I use UITextField and subtracted its baselinePosition from Y. This places the text very close to where it should be vertically but not the exact location (text displayed a little higher).

Re: [flexcoders] UITextField alignment question

2009-07-01 Thread Daniel Freiman
Are you accounting for the 2 pixel border of the textfield? - Daniel Freiman On Wed, Jul 1, 2009 at 10:10 AM, ACasualObserver pof...@yahoo.com wrote: I need to place a text in a ActionScript 3 project. The supplied X and Y is left and baseline coordinates. I use UITextField and subtracted

[flexcoders] very urgent PlZZZZZZZ Accessing webservices

2009-07-01 Thread vin.flex
Hi there, I got an urgent situation. I have developed a flex app accessing the data through webservices developed in C# .NET. webservices and my flex app reside in two different boxes. and webservices are not available for outside public. Everthing is working fine within the network.

[flexcoders] Navigating to a new child in a ViewStack - how to target the child being hidden?

2009-07-01 Thread lanekelly5
I'm putting together a prototype of an app and I have a ViewStack that is being controlled by a button toolbar. In each of these views there is a video player. What I need to do is to pause the video in the view that is being hidden. I see the change event triggered when I change views, but

[flexcoders] Re: UITextField alignment question

2009-07-01 Thread ACasualObserver
Thanks for the quick reply. I am not counting for the 2 pixels. Are the pixels always there even if no border is drawn? Is it always 2 pixels? --- In flexcoders@yahoogroups.com, Daniel Freiman freima...@... wrote: Are you accounting for the 2 pixel border of the textfield? - Daniel

[flexcoders] RSLs defaults.css

2009-07-01 Thread t0ml33
I'm including the Flex framework as a linked RSL, and also have another library that I'm including as a linked RSL. The custom library contains a defaults.css file in which I have some styles for the Alert control, using a type selector. Oddly, the styles do not apply correctly unless I

Re: [flexcoders] UITextField alignment question

2009-07-01 Thread Robert VanCuren Jr
Are you using embedded fonts? When you embed a font they will display 1 pixel higher than a non embedded font. There are a couple work arounds if this is the case. On Wed, Jul 1, 2009 at 10:24 AM, Daniel Freiman freima...@gmail.com wrote: Are you accounting for the 2 pixel border of the

Re: [flexcoders] Re: UITextField alignment question

2009-07-01 Thread Daniel Freiman
Yeah (subject to scaling/transform/etc), see http://livedocs.adobe.com/flex/3/langref/flash/text/TextLineMetrics.html On Wed, Jul 1, 2009 at 11:11 AM, ACasualObserver pof...@yahoo.com wrote: Thanks for the quick reply. I am not counting for the 2 pixels. Are the pixels always there even if

RE: [flexcoders] very urgent PlZZZZZZZ Accessing webservices

2009-07-01 Thread Jake Churchill
Maybe a crossdomain policy issue? Jake Churchill CF Webtools 11204 Davenport, Ste. 100 Omaha, NE 68154 http://www.cfwebtools.com http://www.cfwebtools.com 402-408-3733 x103 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of vin.flex Sent: Wednesday, July 01,

[flexcoders] Re: very urgent PlZZZZZZZ Accessing webservices

2009-07-01 Thread valdhor
If the web service box is not available to the outside public, then the Flash player running on the clients machine won't be able to load the WSDL. Either open up the web service box to the outside public or rewrite your app to use remoteobject to connect back to the server hosting the Flex app

[flexcoders] Re: UITextField alignment question

2009-07-01 Thread ACasualObserver
Thanks. This solved my problem. You saved me hours of work. --- In flexcoders@yahoogroups.com, Daniel Freiman freima...@... wrote: Yeah (subject to scaling/transform/etc), see http://livedocs.adobe.com/flex/3/langref/flash/text/TextLineMetrics.html On Wed, Jul 1, 2009 at 11:11 AM,

Re: [flexcoders] Time Difference between two columns in DataGrid using itemrenderer

2009-07-01 Thread Angelo Anolin
I think you would find it better to do the calculation on the database itself. All database have a lot of date/time diff functions which you can use. That way, you all simply bind the data retrieved in your datagrid without the need for calculating it. hth

[flexcoders] Re: item renderer in ComboBox not consistent

2009-07-01 Thread valdhor
Try the following as a starting point... ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:ComboBox itemRenderer=MyLabel mx:dataProvider mx:String*United States/mx:String

[flexcoders] Re: Navigating to a new child in a ViewStack - how to target the child being hidden?

2009-07-01 Thread valdhor
You probably want the hide event (Dispatched when an object's state changes from visible to invisible). --- In flexcoders@yahoogroups.com, lanekelly5 lkel...@... wrote: I'm putting together a prototype of an app and I have a ViewStack that is being controlled by a button toolbar. In each

Re: [flexcoders] Audio recording using AIR

2009-07-01 Thread Zach Stepek
Digimix was acquired, and though I'm not 100% sure, I think it was Aviary that made the acquisition. It did what you're lookin to do, but without the FMS and Red 5 component. I'm not sure that there are FOSS, or even licensable options for AS3 audio encoding, but here are a few other

[flexcoders] Re: Web Service Question (Help!)

2009-07-01 Thread valdhor
Error 1009 is Cannot access a property or method of a null object reference.. Try calling event.fault.getStackTrace() in the fault handler to see what the problem is. You may have a null XML object returned. --- In flexcoders@yahoogroups.com, Angelo Anolin angelo_ano...@... wrote: Hi

[flexcoders] Re: Is license required to deploye the flex chart application

2009-07-01 Thread valdhor
Sorry, I think I put you wrong there. If you have the Flex Builder license then when you deploy the SWF file you do NOT need a license to distribute with it. --- In flexcoders@yahoogroups.com, Krunal Panchal panchal_...@... wrote: thanks for response. i read somewhere that to develope the

Re: [flexcoders] Time Difference between two columns in DataGrid using itemrenderer

2009-07-01 Thread Tom McNeer
You could also look at using the Flex Date Utils on RIAForge. But you'll still need to turn the strings into valid date objects first. -- Thanks, Tom Tom McNeer MediumCool http://www.mediumcool.com 1735 Johnson Road NE Atlanta, GA 30306 404.589.0560

[flexcoders] Re: Navigating to a new child in a ViewStack - how to target the child being hidden?

2009-07-01 Thread lachance.brian
If you still want to use the change event (or if for some reason the hide event doesn't seem to work), I think you could also look at the oldIndex value of the event. From there you could call getChildByIndex on the ViewStack to get a reference. --- In flexcoders@yahoogroups.com, lanekelly5

[flexcoders] Re: ListEvent itemRenderer field null when parent is out of view

2009-07-01 Thread lachance.brian
Wow, it looks like I need to read the documentation a bit closer: the itemToItemRenderer method looks like a pretty-obvious candidate! Thanks, Tim! --- In flexcoders@yahoogroups.com, Tim Hoff timh...@... wrote: Here's another work-around Brian: public function

[flexcoders] adobe air multiple window performance problem

2009-07-01 Thread hannesstockner
Hello, Im developing an AIR application where the user can open up to 20 transparent Window. Each window contains some labels and a Slider. When I open 10 Window and interact with the slider the whole application breaks. Do you have any ideas how I can solve this problem? Thanks a lot

[flexcoders] Re: RSLs defaults.css

2009-07-01 Thread t0ml33
Additional information on this: so far this seems to be specific to Panel, TitleWindow, and Alert. Also, it's only certain CSS properties. So far, I've found the backgroundColor, borderColor, and borderAlpha properties to be affected by this bug. Also, ignore the bit about the third RSL -

[flexcoders] Getting User Information and Session Info using FlexContext

2009-07-01 Thread deepa
Hi, I am working with sessions and authentication for the first time. I need assistance with using FlexContext to read the session attributes and user Information. I want to know, how and from where FlexContext gets the session information from? I have a flex login page, the user id and

[flexcoders] Re: ListEvent itemRenderer field null when parent is out of view

2009-07-01 Thread Tim Hoff
Ha, still a bug and a hack though; hence the use of callLater. :) -TH --- In flexcoders@yahoogroups.com, lachance.brian lachance.br...@... wrote: Wow, it looks like I need to read the documentation a bit closer: the itemToItemRenderer method looks like a pretty-obvious candidate! Thanks,

[flexcoders] Re: ArrayCollection/Min Max Problem

2009-07-01 Thread valdhor
This works for me (Although there may be a better way)... ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; creationComplete=onCreationComplete() mx:Script ![CDATA[ private var randomNumberArray:Array = new Array();

[flexcoders] Re: Flex Browse File

2009-07-01 Thread reversible_82
This is bad. the only way I think I can get around this is using an applet inside an html wrapper inside a cotainer object. Thanks. --- In flexcoders@yahoogroups.com, Adrian Resa Jones noregret...@... wrote: Annoyingly enough, it appears that you can't get the path in Flex, only in Air

[flexcoders] Re: Flex Browse File

2009-07-01 Thread Adrian Resa Jones
PLEASE let me know if you come up with a solution! Thank you! A. Resa Jones --- In flexcoders@yahoogroups.com, reversible_82 reversible...@... wrote: This is bad. the only way I think I can get around this is using an applet inside an html wrapper inside a cotainer object. Thanks.

[flexcoders] getting the xml data from a dispatched event

2009-07-01 Thread Jason B
I've got an problem when the user clicks on button Add to Meal it throws an error because it can't seem to reference the data in mealDetails object inside the com/ directory? I'm trying to add the item to the list control. I have the code located here in case you want more details

Re: [flexcoders] getting the xml data from a dispatched event

2009-07-01 Thread Sam Lai
I'd add a trace statement just before it to see what type of object event.target is - it could be that the target is the UI component, and not the data object. //throws error on this line trace(event.target); customMeals.addItem((event.target as mealitem).mealDetails); 2009/7/2 Jason B

Re: [flexcoders] Audio recording using AIR

2009-07-01 Thread Kevin Carlson
Thanks to Zach and Jeffry!  Looks like Aviary plans to release an open API for audio editing - hopefully a Flex component is not too far away...   http://www.downloadsquad.com/2009/06/10/aviary-launches-firefox-plugin-for-image-editing-audio-editor-c?icid=sphere_blogsmith_inpage_downloadsquad

[flexcoders] Item Renderer doesn't work with just one Item :-(

2009-07-01 Thread Nate Pearson
I have a custom item render on a bar chart. When my the data provider for my bar chart has just one item in it the set data function is never gets called. Updatedisplaylist doesn't trigger and my bar chart is blank. Any ideas? I've had this bug for a while but I need to figure it out now.

[flexcoders] Re: Time Difference between two columns in DataGrid using itemrenderer

2009-07-01 Thread Don Kerr
Thanks everyone. Never really could find an easy was to do it in Flex, so I opted for the ease of ColdFusion to get it done quickly on the server side. Two easy CF functions, ParseDateTime and DateDiff. Good news is Flash Builder adds some of the ease of ColdFusion, including CF tags, into

Re: [flexcoders] Re: Web Service Question (Help!)

2009-07-01 Thread Angelo Anolin
Hi Valdhor, I think you are quite right. Seems that the ArrayCollection which I am passing is becoming NULL or does not contain any value.  Although I ensure from my web service that there are no fields in my dataset which I am passing back as an XML string to my flex application.  I tried to

[flexcoders] ArrayCollection Does Not Show Items In Order When Passed to .NET WebService

2009-07-01 Thread Angelo Anolin
Hi FlexCoders, I have an array collection which I am populating as follows: var oTemp:Object; var xl:XMLList = _xmlData.children(); var i:int; for(i = 0; i xl.length(); i++)  {  oTemp = {ID_TAG:xl[i].ID.text(), CAT_TAG:xl[i].CAT.text(), DET_TAG:xl[i].DET.text(),

[flexcoders] Bitmap downsampling

2009-07-01 Thread Bjorn Schultheiss
Hi, I'm having a lot of trouble with down-sampling a bitmapData. I tried the smoothing option first public function produceResizedBitmapData(image:DisplayObject, transform:Matrix):BitmapData { var temp:BitmapData = new BitmapData(image.width, image.height, true, 0x00FF);

RE: [flexcoders] Bitmap downsampling

2009-07-01 Thread Tim Rowe
Bjorn, Does the current method you're using appear to have any anti-aliasing at all? In the past, resizing with Image using img.resize((height, width), Image.ANTIALIAS) (where img is mx.controls.Image) has worked - I'm sure there'd be a similar method for BitmapData. Of course, if you're not