Re: [flexcoders] ToolTip for each row in a DataGrid

2008-06-09 Thread Josh McDonald
Your renderer should be able to get column.dataTipField or column.dataTipFunction and act accordingly - or you might be able to extend some base columnRenderer rather than Canvas or whatever you're using now and inherit the behaviour. Or, it might be implemented in the datagrid rendering pipeline

[flexcoders] Re: Itemrenderer combo's dataprovider from ModelLocator???

2008-06-09 Thread slash_n_rose
Thank you Daniel and Tim My List's dataprovider is an arraycollection of value objects. So do I need to add a field in the VO for the combo's dataprovider? --- In flexcoders@yahoogroups.com, Daniel Gold [EMAIL PROTECTED] wrote: I believe in using MVC in whatever way feels right for the

[flexcoders] Deep Zoom (Silverlght) in Flex??

2008-06-09 Thread slash_n_rose
Hi All Is there any flex component like a Silverlight Deep Zoom? Regards Jerry

Re: [flexcoders] Deep Zoom (Silverlght) in Flex??

2008-06-09 Thread Josh McDonald
It's not the client-size zoom that contains the pixie dust, it's the badass streaming image server required to support it. On Mon, Jun 9, 2008 at 4:50 PM, slash_n_rose [EMAIL PROTECTED] wrote: Hi All Is there any flex component like a Silverlight Deep Zoom? Regards Jerry --

[flexcoders] Re: Thinking about going to the dark side....Apple Mac Book

2008-06-09 Thread b_alen
Rob, this is exactly how I plan to use it. Can you explain Parallels and partitions a bit. If I run both OS's in tandem, how do they share RAM and CPU resources? How did you set that up? One big show stopper for me is how Mac handles windows resizing, i.e. no full screen mode. Is there a plugin

[flexcoders] Re: Possible to add some data to load to the default preloader?

2008-06-09 Thread b_alen
Can't do that, data is coming from aspx. In fact the only way this could work is to add info* to swf which data has to be loaded with the swf itself. Then the Flash Player would read that, calculate the size of data and add it to the preloader of the main swf. Once the whole bunsh is downloaded,

[flexcoders] Re: FileReference / upload problem in Mozilla Firefox

2008-06-09 Thread b_alen
It seems there's no way to pass the sessionID back to .NET. I tried couple of things and it didn't work out. What I did though is I bypassed the user authentication in upload.aspx with session. Instead I check the userid on upload.aspx by passing it as the get var. --- In

[flexcoders] Re: Deep Zoom (Silverlght) in Flex??

2008-06-09 Thread Cato Paus
http://theflashblog.com/?p=351 --- In flexcoders@yahoogroups.com, slash_n_rose [EMAIL PROTECTED] wrote: Hi All Is there any flex component like a Silverlight Deep Zoom? Regards Jerry

[flexcoders] Re: Flex Unload SWFLoader issues

2008-06-09 Thread benreed83
Ooops forgot to include the code sorry! See below doesnt soudn too encouraging tho, seems like a little bit of an omission on Adobes part? ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; horizontalAlign=center verticalAlign=center

Re: [flexcoders] know if .browse() was executed or not

2008-06-09 Thread David Pariente
hi, thnx for ur answer. I think that is a good idea to do. The only problem is that if user selects a file several times in the same file_select button, it would keep getting files inside that array, even i just need the last one that he chooses. thnx - Mensaje original De: Jon

[flexcoders] Single and Double Quotes and Tokens and SQLite

2008-06-09 Thread Dustin
Does anyone have any suggestions on how to insert data into a SQLite DB in AIR if the data being inserted or updated contains single or double quotes using a token based update string like this: UPDATE SITE SET name='{0}',description='{1}', url='{2}' If I use a statement helper to create my

Re: [flexcoders] know if .browse() was executed or not

