[flexcoders] Can the browser embedded swf invoke the installed AIR app?

2008-08-09 Thread Jo Morano
Hi! Can I check from my swf whether the 'full' version is already installed as an AIR application and if not, prompt the user to install it (based on user's attempt to access the advanced features on the browser version)? If so, how? I am good at reading manuals, so if you point me to one, that

[flexcoders] Re: filtering a flex datagrid using a slider with two thumbs

2008-08-09 Thread stinasius
hi guy i appreciate that you are really trying to help. but so far i still have the same problem, when i remove the slider from the filter equation the datagrid is filtered but when i add it something wired happens(the data disappears from the grid) here is a sample of my code and i call the

[flexcoders] Re: Flex is time consumming

2008-08-09 Thread litesh_b321
Hey ThanX Paul It works But i am facing still problem with editing. hey paul you suggest me to break 4000 line of code in separate file where all the code is merged for application. how we can perform that action where concern code is outside of the file. thanX --- In

Re: [flexcoders] Flexbuilder for iPhone?

2008-08-09 Thread Sajid Hussain
- Original Message From: Matt Chotin [EMAIL PROTECTED] To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com Sent: Friday, August 8, 2008 10:14:33 PM Subject: Re: [flexcoders] Flexbuilder for iPhone? Read the follow-up tweets, they were joking around. No Flex Builder on the

Re: [flexcoders] Can we record microphone input and save as mp3 in flex?

2008-08-09 Thread Sajid Hussain
Hi , You could record your voice with flex by using Red5 and FMS 2 but instead of mp3 format they both create flv(which will have only sound no video) I guess maybe fms 3 suppoprts its better to check and with flash platform we cant create files locally , you will create them on server side

Re: [flexcoders] Re: Flex is time consumming

2008-08-09 Thread Paul Andrews
- Original Message - From: litesh_b321 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, August 09, 2008 9:52 AM Subject: [flexcoders] Re: Flex is time consumming Hey ThanX Paul It works But i am facing still problem with editing. hey paul you suggest me to break 4000

Re: [flexcoders] Flexbuilder for iPhone?

2008-08-09 Thread Sajid Hussain
Hi , Matt quick questions for you , Does iphone has capability to run Flash Player 9 applications ? or Adobe team is trying to develop some Lite Flash player for iphone ? - Original Message From: Sajid Hussain [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, August

Re: [flexcoders] Flexbuilder for iPhone?

2008-08-09 Thread Paul Andrews
- Original Message - From: Sajid Hussain To: flexcoders@yahoogroups.com Sent: Saturday, August 09, 2008 10:09 AM Subject: Re: [flexcoders] Flexbuilder for iPhone? Hi , Matt quick questions for you , Does iphone has capability to run Flash Player 9 applications ? or

Re: [flexcoders] How to get selected row in AdvancedDataGrid with Hierarchical Data?

2008-08-09 Thread shaun
Djamshed wrote: When you open children in AdvancedDataGrid which uses Hierarchical data, rowIndex in selectedCells does not refer to the ADG's dataprovider index. Here is the example: http://djamshed.googlepages.com/grid.html Source is here: http://djamshed.googlepages.com/Grid.mxml.html

[flexcoders] How does AIR apps connect to database?

2008-08-09 Thread Joshua Jackson
Dear all, I want know how does AIR apps can connect to database? With Flash flex apps, I connect to the database using BlazeDS. But how do I do this with AIR apps since I can not distribute the web container with AIR apps. Could anyone give me a hint on this? Best regards, -- Setting a new

[flexcoders] Re: Sorting XMLListCollection by childIndex()

2008-08-09 Thread Amy
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: I think as the sort happens, the child indexes will change. I thought the XMLListCollection was just an view of the original XMLListXML object. If that's true, childIndex() should always refer to the child's position

[flexcoders] Re: Chart example posted

2008-08-09 Thread Amy
--- In flexcoders@yahoogroups.com, sa3376 [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, Amy amyblankenship@ wrote: Hi, all; Someone on another forum asked me about how to create multiple axes in a chart in Flex. I put together a little example of how to do a chart

[flexcoders] Re: How to get selected row in AdvancedDataGrid with Hierarchical Data?

2008-08-09 Thread Amy
--- In flexcoders@yahoogroups.com, shaun [EMAIL PROTECTED] wrote: Djamshed wrote: When you open children in AdvancedDataGrid which uses Hierarchical data, rowIndex in selectedCells does not refer to the ADG's dataprovider index. Here is the example:

[flexcoders] Should I remove listeners declared in mxml? ie: Best Practice

2008-08-09 Thread dbronk
Subject is a bit confusing. What I'm asking is, for example, let's say that I have a component where I code creationComplete=onCreationComplete(). Should I make sure that in the onCreationComplete function do a this.removeListener(FlexEvent.CREATION_COMPLETE, onCreationComplete)? I guess my

[flexcoders] Re: deprecated horizontalAxisRenderer

2008-08-09 Thread Michael VanDaniker
You best bet is step through the function that is throwing the null reference error. We might be working with different versions of the charting sdk, but the problem line, line 2087 CartesianChart.as, in my copy reads rect.top = _computedGutters.top; so it sounds like either rect or

[flexcoders] Re: Should I remove listeners declared in mxml? ie: Best Practice

2008-08-09 Thread dbronk
One extra point. I realize that if I use the addEventListener(blahEvent, myFunc) function I need to remove those. Even if I use weak reference I should remove it explicitly when I'm done with the listener rather than waiting for GC. Dale --- In flexcoders@yahoogroups.com, dbronk [EMAIL

[flexcoders] Data Binding works/does not work

2008-08-09 Thread Heiko Niemann
Hi, with the code below I experience some strange behaviour of the data binding - at least it does not work the way I want. :) There are two text fields each saying 'Cart' plus the number of items. Then there are two buttons: one will increase the number of items and the other will switch the

[flexcoders] Re: How does AIR apps connect to database?

2008-08-09 Thread haykelbj
If you are using remoting with Flex you should still be able to use it with AIR. --- In flexcoders@yahoogroups.com, Joshua Jackson [EMAIL PROTECTED] wrote: Dear all, I want know how does AIR apps can connect to database? With Flash flex apps, I connect to the database using BlazeDS. But how

Re: [flexcoders] Can the browser embedded swf invoke the installed AIR app?

2008-08-09 Thread Sid Maskit
Maybe somebody has a workaround, but I'm pretty sure that checking what is installed on the local file system is exactly the sort of thing that the browser's sandbox is going to keep you from doing. An imperfect, but relatively simple thing to do would be to set a cookie (whether browser,

Re: [flexcoders] Data Binding works/does not work

2008-08-09 Thread Sid Maskit
It works if you switch the second text field so it looks like this: mx:Text id=tab2 text=({nbItems}) {labels.label.(@loc == locale)} / So it seems as though somehow the compiler gets confused by the deeper XML parsing, and bypasses the subsequent binding call. Maybe somebody else has a better

Re: [flexcoders] storage directory debugging AIR in FLEX3

2008-08-09 Thread Sid Maskit
Although there are no doubt exceptions, in general you want to avoid using full paths, and instead use the handles provided by the AIR environment. That way data will be put in the right place regardless of which operating system the application is installed on. On the same machine, the handle

[flexcoders] Cairngorm: AnnounceFaultEvent

2008-08-09 Thread gerhard.schlager
Hello, I'm currently experimenting with the Universal Mind Cairngorm extensions and I'm wondering where I should add an event listener for the AnnounceFaultEvent. I'd like to have one listener for all faults which logs the errors ... I just can't figure out where I should put my listener. :-/

[flexcoders] Where is the error?

2008-08-09 Thread Frank Z
Maybe I'm a dumbo but it's very frustrating when Flex Builder tells me I have an error in my code but does not specify the file or line unless I have that particular file open. Is there any way to get to this file without have to go through each file in my project? It's not obvious to me.

Re: [flexcoders] Keeping .Net and Flex entities in sync

2008-08-09 Thread rawjam
Hi, I have been involved in .NET C# development for quite a few years and only recently been introduced to Flex. Well, the introduction was enough to convince me that this is where our UI development efforts need to lie. Since this realisation, we have developed a set of templates that will

Re: [flexcoders] Data Binding works/does not work

2008-08-09 Thread Sid Maskit
One more thing on this, since it only sets the binding to nbItems if that is done before the XML parsing, you could hack around the apparent bug in the following ugly manner: mx:Text id=tab2 text={(nbItems 0 ? '' : '') + labels.label.(@loc == locale)} ({nbItems}) / This sets the binding

[flexcoders] Re: Application close event?

2008-08-09 Thread gerhard.schlager
--- In flexcoders@yahoogroups.com, Guy Morton [EMAIL PROTECTED] wrote: Does anyone know if there is an event that can be used to trigger clean-up activities when a Flex app is closed, either by the browser being closed or the user navigating to a new page? Just look at [1] and [2]. [1]

[flexcoders] Re: Where is the error?

2008-08-09 Thread Amy
--- In flexcoders@yahoogroups.com, Frank Z [EMAIL PROTECTED] wrote: Maybe I'm a dumbo but it's very frustrating when Flex Builder tells me I have an error in my code but does not specify the file or line unless I have that particular file open. Is there any way to get to this file without

[flexcoders] File selector Item Editor ADG

2008-08-09 Thread Josh Millstein
Can anybody help me with specifying a file selector box or something like that for an itemEditor in a ADG Cell. I have, and does not work. mx:AdvancedDataGridColumn editable=true dataField=image itemRenderer=mx.controls.Image itemEditor=mx.controls.FileSystemList headerText=Player Image/

Re: [flexcoders] Re: Application close event?

2008-08-09 Thread Guy Morton
Thanks. I was looking for a way to do it in Flex, eg on an Application unload or destroy event, but I guess Flex doesn't have those. I'd just managed to remove all the ExternalInterface calls i was using so wasn't keen to use that approach. Thanks for the links though. :-) On 10/08/2008,

[flexcoders] RE: [flexcomponents] maintaining sort arrow icon with server side sorting of datagrid

2008-08-09 Thread Alex Harui
I think people have been successful using a subclass of a collection that either overrides the sort property or refresh() method so the collection doesn't actually sort. The DataGrid reads the sort property and sets up the sortArrow, but never calls refresh() if you call preventDefault() on

[flexcoders] Re: LCDS: how to fetch the items from lazy collection

2008-08-09 Thread lowdown976
Just make sure whatever you send through LCDS over the wire is not lazily loaded. So load all collection explicitly with hibernate before you send them. Or better yet don't send hibernate objects of the wire at all, create DTO (Data Transfer Objects; search for DTO design pattern) objects

RE: [flexcoders] Re: Should I remove listeners declared in mxml? ie: Best Practice

2008-08-09 Thread Alex Harui
OTOH, there is no situation where you need to call removeEventListener for any event attribute in MXML. The references created do not cause memory leaks. Furthermore, you can't call removeEventListener(..., onCreationComplete) bececause what got called behind the scenes was

RE: [flexcoders] Re: Sorting XMLListCollection by childIndex()

2008-08-09 Thread Alex Harui
No, you are correct, they are views and don't disturb the original data. That's what I get for going too fast. I also didn't read your code snippet. I think you can't use a function in a SortField's name param. I don't think it is that smart. Use a compareFunction instead.