[flexcoders] TabNavigator gimmick

2005-06-21 Thread Mika Kiljunen
Hi, I could use some help with tabnavigator. I have a TabNavigator that has 3 tabs on it. When the user clicks tab one and edits some data on the tab view AND then clicks tab two, I should be able to stop this and go back to tab one and force the user to save data or at least to warn to

Re: [flexcoders] TabNavigator gimmick

2005-06-21 Thread Scott Barnes
subscribe to the TabNavigators click event. From here, execute a validation routine based on the last known tab clicked (ie default is tab0, then if user clicks tab1, then update a var to indicate such). Validate that tab, if it fails, then simply fire an exception routine (ie popup) and

RE: [flexcoders] TabNavigator gimmick

2005-06-21 Thread Mika Kiljunen
Thanks Scott, but the problem is : Unknown attribute 'click' on mx.containers.TabNavigator. So there is no click event on TabNavigator, I tried placing it on change-event but it does not affect it if set selectedIndex=x, since change seems to be fired before the change actually occurs, so

[flexcoders] Re: HTTPService problems with SSL when using IE

2005-06-21 Thread viraf_bankwalla
Thanks - I had not seen this - however do not believe that this is the same problem. I am using BEA Weblogic (will be using OAS in production). Also, the flex application appears to load fine. It issues two POST requests during startup. I am getting the data for one of the requests. It

[flexcoders] disable selected border textinput.

2005-06-21 Thread rockmoyosa
Can anybody tell me how you disabled the selection border of a textinput. I know you can set the themecolor to the backgroundColor, so it wont be visible. But I'm using A background image, so please no border at all. Mike Yahoo! Groups Links * To visit your group on the web, go to:

[flexcoders] JPG delivery via Java-App

2005-06-21 Thread mummertm
Hi there, I searched a lot of time for a solution of my problem in other forums, documentations an so on. But I didn't find any hint so far, thus you are my last hope. The problem is as follows: I have a Java-Servlet or a Java-Class, which retrieves an image (JPG) from a database. As customary

RE: [flexcoders] Re: New to Flex, Questions for datagrid

2005-06-21 Thread Allen Manning
Ritesh, I'm no expert on .net, but I think that any application that can do this will need to support MS latest flavour of OLE. I have heard the newer version of the MS OSs and their RIA framework will include Office components. So instead of a datagrid, you would have Excel. I have

RE: [flexcoders] JPG delivery via Java-App

2005-06-21 Thread Abdul Qabiz
Hi, Macromedia Flash Player doesn't have byte[] or its equivalent data type to store the binary data within AS. But you can load JPEG/SWF files using Loader/Image Flex classes or loadMovie(..) Flash Player API. If I am right, you want to load a JPG image in Flex app right? You can do that using

[flexcoders] Re: HTTPService problems with SSL when using IE

2005-06-21 Thread cennis22
I am having the exact same problem... different circumstances though. I am trying to connect to my HTTPS .NET web services on IIS5 W2K which work fine in Firefox but not in IE!! Heres the killer that might lead to something , it only works on my IE on my computer but not any single other person

[flexcoders] Re: TabNavigator gimmick

2005-06-21 Thread joao_m_fernandes
Mika tab navigator doesn't support click event but change event. http://livedocs.macromedia.com/flex/15/asdocs_en/ Package mx.Containers Classes TabNavigator Scroll down to the events list. João Fernandes --- In flexcoders@yahoogroups.com, Mika Kiljunen [EMAIL PROTECTED] wrote: Thanks

[flexcoders] weird behavior evaluating values

2005-06-21 Thread joao_m_fernandes
Hi there, I'm getting a weird behavior with a tree that should switch the layout based on the selectedNode. something like this: mx.controls.Alert.show((tree.selectedNode.getData().property1 == undefined).toString()) if (tree.selectedNode.getData().property1 == undefined){

RE: [flexcoders] TabNavigator gimmick

2005-06-21 Thread Doodi, Hari - BLS CTR
Hi All, I have same situations and unable to resolve. Can we request macromedia development/research group to provide a new event called changing to TabNavigator controls which should fire before change event and provide mechanism either go ahead or revert the navigation. This way

[flexcoders] Re: weird behavior evaluating values

