RE: [flexcoders] .NET web service and Data Grid

2007-03-08 Thread Steve Cox
When a single item comes back Flex converts it to an Object rather than an ArrayCollection. Do something like: //where arrTable is the model (ArrayCollection) you are setting if (!(event.result.diffgram.NewDaraSet.Table is ArrayCollection)) { arrTable = new ArrayCollection();

RE: [flexcoders] Apollo and where do we start.

2007-03-07 Thread Steve Cox
There is no public SDK as of yet. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of nboulet Sent: 07 March 2007 13:23 To: flexcoders@yahoogroups.com Subject: [flexcoders] Apollo and where do we start. Hi guys :) I've been reading this mailing

RE: [flexcoders] how do you call the super's super?

2007-02-28 Thread Steve Cox
Could be wrong but I'm 99% sure this is not possible. Steve -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Anthony Lee Sent: 27 February 2007 04:00 To: flexcoders@yahoogroups.com Subject: [flexcoders] how do you call the super's super? Hi,

RE: [flexcoders] flex sdk

2007-02-23 Thread Steve Cox
The free SDK is a set of classes and command-line tools. Flex Builder can be used as an Eclipse plugin - but this is not free. I think you may have downloaded Flex Builder in addition to the SDK -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [flexcoders] Flex Socket + MSN Protocol

2007-02-23 Thread Steve Cox
Hey bud, Check out the binarysocket class. XMLSocket will always terminate with a null byte \0 - if you use binarysocket instead you'll be able to send any characters you want! HTH Steve -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michel

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

2007-02-19 Thread Steve Cox
If (dataProvider[i].hasOwnProperty(someValue) dataProvider[i].someValue != null) { } HTH Steve -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Nate Pearson Sent: 17 February 2007 00:48 To: flexcoders@yahoogroups.com Subject: [flexcoders]

RE: [flexcoders] DG.dataProvider.length returns 0 at creationComplete time

2007-02-12 Thread Steve Cox
At your time of creationComplete the dataprovider probably isn't populated. Thus you want the rowcount to change when the dataprovider length changes. Try binding the rowCount property of the dataprovider to the dataprovider like: mx:DataGrid id=DG dataProvider={myDataProvider}

RE: [flexcoders] Re: How to create a fault in FDS?

2007-02-01 Thread Steve Cox
Agreed. I'm struggling to find real-world examples of using FDS + JAVA. There's plenty of 1 datagrid - 1 form examples, but nothing more meaningful. Steve -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of benjidudu Sent: 01 February 2007 09:01

[flexcoders] FDS - Design patterns?

2007-01-30 Thread Steve Cox
All, I'm new to FDS and looking for examples of design patterns or FDS examples which contain more than a couple of forms. I'm not quite sure how I should be breaking up a very large application. Thanks in advance, Steve

[flexcoders] Convert ByteArray to Bitmap

2007-01-29 Thread Steve Cox
All, I'm retrieving an image via remoting as a ByteArray. How can I convert this to a Bitmap without knowing the width/height of the image? I've seen SetPixels - but that requires me knowing the dimensions of an image - which I don't. Any ideas?

RE: [flexcoders] Organize imports

2007-01-28 Thread Steve Cox
Ctrl + shift + o -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stembert Olivier (BIL) Sent: 26 January 2007 08:50 To: flexcoders@yahoogroups.com Subject: [flexcoders] Organize imports Ho all, Do you know how to organize imports in

[flexcoders] getObjectsUnderPoint Alternative?

2007-01-25 Thread Steve Cox
All, I have the requirement to use mouse-over to cause a component to be highlighted. Effectively the user will click a button activating a 'lookup'.. when they roll over a component on screen this component will be highlighted (perhaps with a dropshadow, or glow or something). Now I could use

RE: [flexcoders] EEK CodeBehind Repeater / RadioButton issue!

2007-01-19 Thread Steve Cox
without passing extra arguments. Best On 1/18/07, Steve Cox [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] uk wrote: All, When using the code behind technique to declare the controls you will use in the MXML I have come across an issue I cannot work out a solution for. Usually for controls declaring

