I have 4 projects open. The project I was working on had 4 components in it.
I had 3 other projects open. One was a Example project that had about 20
example files in it. I noticed too I had a lot programs up. So I might have
been using virtual memory. It only happened once and its ok now.
I'm
Hi, everyone.
I'm really tired of DataGrid.
Why does
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=vertical
horizontalAlign=left
mx:RadioButton id=one label=one /
mx:RadioButton id=two label=two /
Hi all
I want to set the initial value of a combo box to the first item when
the application loads and load another component according to the item
selected. The functionality works when I use a change action in the
combo box.That is it works when I manually change the item of the
combobox.
I've developed a test mxml file of the current combobox note updating
problem at hand.
In the following example, click Fill Data. The combobox's data fills
up. Choose either the first or second item in the combobox. Now click
the associated Rename Data button for the item chosen.
Notice that
OK - If I reassign the ArrayCollection (and retell it what the
selectedIndex is), it updates correctly. i.e., at the end othe
setFirstItem(),setSecondItem():
cbTestData.dataProvider = ac;
But seriously, there's got to be a better way than that. Otherwise,
what's the point of using an
Hello,
Try to dispatch event from your combo manually, like
myCombo.dispatchEvent( new Event( Event.CHANGE ) );
haravallabhan wrote:
Hi all
I want to set the initial value of a combo box to the first item when
the application loads and load another component according to the item
Thanks for the reply, I think the root of the problem is the 'drilldown'
filtering while still keeping things in sync via binding. That or I am just
not thinking about it the right way.
retrieve array from database stored in model.master -
model.slave1, model.slave2, model.slave3 collections
It depends how you design your renderer. Ben's example is excelent and will
show you how to implement an item renderer fully decoupled. In case you have an
in-line renderer, you can use outerDocument.
Example
var myVar : String = Global var declared somewhere in your parent
application. and
You can use the new line \n to build the Alert message.
Alert.show( array[0] + \n + array[1] ), something like that.
HTH,
Valy
- Original Message
From: jmfillman [EMAIL PROTECTED]
To: flexcoders@yahoogroups.com
Sent: Tuesday, December 5, 2006 6:57:03 PM
Subject: [flexcoders] Array to
Check this solution:
http://labs.flexcoders.nl/?p=16
Have you tried using getUITextFormat and then calling measureText on that?
Patrick
{reduxdj} a écrit :
Flexmasters:
I've tried this a dozen ways, what's the best way to get the width of a
UITextField and I've brought it up a few times. I won't stop asking
till somebody can help me then
I tried the flvtool2 and couldn't really figure it out, didn't spend a
whole lot of time with it though. Found another tool that does the
same thing and I was able to figure out quickly. FLVMDI,
http://www.buraks.com/flvmdi/, has commandline and gui options, can
output a new flv with the
As an additional note, setting the backgroundColor style of the Tree has
no effect. Setting backgroundAlpha to 0 does hide it, but also hides the
background colors of the Tree items as stipulated in the depthColors
array.
-Original Message-
From: Battershall, Jeff
Sent: Wednesday,
Hi,
I'm trying to deploy my first Flex application on a coldfusion server.
The login page of the application runs fine until I submit the form,
then I get a:
Property message not found on mx.messaging.messages.ErrorMessage and
there is no default value.
What could be the cause of this error?
First you have to get to the textinput. You have a few options:
1. The cleanest way is to extend the combobox and access the protected
textInput variable.
2. You could cycle through all of the children and check if (child is
TextInput).
Once you have the textinput, you can call
Hi all,
I am using itemrenderer on headerclick of a datagrid trying to chane
colours based on values.
There seems to be a problem in the cells that i am not colouring.They
are colorless and it is not the same color as the datagrid as such..
The datragrid has alternating colors for rows.How can i
Hi people,
i hope u can help me on this one...
i have a ModelLocator that holds an object with ArrayCollection.
i also have a TileList that gets the ArrayCollection of that object
through DataBinding. Now, when i change the Object in the ModelLocator
none of the custom itemRenderer in the
We've faced weird issue today, working with Flex :
We have a webservice call defined in .mxml -
/mx:WebService id=recrutidooCVService
wsdl=http://localhost:8080/recrutidoo/services/CVService?wsdl;
useProxy=false showBusyCursor=true
mx:operation name=getCVById result=handle_getCVByID(event)
Thank You Lachlan!!!
I can't believe this isn't documented somewhere.
Seems like a pretty basic thing.
Anyway, glad to know I'm not going crazy..
On 12/5/06, Lachlan Cotter [EMAIL PROTECTED] wrote:
I think you're right Steve. I have asked myself the same question in the
past and
I did JUST what you suggested, but it is NOT showing up on the menu. Do I need
some sort
of refresh or ???
Thanks
Bruce
--- In flexcoders@yahoogroups.com, camlinaeizerous [EMAIL PROTECTED] wrote:
It is already a separate component so take advantage of that and don't
even add it to the view
Hank,
Thanks for your reply. I am not sure I am explaining this correctly but let
me try adding these details and see if this helps. My backend is ColdFusion
and I have created Flex remote objects to several CFCs that each correspond
to a separate business object (not necessarily one table).
If I understand correctly (newbie speaking) you'd have:
- A service specified on ServiceLocator for each of your CFCs
- A BusinessDelegate for each method that you'll be calling
Steve House wrote:
Hank,
Thanks for your reply. I am not sure I am explaining this correctly
but let me try
Can you provide more details?
On 12/6/06, stephen50232 [EMAIL PROTECTED] wrote:
Hi,
I'm trying to deploy my first Flex application on a coldfusion server.
The login page of the application runs fine until I submit the form,
then I get a:
Property message not found on
You need to override the 'data' member in your itemRenderer. Here are a
couple of really good blog posts that cover this:
http://www.returnundefined.com/2006/10/item-renderers-in-datagrids-a-pri
mer-for-predictable-behavior
http://www.returnundefined.com/2006/11/creating-truly-reusable-renderers
Hi,
I am new to web services. According to the help file, I have constructed my
page and I have included the wsdl link in the FDS proxy-config.xml. But I am
getting error in the output. I copied the example from the below link.
Jeff
Thanks for the reminder about the additional ATG methods to the query
parameters (getURLParameter()). However, that didn't help in this case.
Turns out I had to append my query parameters to the URL of the HTTPService
in ActionScript (i.e. getSponsor.url += ?o=sponsora=put) to get Flex to
Stephen,
Are you configured such that you can be in Flex Builder 2, then hit F11
(same as Main Menu -- Run -- Debug)?
If you can run it this way the debug player communicates back to Flex
Builder 2 and opens and points to the code where the error is being thrown.
Seeing where the error is often
Not knowing who will be using this or how, one possible solution is if it's
being used as like a POS interface, where you could have pen input, would be
to create a signature area component that used the drawing API to allow them
to, using the pen device, sign their name on the screen and save
Steven,
As Tracy has posted, Flex w/ .NET w/ SQL Server works.
You asked for a sample app. I do not know of one where the back end logic
is a web service in .NET, but I will check around. I will post back if I
find one.
On the other hand, if you can point us to a sample .NET webservice that
On Wednesday 06 December 2006 05:37, {reduxdj} wrote:
appreciated greatly. I made my own graphical bar chart and
want the number planted evenly in the middle of my bar and I can't do
that without the width of my my UITextField.
Or
I did this (ironic I had the same problem at the same time), but now I have
the undesired effect of the tab switching, then immediately switching back.
Suggestions?
Shan
_
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tracy Spratt
Sent: Tuesday, December 05,
For fairly static data that is bound to many different views, I only
want to go to the server when the data's not there.
I have an ArrayCollection that I bind to several different visual
components. Which visual components get built
depends on what permissions the user has. I want to make sure
The valueCommit event fires when the control is changed programmatically. Docs
sa also on user interaction, but I'd verify this first.
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dmitry
Kochetov
Sent: Wednesday,
I've tried using the example from the docs where you assign the value
to a property on the function and then use arguments.callee.prop to
get the value, but Flex Builder gives me an error saying Access of
possibly undefined property prop through a reference with static type
Function. when
What is the line of code that is producing the error?
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of jmorpher03
Sent: Tuesday, December 05, 2006 7:34 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Error #1010: A term is
I agree with Jeff that those links are pretty good :), but you may
also need to make the class whose instances are filling your AC
bindable as well. Its hard to tell without seeing your app.
HTH,
Ben
http://www.returnundefined.com/
--- In flexcoders@yahoogroups.com, vigen2000 [EMAIL PROTECTED]
It will not be part of the view stack at all unless you want the user
to be able to access it. Essentially until you add it it doesn't
exist. When you do add the view with addChild() a button will be
created automatically and the view will become accessible you
shouldn't have to refresh anything.
Hi All,
I have a base class I use for models (ModelBase, original eh?) that
contains a 'set' function. set(source:Model) - it simply copies
fields from the source model to 'this'. Works great, except I'm not
sure how to let everyone know the model changed.
The base class currently uses
The way you constructed your array might come out like this, but not
sure, looks a little crazy
myResultObject[0].day.mon.start.100.end.300
Nested Arrays return into Flex as objects. I havent tried nesting
an array as complicated as this, I guess its doable but it
might be better to
You may also want to read up on the executeBindings() and
executeChildBindings() functions ... You may be able to call that on
initialization and get your binding to fire.
Lachlan Cotter wrote:
The valueCommit event fires when the control is changed
programmatically. Docs sa also on user
I noticed that adobe.com now states that version 9.0.28.0 of the
Windows Flash player is released. Is it possible to update to this new
version without uninstalling the my current 9.0.16.0 version? When I
attempt to update using Adobe Flash Player Download Center I get
message saying the
Hello
Can anyone tell me where I can find a reference that lists and defines
all the possible style properties.
I've found little bits and pieces scattered about. Which only seems to
confuse the subject more.
THX
How would I iterate through the array if I don't know how many
records are in the array?
--- In flexcoders@yahoogroups.com, Valy Sivec [EMAIL PROTECTED] wrote:
You can use the new line \n to build the Alert message.
Alert.show( array[0] + \n + array[1] ), something like that.
HTH,
Valy
Hank,
Thanks for your reply. I am not sure I am explaining this correctly but let
me try adding these details and see if this helps. My backend is ColdFusion
and I have created Flex remote objects to several CFCs that each correspond
to a separate business object (not necessarily one table).
Once a minimum/maximum value is assigned to the DateTimeAxis, how can
i get a realtime chart to update the min/max values depending on its
dataProvider and keep it updating?
Here is some code to illustrate:
Note: dataProvider is an ArrayCollection of size 100. if size = 100,
the date at index
Steve,
I dont know much about cold fusion, but as a general architectural strategy
I think you are mistaken in thinking that combining CFCs to group together
lookups.
Programming is all about creating simple functions, then creating more
complex functions that use the simpler functions and then
On 12/6/06, jmfillman [EMAIL PROTECTED] wrote:
How would I iterate through the array if I don't know how many
records are in the array?
maybe this; Alert.show(yourArray.join(\n));
Interesting solution Nick.
Say this was not in a POS environment... what options do we have?
--- In flexcoders@yahoogroups.com, Nick Collins [EMAIL PROTECTED] wrote:
Not knowing who will be using this or how, one possible solution is
if it's
being used as like a POS interface, where you
Well, I found the standalone installers at
http://www.adobe.com/support/flashplayer/downloads.html but I still
needed to uninstall the current version before I could install the new
one.
How will the .28 version make it out into the wild if the update
requires uninstalling of the current
var sTemp:String = ;
for (var i:int=0;imyArrayCollection.length;i++) {
sTemp += myArrayCollection [i] + \n;
}
Alert.show(sTemp);
Tracy
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of jmfillman
Sent: Wednesday, December 06, 2006
Ok, I keep answering my own posts but...
I checked out www.brightcove.com which added a fullscreen button to
their FLV playback. If you click this button on a PC with Flash
9.0.16.0 installed, it prompts you to update to the latest Flash
player and successfully updates it to 9.0.28.0. How is
X-IPI Cienfuegos-MailScanner: Found to be clean
X-IPI Cienfuegos-MailScanner-From: [EMAIL PROTECTED]
Hello.
I'm a novice in Flex world.
My first application that I working is an intranet. I'm using RemoteObject
tech with php and SabreAMF, it work fine.
My implementation are a first page with
Can anyone tell me if the Flex II stand-alone builder plays nice with
SVN? I did take it for a quick test-drive, and it seems that the Flex
II standalond IDE does not like some of the svn related folders when
you just try to point a new project to a directory that is under SVN.
Any advice or
I'm a little confused by your question. If you're explicitly assigning a
min/max value, you're telling the chart you don't want it to generate
automatic min/max values. If you're asking how to remove your
previously assigned min/max and ask it to restart automatically
generating min/max
Hi Jeff,
Thank you for your response. The size of the message debug output is
221KB. There are ~170 objects in a Heirarchical list with a max depth
of ~5 child objects.
I also need to clearify my initial posting; the flash player is
freezing AFTER the commit() and BEFORE my responder gets called
I am attempting to do something I thought was pretty simple. Using the
cairngorm model, basically I have a data instance object attached to
the model, and it has a Data Object attached to it.
So think of it this way. I am running an application that tracks a
list of canidates. So there is a
This won't answer all of your questions, but the doc has an example of using
the SWFLoader control to load a SWF and then interact with it:
http://livedocs.macromedia.com/flex/2/docs/0543.html
SMG
From: flexcoders@yahoogroups.com [mailto:[EMAIL
Does anyone know how to do this? Neither casting nor the as operator
are working.
var foo:FooObject = new FooObject();
// this doesn't work
var fooCopy:FooObject = FooObject(ObjectUtil.copy(foo));
// neither does this
var fooCopy:FooObject = ObjectUtil.copy(foo) as FooObject;
Thanks in
Hi Patrick,
thx a bunch already for answering!!
Actually my example will already allow me to access the values like:
trace( myResultObject[0].day );// prints 'Mon'
trace( myResultObject[0].[0].start ); // prints '100'
...
But I guess there´s no way to use e.g. that 'start' value
Just a guess here - I just use vanilla Flex
Sounds like the field is not being assigned. Since the field starts out as
blank in your model,
and your selecting another model with a blank field - perhaps Flex is
'short-circuiting' the
assignment.
I've noticed that for an assignment like foo =
Dorkie,
What about this example?
mx:Sequence id=fadeToBlack
mx:AnimateProperty target={this}
property=alpha fromValue=1 toValue=0
effectEnd=setStyle('backgroundColor','0') /
mx:AnimateProperty target={this}
Hi.
I m a new flex developer.new to flash and designing too.I have good
knowledge of java technologies.
Here in my flex application i m trying to use mx:HttpRequest object
to communicate to server
TestApplication.mxml
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
width=100%
Hi all,
I've read with interest Ely's recent blog posts about extending charts. Is
there a way to use this datadrawing canvas to drag a lineseries? I need to
be able to zoom into and out of a line series, update the linechart to
reflect the changes and also drag the series left or right with
You could pass everything through FLVTool2 on the server to inject
metadata...problem solved!
This is something we do with flvs made from ffmpeg.
IME recent builds of ffmpeg create the metadata correctly
Ben
hello
i cant seem to find any examples of a itemrenderer wrapped in a
griditem
i have succesfully made the connection using datagrids ie
mx:DataGridColumn dataField=INTSWAMMTGID
headerText=ReportitemRenderer=renderer.ReportButtons/
but not sure how to set up the data to send to an itemrender
Hi Ely,
Sorry if I confused you. If I let flex handle the min/max value, I am
not getting the time axis I'm looking. Say for example, the current
time is 4:01:00. Consider a collection with size = 60. It consists
of data for the last 60 seconds. If I let flex handle it, the h-axis
will only
The styles that apply to each class/component are available in the
documentation. Such as
http://livedocs.macromedia.com/flex/2/langref/mx/controls/DataGrid.html#styleSummary
HTH,
Ben
--- In flexcoders@yahoogroups.com, bitfacepatrick [EMAIL PROTECTED] wrote:
Hello
Can anyone tell me where I
What about overriding the onTweenUpdate event handlers didn't work?
I'll try to whip together an example that works in the next day or two.
-deepa
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of dorkie dork from dorktown
Sent:
Dorkie,
Here is a better example that fixes the problem with fading the
children...
mx:Sequence id=fadeToBlack
mx:AnimateProperty target={this}
property=backgroundAlpha isStyle=true fromValue=1 toValue=0
effectEnd=setStyle('backgroundColor','0')
I've been using FlexBuilder standalone with the Eclipse SVN plugin and it
works beautifully. You don't want to just import the project as an existing
project, but rather do an import from SVN. That way it tracks the version
and allows you to sync and diff and such against the SVN server.
On
I do have a service for each CFC.
I have a BusinessDelegate for each as well with a method for each method on
the CFC.
Ex:
public class EmployeeDelegate
{
public function EmployeeDelegate( responder : Responder )
{
this.service = ServiceLocator.getInstance
I am running firefox 1.5 with player 9.0.16 and I also cannot get multiple
selection working in a tree. I was just trying to figure out what was wrong
and I did a search to see if there was a bug and found this thread.
Hank
On 11/2/06, Joan Lafferty [EMAIL PROTECTED] wrote:
For that link,
with dragEnabled, dropEnabled, dragMoveEnabled all set to true I am
able to drag an Item from one place in a tree to another. The only
problem is that I dont seem to be able to promote or demote an item.
meaning I can drag an item to a sibling position of another item, but
not to a child of
Hi Troy,
I have deal with some similar thing and I finally found that the
best approach is to have a single AS variable referencing the right
component at the right moment, that is, change the object pointed by
the AS variable when your state changes.
In the other hand, I also found that
I did a further search and found that Belinda Nambooze from adobe said it
was disabled and would be fixed in a later release. So I am wondering joan,
are you working with the new flex framework where this is fixed?
Hank
On 12/6/06, hank williams [EMAIL PROTECTED] wrote:
I am running firefox
I dunno if this holds true with you guys but I noticed
having a lot of application mxml in the same project
folder burdens flex a lot. So im guessing when flex is
'building workspace' - one of the memory intensive
task it does is checking each application in your
project directory and looking for
Hank, you are correct.
Multiple selection was disabled in the Tree for the Flex 2 release. We
have re-enabled it in the next version of Flex which should be out soon.
-deepa
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of hank
X-IPI Cienfuegos-MailScanner: Found to be clean
X-IPI Cienfuegos-MailScanner-From: [EMAIL PROTECTED]
Subject: Re: {Disarmed} RE: [flexcoders] How i can acces to other component
Thanks.
That was very helpfully.
This won't answer all of your questions, but the doc has an example of
using the
Hi all,
I have a problem with a numeric stepper in a cellrenderer of a
dataGridColumn.
When the cell loses focus, it goes back to the value set initially, so
I lose all the changes.
Here is the cellrenderer code:
mx:HBox horizontalAlign=center width=100%
I have a BusinessDelegate for each as well with a method for each
method on the CFC.
On second thought that sounds better than what I suggested. :-)
Douglas
Steve House wrote:
I do have a service for each CFC.
I have a BusinessDelegate for each as well with a method for each
method on
See here my solution:
http://labs.flexcoders.nl/?p=18
(view source under contextmenu)
If you don't want to read it... I'm abusing the border-skin.
Hello,
I was wondering if anyone has run across memory consumption issues when
using some of the eye candy in the Flex framework.
Here are a couple of examples of what I am referring to:
1. The translucent overlay on the rest of the app when using Alert.show
in modal mode. (vs. using the flag
Hello. Can anybody tell me either how to use an image as an icon, or
convert an image to a class for use as an icon (in components, the
icon is of type Class)? Or better yet is it possible for
me to dynamically embed an image via a variable?
Sure the usual embed assertion works:
thanks deepa,
on another note related to tree, do you know if it is possible to use drag
and drop to promote or demote a tree item? I can drag an item from one place
to another but I cant drag an item to the right and make an item a child of
its predecessor. Is there a way to do this.
hank
On
Hi Iain,
You need to update the grid's data field in your change handler. Try
the following:
var listOwner : MovieClip; // the reference we receive to the list
var getCellIndex : Function; // the function we receive from the list
var getDataLabel : Function; // the function we
Wow, the description says that this number will be rounded up to the
next decimal point:
trace (NumberUtilities.round(3.75,.1));
.1, being the flag to round up, so the result should be 3.8.
It's not it's: 3.8003!
I know I'm using this method correctly, any tips or suggestions.
Hi together,
As a newbie I would like to get your advices on how to use the Hibernate
caching for Flex Data Management Services. Is this possible at all or a
contra-diction to the HibernateAssembler?
For my java applications I currently use second-level caching to speed up
data access with
Thanks,
I tried this, but the numericStepper just stops stepping.
Any other ideas?
CHeers,
Iain
New Renderer code:
mx:HBox horizontalAlign=center width=100%
xmlns:mx=http://www.macromedia.com/2003/mxml;
mx:Script
![CDATA[
var labelData:Object;
var val;
var listOwner :
I've run into a situation where the exact same PNG file will show up as
transparent only when it's not embedded. Here is the mxml:
mx:Image source=@Embed('assets/user-big.png')/
mx:Image source=assets/user-big.png/
Including both images on the page, the first is missing the transparent
This is a floating point bug. See Gordon's response to Is this a bug?
About Number type on Aug 30 for full details. I'll quote the important
parts:
getting 23.703 isn't a bug; you'd get the same answer in other
languages like Java and C++. The imprecision is because Number in
From what I understand, what Ted means is that the player asks for such
and such amount of memory when it requires some, and may or may not give
it back when it doesn't need it anymore. So the worst case scenario is
that the memory consumed by the player is the maximum amount of memory
since
I think the important part of the error is here:
... 41 more
Caused by: net.sf.ehcache.CacheException: Cannot parseConfiguration
CacheManager. Attempt to create a new instance of CacheManager using the
diskStorePath /tmp/cache which is already used by an existing
CacheManager. The source of
I guess you could go straight to the dataProvider and instead of
listOwner.editField() use:
listOwner.dataProvider[getCellIndex().itemIndex].stepper = val;
--- In flexcoders@yahoogroups.com, digital_eyezed
[EMAIL PROTECTED] wrote:
Thanks,
I tried this, but the numericStepper just stops
That worked, thanks very much!
Iain
--- In flexcoders@yahoogroups.com, Doug Lowder [EMAIL PROTECTED] wrote:
I guess you could go straight to the dataProvider and instead of
listOwner.editField() use:
listOwner.dataProvider[getCellIndex().itemIndex].stepper = val;
--- In
Iain, out of curiousity I put your renderer code into a file named
NumericStepperRenderer.mxml and it worked fine with the following sample
app. There may be some problem in your datagrid declaration; a misnamed
column perhaps?
mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml;
Patrick,
Thanks for such a quick response, that was some very good feedback
which I appreciate!
In regard to the GC, I understand the concept, and know that these
decisions were made to increase the performance of Flash Player 9.
It's just a bummer that I can leave an app open all night with
hi coders;
I made an app that does a lot of matematical functions and handlers a
lot numbers, but there is an error when the app multiplies some int.
It have to return the number -2147408896 but it returns 2147408896.
what int is big for AS3 to handle?
Is there any way to vertically center text? Specifically, I have a datagrid
column that I want to have the text centered vertically in.
mx:DataGridColumn headerText=Name
mx:itemRenderer
mx:Component
mx:Label text={data.fullName}/
OK Thanks for your help.
Steve
On 12/6/06, hank williams [EMAIL PROTECTED] wrote:
Steve,
I dont know much about cold fusion, but as a general architectural
strategy I think you are mistaken in thinking that combining CFCs to group
together lookups.
Programming is all about creating simple
The Number type can't store the value 3.8 exactly, because as a binary
fraction it would require an infinite number of bits. You're getting the
Number closest to 3.8.
- Gordon
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL
1 - 100 of 120 matches
Mail list logo