[flexcoders] storing login data from a cfquery for use throught flex app

2009-03-10 Thread stinasius
hi i got a login form in flex with a coldfusion backend and it work's perfectly but i need it to go one step further. store login data form the cfquery so that it can be reused throughout the flex app. here is a senario. the login form has a username and password textinput fields which are

[flexcoders] Re: Turn all keyboard input into upper-case for all TextInput and TextArea

2009-03-10 Thread per.olesen
--- In flexcoders@yahoogroups.com, markgoldin_2000 markgoldin_2...@... wrote: Is this anything of help? capsLock property capsLock:Boolean [read-only] Specifies whether the Caps Lock key is activated (true) or not (false). If you refer to the static read-only property of

[flexcoders] Re: Turn all keyboard input into upper-case for all TextInput and TextArea

2009-03-10 Thread per.olesen
--- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: Unfortunately, the text controls don't use events as input events, but dispatch them as notifications instead, so you can't fake events to them. Okay, that explains why dispatching KeyboardEvent on TextField and TextEvent on

[flexcoders] Re: Convert ArrayCollection to XML

2009-03-10 Thread tiend...@ezweb.ne.jp
I use RemoteObject Yes, in PHP I return XML string. And in Flex I read XML string. So I don't need convert ArrayCollection to XML. I use ex4. --- In flexcoders@yahoogroups.com, Tracy Spratt tspr...@... wrote: I'd suggest using XML all the way through, instead of converting XML to

[flexcoders] Re: storing login data from a cfquery for use throught flex app

2009-03-10 Thread Jeremy Rottman
This can be done fairly simply using an oop approach. With out going into to much detail. You can create a single instance of a storage class that gets/sets the data that you are looking for. Here is a really basic example: package com.login{ // do some imports public

[flexcoders] Re: storing login data from a cfquery for use throught flex app

2009-03-10 Thread Jeremy Rottman
--- In flexcoders@yahoogroups.com, stinasius stinas...@... wrote: hi i got a login form in flex with a coldfusion backend and it work's perfectly but i need it to go one step further. store login data form the cfquery so that it can be reused throughout the flex app. here is a senario. the

[flexcoders] HTML component does not display images

2009-03-10 Thread florian.salihovic
What am i missing? Passing htmlHttp Worldimg src='pic1.png' //html to the HTML component's htmlText property will only display the text, not the image. Best regards.

[flexcoders] Flex support for writing pad ( input device for Chinese )

2009-03-10 Thread bsyyu
I design a web application that allow customer to input their messages into the database. If the input is via keyboard, it is no problem. But it does not work if the customer is using writing pad for inputing chinese character. Does Flash support this, if it is, how ? Thanks

[flexcoders] Datagrid Itemrenderer Doubt

2009-03-10 Thread venkat eswar
I have an advanced datagrid with two coloumns.one coloumn contains combobox as itemrenderer.combobox has values high, low and medium.And i am using three images like high.jpg, low.jpg , medium.jpg. when i select high in combobox , high.jpg have to be displayed in the first coloumn.likewise when i

Re: [flexcoders] Flex 3 Tree - Moving Nodes

2009-03-10 Thread Romuald Quantin
I'm also looking for exactly this, do you let us know if you find something? Romu Sam Lai wrote: You could do what MindManager does and make the left half of the node dropzone for reordering, and the right half for making the node a child of the drop node. Not sure how easy it would be to

[flexcoders] Flex Certification

2009-03-10 Thread kotha poornima
Hi All, Iam interesting to do flex3 certification(9A0-082). Can anyone give me some suggestion to me about this certification. And what are the books needed? Thanks in Advance, Poornima

Re: [flexcoders] Flex support for writing pad ( input device for Chinese )

2009-03-10 Thread Sam Lai
It should, assuming the user is using some kind of handwriting recognition software, such as the one built into Vista. It could be a focus issue, or maybe a browser thing - can the user input Chinese characters into normal web forms? 2009/3/10 bsyyu ben.s...@gmail.com: I design a web

[flexcoders] Tile container scroll effect

2009-03-10 Thread chandruflex
I have images displayed in a Tile container. I want to implement a page-wise scrolling effect on this container. If this is possible, how is it done? For example, if 10 images are viewable for a given height and width of the Tile container, the scrolling effect should be such that, the next set

Re: [flexcoders] Moving a viewStack through actionscript

2009-03-10 Thread Wally Kolcz
I normally do dispatch custom events from my TitleWindows back to the parent, but was having a hard time figuring out how to pass the value of the selection (radiobutton) back to the parent to score. From: Michael Wills mich...@mawills.com Sent: Monday,

Re: [flexcoders] Flex Certification

2009-03-10 Thread Pedro Sena
I'm very interested in this topic too. I'm starting to study to it. I'm using Training from the Source for flex 3. But I don't know if this is the best book for this objective. Regards, PS On Tue, Mar 10, 2009 at 8:25 AM, kotha poornima poorni_ag...@yahoo.comwrote: Hi All, Iam

RE: [flexcoders] Flex 3 Tree - Moving Nodes

2009-03-10 Thread Yves Riel
I have done something similar lately except for the spring loaded opening mechanism. The problem that I saw with Alex Harui's approach was that you had to turn a leaf into a branch before being able to drop a node on it. That impacts the icons that represent the nodes and I still wanted a leaf

Re: [flexcoders] Moving a viewStack through actionscript

2009-03-10 Thread Wally Kolcz
Sorry to be a pain, but when I added the parent.parent.checkSingle() it gives me an error. 1061: Call to a possibly undefined method checkSingle through a reference with static type flash.display:DisplayObjectContainer. I though my problem was the 'public var testMod:test1 =

Re: [flexcoders] Flex 3 Tree - Moving Nodes

2009-03-10 Thread Romuald Quantin
Thanks a lot, Flash (Flex) community is amazing :) I'll try that! Romu Yves Riel wrote: I have done something similar lately except for the spring loaded opening mechanism. The problem that I saw with Alex Harui's approach was that you had to turn a leaf into a branch before being able