[flexcoders] EEK CodeBehind Repeater / RadioButton issue!

2007-01-18 Thread Steve Cox
All, When using the code behind technique to declare the controls you will use in the MXML I have come across an issue I cannot work out a solution for. Usually for controls declaring the id of the control inside the code behind class as public you can access a control you added to mxml. So for

RE: [flexcoders] Annoying problem - urgent!!!

2007-01-18 Thread Steve Cox
Try clicking Project - Clean -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Lieven Cardoen Sent: 18 January 2007 16:09 To: flexcoders@yahoogroups.com Subject: [flexcoders] Annoying problem - urgent!!! I have a really annoying problem. If I

RE: [flexcoders] Total used memory

2007-01-16 Thread Steve Cox
Take a read of this: http://www.gskinner.com/blog/archives/2006/06/as3_resource_ma.html There's 3 articles in the series which provide an insight into the gc. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of fliabrussa Sent: 16 January 2007

RE: [flexcoders] Full Screen Projector File for Flex 2 Swf

2007-01-05 Thread Steve Cox
http://www.multidmedia.com/ http://www.multidmedia.com Check out Zinc :-) -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Luis Casillas Sent: 04 January 2007 15:38 To: flexcoders@yahoogroups.com Subject: [flexcoders] Full Screen Projector

RE: [flexcoders] is this a BUG in dataGrid ??

2006-12-14 Thread Steve Cox
What type of object are you using for the dataprovider? Could you post the code you are using to modify the dataprovider -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Yiðit Boyar Sent: 14 December 2006 13:38 To: flexcoders@yahoogroups.com

RE: [flexcoders] Apollo

2006-12-14 Thread Steve Cox
Have you thought about using zinc? http://multidmedia.com/ Can't see anything you mentioned below which is not already possible with flash/flex + zinc -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Essl, Markus Sent: 14 December 2006 10:30

RE: [flexcoders] Re: Drag/Drop - Datagrid. Target is off?

2006-12-04 Thread Steve Cox
There's a bug in Flex where the application uses an ApplicationControlBar (possibly other controls, I'm not sure) which causes the hitarea to be inaccurate. Several people have also come across this (myself included) however no work-around has been offered. I'm strongly hoping this will be in the

RE: [flexcoders] {data} current index

2006-12-01 Thread Steve Cox
rowIndex refers to the index of the item in the viewable area within the datagrid; not as the docs say the index of the item in the dataprovider. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dustin Mercer Sent: 30 November 2006 22:39 To:

RE: [flexcoders] Text instance does not calculate its height properly when in scrollable Box

2006-11-29 Thread Steve Cox
Unfortunately there seems to be a bug with text fields / labels and htmlText. The text component seems to not take into account line breaks/font sizing or something causing it to measure the component inaccurately. I'm yet to find a work-around. Lach, to replicate the bug highlight the text at

RE: [flexcoders] debug version issue

2006-11-29 Thread Steve Cox
Yes mate: 9.0.r28 http://www.adobe.com/support/flashplayer/downloads.html -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark McCray Sent: 29 November 2006 14:55 To: flexcoders@yahoogroups.com Subject: [flexcoders] debug version issue

RE: [flexcoders] lastResult.records.record.length=null when there's actually 1

2006-11-28 Thread Steve Cox
When a result contains only 1 object Flex converts it to an Object not an ArrayCollection. Therefore your myListRequest.lastResult.records.record is an object and won't have the .length property. When you receive more than 1 record it will be an ArrayCollection of objects. You'll need to check

[flexcoders] Cursor Position in RichTextEditor (textarea)

2006-11-28 Thread Steve Cox
All, For the life of me I cannot seem to find the property/method to get the caret / cursor position in a textarea component via a RTE. Basically I need to be able tod rag a custom control onto the RTE and it insert some text at the current(previous before focus changed) cursor position. I can

RE: [flexcoders] lastResult.records.record.length=null when there's actually 1

