Looks like you need an equal sign.
modifierCheckGroup.currentState "matchState";
should be:
modifierCheckGroup.currentState = "matchState";
- Tim
--- In flexcoders@yahoogroups.com, "Michael Schmalle"
<[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Real quick is there a problem with
I'm not sure how you would create a global listener for all
dispatched events, since each event has a currentTarget property.
But, in your onFault functions, you could use something like this:
public function onFault( event : FaultEvent ) : void
{
Alert.show("Fault Error: \n "+event.faul
I assume so. The event handler class's methods are all static. This is
also unnamed service.
Thanks,
--- Dmitry
--- In flexcoders@yahoogroups.com, "Peter Farland" <[EMAIL PROTECTED]> wrote:
>
> Did the request come through the gateway servlet?
>
> -Original Message-
> From: flexcod
Hi simeon,
I finally figured out a work around solution after quite a few
permutations on the databinding situation.
- thumbnail.mxml ( the itemrenderer)
[Bindable]
public var category:CategoryVO;
{data as CategoryVO}
--
Hello flexcoders;
Does anyone know of a way to intercept all uncaught errors
in a Flex application? The default behavior is for the Flash Player to display
a simple dialog with the error text (the debug player also shows a stack
trace.) I’d like to change this behavior to display a di
To have the width of the panel be calculated in relation to the parent
container, you could do something like:
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of flexabledev
Sent: Thursday, April 20, 2006 2:48 PM
To: flexcoders@yahoogroups.com
Su
just set the vScrollPolicy = off whilst setting the height to what you want.On 4/20/06, flexabledev <[EMAIL PROTECTED]
> wrote:I have two simple scenarios that I need help with.1. I have a Canvas that scales with the Browser window. On that
Canvas, I have a panel with a "top" and "bottom" lay
We're using Mysql 4.1 with Hibernate 3.1, Cairngorm, Flex 1.5, and
Hibernate Synchronizer to auto generate Java classes and AS classes.
I'm new to Flex and Hibernate both. I've search as many sites as I
could for both products in relation to this issue, no joy.
We have an object called De
Hi Karl,
Thanks for your reply. I couldn't find setPropertiesAt() defined for
DataGrid or any of its parent object. I am using Flex 2 Beta 2 and
new to Flex.
How I get rowId? If possible, please send me an example. Thank you
very much for the help.
Mustaq Pradhan
--- In flexcoders@yahoogro
Hi Brendan,
Thanks for your reply. I have tried setting the style at runtime
using: setStyle("backgroundColor", 0xFF);.
This is giving me a compiler error: CSS Value for '{cssValue}' not
supported.
Any idea, please.
Mustaq
--- In flexcoders@yahoogroups.com, "Brendan Meutzner"
<[
I have two simple scenarios that I need help with.
1. I have a Canvas that scales with the Browser window. On that
Canvas, I have a panel with a "top" and "bottom" layout constraint,
but I need the width to be dynamically calculated based on the width
of the Canvas - X.
2. I have a VBox on
backgroundColor style is not supported for DataGrid. DataGrid has a
style called alternatingRowColors which accepts two colors in an array.
You can just specify same colors to get set the uniform background
color.
For eg, to make green background color, you can set
alternatingRowColors="[0x00FF
Did the request come through the gateway servlet?
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Dmitry Miller
Sent: Wednesday, April 19, 2006 8:18 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Problem with AMFGateway and Sessions -
If you are using a debugging version of the player, this would have
caused an runtime exception alert when onTestEvent() was passed an
argument that it wasn't expecting.
- Gordon
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Andrea Varga
Se
Another alternative would be something like this.,...
1. Add Metadata tag in your component with the name of your event.
[Event(name="login", type="flash.events.Event")]
2. Catch that event in your component
3. Add AS to handle the event.
public function ha
Hmm, the code you posted for Login.mxml dispatches a "login" event,
not "test", so that's one thing to be aware of. You'll need to add
the listener to the Login object, which you can do by giving the
Login component an id () and then
calling something similar to:
loginComponentId.addEventL
Well, this worked, but in the Cairngorm framework this was correct and
the problem is somewhere else.
Below is my new little test.
This time the button that does the dispatchEvent is not in the
application, but inside another component
The Main.mxml code is almost the same as before, just th
Hi guys,
I just wonder is there a way to run Flex 2 under OS X at the moment? I
was asked and have no idea 'cause I'm still an unhappy Windows user by
some reason :)
Thanks!
--
Michael "Antares" Klishin,
Email: [EMAIL PROTECTED]
Web: www.novemberain.com
Non progredi est regredi
--
I've used as2patters and then moved to cairngorm for Flex. I think you will just find it very clean and simple to use. If your looking for advice on which side to choose, just try out the cairngorm flex2 sample login and I think that you will see how simple the framework makes Flex. In other
Hi,
Did you cast the returned button instance to Button?
var child:Button = getChildAt(buttonIndex) as Button;
Peace, MikeOn 4/20/06, wlbagent <[EMAIL PROTECTED]> wrote:
I know this can be done using individual buttons but can the
individual buttons in a ButtonBar component (not the whole
Which brings up something I noticed the other day... when setting the backgroundColor for a DatagridColumn for compile time within the MXML tag, it was causing a runtime error when the application loaded... like the style was being set before the DatagridColumn existed... a bug? Style is set fi
I know this can be done using individual buttons but can the
individual buttons in a ButtonBar component (not the whole ButtonBar)
be enabled or disabled?
For example. You have a ButtonBar with 4 buttons labeled
"A","B","C",and "D". You want button "A" to always be enabled but the
remaining b
I am experimenting with using XML as the data provider for a tree. I
want to be able to inset new nodes at run time. I have successfully
used appendChild and insertChildAfter, but cannot get
insertChildBefore to work. In my example app I think I maybe setting
up the position where to insert inc
It depends on what the method signature for SampleDAO.getPersons looks
like. Where did you find this sample?
Note that the AS signature for NetConnection.call() is:
public function call(command:String, responder:Responder, ...
arguments):void
So the ... syntax in AS means "the rest of the
Yes, this has solved it
Thanks
[EMAIL PROTECTED] wrote:
>Try changing
>
>
>public function onTestEvent()
>to
>public function onTestEvent(event:Event)
>
>
> You should add event:Event in your listener.
>
>
>
>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/f
It didn't work with this.addEventListener either.
Andi
JesterXL wrote:
>Out of curiosity, try changing:
>
>Application.application.addEventListener("test", onTestEvent);
>
>to:
>
>this.addEventListener("test", onTestEvent);
>
>- Original Message -
>From: "Andrea Varga" <[EMAIL PROTE
Try changing
public function onTestEvent()
to
public function onTestEvent(event:Event)
You should add event:Event in your listener.
|-+->
| | |
| | "Andrea Varga" |
| | <[EMAIL PROTEC
I haven't tested this, but I suspect you could programmatically
select the row through the selectedItems property. Add the row data
(not the index) to the selectedItems array, and the selectedIndices
property should be updated to reflect the addition.
Doug
--- In flexcoders@yahoogroups.com
Out of curiosity, try changing:
Application.application.addEventListener("test", onTestEvent);
to:
this.addEventListener("test", onTestEvent);
- Original Message -
From: "Andrea Varga" <[EMAIL PROTECTED]>
To:
Sent: Thursday, April 20, 2006 10:52 AM
Subject: [flexcoders] flex newbie
Hi,
Real quick is there a problem with changing a parent component state
and in the next call calling one if it's children's state changes?
I cannot get this to work, but in the mxml component the child component changes state fine.
IE
if (event.label == "Match") {
Hi!
I have to mention first that I'm new in Flex.
I have started to develop a small application using Cairngorm, just to
get more into it.
But I have faced a problem, my Command is never executed. It seams the
Event I'm sending is lost somewhere.
So I made a small test (to see if I'm gettin
hi
I did it like this:
setValue (str:String, obj:Object):Void
{
var col:DataGridColumn =
listOwner.getColumnAt(columnIndex);
var itemProperty = obj[col.columnName];
….
}
you got to define listOwner and columnIndex in the cellRenderer Class
Thomas
--
Hi,
Need help in the Remoting Implementation I have tried example of
below, with the method which does not take any param it works but
what is the syntax for passing the argument to the remote method.
We are using this example as we are not using flex data service
server side component. if
i m trying to load image in TileList using "itemrenderer" and "dataprovider" but there's some error which i m not able to sort.
i m pasting the code below.
//
dataProvider="{myArr}" columnCount="1" width="100%" itemRenderer="renderer/imagecomp"/>
Hi All,
Background info: Coldfusion and Flex.
I have a a TileList that is being populate by an Array of CategoryVO's.
xmlns:mx="http://www.adobe.com/2006/mxml" dataProvider="{model.templateList}" width="100%" itemRenderer="Thumbnail" columnWidth="200" height="100%" dra
I have the following for a DataGridColumn, which works just fine:
width="65" headerText="Product" >
color="{outerDocument.checkProductUsage(this,data.selected)}" />
I'm using a listItemRenderer in a TileList.
But for some reason the horizontal lines are stretch so the
lineThickness(! canvas and hrule) is bigger..
backgroundColor="#FF"
x="10" y="7.5"
width="100" height="90"
Hi everyone
I have a Datagrid with editable cells. Pressing tab or enter key while
editing a Cell, calls the function updateTotal which calculates other
non-editable fields in the grid and updates the dataProvider. The problem is
now, that the non-editable values dont show up in the g
Recent posts have circulated in this forum regarding a Flex code review with Adobe
Consulting. I was present at that review and feel that the Adobe attendees were unfairly
represented. Forging new relationships can be difficult, even under the best
circumstances, but particularly via a remote
Yes. If your item renderer implements the
mx.controls.listClasses.IDropInListItemRenderer interface you can get to
the column like this:
public function set listData(value:BaseListData):void
{
// for a DataGrid the passed in data is of type
// mx.controls.dataGridClasses.DataGridListData
Try this:
public function initApp():void {
var arr: Array = new Array();
arr.push({one:"abc", two: "ABC"});
arr.push
Well i
need the data for the current cell. Is there any way to find out which column is
the current column rendered?
-Original Message-From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED]On Behalf Of
WebdevotionSent: donderdag 20 april 2006 16:03To:
flexcoders@yah
Found something for you at Livedocs :)It confirms my thought about using data.label, data.id, data.productImage, ...as the correct syntax to access these properties.Basically your data object contains the data for the whole row,
which is a good thing, since you might want to combine data frommu
Well a
little code example:
my
data grid:
MyItemRenderer.mxml:
http://www.adobe.com/2006/mxml"
xmlns="*">
This
does not work, the data.name does not exist and has to be:
"data.data_field1.name".
As you
can see that is not ve
Hi list,I want to share a POC that I made some days ago, is
about integration of Flex2/OpenAMF/EasyBeans in JOnAS app server and
using WTP (Web Tools Project for eclipse).
http://www.carlosrovira.com/blog/?p=388http://www.carlosrovira.com/projects/
flope/flope.zip
The key here is the use of t
Great, I'll test that sometime later. I just read in the comments on the
Adobe site, that it wouldn't work at all interesting.
Thomas
Thijs Triemstra | Collab wrote:
> We're running JRun4 (updater 6) on jre 1.5 here, on mac osx and
> linux.. To make it work on osx we had to change this
Have you tried a for loop through the data object ?What about data["column"].label notation ?I'm at work now, can't test myself ...
On 4/20/06, B.Brey <[EMAIL PROTECTED]> wrote:
That is just the thing, the DataGrid differs from a List.
The "data" object your receive in an itemrenderer for a D
We're running JRun4 (updater 6) on jre 1.5 here, on mac osx and
linux.. To make it work on osx we had to change this line in /JRun4/
bin/jvm.config:
java.home=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/
Home
Thijs
Op 20-apr-2006, om 11:14 heeft Thomas Rühl -akitogo- het
Interesting, has anyone gotten Flex 2 Beta 2 to work over HTTPS with
AMF? Also adding the complexity of proxying through Apache SSL?
--- In flexcoders@yahoogroups.com, "Steven Toth" <[EMAIL PROTECTED]> wrote:
>
> Here are the console messages from the non-secure amf:
>
> [Flex] Channel endpoin
Are you trying to set the background color for a specific row or for
ever row at once? Are you seeing alternating row colors instead of the
color you want? If that is the case, they you probably want to set the
the alternatingRowColors style (takes two RRGGBB colors).
http://livedocs.macromedia
Hey,
I think this is a bug, I swear I brought this up in alpha to I can't remember.
Say I create a List with the PopUpManager, then it gets populated.
There is enough for a scrollbar and if you are rolling the List AS you
mouseOut of the List component;
This error raises
TypeError: Error #1
Hello,I'm trying to create a datagriditemrenderer using Actionscript.I know I'm importing to much right now, it's for testing purposes ; )Does anyone have some insight into this techniques ?All I am seeing now is
false in the cells of my datagrid.Another question: I can't use addChildAt, but I
Hi,
I am trying to import a button designed in flash into my
flex project and use it. I imported it and I can see it in my navigator view. But
when I try to drag it into my Panel I cant do it. Looks like something is wrong
with the way I am doing it or flash designed buttons or compon
It's amazing how complicated I try to make things
Thanks!
--- In flexcoders@yahoogroups.com, "Michael Schmalle"
<[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Can't you just put the repeater in a Tile ? Then control your
checkbox
> layout through the Tile's layout and properties IE titleWidth,
I would like it sent to me too. Or, maybe it could be posted in the
Files section of the Flexcoders website for download.
Thanks,
Libby
--- In flexcoders@yahoogroups.com, "livnginabluewrld"
<[EMAIL PROTECTED]> wrote:
>
> Would there be any way I could get this sample sent to me? I don't see
>
That
is just the thing, the DataGrid differs from a List.
The
"data" object your receive in an itemrenderer for a DataGrid contains data of
the whole row.
I just
want the cell data.
-Original Message-From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED]On Behalf Of
Hi,
Can't you just put the repeater in a Tile ? Then control your checkbox
layout through the Tile's layout and properties IE titleWidth, width
etc... I just did this yesterday Ironically.
Peace, MikeOn 4/20/06, dave7273 <[EMAIL PROTECTED]> wrote:
I have a list of checkboxes that are dynami
Does this clear things out for you ?I guess just use {data.property}.Check out this article
snip:
"complete" width="20" x="10" y="4" selected=
"{data.selected}"/> "taskname" text="{data.label}"/>
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/gro
How to set background color of a DG row. By setting backgroundColor
property I get nothing displayed, but the mxml compiled ok.
Is there any way to set background color of a DG row?
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Searc
I have a list of checkboxes that are dynamically created using a
repeater and am having a difficult time trying to arrange them in
something similar to a tileList. Currently, I will have about a dozen
checkboxes and would more or less like them arrange vertically, in
groups of 4 (or somethi
Thanks for the input, but that really wasn't the problem. In the
meantime I figured out myself...
When I finally found the logfiles and detected that there was one called
flex-errors.log, I looked into it and saw what? Right, what I didn't
expect to see and was noted down nowhere on the way
I've been busy with creating an ItemRenderer for DataGrid cells.
After reading the help i noticed that the "data" that is given to the
ItemRenderer is the row data. I'm wondering how I could get the data for
just the cell so i can have a generic ItemRenderer.
with regards,
Bas J. Brey
Multime
Well, you can't have ObjectTracer cast to A or B so it's not going to be
exactly what you want.
But if the API were made to accept Object in the relevant places, then
you could do something like this:
package com.mycompany
{
import flash.util.Proxy;
import flash.util.flash_proxy;
use names
Thanks for information, sorry it was incorrect question, it was not
related to ObjectProxy.
I wanted to create special object wrapper, overriding
flash.util.Proxy methods and forwarding all calls to inner object,
something like ObjectProxy does. But instead ObjectProxy it will
only trace me
Hello Dmitry,
Thursday, April 20, 2006, 12:14:23 AM, you wrote:
> Does anyone know how to retrieve url of the Flex app from within the
> application?
Are you on Flex 1.5 or Flex 2 b2?
In Flex 1.5 world we use Flash derived API command: "_level0._url".
How cool is that?!
--
Best regards,
65 matches
Mail list logo