[flexcoders] Image in DataGrid

2009-03-10 Thread venkat eswar
Pls run the application.clicking the add button adds new rows.When i select High from the combobox it should display  1.jpg. But imgstr1  as bindable , it update all the rows. How to solve this? ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;

[flexcoders] Re: Flex support for writing pad ( input device for Chinese )

2009-03-10 Thread bsyyu
Hi Sam Currently, as it is evening time here, I am not sure whether the user can input Chinese Characters into normal web norms. I will check. But how to get the focus of these kind of writing pad insides Flex ? Thanks best regards, Ben --- In flexcoders@yahoogroups.com, Sam Lai

RE: [flexcoders] Re: Convert ArrayCollection to XML

2009-03-10 Thread Tracy Spratt
So no problem? Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of tiend...@ezweb.ne.jp Sent: Tuesday, March 10, 2009 4:52 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re:

RE: [flexcoders] Image in DataGrid

2009-03-10 Thread Tracy Spratt
The image source must depend on the priority property, so you need something like: mx:Image source={data.priority + '.jpg'} / Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of venkat

RE: [flexcoders] Moving a viewStack through actionscript

2009-03-10 Thread Tracy Spratt
Put the change handler on the RadioButton group, and in that handler dispatch your specially named, bubbling event. In the handler for that event, you can access the dispatching component through the reference in the target or currentTarget property. So you can access the value of the

RE: [flexcoders] Moving a viewStack through actionscript

2009-03-10 Thread Wally Kolcz
Would I put the dispatch on the radio button group of the 'Next' button? From: Tracy Spratt tspr...@lariatinc.com Sent: Tuesday, March 10, 2009 6:42 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Moving a viewStack through actionscript Put

[flexcoders] Trying to compile app with 3.2 Flex SDK, but it includes the 3.1 Flex librares.

2009-03-10 Thread Todd
Hello All, Recently, we've started the process of trying to upgrade the SDK in which we compile our project from a patched version of the 3.0 branch (there were nightly bug fixes with Web SErvices that we needed) to the latest and greatest 3.2. In Flex Builder 3.02, I've set in the Properties

