[flexcoders] Re: Printing Chart

2007-11-22 Thread monkeeeh
Please someone tell me how to print chart! I know that you know.

[flexcoders] Re: Managing States and Cairngorm

2007-11-22 Thread stephen50232
Hi Seb, Thanks for the reply, I like you idea, it makes sense. If I create an event which is fired during start up a I can in theory reuse the same event in the menu I'm creating. All it will be doing is passing the name of the state to change to. One thing I will do is when the event is fired

Re: [flexcoders] Re: Flex Hierarchy

2007-11-22 Thread Muzak
Use the argument passed to the event handler, that's what it's for. currentTarget should give you what you need. private function init():void { var c1:Canvas = new Canvas(); addChild(c1); var c2:Canvas = new Canvas(); c1.addChild(c2); var c3:Canvas = new Canvas();

Re: [flexcoders] getDefinitionByName and gotoAndPlay

2007-11-22 Thread Matthias Dittgen
That's close to the truth, I think. As a colleague of mine pointed out, objects on frame1 were already initialized before the constructor is executed while objects on another frame need some time (usually 1 frame) to become initialized as well. So my solution will be to avoid gotoAndStops as

[flexcoders] alternate style of list

2007-11-22 Thread learner
Hi all, How can set the alternate styles to list items ? ex: something like : .style1{ } .style2{ } mx:list id=mylist/ mylist.alternateStyle = [];

RE: [flexcoders] Re: Managing States and Cairngorm

2007-11-22 Thread Sebastian Zarzycki
Not really, unless you can give yourself a good explanation, why you don't want to pass the value. The default logic for this behavior is a bit too complicated (if, then). I assume your app is small, but as it grows, you might be confused what's going on, since there is no clear explanation in

[flexcoders] Number Formatter

2007-11-22 Thread jitendra jain
Hi guys I have to show percentage field in my datagrid. I used numberFormatter. But it gives me output i,e .99 instead of 0.99 please help Thanks, JJain - Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how.

[flexcoders] Another Change Event?

2007-11-22 Thread triggersoftware
I'm writing a Quiz application where the user is automatically advanced to the next question upon answering the current question. I'm currently hooking into the CHANGE event on the RadioButtonGroup object, but this event appears to be fired *before* the component gets a chance to draw the dot in

[flexcoders] invalid syntax?

2007-11-22 Thread candysmate
I've just started a new project and have already got a Application tag has invalid syntax when switching to design mode in Flex 2.01. The project compiles and runs without error. Can anyone see the 'blooper' please? I can't (yet)! ?xml version=1.0 encoding=utf-8? mx:Application

Re: [flexcoders] Multi Validation

2007-11-22 Thread Dmitry Kochetov
The best way is to implement custom validation class. Try to extend EmailValidator and add your rules, its for email validation question. Rafael Faria wrote: There is any way to validate one field with 2 or more types of validation? like i want a field that needs to be with max

[flexcoders] flex commercial componentes

2007-11-22 Thread yourName
Can Any Tell me is their any flex comercial components kit to purcahse.. Plz Send me link and compnay name who is selling componenst..

RE: [flexcoders] How to change application background color dynamically

2007-11-22 Thread Kenneth Sutherland
You want to create a separate css style sheet for each type of user. Then have a look at the following http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhel p.htm?context=LiveDocs_Book_Partsfile=styles_069_26.html This will let you change the styling of the app at runtime.

RE: [flexcoders] Resources included in SWC library

2007-11-22 Thread Gregor Kiddie
I've read about maybe needing to use -include-file but does that mean we need to manually create the compile line to include every resource and there resource bundle file itself? It's not quite as bad as that (though to be honest, compc needs to be made a lot more user friendly, not everyone

[flexcoders] Re: Managing States and Cairngorm

2007-11-22 Thread stephen50232
Hi Seb, Thanks, I've now created a static const in my ModelLocator class which , is called APP_DEFAULT_STATE, which I'm using to load in the Application.currentState. So now I can switch between states fine, thanks. One question though is Cairngorm good with managing states or is it better

[flexcoders] Re: irregular x-axis intervals on a line chart

2007-11-22 Thread simonjpalmer
dumb question, but how do I post screenshots to flexcoders? --- In flexcoders@yahoogroups.com, Sunil Bannur [EMAIL PROTECTED] wrote: Can you post a screenshot, it would be easier to understand. From: flexcoders@yahoogroups.com [mailto:[EMAIL

[flexcoders] Re: How to change application background color dynamically

2007-11-22 Thread simonjpalmer
You can also use states on the app... mx:states mx:State name=Manager mx:SetStyle name=backgroundGradientColors value=[#ff0080, #b1c0c7]/ /mx:State mx:State name=Seller mx:SetStyle name=backgroundGradientColors value=[#80, #b1c0c7]/ /mx:State /mx:states then set the app state once you know

[flexcoders] Custom HTTP service causes Type Coercion failed error on dispatchEvent

2007-11-22 Thread dave_defusion
I have a custom HTTP service, in this service I have done overridden the dispatchEvent method to enable us to check for and handle any debug data contained in the HTTP response (as we're using CakePHP on the backend). What I'm doing is the following: override public function

[flexcoders] Re: Flex+finger sensor+webcam+socket!!

2007-11-22 Thread Bit
Sorry!! no finger sensor selected anything! any sugestion? this is url have any finger sensor? thx Bit --- In flexcoders@yahoogroups.com, thomas_viktil [EMAIL PROTECTED] wrote: Hello! Uhm... I'm not quite sure of what you mean by 'project not finger defined', but if you ever need any

Re: [flexcoders] Re: Managing States and Cairngorm

2007-11-22 Thread rattkin
Hi Seb, Thanks, I've now created a static const in my ModelLocator class which , is called APP_DEFAULT_STATE, which I'm using to load in the Application.currentState. So now I can switch between states fine, thanks. One question though is Cairngorm good with managing states or is it better

[flexcoders] Standard list sufficient or custom from ground up?

2007-11-22 Thread DreamCode
Hi! I need to have some pretty unusual behavior in a list and being fairly with flex I'm not quite sure of the standard components abilities, so far I haven't found what I'm looking for. Here are the requirements: A number of different item renderers, only one pr list though. All cells/item

[flexcoders] Which component for photos?

2007-11-22 Thread premieritalia
Hello i want create an application similar to http://www.flashloaded.com/flashcomponents/photoflow/ to manage photo. Which component I must use? thanks

[flexcoders] Flex CSS

2007-11-22 Thread premieritalia
I've created this css file ___ /* CSS file */ #padre { background-color: red; width: 300px; } #figlio { background-color: green; width: 100%; } for my flex application, but the flex builder gives a

Re: [flexcoders] flex rich edit control with image support

2007-11-22 Thread DreamCode
I started doing one a while back, but got too busy with other stuff and I never got back to it, I might consider it if there's enough demand from the community You can see a screenshot of how it looks in the skin i made at http://www.bimlab.net/allan/flexskin.jpg --a On Nov 20, 2007 5:39

Re: [flexcoders] Accessing Components By Dynamically generated IDs

2007-11-22 Thread DreamCode
I think you should be able to constuct the id something like this: var currentItem:Object = this['hbox' + number] I assume you know the number of boxes you create. --Allan On Nov 21, 2007 11:49 PM, gaurav1146 [EMAIL PROTECTED] wrote: Hi, I have a component where a user can add text

[flexcoders] Re: Printing Chart

2007-11-22 Thread Mark
Looks like you may be sending it too soon. Here's my code for a barChart that should work for a pie as well. Try reacranging the code a bit and see what happens. Let us know how it goes. Mark public function printSnapshotArea():void { var printDJob:FlexPrintJob = new FlexPrintJob();

Re: [flexcoders] Number Formatter

2007-11-22 Thread Paul Andrews
- Original Message - From: jitendra jain To: flexcoders@yahoogroups.com Sent: Thursday, November 22, 2007 10:22 AM Subject: [flexcoders] Number Formatter Hi guys I have to show percentage field in my datagrid. I used numberFormatter. But it gives me output i,e .99

Re: [flexcoders] Re: Managing States and Cairngorm

2007-11-22 Thread Douglas Knudsen
my opinions: 1) Use Flex states for components. Use viewstacks to manage the application. Easy to bind the selectedIndex on your viewstack to a bindable var in your model. 2) Which framework to use for this is a discussion for a different thread, it really doesn't pertain to the topic. DK On

Re: [flexcoders] Re: icon path in ActionScript

2007-11-22 Thread Douglas Knudsen
ha, figures this Florida Gator would be ignorant of that Volunteer state. :D Johnny Cash is far better in my book anyhoo. DK On Nov 22, 2007 12:10 AM, Ben Stucki [EMAIL PROTECTED] wrote: Hey Douglas, Actually, Elvis is in Memphis. It's just me and Johnny Cash here in Nashville. :-)

Re: [flexcoders] Accessing Components By Dynamically generated IDs

2007-11-22 Thread Douglas Knudsen
Or maybe just use a collection to store a reference to each. Then just loop over the collection. ??? DK On Nov 22, 2007 3:35 AM, DreamCode [EMAIL PROTECTED] wrote: I think you should be able to constuct the id something like this: var currentItem:Object = this['hbox' + number] I assume

Re: [flexcoders] Authentication with pin codes and weird behaviour with SecurityException

2007-11-22 Thread Tom Chiverton
On Thursday 22 Nov 2007, Mika Kiljunen wrote: LoginCommand all the way up to flex client. It seems that Flex somehow swallows all custom exceptions from java LoginCommand and throws it's own I think that's by design. ...And when it comes to normal program flow, I do concider failed

Re: [flexcoders] Re: irregular x-axis intervals on a line chart

2007-11-22 Thread Tom Chiverton
On Thursday 22 Nov 2007, simonjpalmer wrote: dumb question, but how do I post screenshots to flexcoders? Adobe Share :-) -- Tom Chiverton Helping to continually brand granular eyeballs on: http://thefalken.livejournal.com This email is

[flexcoders] Tree : disable select as you type

2007-11-22 Thread benoit.kogut
Hello, Is there a way to disable the select as you type feature of the Tree component ? I'm trying to add keyboard shortcuts (Cut / Copy / Paste) on a tree, using the keyDown event. As soon as I hit the 'c' key (for instance) the first node whose label begins with a 'c' gets selected : the

Re: [flexcoders] Which component for photos?

2007-11-22 Thread Tom Chiverton
On Thursday 22 Nov 2007, premieritalia wrote: Hello i want create an application similar to http://www.flashloaded.com/flashcomponents/photoflow/ to manage photo. You asked yesterday too. -- Tom Chiverton Helping to centrally revolutionize total e-markets on: http://thefalken.livejournal.com

[flexcoders] HttpService not called the first time

2007-11-22 Thread gers32
Hi, Components A and B are inside Panels of a ViewStack; they're accessed via a TabBar. I define an HttpService within component A. I call A.HttpService from an action in component B. When I perform the action in component B, A.HttpService will only get called if I have PREVIOUSLY visited A...

RE: [flexcoders] Flex CSS

2007-11-22 Thread Kenneth Sutherland
I've attached a file from scalenine's site (http://www.scalenine.com/) where you can find out quite a bit about styles, css etc. Looking at the code snippet (without running it) I'd probably say the error was with the line width: 100%; I'd have used width: 100%; Also I believe that

[flexcoders] Databinding and modellocator

2007-11-22 Thread nxzone
Why databinding is not working? User class in bindable. When I set the new user, with setUser the fullname in Myapp in not changed. In User.AS public static function setUser(u:User):void{ loggedUser=u; } public static function

Re: [flexcoders] Real world usage of Flex

2007-11-22 Thread Dave Carabetta
Hi Yoni, We have a showcase set up to demonstrate some of the solutions we've delivered to our clients, and there's plenty more on the way. http://www.cynergysystems.tv/ Hope this helps. Regards, Dave. Cynergy On Nov 20, 2007 9:28 AM, real_yoni [EMAIL PROTECTED] wrote: Hi All, I'm

[flexcoders] radioButton label colour via AS3?

2007-11-22 Thread candysmate
I can set the colour of a radioButton's label with color = #ff in mxml, but when I try to use the idname.color = #ff; in AS3 Flex 2.01 throws an undefined property error. How can I change the radioButton label text colour via AS3 please?

RE: [flexcoders] Re: Managing States and Cairngorm

2007-11-22 Thread Sebastian Zarzycki
Can you explain why use viewstacks for application and flex states for components? How is that different? You can bind currentState of any component (and application) to bindable var in model. Seb From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Douglas Knudsen

[flexcoders] Re: On mx.collections and the missing data structures... Set, Map, Queue, etc

2007-11-22 Thread Aldo Bucchi
Are there any plans to improve on this for the next release? On Nov 20, 2007 2:14 AM, Aldo Bucchi [EMAIL PROTECTED] wrote: Hi all, I am ripping my hair off trying to figure out whether to create a parallel collections framework or somehow extend the current one. While sticking to the IList

[flexcoders] ComboBox inside a DataGrid

2007-11-22 Thread arashafrooze
Hi everyone, I have a datagrid and I'd like to add a comboBox under one of the columns. Now apparently I have to specify a dataField for my DataGridColumn, but I want the data for this column to come from my combo box. How do i do that? Im pasting a piece of the code here to make more sense:

[flexcoders] Dynamically Setting width of a TextInput control

2007-11-22 Thread simonjpalmer
I am using a TextInput control as an item renderer and I want to set the width of the control to reflect the size of the text within it. The text comes from a property of the data associated with the item renderer. I am overriding the set data method in order to set the text and some stle

[flexcoders] Making a component 'hop' between containers

2007-11-22 Thread Paul Andrews
OK, I'm being lazy and asking for the best approach to this before I give it a go. I have a custom component based on a canvas. Inside the component is a panel. Inside the panel is a controlBar. In the main application I have the custom component (CompA). I want to add another custom

[flexcoders] Extending RichTextEditor

2007-11-22 Thread Giles Roadnight
Hi All I know that Rich Text editor has bene brought up a load of times but there still doesn't seem to be any decent solution. I want a basic HTML editor that will allow me to style and lay out fairly simple text as content for webpages. I want to be able to add images, re-size them and to be

[flexcoders] Re: HttpService not called the first time

2007-11-22 Thread per.olesen
Hi, Maybe you should try setting creationPolicy=all on your TabBar. By default, it first creates the child components when someone tabs into it. If you set it to all, all child controls will be created up-front (which can be expensive, if you have many that are complex). See:

Re: [flexcoders] Extending RichTextEditor

2007-11-22 Thread Adnan Doric
Well at least Adobe provide something :) They can't make very complex RTE because it is too complicated and people usually want customized components to suit their needs. Feel free to extend it or make your own from scratch and don't forget to share it :) Adnan Giles Roadnight wrote: Hi

[flexcoders] Bug in rich text editor invalidate the html text

2007-11-22 Thread danielvlopes
This problem is not really bug, but semantic problem i html text generated by this comp. The font size html tag generated by rte use 10 and in flex its ok but in html text go huge, why adobe don't change to style:font-size or use size in pixel? This problem invalidate this comp to use in

Re: [flexcoders] Flex 3 + LiveCycle: Is debugging Java possible?

2007-11-22 Thread Carlos Rovira
We are using eclipse wtp with tomcat and we can debug Flex, java or both at once 2007/11/21, jamiebadman [EMAIL PROTECTED]: Hi, Our project is a Flex 3 + LiveCycle 2.5 application and is all built under a single project - ie the Flex and Java are contained within a single project and can

Re: [flexcoders] Re: Managing States and Cairngorm

2007-11-22 Thread Johannes Nel
puremvc works in flex (its an agnostic framework really) but rising to cairngorm's defence, the faults with cairngorm are well documented, puremvc is not as used. puremvc is still a (relatively) new addition, it has its faults, like those 3 singletns's i care not for an agnostic framework, i

[flexcoders] has anyone written an arrowhead edge renderer for the springggraph?

2007-11-22 Thread simonjpalmer
I want some of my edges to be directional. Anyone have a UI component which draws an arrow that they would't mind sharing?

Re: [flexcoders] Re: Managing States and Cairngorm

2007-11-22 Thread Ralf Bokelberg
I prefer String over int, because it is selfdocumenting, so i'd go for states rather than viewstack.selectedIndex Cheers Ralf. On Nov 22, 2007 1:08 PM, stephen50232 [EMAIL PROTECTED] wrote: Hi Seb, Thanks, I've now created a static const in my ModelLocator class which , is called

[flexcoders] Re: Flex Hierarchy

2007-11-22 Thread Rafael Faria
Well... i don't think anyone understood what i need so i decided to write a function to solve my problem. It's not the best way but i might help someone in the future. With this function you can use $('children_name') and it will return the object. It will work like getElementById('') of

[flexcoders] Re: Accessing Components By Dynamically generated IDs

2007-11-22 Thread Rafael Faria
I got the same problem... and solve with this function function $(object:String,container:DisplayObjectContainer = null) { if (container == null) container = this; for (var i:uint=0; i container.numChildren; i++) { var child:DisplayObject = container.getChildAt(i);

[flexcoders] FormItem problem

2007-11-22 Thread Rafael Faria
Hello, has anyone succesfully implemented a FormItemLabel that can have text on multiple lines instead of single line label?

[flexcoders] FYI: Flex video site for Aussie regional TV station

2007-11-22 Thread Mailing Lists
Hi all, http://canberra.iprime.com.au was released a few weeks ago and I thought I'd mention it and see what you think. Any comments greatly appreciated. Mike.

Re: SPAM-LOW: [flexcoders] flex commercial componentes

2007-11-22 Thread Jeffry Houser
Are you asking us to do market research for you? yourName wrote: Can Any Tell me is their any flex comercial components kit to purcahse.. Plz Send me link and compnay name who is selling componenst.. -- Jeffry Houser, Technical Entrepreneur, Software Developer, Author,

Re: [flexcoders] Making a component 'hop' between containers

2007-11-22 Thread Paul Andrews
- Original Message - From: Paul Andrews To: flexcoders@yahoogroups.com Sent: Thursday, November 22, 2007 9:33 PM Subject: [flexcoders] Making a component 'hop' between containers OK, I'm being lazy and asking for the best approach to this before I give it a go. I have a

Re: [flexcoders] Flex 3 + LiveCycle: Is debugging Java possible?

2007-11-22 Thread Johannes Nel
ditto On Nov 22, 2007 5:25 PM, Carlos Rovira [EMAIL PROTECTED] wrote: We are using eclipse wtp with tomcat and we can debug Flex, java or both at once 2007/11/21, jamiebadman [EMAIL PROTECTED]: Hi, Our project is a Flex 3 + LiveCycle 2.5 application and is all built under a

[flexcoders] Re:Which component for photos?

2007-11-22 Thread Anzer
Check out this http://dougmccune.com/blog/2007/11/19/flex-coverflow-performance-improvement -flex-carousel-component-and-vertical-coverflow/

RE: [flexcoders] FYI: Flex video site for Aussie regional TV station

2007-11-22 Thread Mailing Lists
Thanks Bjorn, I think what you are seeing is what we got with the beta player it works fine on 9.0.47. Mike. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Schultheiss Sent: Friday, 23 November 2007 2:46 PM To: flexcoders@yahoogroups.com Subject: Re:

[flexcoders] +Re%3A%20How%20to%20change%20application%20background%20color%20dynamically

2007-11-22 Thread Girish
Hi Kenneth Simonjpalmer, Thanks for your valuable reply, I did it in simple way, below is the code which i have written private function LoadComponent(licensetype:String):void { var screen:UIComponent; switch (licensetype) { case Manager: // Load Manager Component screen = new Manager();

Re: [flexcoders] FYI: Flex video site for Aussie regional TV station

2007-11-22 Thread Bjorn Schultheiss
Congratulations! Great to see some tight work coming out of Australia. The HTML iframe content looks a bit dodgy on firefox mac. But i'm not sure there's much you can do about it. nice one! regards, Bjorn On 23/11/2007, at 2:34 PM, Mailing Lists wrote: It is a hybrid of our designs

RE: [flexcoders] FYI: Flex video site for Aussie regional TV station

2007-11-22 Thread Mailing Lists
It is a hybrid of our designs (www.webqem.com) and the clients thoughts ;-) Through circumstances beyond our control it took about 2 months longer than needed but about 4 months all up. Mike. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sheriff Sent: Friday,

[flexcoders] Need help componentizing SliderControl!!!

2007-11-22 Thread Jaganathan.K
Hi All, I need to create a slider control which should be controlled externally. I have the folowing code where i hardcoded all the values like the panel widths, slide range and combo box values. Please play around with the component and let me know how to componentize the same. I need the

Re: [flexcoders] FYI: Flex video site for Aussie regional TV station

2007-11-22 Thread Sheriff
did you design it? how long did it take? - Original Message From: Mailing Lists [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, November 22, 2007 8:01:27 PM Subject: [flexcoders] FYI: Flex video site for Aussie regional TV station Hi all,

[flexcoders] Re: radioButton label colour via AS3?

2007-11-22 Thread ben.clinkinbeard
Color is actually a style so its idname.setStyle(color, 0xFF); HTH, Ben --- In flexcoders@yahoogroups.com, candysmate [EMAIL PROTECTED] wrote: I can set the colour of a radioButton's label with color = #ff in mxml, but when I try to use the idname.color = #ff; in AS3 Flex 2.01

[flexcoders] Re: HttpService not called the first time

2007-11-22 Thread gers32
Thank you so much Per, I set creationPolicy=all on the ViewStack and it immediately solved my problem. Cheers, Chris. --- In flexcoders@yahoogroups.com, per.olesen [EMAIL PROTECTED] wrote: Hi, Maybe you should try setting creationPolicy=all on your TabBar. By default, it first creates the