[flexcoders] How to play a wav audio file in flex

2009-06-16 Thread Krunal Panchal
Hi Friends, How to play a wav audio file in flex ( action script)? is there any third party swc ?   Regards, Krunal Panchal | Senior Software Engineer *panchal_...@yahoo.com

RE: [flexcoders] How to play a wav audio file in flex

2009-06-16 Thread Kenneth Sutherland
Having just looked at your emails (this plus previous one), this list is for questions and not for just getting someone else to do your code. Try looking at the livedocs http://livedocs.adobe.com/flex/3/langref/index.html or Google for flex examples. In respect to the wav file, why would you

[flexcoders] Re: Generate sample request from WSDL

2009-06-16 Thread valdhor
Can't you use E4X to parse the WSDL? It is just an XML file itself. --- In flexcoders@yahoogroups.com, Everson Alves jho...@... wrote: Thanks Steve, But it's not that easy, in php I used built-in soap extension, loaded the wsdl file, used reflection to build the request parameters since I

[flexcoders] Alternative to Batik in flex

2009-06-16 Thread nidhi
Currently we are using SVG to generate charts . We are using Batik to generate images so that we can export them to PPTs and excel . Looking for a similar API / or a tool that can work on the server side( say running on a batch mode , no user intervention) which can generate static gif/pngs of

[flexcoders] Piechart in ItemRenderer

2009-06-16 Thread Jimmy Neutron
I'm trying to pass data to a piechart inside an itemrenderer without success.The structure is a List item and the Itemrenderer is based on a Panel.Data is retrieved from php to xml (Arraycollection).Eventually i would like to pass two fields to the piechart so it shows a percentage ratio eg

[flexcoders] LCDS install on Linux

2009-06-16 Thread Kevin Bowers
Hi all, We're trying to setup LCDS on a Linux server, but are getting the following error message: Could not connect to bootstrap serverlet, the requested URL was not found on the server Does anyone have any experience of this, or where I might look for a solution. Many thanks, Kevin

[flexcoders] using arrow keys to move around editable datagrid

2009-06-16 Thread philcruz
I'm having a problem implementing keyboard navigation with a custom editable datagrid. I want to have it such that if you are editing a cell, you can use the arrow keys to move around and edit other cells. Given a simple grid I can capture the keydown and set the editedItemPosition. However,

[flexcoders] Re: Binding two elements in a single datagrid column

2009-06-16 Thread valdhor
This is probably possible in MXML but I prefer to write my item renderers in ActionScript... main.mxml: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ import mx.collections.ArrayCollection;

[flexcoders] Re: LCDS install on Linux

2009-06-16 Thread valdhor
What are you using for your Java servlet container? --- In flexcoders@yahoogroups.com, Kevin Bowers kevin.bow...@... wrote: Hi all, We're trying to setup LCDS on a Linux server, but are getting the following error message: Could not connect to bootstrap serverlet, the requested URL

RE: [flexcoders] checkBox event

2009-06-16 Thread Jake Churchill
Look at the Change event: http://livedocs.adobe.com/flex/3/langref/mx/controls/Button.html#event:chang e 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

[flexcoders] how to inject an attribute in blaze ds

2009-06-16 Thread Fernando Wermus
I am needing to inject an attribute in a service declared in blaze ds from another web framework. Does anybody know an example on how to inject an attribute in it? -- Fernando Wermus. www.linkedin.com/in/fernandowermus

Re: [flexcoders] How to play a wav audio file in flex

2009-06-16 Thread Jeffry Houser
I didn't see his previous question, but I thought this one was rather valid. The reason to use wav files instead of mp3s is quality. If you are building any sort of sound editing or mixing program; that higher quality counts for a lot. Converting to mp3 for distribution often makes a lot

Re: [flexcoders] Re: how can I get a popupButton's popUp to resize while popped up?