RE: [flexcoders] flash 10 3D

2009-03-10 Thread Kenneth Sutherland
I've not managed to rotate a Box on some arbitrary point. If anyone knows how to do this, that would be great. What I've tried so far to get it to rotate on its Y axis in the middle of the Box. myBox.appendTranslation( -(theBox.width/2), 0, 0); myBox.appendRotation(angleToRotate,

RE: [flexcoders] Moving a viewStack through actionscript

2009-03-10 Thread Wally Kolcz
Thank you tracy. That helps a lot. I got it to work! From: Tracy Spratt tspr...@lariatinc.com Sent: Tuesday, March 10, 2009 6:42 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Moving a

[flexcoders] Re: binding not updating for ArrayCollection when item changes?

2009-03-10 Thread valdhor
I don't know if this is your problem but one thing I noticed is youu have an ambiguous set of your enabled property. You have enabled = enabled; which (I assume) is to set the enabled property of your class to the enabled parameter that is passed in. This won't work. You should have

[flexcoders] How to stop null on delayed execution.

2009-03-10 Thread Wesley Acheson
Hi take for for example the following simple example. Its not a real world example but it does show the problem that I wish to avoid. --- MXML (simpletest.mxml) --- ?xml version=1.0 encoding=utf-8? mx:Application

[flexcoders] Re: Convert ArrayCollection to XML

2009-03-10 Thread valdhor
I don't quite understand. Why return an XML string in a RemoteObject? Why not just return objects? --- In flexcoders@yahoogroups.com, tiend...@... tienda...@... wrote: I use RemoteObject Yes, in PHP I return XML string. And in Flex I read XML string. So I don't need convert ArrayCollection

[flexcoders] Re: flex application 2048 error

2009-03-10 Thread valdhor
You may find that it works correctly when you deploy to a server but not when run as a local file. This may or may not work... Try going to the Global Security Settings Panel at http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html and adding your

[flexcoders] Re: Developing Rich Clients with Macromedia Flex - source code?

2009-03-10 Thread Libby
Hi Matt My copy of the book refers to Flex 2.0 ... anyway I remember in their examples they did a datagrid itemrenderer and I just wanted to refresh my memory cause the one I'm working on is not working the way I expected it to. --- In flexcoders@yahoogroups.com, Matt Chotin mcho...@... wrote:

[flexcoders] comboBox in datagrid

2009-03-10 Thread Libby
Hi People Maybe someone could remind me, I've done this before but apparently now have so much knowledge in my brain that the old stuff is getting pushed out : ) I have a ComboBox itemEditor in a datagrid. The datagrid dataprovider is bound to an arrayCollection which among other things

[flexcoders] Re: Modules Communication

2009-03-10 Thread thelordsince1984
--- In flexcoders@yahoogroups.com, Tracy Spratt tspr...@... wrote: I'm not sure, maybe since modules are independent swf's, but that is way more complicated than necessary. Look into the singleton data model. In such a case, you would do: 1.in the source module,

[flexcoders] How to do images inside of a textarea using htmlText?

2009-03-10 Thread tchredeemed
Basically, I was wondering how I would just put an image inside of the textarea like it was a piece of text... Example: http://www.andrewthorp.com/image-text-area.jpg Functional Equivalent of: Dear [First Name], Begin typing your message here. Thanks! Instead of the text [First Name], I want

[flexcoders] Flex ajax bridge in IE without document.write()

2009-03-10 Thread Michael Pelz-Sherman
Hi, I'm trying to embed a flex swf into my app without using document.write(). Instead I want to use the standard Ajax technique of setting the innerHTML property on a div object, like so: varflexObjTag =AC_FL_RunContent(...args...); $('flexDiv').innerHTML = flashObjTag; To do this, I

[flexcoders] Re: first user tab is slow

2009-03-10 Thread schneiderjim
We will run the profiler to see. We have a very large, form based app, so there may be something there. It can sometimes take up to 3 - 4 seconds to tab to the second form field. Some questions: 1. When is the sorted list computed? On the first tab? 2. Is there any way we can change when

[flexcoders] Re: How to stop null on delayed execution.

2009-03-10 Thread valdhor
The problem is that you are instantiating your SimpleExample object and then trying to modify a component of the object before it is created. You would need to move the instantiation of TextInput to the constructor or instantiate it when you create the variable... package { import

[flexcoders] Flex4 (Gumbo) binding problem in XMLList

2009-03-10 Thread malaschitz
This application is without problems with Flex3 but Flex4 throws compile exception: 1120: Access of undefined property myXml. Problem is binding 'enabled={a}'. Source: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script

[flexcoders] Re: Best option for implementing a growl like notification system ?

2009-03-10 Thread sunild999999
Hi, I won't comment on what the best approach is but, maybe you can look at Christian Cantrell's Growl implementation for AIR: article: http://weblogs.macromedia.com/cantrell/archives/2007/10/make_text_fade.html code: http://code.google.com/p/as3notificationlib/ Sunil --- In

[flexcoders] Re: dataGrid not receiving user input (intermitently) in bottom righ

2009-03-10 Thread Tim Hoff
2. Assuming that the item renderer only needs to manipulate the text of the renderer, is example 1 - extending DataItemGrid - (below) a good way to do it? (I've never written one before, so I'm just checking) No, for text only, use a labelFunction; instead of a custom itemRenderer. Thanks! Did

Re: [flexcoders] Re: Developing Rich Clients with Macromedia Flex - source code?

2009-03-10 Thread Matt Chotin
Well, if it's their book it's definitely Flex 1, not Flex 2. So it won't help with a later project. Matt On 3/10/09 8:14 AM, Libby libbychan...@yahoo.com wrote: Hi Matt My copy of the book refers to Flex 2.0 ... anyway I remember in their examples they did a datagrid itemrenderer and I

[flexcoders] Re: HTML component does not display images

2009-03-10 Thread sunild999999
Maybe you need a body tag in your html? --- In flexcoders@yahoogroups.com, florian.salihovic florian.saliho...@... wrote: What am i missing? Passing htmlHttp Worldimg src='pic1.png' //html to the HTML component's htmlText property will only display the text, not the image. Best regards.

[flexcoders] Re: How to stop null on delayed execution.

2009-03-10 Thread Tim Hoff
Override createChildren() and add the child there; instead of trying to re-invent the component lifecycle by using INITIALIZE . And yes, commitProperties() would be a good place to set the child's text; from the text property. -TH --- In flexcoders@yahoogroups.com, Wesley Acheson

Re: [flexcoders] Re: Developing Rich Clients with Macromedia Flex - source code?

2009-03-10 Thread Jeffry Houser
Although completely unrelate to the book, would these screencasts help, on item Renderers, the DataGrid, and item Editors. http://www.theflexshow.com/blog/index.cfm/2008/10/15/The-Flex-Show--Fifteen-Minutes-With-Flex--Episode-8--Custom-Item-Renderers

[flexcoders] Text Looks Ugly When PrintAsBitmap=true

2009-03-10 Thread pliechty
We print images in our application. I can print fine with printAsBitmap=false, but I want to set the smooth flag on the image. I have to set printAsBitmap=true to get the smooth flag to take effect, but my text looks horrible. Is there a way to have smooth images and nice looking text?

Re: [flexcoders] Re: How to stop null on delayed execution.

2009-03-10 Thread Wesley Acheson
Thanks I thought that always initialising either in the constructor or in the variable declaration was a bit hacky. It is what I've been doing up till now. Is there any refrence for a component (particualy containers) life cycle? Off topic in gmail I autoarchive flex coders emails. Does anyone

[flexcoders] Re: How to stop null on delayed execution.

2009-03-10 Thread Tim Hoff
Hi Wesley, Controls and Containers all extend UIComponent. For your case, take a look at the code for UIComponent and VBox (F3, with the mouse over a classs name, in FB or Eclipse). Or, just look at any custom component out there; for an example. -TH --- In flexcoders@yahoogroups.com, Wesley

[flexcoders] EnterFrame listener removed when dragged off screen

2009-03-10 Thread flexaustin
So I have several sprites within a component on the stage (Flex appliation level actually). I have a custom factory component on the main stage that builds popups if one of the sprites is clicked, yes I have to have it this way due to the library I am using. Anyway, I have an EnterFrame

RE: [flexcoders] EnterFrame listener removed when dragged off screen

2009-03-10 Thread Alex Harui
Dragging off-screen by increasing x and y should not result in a removed_from_stage. I'd find out why that's happening. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com]

RE: [flexcoders] Trying to compile app with 3.2 Flex SDK, but it includes the 3.1 Flex librares.

2009-03-10 Thread Alex Harui
I'm not sure FB auto-updates the SWZ options in the project. You might have to specify them directly. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of

[flexcoders] calling a function from swf

2009-03-10 Thread thibodeau.alain
Hi all, I am thinking this is simple, but I cannot find the proper way of doing this. I have a flex application that loads a swf file. I want to be able to call a function that is in the flex application from the swf file. From my fla I tried calling _root, Application.application, _parent...

[flexcoders] Re: comboBox in datagrid

2009-03-10 Thread Anthony DeBonis
Are you talking about an example like this? You may be better off creating a reusable/testable component in separate AS or MXML file. mx:Component mx:CheckBox creationComplete=init() mx:Script ![CDATA[

[flexcoders] archived Flash players - why so huge?

2009-03-10 Thread Michael Pelz-Sherman
I found this page today while searching for a way to downgrade to an earlier version of Flash: http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14266 Can anyone explain why the installer files are so huge? - Michael

[flexcoders] Re: Problem with custom component tabbing in TabNavigator

2009-03-10 Thread aceoohay
Just bumping this up to the top of the list, as I continue my research. Paul --- In flexcoders@yahoogroups.com, aceoohay pa...@... wrote: I have created an extension of the DateField() (ValidatedDateField()) component. The main purpose of this extension is to call an extension to the

[flexcoders] Re: How to stop null on delayed execution.

2009-03-10 Thread sunild999999
--- In flexcoders@yahoogroups.com, Wesley Acheson wesley.ache...@... wrote: Is there any refrence for a component (particualy containers) life cycle? This page in the Flex Developer's Guide was very helpful in explaining how to override the Flex component life cycle methods. I also

Re: [flexcoders] calling a function from swf

2009-03-10 Thread Adrian Williams
This is pretty straightforward. We do a lot of this in our dashboard app where we have a function called registerSWF(). This helps us keep tabs on all the swf objects that are loaded on the dash. private var registeredSWF:ArrayCollection = new ArrayCollection(); public

[flexcoders] Re: How to stop null on delayed execution.

2009-03-10 Thread valdhor
Why? Standard OOP practice is to initialize variables in the constructor (That's what it's there for). --- In flexcoders@yahoogroups.com, Wesley Acheson wesley.ache...@... wrote: Thanks I thought that always initialising either in the constructor or in the variable declaration was a bit

Re: [flexcoders] Re: How to stop null on delayed execution.

2009-03-10 Thread Wesley Acheson
On Tue, Mar 10, 2009 at 6:42 PM, Tim Hoff timh...@aol.com wrote: Hi Wesley, Controls and Containers all extend UIComponent. For your case, take a look at the code for UIComponent and VBox (F3, with the mouse over a classs name, in FB or Eclipse). Or, just look at any custom component out

Re: [flexcoders] Re: How to stop null on delayed execution.

2009-03-10 Thread Wesley Acheson
On Tue, Mar 10, 2009 at 7:44 PM, sunild99 sunilbd...@gmail.com wrote: This page in the Flex Developer's Guide was very helpful in explaining how to override the Flex component life cycle methods. I also recommend reading the pages before/after this page as well:

RE: [flexcoders] Re: first user tab is slow

2009-03-10 Thread Tracy Spratt
Make sure you have not been using creationPolicy=all. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of schneiderjim Sent: Tuesday, March 10, 2009 11:49 AM To: flexcoders@yahoogroups.com

Re: [flexcoders] Re: How to stop null on delayed execution.

2009-03-10 Thread Wesley Acheson
Because of a visual components life cycle mainly. If I was to write an application in actionscript (asside from the root mxml file - I don't think you can do that in AS) all visual components would be initialised immediatly. Lazy loading is also used quite commonly as an OOP pattern. Also

RE: [flexcoders] Re: Modules Communication

2009-03-10 Thread Tracy Spratt
Which part do you not understand? Have you looked at changeWatcher in the docs? Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of thelordsince1984 Sent: Tuesday, March 10, 2009 11:29 AM

Re: [flexcoders] archived Flash players - why so huge?

2009-03-10 Thread Michael Pelz-Sherman
Um... never mind: I didn't realize that these files contained archives of multiple version for multiple platforms! Suggestion for Adobe: how 'bout making the individual files available for download as well? Some of us aren't blessed with infinite bandwidth. Thanks! :-)

[flexcoders] Urgent Prob - cant debug after upgrading to new player

2009-03-10 Thread reflexactions
I upgraded to the new flash player earlier today and now I cant debug in FB. I have tried everything including uninstalling the FPlayer using the uninstall tool, reboot, install debug player, run from FB (standalone), IE8 opens with the app but FB says still waiting for the player to connect.

Re: [flexcoders] calling a function from swf

2009-03-10 Thread Alain Thibodeau
Thanks Adrian! that will do the trick. In the meantime, I also found another way, not as elegant as yours //inside the fla var myParent = loaderInfo.loader.parent.parent;  myParent.doSomething('do it'); thanks again From: Adrian Williams

[flexcoders] Using icons on buttons?

2009-03-10 Thread daniel.koestler
I've been looking around on Flex webapps, and I'm wondering how common it is to use the icon property of a button. Do you prefer customizing buttons this way, or is it better to write a custom component to do it?

Re: [flexcoders] Re: binding not updating for ArrayCollection when item changes?

2009-03-10 Thread John Robinson
Nice catch! That didn't seem to be causing the problem but thanks for pointing it out. I've simplified the case in that I'm not calling the web service anymore, just flipping the enabled property but binding still is not updating. Any other ideas? Thanks, John On Mar 10, 2009, at 10:53

[flexcoders] Re: comboBox in datagrid

2009-03-10 Thread Libby
no, I 'm saying my comboBox displays whats in its data part of its array collection, not its label, when it receives a new batch of data. Your checkbox appears to do the same thing. --- In flexcoders@yahoogroups.com, Anthony DeBonis anth...@... wrote: Are you talking about an example like

[flexcoders] Re: binding not updating for ArrayCollection when item changes?

2009-03-10 Thread Tim Hoff
Hi John, I seem to remember that XMLList, like Array, isn't Bindable and doesn't dispatch a propertyChange event. You might try changing the public var to a getter/setter and manually dispatching the event, or change the XMLList to Object; to see if it makes a difference. This is just a shot

RE: [flexcoders] calling a function from swf

2009-03-10 Thread Tracy Spratt
Application.application should work also. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Alain Thibodeau Sent: Tuesday, March 10, 2009 3:31 PM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Re: binding not updating for ArrayCollection when item changes?

2009-03-10 Thread Tracy Spratt
Doh, I missed that. That is definitely the case, XMLList is not bindable. XML is, and also XMLListColelction is as well. Object is not. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of

RE: [flexcoders] Re: comboBox in datagrid

2009-03-10 Thread Tracy Spratt
You probably need to specify the labelField. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Libby Sent: Tuesday, March 10, 2009 4:24 PM To: flexcoders@yahoogroups.com Subject:

[flexcoders] Re: binding not updating for ArrayCollection when item changes?

2009-03-10 Thread Tim Hoff
Ha, doh back for Object. :) -TH --- In flexcoders@yahoogroups.com, Tracy Spratt tspr...@... wrote: Doh, I missed that. That is definitely the case, XMLList is not bindable. XML is, and also XMLListColelction is as well. Object is not. Tracy Spratt, Lariat Services, development services

[flexcoders] Re: binding not updating for ArrayCollection when item changes?

2009-03-10 Thread valdhor
How do you update a given UserVO's userData? Do you directly access the public properties? I have never done it this way - I use getters and setters... package com.jrobinson.model.VO { [Bindable] public class UserVO { private var _id:int = -1; private var

RE: [flexcoders] Urgent Prob - cant debug after upgrading to new player

2009-03-10 Thread Tracy Spratt
Did you verify the player install by hitting the test website? Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of reflexactions Sent: Tuesday, March 10, 2009 3:27 PM To:

[flexcoders] Building Custom ActionScript Components with Skins

2009-03-10 Thread adamduro
So I am trying to build out a custom SimpleMp3player component. Here is a screen shot of what the current design for this looks like: http://storage.duromedia.com/mp3_player_ui.jpg I want to create a custom component that will contain all the functionality that the above UI illustrates, but I

RE: [flexcoders] Re: Turn all keyboard input into upper-case for all TextInput and TextArea

2009-03-10 Thread Gordon Smith
In a handler for the 'textInput' event, set event.text = event.text.toUpperCase(). The 'textInput' event is dispatched after the text has been typed (or converted by an IME) but before it has been inserted into the TextField. The 'change' event is dispatched after the text has been inserted.

[flexcoders] Re: comboBox in datagrid

2009-03-10 Thread Libby
I wish...no, I'm using labelField in one and a labelFunction in another one, but these are not invoked until you actually click on the dropdown. Thus, when data is first retrieved into the dropdown, the darned thing is displaying the data field rather than the label: field. Should I be firing

[flexcoders] Re: Text Looks Ugly When PrintAsBitmap=true

2009-03-10 Thread Amy
--- In flexcoders@yahoogroups.com, pliechty pliec...@... wrote: We print images in our application. I can print fine with printAsBitmap=false, but I want to set the smooth flag on the image. I have to set printAsBitmap=true to get the smooth flag to take effect, but my text looks horrible.

Re: [flexcoders] Re: Problem in sorting XMLList collection as a dataProvider for the list

2009-03-10 Thread geeky developer
Thanks to all those who replied, Following links strategy does work for me, My XML's structure was little weird and I was expecting to use some inbuilt sorting capability but I guess as recommended by few folks I have to custom and I followed the following link helpful, Anyone else is seeking soem

[flexcoders] How to get RemoteClass alias?

2009-03-10 Thread limscoder
I have the following metadata attached to a class: [RemoteClass(alias=models.User)] public class User... Is there a way to retrieve the alias string from the class?

[flexcoders] Re: Using icons on buttons?

2009-03-10 Thread daniel.koestler
Hmm, if you wanted more control over the graphics in a button, what would you suggest using? I thought about subclassing the button or writing my own, but perhaps there's a way to skin it?

Re: [flexcoders] Re: Text Looks Ugly When PrintAsBitmap=true

2009-03-10 Thread Alain Thibodeau
what is the font used? If blend mode doesn't work...you might want to try embeding the font or at least the chars that you are using...Not the best solution for swf size, but see if that makes a difference From: Amy amyblankens...@bellsouth.net To:

Re: [flexcoders] Re: Using icons on buttons?

2009-03-10 Thread Alain Thibodeau
If you have the Flash IDE and flex component kit installed, there are templates for skinning. There is one specific for the button. You can skin in flash with full control of the look you want, then export as swc. In flex open your css file in design mode and with the tools at the top you can

[flexcoders] Re: Problem with custom component tabbing in TabNavigator

2009-03-10 Thread aceoohay
Well it appears that after rooting around for hours, I found that setting FocusEnabled to false on the textInput object fixed everything up. Paul --- In flexcoders@yahoogroups.com, aceoohay pa...@... wrote: I have created an extension of the DateField() (ValidatedDateField()) component.

[flexcoders] Re: Urgent Prob - cant debug after upgrading to new player

2009-03-10 Thread reflexactions
Umm what test website do I hit and how to verify??? If you mean the player webspage that says you have version installed etc. then yes I did and it said I had 10.xxx correctly installed... Actually the application runs perfectly fine and it says player 10 in the About box etc. its just

RE: [flexcoders] Re: Urgent Prob - cant debug after upgrading to new player

2009-03-10 Thread Tracy Spratt
This is the test site, I couldn't remember it and had to google to find it.. http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15507 Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On

RE: [flexcoders] Re: comboBox in datagrid

2009-03-10 Thread Tracy Spratt
No, you shouldn't have to do anything like that. Normal behavior for a combo box is to display nothing until a user interacts with it, selectedItem is null and selectedindex is -1. If yours is doing something else then there is code doing it. Is it a stock ComboBox? It sounds like someone has

[flexcoders] Re: Is there a way to detect mouse button state without tracking events?

2009-03-10 Thread Dave Kong
Thanks, Alex There are a few bugs, this seems to be a core one: https://bugs.adobe.com/jira/browse/FP-289 --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: Quite frankly, I'm not sure there is a solution to these kinds of problems with wmode. I'll bet there's already a bug

[flexcoders] FocusManager fun... Tab Loops redux

2009-03-10 Thread aceoohay
In reading the page; http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/managers/FocusManager.html It seems like just the right tool to handle a major deficiency in Flex. Basically the inability to create tab loops for containers. I use a somewhat modified version of the SuperPanel

Re: [flexcoders] Urgent Prob - cant debug after upgrading to new player

2009-03-10 Thread Nathaniel Skiba
Did you upgrade to the debug version or the regular version? If you upgraded to the regular version, then you can fix the problem by downloading one of the debugger versions from http://www.adobe.com/support/flashplayer/downloads.html. reflexactions wrote: I upgraded to the new flash player

[flexcoders] Re: FocusManager fun... Tab Loops redux

2009-03-10 Thread aceoohay
After playing around a bit more I am leaning towards the fact that the mx and fl might be the same, and the 2025 error is caused by something I am doing (or not). If the panel has focus I can tab around it, and type, but as soon as I click a mouse anywhere in the application it dies in

RE: [flexcoders] Re: FocusManager fun... Tab Loops redux

2009-03-10 Thread Alex Harui
You can't use fl.*.* classes in Flex apps. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of aceoohay Sent: Tuesday, March 10, 2009 8:28 PM To:

RE: [flexcoders] Re: comboBox in datagrid

2009-03-10 Thread Alex Harui
I think we need to see some code, like how the renderer is set up. A combobox in a datagrid is a renderer so its data setter will fire setting the selectedItem to the item's dataField assigned to its column. The question is why itemToLabel and the labelFunction didn't do its thing. Alex

[flexcoders] Component with Text and Image in sameline

2009-03-10 Thread Ashish Verma
Hello All, Want to make a component in Flex 3: Here is the specification of the application – 1. We need to develop a windows/web application in which we want to have a component which can accommodate images in line with the text. 2. We can move/drag the images/text in that component

[flexcoders] Re: storing login data from a cfquery for use throught flex app

2009-03-10 Thread stinasius
hi i created a storage class that i was using and it works perfectly but i dont know how to use it to get data from a cfc through remote object call. here is my code it works with username and password but when it comes to geting the email address associated with the username and password from

[flexcoders] Re: Urgent Prob - cant debug after upgrading to new player

2009-03-10 Thread reflexactions
I installed the debug version, no doubt about that. --- In flexcoders@yahoogroups.com, Nathaniel Skiba nate.sk...@... wrote: Did you upgrade to the debug version or the regular version? If you upgraded to the regular version, then you can fix the problem by downloading one of the debugger

RE: [flexcoders] Re: comboBox in datagrid

2009-03-10 Thread Tracy Spratt
I'd lost track that we were in a renderer. But even in a renderer, correct me if I am wrong, a Combo box can only set its selectedItem under two conditions, one being the dataProvider items are primitive values, the second being the item assigned is a reference to the item in the combo's

RE: [flexcoders] Re: Urgent Prob - cant debug after upgrading to new player

2009-03-10 Thread Tracy Spratt
The player version is one issue that just needs to be verified first. Just because you installed it does not guarantee that it got installed. You always need to verify it objectively. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com

  1   2   >