2006-11-28 Thread Steve Cox
November 2006 11:29 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] lastResult.records.record.length=null when there's actually 1 Thanks Steve for explaining exactly the root cause. What method would you recommend to test if the result is an array or an object ? Steve Cox wrote: When

RE: [flexcoders] how to choose an image

2006-11-28 Thread Steve Cox
Unfortunately this isn't as straight forward as you would think. FileReference, for some reason, will not allow you to access the data of the file you have located. Therefore the only way that I am aware of to do what you want would be to upload this file to a server first, then load it into

[flexcoders] Label /Text Html font size bug

2006-11-17 Thread Steve Cox
There appears to be a bug with html text inside label/font controls. The controls do not resize properly to take into account Html font sizes, thus measuring the field too small. Has anyone come across a workaround or re-written the controls to fix this? I don't want to start doing so if it's

RE: [flexcoders] Re: Auto incrementing values for datagrid

2006-11-17 Thread Steve Cox
Sorry to jump into the thread but unfortunately rowIndex doesn't do what it says on the tin. It's documented to return the index of the item in the dataprovider, however in actual fact it returns the index of the row in the list/datagrid. For example if you have a dataprovider with 100 records

[flexcoders] Gradient Mask?

2006-11-07 Thread Steve Cox
Ive been playing about with creating masks for display objects however have not yet been able to get one working with a gradient alpha. Has anyone managed to get this working? Thanks Steve __._,_.___ -- Flexcoders Mailing List FAQ:

[flexcoders] Drag/Drop within a viewstack goes a bit awry?

2006-10-18 Thread Steve Cox
=doDragEnter(event)/mx:List /mx:HBox /mx:ViewStack /mx:Application Steve Cox Senior Online Application Developer Quba New Media www.quba.co.uk t: 0114 279 7779 f: 0114 272 2854 e:[EMAIL PROTECTED] The Maltings 81 Burton Road Sheffield S3 8BX

[flexcoders] Strange includeInLayout not working

2006-09-25 Thread Steve Cox
For some reason the includeInLayout property is being ignored on a certain form item. Below is the code Im using, the 2nd Form Item in the repeater is taking up space despite setting includeInLayout to false. Any ideas? ?xml version=1.0 encoding=utf-8? mx:Form

[flexcoders] repost: FW: Radiobutton bug in Repeater

2006-07-25 Thread Steve Cox
Sorry for the repost but I never saw this appear on the list All, Ive been experiencing several issues with the radiobutton when in a repeater the main problem at the moment is this error: TypeError: Error #1009: Cannot access a property or method of a null object reference.

[flexcoders] Radiobutton bug in Repeater

2006-07-21 Thread Steve Cox
All, Ive been experiencing several issues with the radiobutton when in a repeater the main problem at the moment is this error: TypeError: Error #1009: Cannot access a property or method of a null object reference. at

[flexcoders] repeaterIndices Bug?!

2006-07-19 Thread Steve Cox
All, When I try to access the repeaterIndices of a component during debug mode, the flash player will always crash taking IE or firefox with it. Ive the following code, the player will always crash on the 2nd line. event.target.repeaterIndices appears fine in the _expression_

[flexcoders] Repeater problem

2006-07-18 Thread Steve Cox
All, Ive a little problem Im struggling to get my head around. Basically I have an ArrayCollection containing a CustomField object. This object contains various fields in addition to an ArrayCollection called CustomFieldItems which contains further objects. These CustomFieldObjects

[flexcoders] listData rowIndex ) [f2 final]

2006-07-04 Thread Steve Cox
Im hoping Im making a stupid mistake somewhere regarding rowIndex from within an item Renderer. The docs state: rowIndex : int The index of the item in the data provider. However in practice the rowIndex Im actually getting is the rowIndex of the DataGrid itself, not the

[flexcoders] Catching ChangeEvent 1.5

2006-03-03 Thread Steve Cox
All, Im passing through several arrays to a custom component. Ideally what Id like to do is call a function inside the component when one of these arrays changes. How do I capture the change event ? Cheers, Ste -- Flexcoders Mailing List FAQ:

RE: [flexcoders] Re: Web services: Question about array serialization