2009-06-16 Thread Pan Troglodytes
Thanks, Tim. Knew there must be something, just couldn't find it. I found this to be a good way to do it, as long as I'm not missing something: gr.validateSize(true); var verticalGap:Number = grid.getStyle(verticalGap); grid.scrollRect = new Rectangle(0, 0, grid.width + gr.measuredWidth,

[flexcoders] Re: Binding two elements in a single datagrid column

2009-06-16 Thread Tim Hoff
I'm with you Steve; about using AS for an itemRenderer. I do wonder why you would use addChild in the set data function though; rather than in createChildren . For mxml, this should work Angelo: mx:itemRenderer mx:Component mx:HBox horizontalGap=5 horizontalAlign=center

[flexcoders] Re: how can I get a popupButton's popUp to resize while popped up?

2009-06-16 Thread Tim Hoff
Yep, that looks great. I thought about all of that, but knew that you'd tweak it to get what you needed. Glad that I could finally help you out with something Jason. -TH --- In flexcoders@yahoogroups.com, Pan Troglodytes chimpathe...@... wrote: Thanks, Tim. Knew there must be something,

RE: [flexcoders] How to play a wav audio file in flex

2009-06-16 Thread Jake Churchill
I saw this too. I don't think it was a matter of the question not being valid. I just think it's a matter of immediately asking if anyone has done the work for him. That seems to happen a bit on this list. I'm not saying I won't take a great piece of code if I find it but my first instinct is

Re: [flexcoders] Re: how can I get a popupButton's popUp to resize while popped up?

2009-06-16 Thread Pan Troglodytes
C'mon, Tim, your posts help me loads of times and you don't even realize it. My #1 place to go for searching for answers to tough problems is my flexcoders archive and your name pops up a lot with the answer! And RowColorDataGrid was a lifesaver. Okay, back to the topic. Just realized that

Re: [flexcoders] Re: how can I get a popupButton's popUp to resize while popped up?

2009-06-16 Thread Pan Troglodytes
I should know better by now to never declare victory until you tried your test app solution in your REAL app. A problem occured that if your popupbutton is embedded in another control, the y value will no longer be in the same frame of reference as the popup, which is no a child of the same

[flexcoders] Re: how can I get a popupButton's popUp to resize while popped up?

2009-06-16 Thread Tim Hoff
Ha, what I meant is that years ago, you helped me with a problem that I was having with RowColorDataGrid and I was also able to use a tree with connector lines that you created. Just glad to return the favor. :) -TH --- In flexcoders@yahoogroups.com, Pan Troglodytes chimpathe...@... wrote:

[flexcoders] Re: Datagrid non-editable but want to tab between columns

2009-06-16 Thread flexcoder2008
Thanks Alex, Tried the advanced datagrid but that didn't work. As far as overriding the keyFocusChange - it is private so can't override. --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: That would be highly difficult. Requires overriding keyFocusChange event and doing a

[flexcoders] Looking for AS3 developer.

2009-06-16 Thread tom93438
HeyZap is looking for an AS3 developer to build a AS/flash wrapper that rotates through 3rd party external SWF files, solving issues with sizing, sound, keyboard/mouse controls. They dont want the Flex framework used, but a pure AS project compiled in FB is fine. Email for more details. This

RE: [flexcoders] Re: Datagrid non-editable but want to tab between columns

2009-06-16 Thread Alex Harui
You don't need to override it. Add your own listener at a higher priority and call event.preventDefault() if needed. It is going to be a bunch of work IMO Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com

RE: [flexcoders] using arrow keys to move around editable datagrid

2009-06-16 Thread Alex Harui
Maybe fake TAB/SHIFT-TAB/ENTER/SHIFT_ENTER events when you get arrow key events. For TAB/SHIFT-TAB you'll need to dispatch KEY_FOCUS_CHANGE Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com

[flexcoders] CartesianChart not recognized in Flex SDK 3.3

2009-06-16 Thread Siraj R. Khan
I recently upgraded to Flex SDK 3.3, but after that my flex application has started giving compile time error for CartesianChart: 1046: Type was not found or was not a compile-time constant: CartesianChart Any help would be highly appreciated. Thanks, Siraj Khan khan_si...@yahoo.com

RE: [flexcoders] CartesianChart not recognized in Flex SDK 3.3

2009-06-16 Thread Battershall, Jeff
Siraj, You need to install the datavis rsl's which are available on Adobe.com - the same location where you downloaded the Flex 3.3 SDK. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Siraj R. Khan Sent: Tuesday, June 16, 2009

RE: [flexcoders] CartesianChart not recognized in Flex SDK 3.3

2009-06-16 Thread Jake Churchill
Are you sure the compiler settings are set to use the new SDK? I'm using SDK 3.3 and am actually working on a CartesianChart as I'm writing this. 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] Binding between components

2009-06-16 Thread mikeashields
The full story is here: http://forums.adobe.com/message/2043864#2043864 http://forums.adobe.com/message/2043864#2043864 but in a nutshell I'm trying to bind between separate components. Google searches have yielded Metadata demarcations as one solution but I cannot get that to work (yet). I

[flexcoders] dmv with flex4 and flexbuilder3 causes direction style problem

2009-06-16 Thread thomas parquier
Hello, I've just moved a charting app to flex4 but a problem with a Gridlines style (direction) prevents from compiling. As said on Adobe forum, flashbuilder seems to not raise error and compile fine, but I'm using linux and flashbuilder works episodically (with wine). TIA, thomas ---

[flexcoders] [Bindable] public var - getter/setter hybrid

2009-06-16 Thread Tim Hoff
Consider these two options for creating an accessor in Flex: Public Var: [Bindable] public var searchResults:ArrayCollection; Getter/Settter: [Event( name=searchStringChange, type=flash.events.Event )] private var _searchResults:ArrayCollection; [Bindable( event=searchResultsChange )]