2005-06-21 Thread joao_m_fernandes
forget about it, forgot that vs.selectedIndex is a 0 based index. --- In flexcoders@yahoogroups.com, joao_m_fernandes [EMAIL PROTECTED] wrote: Hi there, I'm getting a weird behavior with a tree that should switch the layout based on the selectedNode. something like this:

[flexcoders] Extending the COMBOBOX

2005-06-21 Thread gevgelija50
Does anyone has examples on extending a Combobox control? For example, I want to create two-line rows which would contain the name of the combobox item in the first line and description on the next. Thanks, Alex Yahoo! Groups Links * To visit your group on the web, go to:

[flexcoders] Turning flex files in to exe files

2005-06-21 Thread nostra72
I hope this is not a silly question but when your done making the program do you turn it in to an exe file? Yahoo! Groups Links To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/ To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of

[flexcoders] Re: Turning flex files in to exe files

2005-06-21 Thread joao_m_fernandes
You don't, mxml, AS, components that you use in your flex application need a flex application server running on the top of a J2EE server. The application is then loaded trough a web browser or in Central. João Fernandes --- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote: I hope this

RE: [flexcoders] JPG delivery via Java-App

2005-06-21 Thread Ian Welsh
To avoid having to save the image from the database to a physical file as an intermediate step you could try streaming the data from the database directly into the http request of the mx:image tag as Abdul suggests So, 1. Create a java/actionscript VO mapping that includes the image name as a

RE: [flexcoders] TabNavigator gimmick

2005-06-21 Thread Tracy Spratt
http://www.macromedia.com/go/wish Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Doodi, Hari - BLS CTR Sent: Tuesday, June 21, 2005 10:17 AM To: 'flexcoders@yahoogroups.com' Subject: RE: [flexcoders] TabNavigator gimmick Hi All,

[flexcoders] UI internationalization

2005-06-21 Thread Laurent Bois
Hello, Newbie question (I began using Flex 2 weeks ago) Initially i'm a Java developer, focused this last 3 years in J2EE application using MVC frameworks (Struts, Spring, etc...) I'm experienced, before 98 with C/S applications,. My question is about the best way to apply values to prompts,

RE: [flexcoders] Turning flex files in to exe files

2005-06-21 Thread Abdul Qabiz
Hi, That is possible but please go through the Flex licensing, in my opinion it is not allowed. May be someone else would confirm this. But you can use Macromedia Central Platform for the same. -abdul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL

[flexcoders] Re: Extending the COMBOBOX

2005-06-21 Thread gevgelija50
I don't think the standard ComboBox control has a cellRenderer property. Alex --- In flexcoders@yahoogroups.com, Abdul Qabiz [EMAIL PROTECTED] wrote: Hi, You can achieve the same without creating ComboBox subclass. What you need a custom cellrenderer for ComboBox. Look into Flex

RE: [flexcoders] Re: Extending the COMBOBOX

2005-06-21 Thread Abdul Qabiz
Hi, You are right, ComboBox doesn't have a cellRenderer property but ComboxBoxInstance.dropdown has. ComboxBoxInstance.dropdown is reference of the drop down List in the combobox. So you can do something like this, for example: comboBoxInstance.dropdown.cellRenderer = MultilineCellRenderer;

RE: [flexcoders] UI internationalization

2005-06-21 Thread Abdul Qabiz
Hi Laurent, There has been some discussions on the same. There are many ways to do this. You also talked about using tokens and ANT and generate mxml files, that is one way. Look at following link, Benoit Hediard wrote Resource Bundle library for Flex.

[flexcoders] DataGrid error handling

2005-06-21 Thread dchilcoat
I have an editable data grid with which I would like to use the error handling capabilities of Flex (i.e. found in Flex application examples). I have not been able to find any documentation to help me. I would appreciate it if someone can point me to any documentation or examples. Thank

Re: [flexcoders] Turning flex files in to exe files

2005-06-21 Thread Clint Modien
Ya... violation... go directly to jail... do not pass go... do not collect $200 On 6/21/05, Abdul Qabiz [EMAIL PROTECTED] wrote: Hi, That is possible but please go through the Flex licensing, in my opinion it is not allowed. May be someone else would confirm this. But you can use

RE: [flexcoders] Turning flex files in to exe files

