[flexcoders] Re: geting info of a user who has loged in

2009-01-05 Thread Jason B
You'll need an httpservice to get info to and from your backend language --- In flexcoders@yahoogroups.com, johndoematrix johndoemat...@... wrote: hi guys, i have a database with user info like username, password, firstname, lastname, email and so on... so i created a flex login such that a

RE: [flexcoders] Re: error in HTTPService

2009-01-05 Thread Tracy Spratt
Also, a declaratively created request object is very difficult to debug. I suggest you build that XML in an as function, then trace it out and verify it is valid as a whole. I suspect that you have invalid xml the second time. Using a utility will also let you do this, but simply tracing the

Re: [flexcoders] enterState for tabNavigator?

2009-01-05 Thread endrone endrone
Also the show event of the TabNavigator children. The show is only dispatched if you hide it first It's either the TabNavigator's 'change' (your current method) or its children's 'initialize'. It's hard to say without knowing more about the sort of initialization you're doing here. I'm

[flexcoders] Re: enterState for tabNavigator?

2009-01-05 Thread Amy
--- In flexcoders@yahoogroups.com, Manish Jethani manish.jeth...@... wrote: On Mon, Jan 5, 2009 at 10:01 PM, endrone endrone endr...@... wrote: currentStateChange and enterState don't work with a TabNavigator They are indeed in the docs, but they don't seem to work. Are you using the

RE: [flexcoders] enterState for tabNavigator?

2009-01-05 Thread Tracy Spratt
Yes, I typically use creationComplete and show together, both calling the initialization code. Change is probably fine, though I prefer to keep code close to where it is needed, in this cast that is in the child component itself. Tracy From:

Re: [flexcoders] AdvancedDataGrid Tree - Help Required - Urgent

2009-01-05 Thread muruga
Hi Thank you very much for your reply. Is it possible to get some sample code for this? Thanks Amy-28 wrote: --- In flexcoders@yahoogroups.com, muruga murugave...@... wrote: Hi I have advanceddatagrid in which i am displaying the data in Tree structure. Since the data is huge

[flexcoders] WANTED: Online help integration, authoring, best practices (for Flex or Ajax)

2009-01-05 Thread jim.abbott45
Does anyone have any recommendations about good ways to add online help to Flex (and maybe Ajax) applications? In particular . . . 1) Is your help system integrated into the application or is it in a separate (browser) window? 2) How do you achieve _context-sensitive_ linkage? 3) What tooling

RE: [flexcoders] Re: error in HTTPService

2009-01-05 Thread Tracy Spratt
When does this error happen? When the send is called, or in the fault handler? (I am not good enough at reading stack traces to tell) If the former, suspect the outgoing xml. If the latter, suspect the service. Tracy From: flexcoders@yahoogroups.com

Re: [flexcoders] enterState for tabNavigator?

2009-01-05 Thread endrone endrone
currentStateChange and enterState don't work with a TabNavigator They are indeed in the docs, but they don't seem to work. creationComplete and initialize only happen once. With states you can easily init a state with the enterState event. I want something similar for the TabNavigator. Now I

[flexcoders] Accordion with no selection possible ?

2009-01-05 Thread rockorgames
is it possible to make all accordian canvas to be closed initially ? i tried selectedIndex = -1 but still the first canvas was open.. thx!

Re: [flexcoders] Setting NumericStepper's label?

2009-01-05 Thread grimmwerks
Well it's BETTER, still off -- but the background isn't working then in the NumericStepper (see attached). I think I might have to make other CSS classes -- ie I can't just do 4 different styles, but might have to do 4 styles of NumericStepper, etc. inline: pastedGraphic.png On Jan 5,

[flexcoders] TextInput ItemRenderer arrow keys change list selection

2009-01-05 Thread Greg Hess
Hi All, I am using a custom item renderer in a TileList that has a TextInput child allowing the EU to view and enter some text for the item. When the user clicks on the TextInput it becomes focused however, when in the focused state the L/R Arrow key events are hanlded by the parent TileList not

[flexcoders] how to control piechart resize?

2009-01-05 Thread duraibalaji
Hi, I've piechart, the data supplied dynamically changes, each time the piechart size is getting resized, in other words, if we have 4(values) sectors in pie chart, its with one size and when it has 2(values) sectors, the piechart enlarges(bigger than the previous one). how can we control the

[flexcoders] Call external App from AIR

2009-01-05 Thread lehaianh1986
Hi every body. I'm a newbie in Flex and AIR. I have new project that create an AIR app. It open MS word document, edit and save as to plain text. So my idea is use Actionscript in AIR app to call javascript in mx:html, then java code call an ActiveXObject to launch MS Word app. I use Flexbuilder 3

RE: [flexcoders] WANTED: Online help integration, authoring, best practices (for Flex or Ajax)

2009-01-05 Thread Tracy Spratt
One would hope that the company that owns Flash, Flex and RoboHelp is working on some integration. I have not seen anything myself yet. Here is what I did: * I use an external browser window to display help * I chose to have two levels of context, module, and view. * My

RE: [flexcoders] Accordion with no selection possible ?

2009-01-05 Thread Tracy Spratt
This gets asked regularly, and a google search will provide some solutions. There is no built-in way to do this with Accordion. What do you want to show in the accordion area when nothing is selected? Tracy From: flexcoders@yahoogroups.com

[flexcoders] tab navigation with TitleWindow not working

2009-01-05 Thread hansen2027
I am creating a popup dialog (using a mx:TitleWindow/ with focus set to the first child (mx:TextArea). When I hit the tab key, focus is lost from the TitleWindow and is grabbed by the browser address field. Continued tabbing never returns to the dialog. This doesn't happen with FireFox, only

[flexcoders] Re: Call external App from AIR

2009-01-05 Thread lehaianh1986
Thank Sam! I build an client AIR app. I find that all the way which I have tried is can't execute. I have received another guide about command proxy so I will search about it. How about just distributing that SWF and the HTML file instead of using AIR? can you give me some information about this

[flexcoders] Re: error in HTTPService

2009-01-05 Thread Jason B
Another option is to bypass flex and use the url directly in the browser or a simple script to post to the url with the xml data to find out details on whats being returned to flex and if its valid XML --- In flexcoders@yahoogroups.com, Tracy Spratt tspr...@... wrote: Also, a declaratively

[flexcoders] Modules, CFC and the second load

2009-01-05 Thread Link Mckinney
I have a module that I call a remote Object to a cfc. the cfc is a basic CRUD built with the CF wizard in Flex 3 Builder. I have bindable data variables in the main application that I use in this module by using the parentApplication.myVariable. now my application saves the form the first time

[flexcoders] Re: Using Flash Symbols in Flex.

2009-01-05 Thread valdhor
You may like to look at the FX Video component to get some ideas: http://www.fxcomponents.com/flex-video-player/ --- In flexcoders@yahoogroups.com, paulgrantgain paulgrantg...@... wrote: Hi Manish, Thanks for the reply. The following methods are associated with buttons on the UI and

Re: [flexcoders] Re: Accordion with no selection possible ?

2009-01-05 Thread Doug McCune
Check out the SuperAccordion by Tink: http://www.tink.ws/blog/superaccordian-updates/ On Mon, Jan 5, 2009 at 10:06 AM, rockorgames eguilhe...@gmail.com wrote: ? im not sure how do i wanted to look like.. like all closed ? i suppose i ll have to make some kind of ugly hack like make 1 empty

Re: [flexcoders] Re: Knock knock..Help me!!

2009-01-05 Thread Jack Desert
Does the type=utility tag work in mx:WindowedApplication /? Jack Hi people, Does anyone know how do i make my air application run in background(Mac operating system).My purpose of making it background is to make the application dockless(without any dock icon)..

[flexcoders] Re: model in UIComponent

2009-01-05 Thread Doug S.
Can you post your code for the popup? --- In flexcoders@yahoogroups.com, stldvd stl...@... wrote: I've got some UI text fields and labels bound to properties in my model. I'm dispatching an event which, when listened to, causes a popup to appear: var newRulesetWindow:IFlexDisplayObject =

[flexcoders] Re: geting info of a user who has loged in

2009-01-05 Thread Jason B
yes just pass the info back to the httpservice maybe this example will help you http://blog.flexexamples.com/2007/10/29/passing-parameters-to-an-httpservice/ you call the httpservice upon login button clicked login.send(); and then the httpservice provider passes the login to your backend code

[flexcoders] Re: WANTED: Online help integration, authoring, best practices (for Flex or Ajax)

2009-01-05 Thread artur_desig2dev
is it possible to see a sample of this online? thanks artur

Re: [flexcoders] enterState for tabNavigator?

2009-01-05 Thread Manish Jethani
On Mon, Jan 5, 2009 at 10:01 PM, endrone endrone endr...@gmail.com wrote: currentStateChange and enterState don't work with a TabNavigator They are indeed in the docs, but they don't seem to work. Are you using the states feature at all? A TabNavigator by itself won't dispatch these events,

[flexcoders] Re: error in HTTPService

2009-01-05 Thread valdhor
Have you tried it with a debugging HTTP proxy like Charles? --- In flexcoders@yahoogroups.com, weezee49 rainygl...@... wrote: I have the following HTTPService: mx:HTTPService id=svcSimulationUpdate contentType=application/xml url=http://localhost:3000/simulations/

[flexcoders] WebServices Attachment in flex

2009-01-05 Thread siva kumar
Hello, Does any one know how to handle PDF file as SOAP attachment in flex?  Thanks, Siva

[flexcoders] enterState for tabNavigator?

2009-01-05 Thread endrone endrone
Hello, when you change a state, there's a enterState dispatched when a new state is shown. This is very handy for initializing the state. But does something similar exist for the tabNavigator? (enterState exists for a TabNavigator but doesn't work) What if you have several tabs and you want to

RE: [flexcoders] tab navigation with TitleWindow not working

2009-01-05 Thread Alex Harui
Where was focus before the titleWindow was popped up? From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of hansen2027 Sent: Monday, January 05, 2009 9:34 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] tab navigation with TitleWindow not working I am

[flexcoders] Java HashMap to ComboBox

2009-01-05 Thread Vijay
Can someone help me on binding the HashMap data returned by a Remote call to the Flex ComboBox? I'm successful in iterating the HashMap data inside the ActionScript but I didnt know how to bind the key=value pair to a ComboBox Code Snippet -- [Bindable] private var

[flexcoders] Cannot assign arraycollection[i] value to VO variable due to ObjectProxy

2009-01-05 Thread jeremysavoy
I have an array collection that is a collection of ContactVO items. When I debug and look at the ArrayCollection, each item, [0], [1], etc is of type ObjectProxy, and inside each of these there is an object that then contains the ContactVO fields. I'm assuming they are ObjectProxy because I

[flexcoders] Re: Slow datagrid updates not commiting right away

2009-01-05 Thread Jason B
I was looking into the commit properties to see if this would help but it seems that the datagrid has its own timer to update the commit? anyway to force this --- In flexcoders@yahoogroups.com, Jason B nos...@... wrote: I'm using a datagrid with httpservice then allowing the user to click on

Re: [flexcoders] Modules, CFC and the second load