[flexcoders] Re: How to play a wav audio file in flex

2009-06-16 Thread kaspar.luethi
like the koreans should have their own game servers, since they are just too good, some people from a certain geographical area should have their own mailing lists. they not only expect the community to solve their problems without any previous effort of themselves, they also contribute nearly

RE: [flexcoders] Modules - Just can't get it right when it comes to width and height

2009-06-16 Thread Alex Harui
I'm not sure what you mean by non-modal module. Can you show some code snippets? Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of djhatrick Sent: Monday,

[flexcoders] Re: Binding two elements in a single datagrid column

2009-06-16 Thread valdhor
I use addChild in the set data function only because I always have. I have built hundreds of renderers this way and none of them have given me a problem. If there's a good reason why I shouldn't do it this way, I'm all ears. --- In flexcoders@yahoogroups.com, Tim Hoff timh...@... wrote:

[flexcoders] Re: Binding two elements in a single datagrid column

2009-06-16 Thread Tim Hoff
Yes, createChildren will only execute once; while set data will execute many times. Perhaps it's not a problem if the same child gets added to the display list everytime that the data is set. But usually, you only need to add them once. -TH --- In flexcoders@yahoogroups.com, valdhor

Re: [flexcoders] Re: how can I get a popupButton's popUp to resize while popped up?

2009-06-16 Thread Pan Troglodytes
Yet another correction: grid.scrollRect = new Rectangle(0, 0, Math.max(grid.width, gr.measuredWidth), grid.height + gr.measuredHeight + (isNaN(verticalGap) ? 0 : verticalGap)); Didn't make sense to add the width in this example. I thought you were referring to the last couple of threads of

[flexcoders] Re: how can I get a popupButton's popUp to resize while popped up?

2009-06-16 Thread Tim Hoff
I'm glad that you're posting these corrections, cause I'm keeping this solution for future reference. ;) btw, I'm still using your tree in a little source code explorer app that I made (bugs and all) :P http://www.timothyhoff.com/projects/googlemate/srcView/GoogleMateSourceC\ odeExplorer.html

Re: [flexcoders] Re: Flex and Reporting

2009-06-16 Thread Angelo Anolin
Hi Martin, WRT your question, yes I was able to write out a little thing relative to Flex reporting.  As I am using a .NET web service for the application's data purposes, what I am doing is having my Flex app send the data back for reporting to the same web service.  The web service in turn

Re: [flexcoders] Re: Binding two elements in a single datagrid column

2009-06-16 Thread Angelo Anolin
Hi Steve, Thanks for this code snippet.  I now feel that I need to jump over learning a lot more AS since its becoming clear to me that you would be able to accomplish a lot more difficult tasks through it. Thanks and regards. Angelo From: valdhor

Re: [flexcoders] Re: Binding two elements in a single datagrid column

2009-06-16 Thread Angelo Anolin
Hi Tim, This helped a bit, although I am wondering why the underlying data provider does not get updated when I changed the value of the NumericStepper control.  I am probably missing something. Also, thanks for the little tip on the HorizontalGap. Have been using a lot of spacers in between

[flexcoders] Re: using arrow keys to move around editable datagrid

2009-06-16 Thread philcruz
Thanks for the reply. The custom grid wasn't moving from cell to cell based on typing the tab key so I didn't think that simulated events would do the trick. I got it to work but I wonder if there is a cleaner way. The grid has a custom itemEditor that extends TextInput. The itemEditor has

[flexcoders] Re: Binding two elements in a single datagrid column

2009-06-16 Thread Tim Hoff
Hey Angelo, So, up to now we've been talking about an itemRenderer; better if it's custom rather than in-line. The next step is an itemEditor. Read up on the docs and let us know if you have any further questions. -TH --- In flexcoders@yahoogroups.com, Angelo Anolin angelo_ano...@... wrote:

RE: [flexcoders] Re: using arrow keys to move around editable datagrid

2009-06-16 Thread Alex Harui
TAB should work in a standard DG. If it isn't in your custom DG, something might be thrown off by your customization which is also making your solution more difficult. You might want to try faking tabs on a standard DG and compare. Alex Harui Flex SDK Developer Adobe Systems

[flexcoders] Flying text or passing text??

2009-06-16 Thread hworke
Hi, I am trying to create an effect using text. I do not know what to call it - flying text or passing text!! At the bottom of the TV screen we always see Headline news or stock market info text are moving from right to left - I want to do something like that. What is the

RE: [flexcoders] Flying text or passing text??

2009-06-16 Thread Tracy Spratt
One way to do this is to use a canvas of fixed width and inside that have a lable that is the length of the text, and use a Move effect to move the label over the canvas. There are examples available. Tracy Spratt, Lariat Services, development services available _ From: