[flexcoders] Re: TabNavigator tabs style

2005-07-26 Thread zipo13
I don't think its possible to set 2 styles to the same control. After looking at the code of TabNavigator I found that it has a member of tabBar and that this tabBar creates children of an inner class that are not exposed (mx.containers.tabclasses.Tab) since the tabBar creates these dynamicly I

RE: [flexcoders] Re: TabNavigator tabs style

2005-07-26 Thread Philippe Maegerman
I gave it a try when it was posted, indeed setStyle("corner-radius",1) doesn't work but setStyle("color",0xFF) does ?! You would expect that it would apply the style to the firsttab but it does for all of them .. no clue ... I was trying with the TabBar, I see now that you are talking

Re: [flexcoders] Re: TabNavigator tabs style

2005-07-26 Thread Sreejith Unnikrishnan
Infact the question is very simple. How do you set corner-radius = 10 to one TabNavigator and corner-radius = 0 on another in the same application! I've given up! :-( Philippe Maegerman wrote: I gave it a try when it was posted, indeed setStyle("corner-radius",1) doesn't work but

[flexcoders] Re: TabNavigator tabs style

2005-07-26 Thread bhaq1972
Hi Sreejith, Infact the question is very simple. How do you set corner-radius = 10 to one TabNavigator and corner- radius = 0 on another in the same application! I've given up! :-( have you tried Matt's recommendation i.e. use the styleName property? eg (btw i added your stylesheet

RE: [flexcoders] Using Value Objects CFC's

2005-07-26 Thread Allen Manning
Malcom, I think that's it. Try this: var call = service.login( { loginVO : loginVO } ); //strange looking syntax huh, but it works You see the anon object which is naming the param. It took us ages to figure this one out. There is an article which describes this here:

[flexcoders] Dynamically Built SWF's with Flex

2005-07-26 Thread jamiebadman
I have a deep-down feeling I might be asking a stupid question here - but I was once told there are NO stupid questions - yeah, right! So here's the situation... An application I'm building contains three quite distinct 'sections': 'Invoices', 'Credits' and 'Customers'. Some users will

Re: [flexcoders] Re: TabNavigator tabs style

2005-07-26 Thread Sreejith Unnikrishnan
Hi, You did not say whether you tried and it worked :-) Run thecode below. Look out for the following. Corner-radius is the radius applied to the Navigator and NOT the tabs (desired) when applied using styleName Comment and UnComment the Tab style to see the difference. All the

RE: [flexcoders] Re: TabNavigator tabs style

2005-07-26 Thread Philippe Maegerman
I couldn't manage todo it with styles, but came up with some actionscript ;) It will style all the TabNavigator tabs, but you could easily changeit to update only one tab by passing it's index as an argument ;)) ?xml version="1.0" encoding="utf-8"?mx:Application

Re: [flexcoders] Dynamically Built SWF's with Flex

2005-07-26 Thread Scott Barnes
On 7/26/05, jamiebadman [EMAIL PROTECTED] wrote: I have a deep-down feeling I might be asking a stupid question here - but I was once told there are NO stupid questions - yeah, right! As a wise code-mentor once said to me: There aren't stupid questions, only people who are too stupid to ask.

Re: [flexcoders] Re: TabNavigator tabs style

2005-07-26 Thread Sreejith Unnikrishnan
Hi Philippe, thats damn good! That is all we need :-) No, I dont intend to change one tab :-) Thanks a lot. Sree PS: You have an unterminated CDATA section in the code. Philippe Maegerman wrote: I couldn't manage todo it with styles, but came up with some actionscript ;) It

Re: [flexcoders] Re: backgroundColor vs. backgroundImage

2005-07-26 Thread Sreejith Unnikrishnan
According to the 1.5 docs .. | Type: String Format: File CSS Inheritance: no |Background image of a control. You can either have a backgroundColor or a backgroundImage, but* not both*. If it worked in 1.0, we might see it in 2.0??? :-) Sree Andrew Spaulding wrote: Yep good point. I have a

RE: [flexcoders] Re: TabNavigator tabs style

2005-07-26 Thread Philippe Maegerman
You are welcome. It was missing because I removed my magic debug function ;) function traceObj(obj){var t = '';for(var i in obj){t+= i + ' : ' + obj[i] + '\n';}mx.controls.Alert.show(t)} ]] thanks to zipo13 for bringing up the tabBar property ;) Philippe Maegerman From:

RE: [flexcoders] Re: backgroundColor vs. backgroundImage

2005-07-26 Thread Philippe Maegerman
Why not add an extra containerlike VBox. Put the bgColor in Application and the bgImage in the VBox ... just an idea ... Philippe Maegerman From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sreejith UnnikrishnanSent: mardi 26 juillet 2005 13:08To:

[flexcoders] Re: Dynamically Built SWF's with Flex

2005-07-26 Thread jamiebadman
Scott: Thanks for the info; much appreciated, regardless of how scary it reads! Sounds like it's a pretty pointless thing to do, then, if the code + RSL on a per-user basis will be as large, if not larger than the code including the unwanted stuff ;-) I must admit that I'm finding it hard to