2008-06-09 Thread David Pariente
I tryed that before and thought it would work, but it crashes. Seems there is a name property, but if file not browsed, it crashes when accessing it :( - Mensaje original De: Alberto Brealey-Guzmán [EMAIL PROTECTED] Para: flexcoders@yahoogroups.com Enviado: viernes, 6 de junio, 2008

[flexcoders] Does IE have some problem?

2008-06-09 Thread Manu Dhanda
Hii guyz, I am just experimenting with some stuff as in here: http://flats.e-zone.co.in/ It is working very nicely in Firefox whereas if I 'll do couple of clicks frequently in IE, it keeps on jumping from one screen to another.(Play with clicking tabs and accordion). Am using IE version

[flexcoders] Bitmap.draw

2008-06-09 Thread reflexactions
If I draw the contents of a target DisplayObjectContainer into a Bitmap is the rendered image affected by the alpha state of any parent container of the target. i.e. the targets alpha may be 1 but say somewhere above it a parent container has its alpha set to .5 does the bitmap image look like

RE: [flexcoders] Making Y-Axis Invisible on LineChart

2008-06-09 Thread Sunil Bannur
The default behavior of charts is that, if no axis renderers are specified, it draws its own, If you feel that an axis need not be drawn if nothing is specified, can you pls. file an enhancement at bugs.adobe.com/flex and vote for it. Thanks -Sunil From: flexcoders@yahoogroups.com

Re: [flexcoders] Single and Double Quotes and Tokens and SQLite

2008-06-09 Thread Tom Chiverton
On Monday 09 Jun 2008, Dustin wrote: If I use a statement helper to create my update statement like this: Umm, AIR supports bind parameters natively, doesn't it ? -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP.

[flexcoders] Re: Bitmap.draw

2008-06-09 Thread b_alen
No, it shouldn't be affected. You can draw the nested object and its owners will not affect how it looks. --- In flexcoders@yahoogroups.com, reflexactions [EMAIL PROTECTED] wrote: If I draw the contents of a target DisplayObjectContainer into a Bitmap is the rendered image affected by the

Re: [flexcoders] know if .browse() was executed or not

2008-06-09 Thread Jon Bradley
On Jun 9, 2008, at 4:40 AM, David Pariente wrote: The only problem is that if user selects a file several times in the same file_select button, it would keep getting files inside that array, even i just need the last one that he chooses. Not if you make sure the file doesn't already

Re: [flexcoders] know if .browse() was executed or not (solved!)

2008-06-09 Thread David Pariente
Hi, thnx everyone for the help. I finally did an array, with one element per file. on select, i wrote the name of the file on it's element in the array. Later i just check if the element of the array is empty or has a name inside :) pretty close to the array.push version of the solution, but

Re: [flexcoders] know if .browse() was executed or not

2008-06-09 Thread David Pariente
thnx, i did like that... well, i just made the array with 2 elements, 0, and 1, for the 2 files i use. and the i just overwrite them with the name. Same as u adviced but without the push. Its just a pity than cant access the name property of a fileReference object, returnin if not browsed :P

[flexcoders] Cannot access a property or method of a null object reference?

2008-06-09 Thread xaero
Hi I'my working whit flex and amfphp. In my exercise, the flex debug say this error: TypeError: Error #1009: Cannot access a property or method of a null object reference. at cys/changeHandler()[D:\My Documents\FlexBuilder3\cys\src\cys.mxml:51] at cys/__atclass_close()[D:\My

[flexcoders] Re: How to populate a ComboBox?

2008-06-09 Thread xaero
in the amfphp Services Broswer, I can get the result: http://farm4.static.flickr.com/3081/2564060018_97befed34f_o.gif But how to populate the ComboBox? Please give me some help Thank you in advanced!

[flexcoders] Re: Flex Css Html Css

2008-06-09 Thread xaero
And then How can I set the page's background like in the HTML Css? That is: background-repeat: repeat-x; background-PositionX: left; background-PositionY: bottom; --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: No, you can't do this. Flex CSS is not 'real' css

[flexcoders] Re: How to populate a ComboBox?

2008-06-09 Thread xaero
Sherif Abdou: Thank you very much for your timely answer! I'm a beginner, it is my first practice. I get confused.I will tell you what I want to do. There are 4 classes (class 1, class 2, class 3 and class 4) in my example, and there are about 50 students in each class. I want to display

[flexcoders] Duplicating classes from the Flex framework / DateChooser customization

2008-06-09 Thread Fiouz
Hi, What is the appropriate approach to compile the Flex (3) ActionScript sources? Actually, my original problem is the following: I need to emphasize specific days in a DateChooser control. Alas, as of Flex 3.0.0, the DateChooser control does not offer this functionality. Furthermore, the

Re: [flexcoders] How do I bind a Remore Object ArrayColletion item to some popUpWindow form items?

2008-06-09 Thread rreyes
I am using BlazeDS. The thing is that I am loading the array in the main mxml (I show the array in a grid) but I am editing the item in a PopUp Window Form. Think this as a master-detail (grid-popUp Window form) app. Still, when you edit the item using the PopUpWindow Form, nothing happens in the

[flexcoders] Re: Deep Zoom (Silverlght) in Flex??

2008-06-09 Thread slash_n_rose
Thanks --- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: It's not the client-size zoom that contains the pixie dust, it's the badass streaming image server required to support it.

Re: [flexcoders] Re: Flex Css Html Css

2008-06-09 Thread Michael Schmalle
Hi, Well.. you can't really unless you create a custom skin. There are some open source stuff out there that allows you to use a background repeat algorithm. There is no background position styles either. So really, what you want to do cannot be done with Flex3 css. Mike On Mon, Jun 9, 2008

[flexcoders] Re: How should we access our Flex apps from the browser?

2008-06-09 Thread Dan
That is correct. --- In flexcoders@yahoogroups.com, Paul Andrews [EMAIL PROTECTED] wrote: So, if you provide a url where the file is an .mxml file to the browser, it runs your application - you don't see the source file? Paul - Original Message - From: Dan [EMAIL PROTECTED] To:

Re: [flexcoders] Cannot access a property or method of a null object reference?

2008-06-09 Thread Michael Schmalle
Hi, From the look if it ;ComboBox(event.target).selectedItem seems to be where the null pointer is. Make sure you actually have a selectedItem in the list. I have actually done this myself when testing and actually forgot to 'select' an item before a service call. Mike On Mon, Jun 9, 2008 at

[flexcoders] Re: How should we access our Flex apps from the browser?

2008-06-09 Thread Dan
Tracy, We are using LCDS so maybe that is what is happening. --Dan --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: Dan, unless you are using the LCDS web tier compiler, or the Apache equivalent, what you are describing is pretty much impossible. The browser cannot

Re: [flexcoders] Error #2044: Unhandled ioError:. text=Error #2032: Stream Error.

2008-06-09 Thread Mark Doberenz
I came to find out that this is a general error that gets sent to Flex when an error is getting generated by the server. Essentially, the error is throwing an error. I'd suggest using Fiddler to see what the communication is and what the actual error is. A limitation of IE/Firefox hosting a Flex

[flexcoders] Re: VerifyError: Error #1063: Argument count mismatch on ... ResourceBundle().

2008-06-09 Thread Dan
Gordon, I actually wasn't even planning to use resources. In fact I went as far as trying to remove the locale compiler argument because at this point we have no intention to use i18n. That's what confuses me, why this is coming up in the first place. I suspect it might be a red herring.

[flexcoders] AIR Update Problem

2008-06-09 Thread M.Javed
Hi all, just a little query if anyone can help, I am currently new on AIR applications but have worked on flex web applications alot, I was just making a sample application for my project, when I made the release build with .air extension and tried to install it, it gave me an error saying

[flexcoders] Re: How to expose Hibernate 'non' conventional beans into flex apps via remoting

2008-06-09 Thread Mehdi
Sounds good, Will give it a try as soon as it is out. thanks. --- In flexcoders@yahoogroups.com, Jens Halm [EMAIL PROTECTED] wrote: Robert, I am going to try out the DTO/Assembler approach (Something tells me it is worth the initial investment). Any pointers, samples, whatever will

[flexcoders] Re: Flex Css Html Css

2008-06-09 Thread xaero
Thank you very much, Mike. --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, Well.. you can't really unless you create a custom skin. There are some open source stuff out there that allows you to use a background repeat algorithm. There is no background

[flexcoders] Re: Cannot access a property or method of a null object reference?

2008-06-09 Thread xaero
I add an Alert.show, and delete the CALL function, like this: var atClass:Object = new Object(); atClass.atcls = ComboBox(event.target).selectedItem.data; Alert.show(atClass[atcls],ALERT); //gateway.call(cys.getStudents, new Responder(onResult, onFault), atClass); //line 51 It can show the data

[flexcoders] Re: setting fillcolor with actionscript and stylename

2008-06-09 Thread netdeep
Perhaps I am not understanding this properly. When I add the following style to my Panel: mx:Style .gradientBgrd { borderStyle: applicationControlBar; fillColors: #003483,#a9a7ff; fillAlphas: 0.6, 0.6; highlightAlphas: 0, 0;

[flexcoders] Error in Image path reference. text=Error #2035: URL Not Found.

2008-06-09 Thread gavinscott523
Can anyone explain why I cannot reference this image in my code? I have changed it from ../../assets/image1.jpg to ../assets/image1.jpg to just plain assets/image1.jpg. None of them work. The assests folder sits on the root. I feel stupid asking this question because I cannot find any one else

[flexcoders] multiline label for mx:TabBar

2008-06-09 Thread kilian.schumm
Hi, I need to create a tabbar with multiline text labels. Any ideas how to do this? Kilian

RE: [flexcoders] multiline label for mx:TabBar

2008-06-09 Thread Gregor Kiddie
You can follow a similar process to creating multiline buttons. http://www.google.co.uk/search?hl=ensa=Xoi=spellresnum=0ct=resultcd =1q=flex+multiline+buttonsspell=1 It's pretty straightforward. Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread

[flexcoders] AdvancedDataGrid (DataGrid) Change cell editability at run time

2008-06-09 Thread gene_belor
Hi, I think the way AdvancedDataGrid (DataGrid) allows cells to be editable through AdvancedDataGridColumn (DataGridColumn)'s editable property is restrictive because the property works on the whole column I was wondering what is the best approach for dynamically changing whether a cell is

[flexcoders] notification to a non-instanciate object

2008-06-09 Thread y.mauron
Dear all, My question is a little bit frustrating as it seems to be very simple. I've got a TabNavigator and one of the tab content is a component coming from a swc archive. From the tab number 1 I'd like to act on the content of the tab number two (let's say the tab that contains my swc

[flexcoders] Can Array or ArrayCollection be populated into ComboBox?

2008-06-09 Thread xaero
Hi, everyone! In my PHP file, there is a function that returns an Array $user_array the data in this Array is something like this: [0] atclass = 1 sid = 3 ssname = Joe [1] atclass = 1 sid = 4 ssname = Sam [2] atclass = 1 sid = 5 ssname = Simth And I want to

RES: [flexcoders] Can Array or ArrayCollection be populated into ComboBox?

2008-06-09 Thread DANIEL CREDIDIO - INFORMATICA
Put this in the combobox -- labelField =ssname De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome de xaero Enviada em: segunda-feira, 9 de junho de 2008 12:16 Para: flexcoders@yahoogroups.com Assunto: [flexcoders] Can Array or ArrayCollection be populated into ComboBox? Hi,

[flexcoders] AIR deployment on server

2008-06-09 Thread netdeep
I have a Flex app which needs to run on the server in the background. I was thinking of turning into an AIR app since it really doesn't need to run on the browser. But how could I deploy this. I am sending my entire flex project as a .war file to deploy on the server and am using

[flexcoders] Re: setting fillcolor with actionscript and stylename

2008-06-09 Thread Amy
--- In flexcoders@yahoogroups.com, netdeep [EMAIL PROTECTED] wrote: Perhaps I am not understanding this properly. When I add the following style to my Panel: mx:Style .gradientBgrd { borderStyle: applicationControlBar; fillColors: #003483,#a9a7ff;

[flexcoders] Howto Create Flex Builder Custom Component folders?

2008-06-09 Thread Mark Doberenz
I'm creating a Flex library project for work and it's ending up being a BUNCH of little custom components. So, when I use the library in a Flex app project, there are all of those components in the Custom Components folder. Is there any way to create a new folder in the Components tab in Flex

Re: [flexcoders] Howto Create Flex Builder Custom Component folders?

2008-06-09 Thread Michael Schmalle
Hi, Nope, component devs are out of luck with this. You could file an enhancement request for Flex Builder 4. :) Mike On Mon, Jun 9, 2008 at 11:26 AM, Mark Doberenz [EMAIL PROTECTED] wrote: I'm creating a Flex library project for work and it's ending up being a BUNCH of little custom

Re: [flexcoders] Re: How should we access our Flex apps from the browser?

2008-06-09 Thread Tom Chiverton
On Friday 06 Jun 2008, Paul Andrews wrote: So, if you provide a url where the file is an .mxml file to the browser, it runs your application - you don't see the source file? No if he's using the web tier compiler, no. -- Tom Chiverton

Re: [flexcoders] Howto Create Flex Builder Custom Component folders?

2008-06-09 Thread Johannes Nel
or you could create your own exlipse plugin to go with your components to manage this. On Mon, Jun 9, 2008 at 5:33 PM, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, Nope, component devs are out of luck with this. You could file an enhancement request for Flex Builder 4. :) Mike On

Re: [flexcoders] DataGrid What is the limit?

2008-06-09 Thread Tom Chiverton
On Wednesday 04 Jun 2008, Fidel Viegas wrote: This topic has been discussed several times. Just do a search on the group and you will find quite a lot of answers to that. And the answer is always 'more than the maximum number of rows or columns you should ever present a user with'. -- Tom

Re: [flexcoders] Re: Cannot access a property or method of a null object reference?

2008-06-09 Thread Michael Schmalle
Is the gateway property defined? Other than that... from the code you have shown, I don't have a clue. ;-) Mike On Mon, Jun 9, 2008 at 9:39 AM, xaero [EMAIL PROTECTED] wrote: I add an Alert.show, and delete the CALL function, like this: var atClass:Object = new Object(); atClass.atcls =

Re: [flexcoders] Re: SWC Encrypt 2.0 - Does it work?

2008-06-09 Thread Tom Chiverton
On Wednesday 04 Jun 2008, Joseph Balderson wrote: Ah. I thought he was talking about SWCEncrypt, which is actually an obfuscator. Yeah, but SWFObfuscator isn't as cool a product name, so I guess they went with being confusing... -- Tom Chiverton

Re: [flexcoders] fail to use ant build

2008-06-09 Thread Tom Chiverton
On Tuesday 03 Jun 2008, coder3 wrote: but when i build it, it gave me Command not found: mxmlc Add the SDK bin directory to your $PATH ? -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited

[flexcoders] Re: Altering a textarea on certain keyboardevents...

2008-06-09 Thread miltoon71
--- In flexcoders@yahoogroups.com, miltoon71 [EMAIL PROTECTED] wrote: Hi Trying to insert some characters on every new row when the user hits enter... The following does not work: // Define a textarea: mx:TextArea id=myTextArea // Add a keystroke listener

[flexcoders] Alert.show - how to pass extra parameter to Alert event handler?

2008-06-09 Thread djohnson29
I have an alert popup with your basic ok / cancel functionality. The alert calls an event handler which receives a close event as a parameter like so: Alert.show(You have unsaved changed. Continue? ,My popup, Alert.OK | Alert.CANCEL, this, cancelEventHandler); private function

[flexcoders] Need help in a column chart thats reads from a xml file

2008-06-09 Thread hdias_esparga
Can someone plz indicate me a good tutorial to make a Column Chart that reads data from a XML file? I'm driving nuts to put this working... a simple XML file would be like this... ( i need to show the 'Pontuacoes' Tag in the chart) Relatorios Relatorio Pontuacoes

RES: [flexcoders] notification to a non-instanciate object

2008-06-09 Thread Luciano Manerich Junior
Hi, its because the default instanciation of the objects (auto). its only the tab that you have navegated into. You may add a creationPolicy property in the tabnavigator to work aroung this situation. mx:TabNavigator creationPolicy=all De:

RE: [flexcoders] Error in Image path reference. text=Error #2035: URL Not Found.

2008-06-09 Thread Alex Harui
Paths should be relative to the swf. Where is the swf file and the image? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of gavinscott523 Sent: Monday, June 09, 2008 7:43 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Error in

[flexcoders] Re: Error #2044: Unhandled ioError:. text=Error #2032: Stream Error.

2008-06-09 Thread Dmitri Girski
This is a general type socket error and it could be many reasons for it. - Check server logs for errors - set the fault handler for the HTTPService - use any sniffer to check the server response (you need to setup a standalone server for it as it is quite hard to debug localhost connections)

RE: [flexcoders] Duplicating classes from the Flex framework / DateChooser customization

2008-06-09 Thread Alex Harui
You probaby just need to copy the type-selector from defaults.css From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Fiouz Sent: Monday, June 09, 2008 5:48 AM To: Flexcoders Subject: [flexcoders] Duplicating classes from the Flex framework

RE: [flexcoders] Re: Flex Unload SWFLoader issues

2008-06-09 Thread Alex Harui
Yes. The player team is looking in to it From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of benreed83 Sent: Monday, June 09, 2008 1:00 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex Unload SWFLoader issues Ooops

RE: [flexcoders] Re: Possible to add some data to load to the default preloader?

2008-06-09 Thread Alex Harui
Why does it need to be done at preloader time? You could simply make the first screen/state of your app a UI that waits for the ASPX data. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of b_alen Sent: Monday, June 09, 2008 12:22 AM To:

[flexcoders] Setting a HSliders value when it's used by a DataGrid's ItemRenderer

2008-06-09 Thread gbkpicasso
I have custom component HSlider that I'm using in a Datagrid. The only way I can get the HSlider to show up in the datagrid is to use a VBox as the base class of the component. I'm not sure if that bit of info relates to my question. How do I get the value of the slider in my data grid to

[flexcoders] Re: Don't want to sort the tree in my Advanced Datagrid

2008-06-09 Thread memecpi
I don't know of a way to disable the auto-sorting, but you can provide a compareFunction to the Grouping to sort it correctly. I experienced the same problem and had to provide a compareFunction to fix the sorting. If anyone found how to disable the auto-sort I would be interested too. ---

[flexcoders] Image.source. bug or not?

2008-06-09 Thread Carlo Gulliani
everybody, hi. trying use mx:Image on MacOSX. When I use path of my app's directory in source's property, then it's ok, but when I use my special path, i.e. path of folder, which is in my Documents directory, then I've not got my Image. looks: mx:Image id=pic ... my picture is in

Re: [flexcoders] Howto Create Flex Builder Custom Component folders?

2008-06-09 Thread Mark Doberenz
Johannes, I was actually thinking that this would be what I'd need to do. Do you have any more info on what this would look like? Creating an installer for this library wouldn't be a big deal, so packaging up the eclipse plugin and the swc wouldn't be out of the question. I just don't know

[flexcoders] Creating Data Grid Columns Dynamically?

2008-06-09 Thread Ethan Miller
Greetings - I need to construct data grid columns on the fly, ie build the table from the data. WAs thinking I could make column class and that run a for each in loop adding the columns as children to myGrid.columns (as it were). Doesn't work for a variety of reasons. Anyone here know how to

[flexcoders] Re: Flex + WebORB for PHP, A very strage problem

2008-06-09 Thread valdhor
I just came across this myself and figured out the problem. PHP retrieved the data from my database and even though the entry in the database was boolean PHP (Because it is a loosely typed language) returned the entry as a string with the value of 0. When this was returned, Flex coerced this

RE: [flexcoders] Creating Data Grid Columns Dynamically?

2008-06-09 Thread Tracy Spratt
Below is a very simple example. One key is to re-assign the modified array to the columns property. Do not miss that step. http://www.cflex.net/showFileDetails.cfm?ObjectID=552 Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

[flexcoders] new to VO's, why won't this cast?

2008-06-09 Thread Derrick Anderson
hi, i am trying to incorporate value objects into my programming- i have a very simple one set up [Bindable] public class EmployeeVO { public var employeeID:uint; public var roleID:Number; public var employeeTypeID:Number; public var

[flexcoders] HELP change mouse pointer over text object

2008-06-09 Thread Body Works Studio
Hi all, in the result list we use to use the linkButton to display the name of the doc coming back in the rss. Problem was the button would either extend into the next object to the right, r if we sized the button we got the truncated text with ... at the end. So as a workaround I make the rss

RE: [flexcoders] Can Array or ArrayCollection be populated into ComboBox?

2008-06-09 Thread Tracy Spratt
And best practice is to wrap the array in an ArrayCollection: public _acStudents:ArrayCollection; var aStudents:Array = result; //This will have a problem if there is a single element in the array. Look into toArray() ... _acStudents = new ArrayCollection(aStudents); ...

RE: [flexcoders] HELP change mouse pointer over text object

2008-06-09 Thread Tracy Spratt
This takes some combination of the following on the Text component. Try them in that order: mouseChildren=false buttonMode=true useHandCursor=true Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Body Works Studio Sent:

[flexcoders] Re: Flex Css Html Css

2008-06-09 Thread valdhor
This is how I do it: I create an empty component named RepeatedBackgroundBox.mxml: ?xml version=1.0 encoding=utf-8? mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml; width=100% height=100% /mx:VBox Next I create an AS file named RepeatedBackground.as: /* RepeatedBackground Use this

[flexcoders] Re: Flex Css Html Css

2008-06-09 Thread valdhor
This is how I do it: I create an empty component named RepeatedBackgroundBox.mxml: ?xml version=1.0 encoding=utf-8? mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml; width=100% height=100% /mx:VBox Next I create an AS file named RepeatedBackground.as: /* RepeatedBackground Use this

Re: [flexcoders] new to VO's, why won't this cast?

2008-06-09 Thread Jon Bradley
On Jun 9, 2008, at 1:54 PM, Derrick Anderson wrote: var testVO:EmployeeVO = DataGrid(event.currentTarget).selectedItem as EmployeeVO; Maybe this will help: var testVO:EmployeeVO = EmployeeVO(event.currentTarget.selectedItem); or var testVO:EmployeeVO = event.currentTarget.selectedItem as

Re: [flexcoders] new to VO's, why won't this cast?

2008-06-09 Thread Derrick Anderson
i tried your first suggestion, the second one I had already tried- at least with this one I get an error TypeError: Error #1034: Type Coercion failed: cannot convert [EMAIL PROTECTED] com.winn.vo.EmployeeVO. Still the same question though, the datatypes seem to be compatible- so why the error?

[flexcoders] Re: changing AIR application width and height

2008-06-09 Thread valdhor
Here is a quick little demo you can look at: ?xml version=1.0 encoding=utf-8? mx:WindowedApplication xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ private function goFullScreen(event:MouseEvent):void {

[flexcoders] Re: changing AIR application width and height

2008-06-09 Thread valdhor
Here is a quick little demo you can look at: ?xml version=1.0 encoding=utf-8? mx:WindowedApplication xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ private function goFullScreen(event:MouseEvent):void {

Re: [flexcoders] new to VO's, why won't this cast?

2008-06-09 Thread Sherif Abdou
can you give me a bit of code and I'll look at it so i can compile the examples - Original Message From: Derrick Anderson [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, June 9, 2008 1:21:51 PM Subject: Re: [flexcoders] new to VO's, why won't this cast? i tried your

Re: [flexcoders] new to VO's, why won't this cast?

2008-06-09 Thread Sherif Abdou
come to think of it I think you may need to write your own conversion - Original Message From: Sherif Abdou [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, June 9, 2008 1:39:05 PM Subject: Re: [flexcoders] new to VO's, why won't this cast? can you give me a bit of code

Re: [flexcoders] new to VO's, why won't this cast?

2008-06-09 Thread Derrick Anderson
ok, here is EmployeeVO.as *package com.winn.vo { [Bindable] public class EmployeeVO { public var employeeID:uint; public var roleID:Number; public var employeeTypeID:Number; public var employeeStatusID:Number; } }* then in my mxml file i have a

[flexcoders] Enabling or disabling individual rows

2008-06-09 Thread kpjj31
I have a list of task items that need to be completed in order. Does anyone know if there is a way to enable and disable rows of a datagrid or a repeater based on weather or not an item in the array collection has a particular value. I really would like to avoid alerting the user when they

Re: [flexcoders] new to VO's, why won't this cast?

2008-06-09 Thread Sherif Abdou
Ok i think you can't do that since I am looking at Adobe Flex Professional 2.0 wrox book and they have a similar example and what they did was EmployeeVO.employeeID = objectName.employeeID; - Original Message From: Derrick Anderson [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent:

[flexcoders] Multiple applications in SWF file

2008-06-09 Thread twcrone70
Is there a case where you would have more than one root Application in a SWF? - Todd

Re: [flexcoders] new to VO's, why won't this cast?

2008-06-09 Thread Derrick Anderson
i've seen other examples of this working.. http://casario.blogs.com/mmworld/2007/04/passing_actions.html i tried setting it a property at a time and that of course works- but i'll have to write much more code and it will be harder to maintain. thanks, d. On Mon, Jun 9, 2008 at 2:59 PM, Sherif

Re: [flexcoders] new to VO's, why won't this cast?

2008-06-09 Thread Derrick Anderson
actually, the link was http://casario.blogs.com/mmworld/2007/04/casting_a_datag.html it's a very simple example of exactly what I'm trying to do. d. On Mon, Jun 9, 2008 at 3:09 PM, Derrick Anderson [EMAIL PROTECTED] wrote: i've seen other examples of this working..

Re: [flexcoders] new to VO's, why won't this cast?

2008-06-09 Thread Sherif Abdou
well are you getting this from a Database, if you are then you may be able to use the RemoteClass metadata? - Original Message From: Derrick Anderson [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, June 9, 2008 2:12:48 PM Subject: Re: [flexcoders] new to VO's, why won't

[flexcoders] Listening for mainScreen changes in AIR

2008-06-09 Thread Daniel Gold
Are there any events raised when the mainScreen is changed in an AIR application? I've noticed this happens if you're using Spaces in OS X and therefore assume it happens when using similar virtual workspace applications under Windows and Linux. For raising notification windows, etc, I would like

Re: [flexcoders] new to VO's, why won't this cast?

2008-06-09 Thread Derrick Anderson
i do get the employee list from a database, and I tried putting RemoteClass metadata on the VO class with an alias- no luck- same error. d. On Mon, Jun 9, 2008 at 3:26 PM, Sherif Abdou [EMAIL PROTECTED] wrote: well are you getting this from a Database, if you are then you may be able to use

RE: [flexcoders] Creating Data Grid Columns Dynamically?

2008-06-09 Thread Alex Harui
Classes can't be iterated for their properties (plan object can, but not some class instance). Iteration only works for dynamic properties. ObjectUtil.getClassInfo will get the list of properties for you. From: flexcoders@yahoogroups.com [mailto:[EMAIL

[flexcoders] Re: Enabling or disabling individual rows

2008-06-09 Thread Dmitri Girski
You can do it via custom ItemRenderers. For each column you have to create IR and there check the condition. If data meets the criteria - set enabled property of label or checkbox or whatever is in the IR to false. Cheers, Dmitri. -- http://mitek.id.au/whingingpom --- In

[flexcoders] Re: HELP change mouse pointer over text object

2008-06-09 Thread Body Works Studio
Tracy, Thanks using the atributes in that order did the trick. Jeff --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: This takes some combination of the following on the Text component. Try them in that order: mouseChildren=false buttonMode=true

[flexcoders] Attaching custom data to events (while avoiding race condition)

2008-06-09 Thread robbarreca
Say I have two functions load() and handleComplete(event:Event). Right now to get custom data to handleComplete I do something like this private var someFlag:uint = 0; function load() { loader.addEventListener(handleComplete); someFlag = determineFlag(); loader.loadSomeStuff(); }

Re: [flexcoders] Re: How to expose Hibernate 'non' conventional beans into flex apps via remoting

2008-06-09 Thread [p e r c e p t i c o n]
Hi Mehdi, I would also look here: http://livedocs.adobe.com/blazeds/1/blazeds_devguide/ under rpc components / extending applications with factories I did this using ejb3 and seam and i'm sure you can do it with Hibernate as well... best p On Mon, Jun 9, 2008 at 6:26 AM, Mehdi [EMAIL

Re: [flexcoders] new to VO's, why won't this cast?

2008-06-09 Thread Sherif Abdou
well are you using ColdFusion? AMFPHP? - Original Message From: Derrick Anderson [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, June 9, 2008 2:36:26 PM Subject: Re: [flexcoders] new to VO's, why won't this cast? i do get the employee list from a database, and I tried

Re: [flexcoders] Attaching custom data to events (while avoiding race condition)

2008-06-09 Thread Daniel Gold
does determineFlag() do some asynch service call? If so you need to wait and raise an event or update a var in a model and listen for changes that way. Otherwise your determineFlag() method will run to completion before the loader.loadSomeStuff() line is executed, Flash is single threaded for user

[flexcoders] Checking value in ArrayCollection

2008-06-09 Thread flexawesome
Hey there, I had an ArrayCollection and I need to check if name = carry is exist in the ArrayCollection. I could use objs.source.forEach() to loop the arrayCollection, is there any fast way can do this as well? Cheers public var objs:ArrayCollection = new ArrayCollection();

  1   2   >