2005-06-21 Thread Matt Chotin
Of course anythings possible when you talk to a Macromedia sales rep J From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Clint Modien Sent: Tuesday, June 21, 2005 2:18 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Turning flex

[flexcoders] Using Flex Controls in Flash 2004

2005-06-21 Thread Jason
Hi Everyone, We have an existing Flex App, that creates dashboards on the fly that pull data from http services. It's a beautiful thing as a real working, live application. However, creating an environment where such an app can be delivered or at least demo'ed entirely offline is a

[flexcoders] Shortcuts in caingorm

2005-06-21 Thread charged2885
One requirement I have to implement is shortcuts. In my implementation, I introduced a few new classes and add logic which handles onKeyDown into my application's FrontController. I also introduced an empty Shortcut marker interface. Any command that can be invoked via a shortcut must extend

[flexcoders] Yahoo! is looking for a Sr. Flex engineer

2005-06-21 Thread Justin Everett-Church
Hi, I just joined the Flexcoders list today and Im sure Im going to have lots of questions as I get up to speed. In the meantime, I wanted to let everyone know that Yahoo! Inc. has several Flex positions open. Currently we have Sr. Engineer, Design Engineer, and Interaction

[flexcoders] Hosting flex application

2005-06-21 Thread Venkata Krishnan Natarajan
Hi, I'm working ona community sitethats shares a large number of pictures,media etc. I'm using flex as the front for the Web application. If i choose to host the site at my home computer how do I set up server configuration? What would be the best approach to store all the files? Currently my

RE: [flexcoders] TabNavigator gimmick

2005-06-21 Thread Longley, Andrew (N-Aviture)
Hi. I was just trying to do this a week ago and worked with Macromedia gold support. This turns out to be rather difficult to do, partially because the tabnavigator is actually a tabBar attached to a viewstack. I had code that would fire on the tabnavigator's change event to determine if

RE: [flexcoders] Shortcuts in caingorm

2005-06-21 Thread Steven Webster
Hi Todd, | I would like a more experienced opinion. Am I doing this the best way? Perhaps instead of | a multi-dimentional array like object, I should introduce a ShortcutManager class which | will have logic for context and a way to invoke a Shortcut function for event data. What | do you

[flexcoders] Casting not working to avoid Changes to property, length...will not be detected warning

2005-06-21 Thread Tracy Spratt
Title: Casting not working to avoid Changes to property, length...will not be detected warning I have a custom object, and in the example line below, an instance is returned by a function. The object has a property, valuesarray, which is typed as an Array. This is a case where I would

Re: [flexcoders] Casting not working to avoid Changes to property, length...will not be detected warning

2005-06-21 Thread Thijs Triemstra | Collab
i usually make a var in actionscript and bind this to mxml..// actionscriptvar binding = (Number(app.p('DrawingData').valuesarray.length) == 0);// in mxmlmx:ComboBox visible = {binding}/i also would like to know if that is the best/only way to do it..ThijsOp 22-jun-2005, om 2:41 heeft Tracy

RE: [flexcoders] Casting not working to avoid Changes to property, length...will not be detected warning

2005-06-21 Thread Tracy Spratt
Yes, that will work, plus one should always type their variables. But I would rather not have to create this extra var if I dont have to. The Casting trick usually works, but not in this situation. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

RE: [flexcoders] DataGrid error handling

2005-06-21 Thread Matt Chotin
Do you mean the validation functionality? You just need to create a cell renderer for your data grid. One example is here: http://www.mail-archive.com/flexcoders@yahoogroups.com/msg02356.html. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On

RE: [flexcoders] Re: HTTPService problems with SSL when using IE

2005-06-21 Thread Matt Chotin
Is your SWF being served over HTTPS as well? If your SWF is served over HTTP but the web service is at HTTPS you will need a crossdomain.xml file on your HTTPS server to get the player to connect. Of course if Firefox is working correctly in the same config it doesnt seem like that would

RE: [flexcoders] TabNavigator gimmick solved

2005-06-21 Thread Mika Kiljunen
Hi, thank you all for your tips, I managed to solve this one by overriding the tabnavigator by making some changes to the code posted by Manish earlier: You'll have to extend the TabNavigator and override the selectedIndex setter. !-- MyTabNavigator.mxml -- ?xml version=1.0?