Re: [flexcoders] Re: Dynamically Built SWF's with Flex

2005-07-26 Thread Sreejith Unnikrishnan
You can just deploy the compiled swf files! Generating-on-the-fly is compilation. Set to true keep-generated-swfs in your flex config and you can then copy just the compiled files and deploy for starters. Well, if you are using a developer version, the life of your swf is only a day.

RE: [flexcoders] Re: Dynamically Built SWF's with Flex

2005-07-26 Thread Philippe Maegerman
You couldfor example create dynamic mxml using the Flex JSP Tag Library, in this case you would need it as an application server http://livedocs.macromedia.com/flex/15/flex_docs_en/0846.htm#wp121778 Philippe Maegerman From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

[flexcoders] DataGrid Editable Header Renderer

2005-07-26 Thread Tim Blair
Hello, I'm attempting to create a custom headerRenderer for a DataGrid which will allow the user to edit the column name (headerText) in exactly the same way as the standard editable DataGrid cellRenderer. Before I spend any more time on it, does anyone have an example of such a thing hanging

Re: [flexcoders] Re: Dynamically Built SWF's with Flex

2005-07-26 Thread Scott Barnes
On 7/26/05, jamiebadman [EMAIL PROTECTED] wrote: Scott: Thanks for the info; much appreciated, regardless of how scary it reads! hehe i'm sure it could be dumbed' down more for folks who are looking at this with a confused expression, (ie not belittling anyone - merely saying that on the

[flexcoders] Re: TabNavigator tabs style

2005-07-26 Thread bhaq1972
Hi Sree Now back to the question, if I want to assign corner-radius to only ONE tabNavigator, how do I do it! I'm glad you found your answer. I'm no mind reader, my answer was based on what you asked. What you actually wanted to know was how do to assign the corner- radius for the tabBar in

Re: [flexcoders] ComboBox selection change another ComboBox visible item

2005-07-26 Thread JesterXL
Assuming the first ComboBox has an array of arrays (or models), then yeah! mx:ComboBox id=main_cb dataProvider={brandModel.type} change= mx:ComboBox id=sub_cb dataProvider={main_cb.selectedItem.colors} change= Where colors is a nested object/array. - Original Message - From: Ghislain

RE: [flexcoders] DataGrid Editable Header Renderer

2005-07-26 Thread Nihit Saxena
You should be able to use headerRenderer property on DataGridColumn and use a textInput inside that. You can read the documentation about it here - http://livedocs.macromedia.com/flex/15/flex_docs_en/2181.htm#wp146143 Nihit From: flexcoders@yahoogroups.com

[flexcoders] headless server

2005-07-26 Thread Clint Modien
I've set the server to be headless in the flex config... because we're deploying onto an ibm mainframe... I'm embedding one image (the application background) I still get the error coming up that says I need to set the flexConfig to headless. (after i've set it to headless) I've tried

RE: [flexcoders] headless server

2005-07-26 Thread Brian Deitte
Hi Clint, most likely what is happening here is that the J2EE server (through Java security) is set up to not allow Properties.setProperties() to be called. You'll need to find out how to set the JVM property java.awt.headless totrue, which is all that this configuration parameter does.

Re: [flexcoders] headless server

2005-07-26 Thread Dave Carabetta
On 7/26/05, Clint Modien [EMAIL PROTECTED] wrote: I've set the server to be headless in the flex config... because we're deploying onto an ibm mainframe... I'm embedding one image (the application background) I still get the error coming up that says I need to set the flexConfig to

RE: [flexcoders] Running an auction with Flex

2005-07-26 Thread Josh Berling
Check out this site: http://livebid.mastronet.com It is a live bidding site for high-end sports memorabilia. They run a periodic auction of a few thousand lots with around 20,000 bidders. The Flex site runs live, with updates to prices being pushed to the client via FCS. Mastronet.com

[flexcoders] Custom Error Page

2005-07-26 Thread greenfishinwater
I have only just got back to Flex development after a few months away. For my Flkex development server I am getting the message warning Custom error page /flex-error could not be loaded. Maybe Ive had this message for a long time but I only just noticed it. What does it mean and how can I fix

[flexcoders] Undeliverable Messages ?!

2005-07-26 Thread Stacy Young
Anyone else getting spammed from undeliverable messages from this list ?? -Stace -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com

Re: [flexcoders] Undeliverable Messages ?!

2005-07-26 Thread JesterXL
Yep; I setup a rule to block emails from [EMAIL PROTECTED]. - Original Message - From: Stacy Young To: flexcoders@yahoogroups.com Sent: Tuesday, July 26, 2005 11:56 AM Subject: [flexcoders] Undeliverable Messages ?! Anyone else getting spammed from undeliverable messages from

[flexcoders] Trouble Deploying on WebLogic 8.1

2005-07-26 Thread Dave Kuncl
I am having trouble deploying a Flex web app on WebLogic. It deploys fine if I expand the war file and hot deploy, but when the app is bundled in a war file inside an ear file the servlets fail to load. Can a Flex web app only be deployed expanded on WebLogic? -- Flexcoders