2009-01-05 Thread Simon Bailey
Stab in the dark here. A a while back I had multiple modules making remote call to ColdFusion and ran into a problem, what the exactly was I cannot recall but I know the solution was to ensure my module (on startup) called: registerClassAlias(flex.messaging.messages.RemotingMessage,

[flexcoders] Re: Font for tab navigator heading not working

2009-01-05 Thread Tim Hoff
The only other thing that I can suggest that you try is: .myTabs { fontFamily: AvenirLTStdMedium; } -TH --- In flexcoders@yahoogroups.com, Nate Pearson napearso...@... wrote: Doug, no I'm not doing that. Tim, The button css thing didn't work either :(. --- In

[flexcoders] Re: Where did my CurrentTarget go?

2009-01-05 Thread valdhor
Mike The currentTarget will change as the event propagates. You probably have only one itemEditorInstance for a particular component. When that component is the currentTarget then you see that itemEditorInstance. Check out the documentation on Event Propagation at

[flexcoders] Re: AdvancedDataGrid Tree - Help Required - Urgent

2009-01-05 Thread Amy
--- In flexcoders@yahoogroups.com, muruga murugave...@... wrote: Hi Thank you very much for your reply. Is it possible to get some sample code for this? My agreement with my client does not permit this. Sorry

RE: [flexcoders] TextInput ItemRenderer arrow keys change list selection

2009-01-05 Thread Alex Harui
Try stopImmediatePropagation(), but stopPropagation() should have worked assuming you set it up correctly. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Greg Hess Sent: Monday, January 05, 2009 9:37 AM To: flexcoders@yahoogroups.com Subject: [flexcoders]

[flexcoders] AIR Printing to Default Printer

2009-01-05 Thread todd_geist
Does anybody know how to Print From an AIR application with out bringing up any dialogs. This is a kiosk type application, and I want the user to click a print button and have a receipt printed. On the Mac you get two dialogs, first page setup and then the print dialog. I want neither of

[flexcoders] Re: Slow datagrid updates

2009-01-05 Thread Jason B
Heres my example code on the issues im having excuse the pasting mess :( ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute backgroundColor=#FF mx:Script ![CDATA[

[flexcoders] Re: Slow datagrid updates

2009-01-05 Thread Jason B
Thanks for your reply Tracy, no i currently am not using renders in the grid just a simple two column grid which has a value changed upon button click and I'm not using Vbox just absolute layout. the reason i dont care about undo is that the user can change the value back by just clicking the

Re: [flexcoders] Start

2009-01-05 Thread Manish Jethani
On Sat, Jan 3, 2009 at 5:00 AM, Luis Francisco Hernández Sánchez luispac...@hotmail.com wrote: Hi, I want to start sending messages to others. Thanks. You have succeeded. Manish

[flexcoders] How to create an ActionScript 3 (AS3) project in FlexBuilder without using Flex

2009-01-05 Thread devenhariyani
Hello, I've been using Flex for a while, but I'm still not complete clear how I can use AS3 without Flex. Flex is a great framework, but sometimes its too heavy and large for certain tasks. To start, I was trying to do a simple animation using only AS3 as described here:

[flexcoders] Re: geting info of a user who has loged in

2009-01-05 Thread johndoematrix
any example on how to actually do this? it would be of great help. thanks

Re: [flexcoders] Call external App from AIR

2009-01-05 Thread Sam Lai
Is this a client/server app, or a client-only app? If client only, you can't call ActiveX objects, in fact, you can't run Java code at all (except with the proxy, which makes things more complicated). In the HTML file - you are loading it in IE, and using that to access ActiveX objects? That code

[flexcoders] why I can not dispatchEvent with creationComplete?

2009-01-05 Thread markflex2007
I try the following code, But I can not dispatchEvent. mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; creationComplete=justLogin() mx:Metadata [Event(name=loginEvent, type=flash.events.Event)] /mx:Metadata mx:Script ![CDATA[

[flexcoders] Re: Font for tab navigator heading not working

2009-01-05 Thread Tim Hoff
Yeah, good catch Doug. -TH --- In flexcoders@yahoogroups.com, Doug McCune d...@... wrote: ahh, I bet it's because the font you embedded didn't embed teh bold style, and Buttons by default use bold styling. Either change your embed style block to specify the bold fontWeight, or change your

[flexcoders] Re: geting info of a user who has loged in

2009-01-05 Thread Jason B
http://livedocs.adobe.com/flex/3/html/help.html?content=data_access_2.html

[flexcoders] flash.utils.Proxy -- Unable to compile.

2009-01-05 Thread Nate Beck
So this is kind of annoying, I have a proxy Class that I am working with... here is a trimmed down version of it. -- DateTime.as (Trimmed version) -- package net.natebeck.core { import com.flexoop.utilities.dateutils.DaylightSavingTimeUS; import flash.utils.Proxy; import

[flexcoders] How to Cairngorm an Air FileStream ?

2009-01-05 Thread Mark Simon
How can I extend Cairngorm to provide an Adobe Air File / FileStream service to my app? I have seen the HTTPService being used to read, for example, xml asset files, but I'd like to be able to buffer and write data as well. Thanks in advance, Mark Simon

[flexcoders] How to XMLListCollection a FileSystemTree dataProvider?

2009-01-05 Thread Mark Simon
The Air FileSystemTree dataProvider property, when supplied with an XMLListCollection, throws a: can't convert xyzTag to File Does anyone know what the XML should look like for FileSystemTree to accept a XMLListCollection as a dataProvider ? Obliged, Mark Simon

[flexcoders] Slow datagrid updates

2009-01-05 Thread Jason B
I'm using a datagrid with httpservice then allowing the user to click on an item in the datagrid. once they select the datagrid item they then hit a button which updates the value in the grid like this, mccert_refund_grid.selectedItem.CERTPRESENT = NOT PRESENT; trouble is the datagrid takes

[flexcoders] Re: WANTED: Online help integration, authoring, best practices (for Flex or Ajax)

2009-01-05 Thread oneworld95
I used the FlexMDI library (http://code.google.com/p/flexmdi/) to pop up a window within Flex; the window contains a TextArea that pulls a simple HTML file and uses its own CSS file. All is done dynamically when the user clicks the Help button. Haven't tried context-sensitive help. -Alex --- In

Re: [flexcoders] Cannot assign arraycollection[i] value to VO variable due to ObjectProxy

2009-01-05 Thread Manish Jethani
On Sat, Jan 3, 2009 at 4:24 AM, jeremysavoy jeremysa...@yahoo.com wrote: I have an array collection that is a collection of ContactVO items. When I debug and look at the ArrayCollection, each item, [0], [1], etc is of type ObjectProxy, and inside each of these there is an object that then

[flexcoders] Re: why I can not dispatchEvent with creationComplete?

2009-01-05 Thread bartalcorn
Mark, dispatchEvent(new Event(loginEvent, false)); The second parameter above, false, means the event will not bubble up. Unless you are going to be adding an eventListener to this Canvas, you most likely want that second parameter to be true. HTH, Bart --- In

[flexcoders] File Size is not same when compiled through mxmlc and flex builder

2009-01-05 Thread ilikeflex
Hi I think that the file Size is not same when compiled through mxmlc and flex builder. I have the following option in my flex builder project references Flex Build Path Library Path Framework Linkage: Merged into Code Default Settings for framework files /sowLibrary/lib

[flexcoders] can we mention the radius of the flex piechart

2009-01-05 Thread duraibalaji
hi , Can we specify the radius of the piechart. thanks in advance Regards Balaji -- View this message in context: http://www.nabble.com/can-we-mention-the-radius-of-the-flex-piechart-tp21258719p21258719.html Sent from the FlexCoders mailing list archive at Nabble.com.

Re: [flexcoders] Re: Slow datagrid updates

2009-01-05 Thread Jon Bradley
Do you have a label component in one of the grid cells that has a width set to 100%, rather than an explicit size? And, if so, do you have that label set to truncate? If you do, that can easily cause slow redraw in a data grid. I've had it happen numerous times. Solution is to set label to

Re: [flexcoders] enterState for tabNavigator?

2009-01-05 Thread Manish Jethani
On Mon, Jan 5, 2009 at 2:22 PM, endrone endrone endr...@gmail.com wrote: when you change a state, there's a enterState dispatched when a new state is shown. This is very handy for initializing the state. But does something similar exist for the tabNavigator? (enterState exists for a

Re: [flexcoders] How to create an ActionScript 3 (AS3) project in FlexBuilder without using Flex

2009-01-05 Thread Nate Beck
The fl.* package is not included in the Flex SDK. Kirupa's Forum has a thread discussing this. http://www.kirupa.com/forum/archive/index.php/t-268080.html I have CS4 on my machine... however... if you don't want to go out and buy it... I don't think there is any issue with installing the Trial

[flexcoders] Re: flash.utils.Proxy -- Unable to compile.

2009-01-05 Thread cadisella
I've ran into this before. I think that you just want to declare your class as dynamic. -Dale --- In flexcoders@yahoogroups.com, Nate Beck n...@... wrote: So this is kind of annoying, I have a proxy Class that I am working with... here is a trimmed down version of it. -- DateTime.as

RE: [flexcoders] enterState for tabNavigator?

2009-01-05 Thread Tracy Spratt
Also the show event of the TabNavigator children. Tracy From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Manish Jethani Sent: Monday, January 05, 2009 9:11 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] enterState

[flexcoders] Re: why I can not dispatchEvent with creationComplete?

2009-01-05 Thread markflex2007
But it works with button click event like following. mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; mx:Metadata [Event(name=loginEvent, type=flash.events.Event)] /mx:Metadata mx:Script ![CDATA[ private function

[flexcoders] geting info of a user who has loged in

2009-01-05 Thread johndoematrix
hi guys, i have a database with user info like username, password, firstname, lastname, email and so on... so i created a flex login such that a user is prompted to login and if login is successful he/she is shown a page with their details from database.. how can i do that.. the login works but i

[flexcoders] Re: error in HTTPService

2009-01-05 Thread Jason B
show us your result=handleSimUpdateResult(event) function --- In flexcoders@yahoogroups.com, weezee49 rainygl...@... wrote: I have the following HTTPService: mx:HTTPService id=svcSimulationUpdate contentType=application/xml url=http://localhost:3000/simulations/

[flexcoders] Re: Tree is not correctly updated when dragging and dropping item twice when using XML data provider

2009-01-05 Thread Sergey Kovalyov
Sorry for intruding, but still... are there any ideas? On Tue, Dec 30, 2008 at 4:22 PM, Sergey Kovalyov skovalyov.flexcod...@gmail.com wrote: Hi All! *Steps to reproduce:* 1. Create an application with the Tree component instance and XMLListCollection dataProvider binded to it that

[flexcoders] Re: Flex accessing java object

2009-01-05 Thread valdhor
Not directly. But you can communicate using Merapi: http://www.merapiproject.net/ http://www.theflexshow.com/blog/index.cfm/2008/12/3/Flex-Show-Episode-62-The-Merapi-Project-w-Adam-Flater-Andrew-Powell-and-Dave-Meeker --- In flexcoders@yahoogroups.com, karun kumar telu telu_ka...@... wrote:

Re: [flexcoders] How to create an ActionScript 3 (AS3) project in FlexBuilder without using Flex

2009-01-05 Thread Alan Klement
Try FDT as well, or at least the trial. Im a big fan and many heavyweight flash devs out there use FDT for Flash and Flex work - it's like having Flash CS4 and Flex Builder, but better than both 'cause Flash's code IDE is only a setup up from a text editor and Flex Builder is not to my

Re: [flexcoders] TextInput ItemRenderer arrow keys change list selection

2009-01-05 Thread Greg Hess
Thanks Alex, much appreciated. You where right, I didnt have it set up correctly, I was adding my keyboard listener to the KEY_UP event and needed to be listening for the KEY_DOWN event. With that change my text arrow navigation works great without changing parent list selection! Now that is

RE: [flexcoders] Re: geting info of a user who has loged in

2009-01-05 Thread Tracy Spratt
How have you implemented your login functionality? Tracy From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of johndoematrix Sent: Monday, January 05, 2009 11:00 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: geting

RE: [flexcoders] Re: WANTED: Online help integration, authoring, best practices (for Flex or Ajax)

2009-01-05 Thread Tracy Spratt
No, sorry, it is a private app. I'd post a demo, but I don't have the help content. Tracy From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of artur_desig2dev Sent: Monday, January 05, 2009 1:23 PM To:

RE: [flexcoders] why I can not dispatchEvent with creationComplete?

2009-01-05 Thread Tracy Spratt
Perhaps the listener is not yet ready when the canvas creationComplete fires? Tracy From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of markflex2007 Sent: Monday, January 05, 2009 2:08 PM To: flexcoders@yahoogroups.com Subject:

Re: [flexcoders] Re: why I can not dispatchEvent with creationComplete?

2009-01-05 Thread Ralf Bokelberg
Maybe nobody is listening when you dispatch the event? How do you add the listener? Ralf. On Mon, Jan 5, 2009 at 8:42 PM, markflex2007 markflex2...@yahoo.com wrote: But it works with button click event like following. mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; mx:Metadata

[flexcoders] Re: why I can not dispatchEvent with creationComplete?

2009-01-05 Thread markflex2007
Hi, I list the demo code here. CASE one mx:Canvas xmlns:mx=http://www.adobe.com/2006/mxml; creationComplete=justLogin() mx:Metadata [Event(name=loginEvent, type=flash.events.Event)] /mx:Metadata mx:Script ![CDATA[ private

RE: [flexcoders] Slow datagrid updates

2009-01-05 Thread Tracy Spratt
That is not normal behavior. Typically such updates happen nearly instantly. First, are you using custom itemRenderers? If so, how many are visible at any one time? Are they optimized for performance, or are they based on a container, like Vbox? Next, you understand that when you do:

[flexcoders] Re: geting info of a user who has loged in

2009-01-05 Thread johndoematrix
the example shown there using the datagrid's selecteditem to populate the textinputs. is there a way of populating them without the need of a datagrid, combobox or list based selected item? like when i sign in i can view my profile based on my userid and username used to signin. thanks

[flexcoders] Display HTML Page Code Help

2009-01-05 Thread horatio_rodriguez
Hi There I have just today started to use Flex Builder on the mac platform, i have looked over a couple of the RIA's and its pretty impressive to start with. I have a small question about coding, I have created a new project and would like to know how i can put in the source code a request

Re: [flexcoders] Java HashMap to ComboBox

2009-01-05 Thread Manish Jethani
On Sun, Jan 4, 2009 at 3:19 AM, Vijay vijay_...@yahoo.com wrote: Can someone help me on binding the HashMap data returned by a Remote call to the Flex ComboBox? I'm successful in iterating the HashMap data inside the ActionScript but I didnt know how to bind the key=value pair to a ComboBox

Re: [flexcoders] Setting NumericStepper's label?

2009-01-05 Thread Manish Jethani
On Mon, Jan 5, 2009 at 7:08 PM, grimmwerks gr...@grimmwerks.com wrote: Both have the fontSize at 12, but for some reason the text in the numericStepper isn't bottom aligned: [snip] What's throwing it off is the border settings. How about if you moved the styleName setting from the Text and

RE: [flexcoders] Re: XMLList: get first n items

2009-01-05 Thread Tracy Spratt
You can loop over the XMLList directly, without first wrapping it in an XMLListcollection. However, I suspect you could also use an e4x expression leveraging the childIndex() method. Something like: Xml.myNode.(childIndex() n); Tracy From:

[flexcoders] How to config LCDS in websphere 6?

2009-01-05 Thread markflex2007
Hi, I am new for LCDS ,Please give me a idea. Thanks a lot Mark

RE: [flexcoders] Re: Slow datagrid updates

2009-01-05 Thread Tracy Spratt
It is not taking a long time to display, it will never display. The problem is with the way you are updating the dataProvider. Directly setting a property on an item does not dispatch the necessary events to cause the DG to update. The two ways to do this are, 1, use the collection API,

[flexcoders] Setting NumericStepper's label?

2009-01-05 Thread grimmwerks
Hey all - I'm having problems setting a NumericStepper's label to be even with a text object next to it:Both have the fontSize at 12, but for some reason the text in the numericStepper isn't bottom aligned:mx:HBox styleName="workForm" width="130" horizontalAlign="center" verticalAlign="bottom" >

[flexcoders] Flex 3 - CRM or Contact Manager Example

2009-01-05 Thread jwc_wensan
Happy New Year to All. I believe in Flex 1.5 or maybe Flex 2, there was a working example with source code of a basic database driven CRM or Contact Manager application. Does anyone know if there is one in Flex 3 using Coldfusion or ASP.net with MS Access or MySQL? I have Googled but can not

Re: [flexcoders] Re: flash.utils.Proxy -- Unable to compile.

2009-01-05 Thread Nate Beck
Hey Dale, That makes sense... and thanks for your reply. Making the DateTime class dynamic fixed the issue. Weird thing is that without the dynamic keyword sometimes it will compile, and sometimes it won't. Anyways thanks! On Mon, Jan 5, 2009 at 11:40 AM, cadisella beerm...@gmail.com wrote:

[flexcoders] Start

2009-01-05 Thread Luis Francisco Hernández Sánchez
Hi, I want to start sending messages to others. Thanks. _ ¡Muéstrales cómo! Agrega mapas e indicaciones a las invitaciones de tu fiesta. http://www.microsoft.com/windows/windowslive/events.aspx

[flexcoders] Install both Flex 2 and Flex 3

2009-01-05 Thread jwc_wensan
I have installed FlexBuilder 3 on my new PC. Can I go back and also install FlexBuilder 2 without messing anything up? I have existing code in Flex 2 on another PC and want to move it over to the new PC. Would I also just search for Flex 2 updates from within FlexBuilder? Thanks, Jack

[flexcoders] components in modules

2009-01-05 Thread rockorgames
i have a simple question.. i have several modules and some mxml components, where those components are used in several modules, but arent used at all in the main application.. now should i remove those components from the main app (since if the user never load the module that uses them, it will

Re: [flexcoders] Install both Flex 2 and Flex 3

2009-01-05 Thread Paul Kukiel
In the properties of the Flex Project (in FB3 ) you can specify Flex 2 or 3 as the compiler. Paul. On Mon, Jan 5, 2009 at 3:52 PM, jwc_wensan jwcaldw...@zingit.com wrote: I have installed FlexBuilder 3 on my new PC. Can I go back and also install FlexBuilder 2 without messing anything

[flexcoders] Re: flash.utils.Proxy -- Unable to compile.

2009-01-05 Thread cadisella
I've seen some issues like that as well. We just ported a large Java project to Flash and came across all sorts of this stuff. If you're interested at all, there are a series of posts I wrote up at http://blog.sharendipity.com/. I even wrote one about using the Proxy class for implementing a

[flexcoders] Re: Accordion with no selection possible ?

2009-01-05 Thread valdhor
You may also like to check out the WindowShade component at FlexLib. --- In flexcoders@yahoogroups.com, Doug McCune d...@... wrote: Check out the SuperAccordion by Tink: http://www.tink.ws/blog/superaccordian-updates/ On Mon, Jan 5, 2009 at 10:06 AM, rockorgames eguilhe...@... wrote:

[flexcoders] Re: components in modules

2009-01-05 Thread Tim Hoff
A common approach is to create a library project for common components (you'll need to add source paths). That way you only have to make changes in one place. Also, if an application or module doesn't use a component, it will not be compiled into the swf; so you don't have to worry about

Re: [flexcoders] Install both Flex 2 and Flex 3

2009-01-05 Thread Nate Beck
You can install additional SDKs as well. For example, I have 2.0, 2.0.1, 3.0, 3.1, 3.2 and Gumbo setup. Then you can just pick your version of choice and code away. Adding the Flex 4 SDK to Flex Builder To add the fresh copy of your Flex 4 SDK to Flex Builder, open the * Preferences* window

RE: [flexcoders] Install both Flex 2 and Flex 3

2009-01-05 Thread Tracy Spratt
Yes, you will want to File, Import, Flex Project, select Project Folder, then nav to and select the folder that is the root of the Flex 2 project. You will probably want to uncheck default location and select where you want the project to go. If you change this, the project will be copied to the

RE: [flexcoders] Install both Flex 2 and Flex 3

2009-01-05 Thread Jack @ Zingit
Paul: So you are saying there is no need to install Flex 2? In other words, I can just load the Flex 2 application and code/edit/debug/run from FlexBuilder 3? Yes . . . No ? Thanks, Jack From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of

Re: [flexcoders] Install both Flex 2 and Flex 3

2009-01-05 Thread Nate Beck
That's what we're saying. On Mon, Jan 5, 2009 at 1:12 PM, Jack @ Zingit jwcaldw...@zingit.com wrote: Paul: So you are saying there is no need to install Flex 2? In other words, I can just load the Flex 2 application and code/edit/debug/run from FlexBuilder 3? Yes . . . No ?

Re: [flexcoders] enterState for tabNavigator?

2009-01-05 Thread Manish Jethani
On Mon, Jan 5, 2009 at 10:45 PM, endrone endrone endr...@gmail.com wrote: It's either the TabNavigator's 'change' (your current method) or its children's 'initialize'. It's hard to say without knowing more about the sort of initialization you're doing here. I'm not using states. Assume you

[flexcoders] Re: why I can not dispatchEvent with creationComplete?

2009-01-05 Thread valdhor
I seem to remember seeing a post by Alex Harui that said mouse click events have bubbling set to true by default. You code will work if you set bubbling to true (I have tested it). --- In flexcoders@yahoogroups.com, markflex2007 markflex2...@... wrote: But it works with button click event like

Re: [flexcoders] Re: why I can not dispatchEvent with creationComplete?

2009-01-05 Thread Manish Jethani
On Tue, Jan 6, 2009 at 1:34 AM, markflex2007 markflex2...@yahoo.com wrote: [snip] I have addEventListener in Mediator page, it works for CASE two but not work for CASE one. it seems dispatchEvent can not work with creationComplete. why? How to fix it. It works, but your event listener

  1   2   >