2005-12-14 Thread Steve Cox
Flex wont really allow you to send anything that .NET will accept as a dataset. Information can be sent from .NET TO flex as a dataset, and flex get the info out, but not the other way around Im afraid. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL

[flexcoders] Flex - Mac - Database (Semi OT)

2005-12-13 Thread Steve Cox
All, Im currently looking at ways in which we could create a standalone app using flex and a database, for Mac OSX and PC. Basically were looking at creating a cd/dvd with a mac/pc installer which will provide a client with a desktop app and database. The flex-based desktop app

RE: [flexcoders] Cross Server Socket Connection (NOT XMLSocket)

2005-12-01 Thread Steve Cox
Policy files are also applicable to socket connections afaik -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ralf Rottmann Sent: 01 December 2005 15:02 To: flexcoders@yahoogroups.com Subject: [flexcoders] Cross Server Socket

RE: [flexcoders] Cross Server Socket Connection (NOT XMLSocket)

2005-12-01 Thread Steve Cox
? Ralf Rottmann From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steve Cox Sent: Donnerstag, 1. Dezember 2005 16:09 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Cross Server Socket Connection (NOT XMLSocket) Policy files are also applicable

RE: [flexcoders] Cross Server Socket Connection (NOT XMLSocket)

2005-12-01 Thread Steve Cox
client. The question remains: Can a flash player open socket connections to *non web servers*. If not, this would mean a no go for a whole set of RIAs. Ralf Rottmann From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steve Cox Sent: Donnerstag, 1. Dezember

[flexcoders] Spanish letters from external XML

2005-11-25 Thread Steve Cox
Guys, Bit of a critical issue. Weve built a flex app (1.5) which imports strings from an xml file to display the relevant language string. Each translation is saved as a separate XML file. The encoding were using for English UTF-8, Chinese UTF-8 etc and these work as expected. However

RE: [flexcoders] Flex / Jrun Instability? [SOLVED]

2005-11-17 Thread Steve Cox
[mailto:[EMAIL PROTECTED] On Behalf Of Steve Cox Sent: 16 November 2005 08:55 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Flex / Jrun Instability? Thanks for the links Ill have a look through them. I found the IIS setup appauling if Im honest. The fact weve spent such a large

RE: FW: [flexcoders] Flex / Jrun Instability?

2005-11-16 Thread Steve Cox
setting where you set the execute permission to Scripts only. Change it to Scripts Executables. Rawdyn wrote: From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Steve Cox Sent: Tuesday, 15 November 2005 11:37 PM To: flexcoders

RE: [flexcoders] Flex / Jrun Instability?

2005-11-16 Thread Steve Cox
://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=346threadid=1065342 If anyone has any good articles on configuring JRun4 and IIS I'd be glad to read them. Rawdy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steve

[flexcoders] Flex / Jrun Instability?

2005-11-15 Thread Steve Cox
Guys Girls, Seem to be having an odd problem with getting and keeping a Jrun server stable. The Jrun server is installed, flex installed on it and IIS is connected. Now this works fine (took a while to get it working, but its now working right). However when uploading changes to the

RE: [flexcoders] Flex / Jrun Instability?

2005-11-15 Thread Steve Cox
ubstring(1, searchStr.length); } return searchStr; } var lc_id = Math.floor(Math.random() * 10).toString(16); if (this != top) { top.Vars = Vars; top.getSearch = getSearch; top.lc_id = lc_id; } From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steve Cox Sent: Tuesday, November

RE: [flexcoders] Yahoo Maps built with Flex!

2005-11-03 Thread Steve Cox
Flex doesnt require shockwave control, only the flash J -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Robert Thompson Sent: 03 November 2005 14:08 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Yahoo Maps built with

[flexcoders] Stupid Question, but driving me mad - TabBars

2005-10-26 Thread Steve Cox
Guys + Girls, Ive a tabbar on 3 separate forms inside a Tab Nav. Now the dataprovider for these is populated from a webservice, the issue Im having is setting the selectedIndex on the tabbars initially. Once the tabbar is created, the selectedindex works perfect. Setting the