RE: [flexcoders] Trouble Deploying on WebLogic 8.1

2005-07-26 Thread Brian Deitte
Yes this is a known issue (internal bug number 93750). I believe this is documented but don't have a reference to it. -Brian From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dave KunclSent: Tuesday, July 26, 2005 11:58 AMTo: flexcoders@yahoogroups.comSubject:

[flexcoders] Flex XPATH API.

2005-07-26 Thread Omar Ramos
Does flex also has a XPATH API like in flash mx mx.xpath.XPathAPI package? -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the

[flexcoders] Question about tooltip text

2005-07-26 Thread nostra72
Is it possible to have an array of items and have each item get a different tooltip text -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com YAHOO!

Re: [flexcoders] Using a Text Field vs a Date Field

2005-07-26 Thread Manish Jethani
On 7/25/05, javawebgrrl [EMAIL PROTECTED] wrote: I have a situation where I want a user to be able to enter a date into a Text Field. My problem is what to do if the user enters something like abc. I am wondering if I could use the parseDateString method of the DateFormatter class. If

Re: [flexcoders] Question about tooltip text

2005-07-26 Thread JesterXL
Check it: ?xml version="1.0" encoding="utf-8"?mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"initialize="initCracka();" mx:Script![CDATA[ public var a:Array;function initCracka(){a = ["uno", "dos", "tres"];} ]]/mx:Scriptmx:Canvas width="100%" height="100%" mx:Label

[flexcoders] Rounded corners on Title Window

2005-07-26 Thread charlespaz1
Is it possible, and if so, how, to make the bottom corners of a Title Window rounded like an Alert window? Thanks -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo!

[flexcoders] sound problem: onSoundComplete

2005-07-26 Thread Tom Fitzpatrick
Trying to get onSoundComplete() to work - but it never seems to get called. Here's the code I'm working with: function startSound(currentSound) { feedback.text += currentSound+ playing now; glow.alpha = 100; var snd:Sound = new

RE: [flexcoders] Rounded corners on Title Window

2005-07-26 Thread Ashish Goyal
Set panelBorderStyle style property to roundCorners. -Ashish From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of charlespaz1Sent: Tuesday, July 26, 2005 2:24 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Rounded corners on Title Window Is

[flexcoders] Re: Flex XPATH API.

2005-07-26 Thread Andrew Spaulding
Take a look at this indepth package from XFactorStudio. http://www.xfactorstudio.com/ActionScript/AS2/XPath/ AS1 and AS2 versions both available. Regards, Andrew Spaulding www.flexdaddy.info --- In flexcoders@yahoogroups.com, Omar Ramos [EMAIL PROTECTED] wrote: Does flex also has a XPATH

[flexcoders] Passing binding data to a custom combobox

2005-07-26 Thread Kim Reddington
I have a statePicker component that I created. If I try to pass a value to the statePicker, then the comboBox will display the proper label for the data I passed in. For example, this line of code will display Massachusetts in the comboBox. StatePicker id="state" width="200"

[flexcoders] firing events form a List component

2005-07-26 Thread Douglas Knudsen
so, I have a list. The change event calls the function below. I want a click on an item to broadcast an event, using cairngorm by the way. I can't seem to get it to work. The Alert tells me the event name is coming in correctly, but nothing is happeing. I hardcoded the event to

[flexcoders] Re: firing events form a List component

2005-07-26 Thread Andrew Spaulding
The problem here is selectedItem.value is a String and is being treated like a String. Yet in your controller it is declared as the variable name. So rather than passing the string reference into broadCast event, why not use the selectedItem.value as a reference to the variable name in the

Re: [flexcoders] Re: firing events form a List component

2005-07-26 Thread Douglas Knudsen
holy event bubbles batman! I knew it had something to do with the fact that it was a string. I tried playing with eval(). I had no idea you could ref vars using bracket notation in AS though. obviously I'm a n00b. danke flexdaddy. DK On 7/26/05, Andrew Spaulding [EMAIL PROTECTED] wrote:

RE: [flexcoders] Using Value Objects CFC's

2005-07-26 Thread Malcolm
Testify! That sure did the trick. I have done the following -- in the LoginDelegate.as -- var call = service.login( { loginVO : loginVO } ); -- cfc -- cffunction name=login output=false access=remote returnType=query cfargument name=loginVO type=struct required=yes default=

RE: [flexcoders] sound problem: onSoundComplete

2005-07-26 Thread Matt Chotin
snd. function() { //same body here }); Youre having scoping problems. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tom Fitzpatrick Sent: Tuesday, July 26, 2005 2:30 PM To: flexcoders@yahoogroups.com Subject: [flexcoders]

RE: [flexcoders] Custom Error Page

2005-07-26 Thread Matt Chotin
Maybe you have a bad WAR? The custom error page is used to deliver the nice looking error pages. Seems like it isnt finding it which might mean that the flex jars arent loading up? I dont know of more off-hand. Matt From: flexcoders@yahoogroups.com