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();
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
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,
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
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
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]
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}
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
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
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?
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
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
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
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
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
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
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
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
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
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
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:
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
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
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
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
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
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
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
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
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:
=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
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
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.
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
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_
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
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
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:
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
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
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
?
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
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
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
[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
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
://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
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
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
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
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
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
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:
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
[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
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
, 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
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
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
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
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
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
}
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
63 matches
Mail list logo