[flexcoders] Disabling an entire MenuBar in Flex 2

2008-09-11 Thread Paul Steven
I would like to disable an entire MenuBar but can’t quite figure out how. I was hoping I could just do something like this menubar1.enabled = false; but unfortunately this doesn’t seem to work. Here is my menu bar code. mx:MenuBar labelField=@label itemClick=menuHandler(event)

[flexcoders] Delay before text is updated

2008-08-05 Thread Paul Steven
Probably something really basic, but I am having trouble with delays updating some text on screen. Basically I want to display a message on screen to tell the user to wait whilst a save operation takes place and after the save operation change the text message back to blank. However I am not

RE: [SPAM]Re: [flexcoders] Delay before text is updated

2008-08-05 Thread Paul Steven
anything until it's done- and you should probably split it apart and schedule it in pieces :) -Josh On Tue, Aug 5, 2008 at 5:43 PM, Paul Steven [EMAIL PROTECTED] wrote: Probably something really basic, but I am having trouble with delays updating some text on screen. Basically I want to display

RE: [SPAM]Re: [flexcoders] Delay before text is updated

2008-08-05 Thread Paul Steven
On Tue, Aug 5, 2008 at 5:43 PM, Paul Steven [EMAIL PROTECTED] mailto:paul_steven%40btinternet.com wrote: Probably something really basic, but I am having trouble with delays updating some text on screen. Basically I want to display a message on screen to tell the user to wait whilst a save

[flexcoders] Disabling mouse scroll wheel for datagrid column

2008-04-01 Thread Paul Steven
I am experiencing a problem where the mouse scroll wheel is causing the text in a column of my data grid to disappear when you move the scroll wheel. Not sure if its the best solution but I was wondering how to disable the mouse scroll wheel for this datagrid column or for the entire datagrid

RE: [SPAM] RE: [flexcoders] Heights of repeated datagrids

2008-03-26 Thread Paul Steven
: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Steven Sent: Tuesday, March 25, 2008 12:40 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Heights of repeated datagrids Still trying to figure out how to control the heights of datagrids in a repeated custom

[flexcoders] Heights of repeated datagrids

2008-03-25 Thread Paul Steven
Still trying to figure out how to control the heights of datagrids in a repeated custom component. If I do not set the height of the datagrid then all repeated datagrids seem to acquire a height which is the height necessary to display the largest amount of data. Therefore I end up with some

[flexcoders] How to reset a scrollbar - would really appreciate some assistance please

2008-03-04 Thread Paul Steven
I want to reset a scroll bar to the top when returning to a dynamically populated datagrid in my app. Basically the datagrid displays info about different students so clicking on a students name in a list takes you to this datagrid. Problem is if I am looking at the data of one student and scroll

RE: [SPAM] Re: [flexcoders] How to reset a scrollbar - would really appreciate some assistance please