RE: [flexcoders] Re: Stupid Question, but driving me mad - TabBars

2005-10-26 Thread Steve Cox
answer(maybe) - why dont you set the selectedIndex in the resultHandler of your webservice call (the one which gets the dataprovider for your tabbar) --- In flexcoders@yahoogroups.com, Steve Cox [EMAIL PROTECTED] wrote: Guys + Girls, I've a tabbar on 3 separate forms inside a Tab Nav. Now

RE: [flexcoders] Screen Cap a frame from a webcam?

2005-09-16 Thread Steve Cox
I dont believe the camera class has the ability to create a snapshot (although Ive little experience of it). However I have seen an example of flash player 8 doing exactly this using the bitmap class. Might be worth googling for this! -Original Message- From:

[flexcoders] 'show' event called on creation complete or init?

2005-09-16 Thread Steve Cox
Morning all, Ok Situation Im having at the moment is the show event on a form is being called when I dont believe it should be. Ive a tabnav containing 8 sections, one of those sections I need to be able to jump to from other sections so the children of this is being created using

RE: [flexcoders] 'show' event called on creation complete or init?

2005-09-16 Thread Steve Cox
[mailto:[EMAIL PROTECTED] On Behalf Of Steve Cox Sent: 16 September 2005 09:25 To: flexcoders@yahoogroups.com Subject: [flexcoders] 'show' event called on creation complete or init? Morning all, Ok Situation Im having at the moment is the show event on a form is being called when I dont believe

[flexcoders] Array/Dataprovider/Tabbar etc issues.

2005-09-13 Thread Steve Cox
All, Ive currently got a large amount of components in an app Im making. All these components use the dataprovider to fill them. Now Im aware the tabBar component expects an array for the dataprovider, but as arrays dont fire change event, the tabbar wont update. Thus Id be forced

RE: [flexcoders] Re: Array/Dataprovider/Tabbar etc issues.

2005-09-13 Thread Steve Cox
, Steve Cox [EMAIL PROTECTED] wrote: All, I've currently got a large amount of components in an app I'm making. All these components use the dataprovider to fill them. Now I'm aware the tabBar component expects an array for the dataprovider, but as arrays don't fire change event

[flexcoders] DateField - disabledRanges

2005-09-01 Thread Steve Cox
Hey, Ive come across a problem which I thought Id ask before I spend the next 5 hours tearing my hair out J Situation: Ive 2 datefield components, a start date and an end date. When start date changes, then end date must disable any dates prior to the start date. For example, I

[flexcoders] MXMLC Compression

2005-08-31 Thread Steve Cox
Is it possible to turn off compression in the command line compiler? Cheers Steve -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com

RE: [flexcoders] Custom Datagrid Sorting

2005-08-26 Thread Steve Cox
in this thread. Thanks -abdul From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Steve Cox Sent: Thursday, August 25, 2005 10:18 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Custom Datagrid Sorting Hey guys, Right, Ive a situation where I need to sort

[flexcoders] Custom Datagrid Sorting

2005-08-25 Thread Steve Cox
Hey guys, Right, Ive a situation where I need to sort a particular datagrid column as a date, however the value of the cell is actually a string (eg 7th Aug 2005). Ive got this all working, however Im trying to package it up as a class so I can reuse it 100 times through the various

[flexcoders] Databinding to a webservice from within a component

2005-07-28 Thread Steve Cox
Hi, First person, a new flex developer, so bare with me! Im using a webservice defined in index.mxml called eventsService. Now I previously had a datagrid within this file which had the dataprovider set as: service_Events.GetEventDetails.result.diffgram.NewDataSet.Table This all

RE: [flexcoders] Databinding to a webservice from within a component

2005-07-28 Thread Steve Cox
} COMPONENT.MXML mx:Script var dataSource; mx:Script mx:DataGrid dataProvider={dataSource} Hope this helps! Regards Sree PS: I am wondering how could you bind service_Events.GetEventDetails.result IF your webService ID is indeed eventsService as you mention! Steve Cox wrote: Hi, First