2008-03-04 Thread Paul Steven
- From: Paul Steven mailto:[EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, March 04, 2008 2:32 PM Subject: [flexcoders] How to reset a scrollbar - would really appreciate some assistance please I want to reset a scroll bar to the top when returning to a dynamically

[flexcoders] Porting a project from Flex Builder 2 to Flex Builder 3

2008-02-29 Thread Paul Steven
I am experiencing problems with my datagrid in my Flex Builder 2 application and I am thinking updating to Flex Builder 3 may fix things, especially as installing the Flex Builder 2 hot fix seems to have improved things but not totally fixed the issues. So I am asking is it simply a case of

RE: [SPAM] [flexcoders] Re: Printing a large string over multiple pages

2007-12-03 Thread Paul Steven
Thanks to everyone for the help on the print problem. I will try out your suggestions though I have as a temporary measure just written the text to a text file and immediately opened it. That way it can then be printed using the default print functionality of the text editing app. From:

[flexcoders] Printing a large string over multiple pages

2007-12-02 Thread Paul Steven
Still desperately trying to find a solution to this! How can I print a text field that contains more than one page worth of text over multiple pages? Thanks Paul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Steven Sent: 29 November 2007 20:30

[flexcoders] How to disable menubar in Flex 2

2007-11-29 Thread Paul Steven
Can someone please let me know how to disable a menubar in Flex 2 Here is a snippet of my code. Basically at certain points I need to disable all items in the menu. mx:MenuBar labelField=@label itemClick=menuHandler(event) dataProvider={menuBarCollection} width=250 x=520

[flexcoders] Printing a large string over multiple pages

2007-11-29 Thread Paul Steven
I am printing a large string and it is only printing one page worth of the string data. Ideally I would like it to print the entire string using as many pages as it requires to print out the entire contents. Any help much appreciated!! This is my print function code: private function

[flexcoders] Problems uploading large base64 files (over 10mb) with URLLoader

2007-11-15 Thread Paul Steven
Has anyone experienced problems uploading large files with URLLoader? I am reading in a file as binary data and converting it to Base64 using the built in Base64 class. I am then popping this base64 data into an xml file and uploading using URLLoader. It all works fine with files up to

[flexcoders] Binding visibility based on class property

2007-10-22 Thread Paul Steven
I want to set the visibility of an embedded swf file based on the property of a class Here is what I am trying but it does not work and I get a warning saying - Data binding will not be able to detect assignments to uploadingFile mx:SWFLoader visible={_session.uploadingFile}

RE: [flexcoders] Binding visibility based on class property

2007-10-22 Thread Paul Steven
Thanks Tom - that sorted it good and proper!! -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: 22 October 2007 09:45 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Binding visibility based on class property On

[flexcoders] OT: Recovering files after overwriting folder

2007-10-03 Thread Paul Steven
Desparate for help here! I have just created a folder using Zinc that has over written my bin folder on a project I have been working on for 3 months. The bin folder had several subfolders with all my packages / classes in. I stupidly created a folder using an application path variable and

[flexcoders] Change text color of row of Datagrid based on property

2007-10-02 Thread Paul Steven
I want to be able to set the text color of all cells in a row of a datagrid based on a certain property Basically each row represents a students data. One property of a student is whether or not the student is active or not. So I want to set the text for all non active students to red.

Re: [flexcoders] Passing a property of repeater item

2007-10-01 Thread Paul Steven
the repeater has done its work. You need to pass in a property of the button itself to displayHelpTopic, eg. the label. Cheers Ralf. On 9/30/07, Paul Steven [EMAIL PROTECTED] wrote: I can't figure out how to pass a property of a repeater item to a function This is what I am trying

Re: [flexcoders] Passing a property of repeater item

2007-10-01 Thread Paul Steven
UIComponent has or subclass the LinkButton and add the additional property. Cheers r. On 10/1/07, Paul Steven [EMAIL PROTECTED] wrote: Thanks Ralf Can you elaborate a bit more please How can I set a property of the button called topicId. My I tried the following but it doesn't work

RE: [SPAM] RE: [flexcoders] Passing a property of repeater item

2007-10-01 Thread Paul Steven
=displayHelpTopic(linkrep.getRepeaterItem().title) Tracy _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Steven Sent: Sunday, September 30, 2007 5:47 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Passing a property of repeater item I can't

RE: [SPAM] RE: [SPAM] RE: [flexcoders] Passing a property of repeater item

2007-10-01 Thread Paul Steven
[mailto:[EMAIL PROTECTED] On Behalf Of Paul Steven Sent: Monday, October 01, 2007 10:01 AM To: flexcoders@yahoogroups.com Subject: RE: [SPAM] RE: [flexcoders] Passing a property of repeater item Thanks Tracy Sorry I didn't think I had hijacked any thread - I was under the impression I had started

[flexcoders] Passing a property of repeater item

2007-09-30 Thread Paul Steven
I can't figure out how to pass a property of a repeater item to a function This is what I am trying but it is not working mx:Repeater id=linkrep dataProvider={this.helpRelatedData} mx:LinkButton label='{linkrep.currentItem.title}'

[flexcoders] Creating a help system for a flex application

2007-09-28 Thread Paul Steven
I need to create a help system for the flex app I am making. The format of the help will be something like the following, where the Help Text may be several paragraphs of text. Under this help text, there will be a list of links to related help topics. Category1 ---Topic1 --Help Text

RE: [SPAM] [flexcoders] upload file to base64

2007-09-24 Thread Paul Steven
Hi Slash I am doing something similar using Flex 2.0 I am converting a file to binary ByteLoader = new URLLoader(); ByteLoader.dataFormat = URLLoaderDataFormat.BINARY; ByteLoader.addEventListener (Event.COMPLETE, fileLoadComplete);

[flexcoders] Detecting click of menubar on root

2007-09-24 Thread Paul Steven
I am creating a menubar that does not have any drop down items and I am not sure how to detect clicks on these root menu items. The following function only appears to detect clicks on drop down items private function menuHandler(event:MenuEvent):void { Alert.show(Label:

RE: [flexcoders] Could people watch their subject lines ?

2007-09-19 Thread Paul Steven
Sorry - I think I am a culprit! Is it just me or does the flexcoders emails always have [SPAM] in front of the subject? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: 19 September 2007 09:56 To: flexcoders@yahoogroups.com

RE: [SPAM] RE: [flexcoders] Changing the image in a custom component item renderer

2007-09-18 Thread Paul Steven
Label or TextInput _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Steven Sent: Monday, September 17, 2007 10:32 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Changing the image in a custom component item renderer I am creating a datagrid

RE: [SPAM] RE: [SPAM] RE: [flexcoders] Changing the image in a custom component item renderer

2007-09-18 Thread Paul Steven
will choose one of the three variables. _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Steven Sent: Monday, September 17, 2007 10:53 PM To: flexcoders@yahoogroups.com Subject: RE: [SPAM] RE: [flexcoders] Changing the image in a custom component item renderer

RE: [flexcoders] Changing the image in a custom component item renderer

2007-09-18 Thread Paul Steven
height=40 source={data[(DataGridListData(listData).dataField)]}/ _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Steven Sent: Monday, September 17, 2007 11:32 PM To: flexcoders@yahoogroups.com Subject: RE: [SPAM] RE: [SPAM] RE: [flexcoders] Changing

RE: [SPAM] RE: [SPAM] RE: [SPAM] RE: [flexcoders] Changing the image in a custom component item renderer

2007-09-18 Thread Paul Steven
:[EMAIL PROTECTED] On Behalf Of Paul Steven Sent: Monday, September 17, 2007 11:32 PM To: flexcoders@yahoogroups.com Subject: RE: [SPAM] RE: [SPAM] RE: [flexcoders] Changing the image in a custom component item renderer Thanks for the reply Alex. I do still have those 3 class vars but something

RE: [SPAM] [flexcoders] Drag and Drop Files

2007-09-18 Thread Paul Steven
You can definitely do this with Zinc and Flex as I am doing something similar at the moment. And as far as I am aware you can do this with Air / Apollo too. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Giles Roadnight Sent: 18 September 2007 11:09 To:

RE: [SPAM] RE: [SPAM] RE: [SPAM] RE: [SPAM] RE: [flexcoders] Changing the image in a custom component item renderer

2007-09-18 Thread Paul Steven
PROTECTED] On Behalf Of Paul Steven Sent: 18 September 2007 08:49 To: flexcoders@yahoogroups.com Subject: [SPAM] RE: [SPAM] RE: [SPAM] RE: [SPAM] RE: [flexcoders] Changing the image in a custom component item renderer I also tried setting the source in the setter function as follows but still only

RE: [SPAM] RE: [SPAM] RE: [SPAM] RE: [SPAM] RE: [SPAM] RE: [flexcoders] Changing the image in a custom component item renderer

2007-09-18 Thread Paul Steven
[mailto:[EMAIL PROTECTED] On Behalf Of Paul Steven Sent: Tuesday, September 18, 2007 6:55 AM To: flexcoders@yahoogroups.com Subject: RE: [SPAM] RE: [SPAM] RE: [SPAM] RE: [SPAM] RE: [flexcoders] Changing the image in a custom component item renderer If I hard code in my setter as follows

RE: [SPAM] [flexcoders] Flex component kit problem

2007-09-17 Thread Paul Steven
Just a guess but do you need to make your label variable bindable? [Bindable] public var label1:String = ; From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of helix206 Sent: 17 September 2007 15:27 To: flexcoders@yahoogroups.com Subject: [SPAM] [flexcoders] Flex

[flexcoders] Changing the image in a custom component item renderer

2007-09-17 Thread Paul Steven
I am creating a datagrid that uses a custom component in an item renderer to display one of 3 images (symbols of an embedded swf) The data grid columns are created dynamically. I can't figure out how to set the value of imagePath inside this custom component. The symbol names are the same

RE: [SPAM] RE: [SPAM] RE: [SPAM] RE: [flexcoders] Display item renderer in only some rows of a datagrid

2007-09-09 Thread Paul Steven
] RE: [SPAM] RE: [flexcoders] Display item renderer in only some rows of a datagrid OK, good luck. You chose repeating DataGrids or custom renderers in a DataGrid? -Alex _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Steven Sent: Saturday

RE: [SPAM] RE: [SPAM] RE: [flexcoders] Display item renderer in only some rows of a datagrid

2007-09-08 Thread Paul Steven
us guide you. For example, are the columns resizable? Are things collapsible? Can things be edited or clicked on or selected? Also, how many items total? _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Steven Sent: Friday, September 07, 2007 6:05 AM

RE: [SPAM] RE: [flexcoders] Display item renderer in only some rows of a datagrid

2007-09-07 Thread Paul Steven
@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Steven Sent: Tuesday, August 28, 2007 3:24 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Display item renderer in only some rows of a datagrid Thanks for the reply Tracy You suggest finding a different solution. I have included

RE: [SPAM] RE: [SPAM] RE: [flexcoders] Display item renderer in only some rows of a datagrid

2007-09-07 Thread Paul Steven
PROTECTED] On Behalf Of Paul Steven Sent: Friday, September 07, 2007 7:21 AM To: flexcoders@yahoogroups.com Subject: RE: [SPAM] RE: [flexcoders] Display item renderer in only some rows of a datagrid I could do with some further advice on how to represent this data http

RE: [SPAM] RE: [flexcoders] Display item renderer in only some rows of a datagrid

2007-09-07 Thread Paul Steven
Unfortunately not Tom. This project is being developed in Flex Builder 2 and needs to be finished next week. Client wouldn't be keen on using a beta product unfortunately. So I am hoping it can be done in Flex 2:) -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL

[flexcoders] How do I get a property from a custom component?

2007-09-06 Thread Paul Steven
I have a repeated custom component as follows: mx:Repeater id=productsRepeater dataProvider={this.category1} local:ComFolderItem mouseOver=CFSMouseOver_Folder(event) click=CFSClick_Folder(event) studentName='{productsRepeater.currentItem.productName + ( +

[flexcoders] Data binding not displaying anything on subesquent visits to screen

2007-09-06 Thread Paul Steven
I could really do with some help on this one. I have a screen (State) in my application that displays some custom mxml components using a repeater. The first time I come to this screen, all the data appears correctly. However if I navigate away from this screen to another screen (State), then

RE: [SPAM] RE: [flexcoders] How do I get a property from a custom component?

2007-09-06 Thread Paul Steven
From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of Paul Steven Sent: Thursday, September 06, 2007 2:36 AM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject

[flexcoders] Display item renderer in only some rows of a datagrid

2007-08-28 Thread Paul Steven
to use some data structure that is external to the datagrid to support this. It is an interesting problem, but I'd consider trying to find a different solution. Tracy _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Steven Sent: Friday, August 24