I have a situtation where I am adding a button to a dataGridColumn
using a ClassFactory.
I know how to set properties to my buttons, but I want to add an
event, either by and event listener or assigning a value to the
click property.
I've attempted a coupled of ways, but with no luck.
Any one
David,
You need custom class factory extending ClassFactory - then you can do anything - runtime styles, events, etc. You would also need to extend datagridcolumn object for declarative (MXML defintion of the extended attributes.
Here is the closest example I have - instead of event it
Hi Bruce,
i can't reproduce the problem. How are you using the CustomEvent?
This is my testcode:
?xml version=1.0 encoding=utf-8?
mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;
layout=vertical creationComplete=onCreationComplete()
mx:Script
![CDATA[
Just a heads-up for anyone that has pre-ordered this book
from Amazon UK. You can save yourself about eight pounds by cancelling the order
then re-ordering. the price has dropped!
I've decided to go for an amazon re-seller - I suspect
they may get it delivered sooner than Amazon UK gets
Hi
I have successfully set up my application to cairngorm 2 model. I need
to know how to access a viewstack in my command class onResult method.
Pl advise asap.
Kind regards
Husain
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search
Hi Tim, Thanks for ur informative words, I have been working with Flash Remoting with .net but adobe still amaze me why not Remote objcts for .netcould u tell me some links about working with Flourine and Flex 2. Tim Hoff [EMAIL PROTECTED] wrote:Hi Sajid, If you have a
ClassReference(null)
So this is the counterpart of Embed for programmatic skins. Thanks a
lot, Gordon!
The reference on LiveDocs:
http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=0817.html
--
Flexcoders Mailing List
FAQ:
Didn't get a reply to this, however I have solved
my problem by manually dispatching an event from the datagrid after I set
selectedIndices.
mx:Script
public function
captureDatagridKey(event:KeyboardEvent):void{var
a:Array, i:Number;if (event.ctrlKey
event.keyCode == 65){var
Hi,
I've got a ViewStack that I navigate around using selectedIndex. It
works fine the first time I go to a page, but when I leave and return
to that same page, I need to have all the TextInput fields
re-initialized. It doesn't seem to do that. Returning to a
previously selected index displays
Hello ---
I have a CF application that will include some Flex pages within it.
Is there any way that the flex application can have access to the
current CF session variable scope?
Either it is obvious and I don't see it, or it isn't possible.
I appreciate any help and patience with a naive
I have tried
item.text = item.text.toUpperCase().and implemented on textArea
component but is seems to change all previous typing to upperCase
and that wasn't my need.I need to be able to change case when I type
new line.Maybe the other solution will help but I hope that there is
some other
Thanks man
I have tried that class (flash.ui.Keyboard) and there is capsLock
public Property but I can't force capsLock press.Here is my code:
import flash.ui.Keyboard;
var test:Keyboard = new Keyboard();
test.capsLock = true;
I'm getting error:Access to possibly undefined
You can download Eclipse 3.1.2 from here:
http://archive.eclipse.org/eclipse/downloads/drops/R-3.1.2-200601181600/index.php
I recommend the SDK version (top of page), because it has the JDT already
contained within it. Once you have that installed and working, then install the
FlexBuilder
Hi,
There are 2 things available. Well 2 different things :)
1) FlexUnit - this allows u to write test cases a la JUnit for your AS3 classes
(http://labs.adobe.com/wiki/index.php/ActionScript_3:resources:apis:libraries)
2) Mercury QuickTest Pro 9+ supports automated testing of applications
I assume you want to change the selectedIndex property of the ViewStack? IF
yes, here is how you do it:
1) Add a variable to the ModelLocator
class ModelLocator {
...
public var vsIndex:int;
}
2) Bind it to your ViewStack
mx:ViewStack selectedIndex={ModelLocator.vsIndex}
3) Update it in
I finally got around to testing your suggestion.
mx:DataGridColumn editable="false" width="65" headerText="Member" textAlign="center"
mx:itemRenderer
mx:Component
mx:HBox
mx:CheckBox selected="{data.member}" change="data.member=selected" /
/mx:HBox
/mx:Component
/mx:itemRenderer
.
Use the onShow() event of that component (I assume u are using a Box or Panel
or Canvas, etc...) to reset its data.
Dimitrios Gianninas
Optimal Payments Inc.
-Original Message-
From: flexcoders@yahoogroups.com on behalf of jlentz2112
Sent: Fri 10/13/2006 11:16 PM
To:
Ah,
that makes sense. Thanks!
fl,
does this help you? You can always add a UIComponent in MXML
mx:UIComponent
id="targetArea"
and
then add Children to it...
Derek
-Original Message-From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED]On Behalf Of Daniel
yes, you can. It might help if you gave some sample
code...make sure to include enough context for me to know where the code is
being called from.
Ely.
From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of jnewportSent:
Tuesday, October 10, 2006 6:17 AMTo:
Clint, as I said I don't know what is going on in the .NET world with Adobe. I'm also curious how you are so sure of yourself when you say they aren't?
As for overlap, how about the Java implementation? Overlap there? Also, did Midnight tell you/the community they wouldn't do a language that
Thanks Dan,
I understood how to use sprites; I would take some more time to perfectly understand how
its been used in mxml to get more advantage, In Flash-As3 applications, there is no problem using it.
But with mxml I really need to understand its tricks to use it. For now your example was a
One of the demo videos on Adobes
site said that there are plans create a .NET implementation, now weather they
pulled the plug on it is another story. But I disagree with the point that just
because there arent overlapping implementations that they
are not competing. I was evaluating
I can tell you right now that we have 12 openings for Flex
Developers. It's not a million but it's a start. ;)
In all seriousness, we have that many openings today and
that number only seems to increase with each passing day. We've hired some
fantastic people over the last few months from
Hi,THis is one suggestion just becasue it has happened to me, do you have any XML in your code?Well, I really mean is this a class or mxml file. If a class, I have noticed that FB2 does not parse some literal XML string correctly all the times. Which then forces FB2 to think it's internal and
Hi, Thanks a lot.
Akash,
.
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Clint Tredway
Sent: Friday, October 13, 2006
12:07 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
Calculating Values on The Fly
a simple
Just to clarify (mostly for myself),
shouldnt the command execute a method located within ModelLocator which
would updated the actual VO instead of directly update the VO from the command?
If I understand it correctly, this is the
way it was done in the Cairngorm store.
Hi,
Cairngorm 0.99 and 2.0 are very similar so I dont think there is anything to
watch out for in particuliar.
Perhaps you might want to read an article by Alex just in case:
http://weblogs.macromedia.com/auhlmann/archives/2006/07/cairngorm_2_for.cfm
Dimitrios Gianninas
Optimal Payments Inc.
the quick answer is to use remoting to pass the session variables to the flex apps. On 10/13/06, lrlarsonny [EMAIL PROTECTED]
wrote:
Hello ---
I have a CF application that will include some Flex pages within it.
Is there any way that the flex application can
depends on what you're trying to achieve.
If you want to pass session variables to your flex app, use FlashVars
If you want to change session variables you can call a cfm page, call a
webservice or use remoting.
Here's an example of using flashvars to pass a cf variable to flex.
cfset
As for overlap, how about the Java implementation? Overlap there? Also, did Midnight tell you/the community they wouldn't do a language that Adobe has already done? In other words, did they say they would stifle WebORB for the sake of not competing with Adobe?
They have said on this forum that
jelentz,
Based on my limited experience I would suggest creating a custom
AS3 class that extends DataGrid. You can then dynamically set the
dataProvider, loop through whatever part of the data provider you
need, and based on the values therein create the number of
data grid columns you need.
|
Can anyone point me to the property that controls the color of
selected text when a user clicks and drags over text entered in a text
input color?
Thanks
Shawn
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
Over the last several days I've done tons of work with custom Checkboxes in
DataGrid's. I have not tried the below recommendation from iko_knyphausen
but I can offer my own experience.
For me, I wanted to center the Checkbox in the DataGrid column. Using the
DataGridColumn itself yield no
Update: I emailed Amazon and got a reply assuring me that they were
processing my order and the December date shown was due to a technical
glitch. They even upgraded me to 2 day shipping to make up for it. Its
on its way!
Can't wait to dig into that thing...
Ben
--- In
Just to add to Dimitios here, keep in mind that most of the migration
effort described in my blog entry at point 3 was only related to the
type of event dispatching we've used in previous Cairngorm beta versions
during the Flex 2 beta. They don't apply when you're migrating from Flex
1. In fact,
It would be a little more elegant , and a
little faster, to do
if (disp is Button)
instead of
if (disp.toString().indexOf(Button)
-1
- Gordon
From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mike Crowe
Sent: Friday, October 13, 2006
6:52
Databinding is one way to accomplish this:
mx:TextInput id=name
text={someDataObject.name}/
Another would be to write a
change handler on the ViewStack. Switch on the selectedIndex and
re-initialize the pane you're changing to.
- Gordon
From:
lyon.james wrote:
I saw very similar things happen with list and datagrid controls, and
we found out that our database fields had hidden ASCII markup
(/r,/n,etc.) We cleared out that data and haven't seen problems again.
This might be it, I'll have to check on Monday the problem didn't
Below is an example of forcing text input
to uppercase as the user types it.
The trick is to handle the 'textInput'
event, which is dispatched after the user presses a key but before the new text
appears in the TextArea (or TextInput, or TextField). This is a cancelable
event, which
Here's the links to WebOrb and Fluorine:
WebOrbFluorine
-TH__
Tim Hoff
Cynergy Systems, Inc.
http://www.cynergysystems.com
Office: 866-CYNERGY--- In flexcoders@yahoogroups.com, Sajid Hussain [EMAIL PROTECTED] wrote: Hi Tim, Thanks for ur informative words, I have
don't mean to push this discussion off-track, but for the
simplest case where i have a .NET-basedREST web service returning XML
results, what is the easiest way to implement this mapping on the Flex
side?
i've been reviewing the YouTube and Flickr classes that use
URLLoader to pull from
I didn't hear back but will try again. Masks I suppose could have an
affect. If you have code that we can use to reproduce we'll see what we
can figure out.
Matt
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of dj
Sent: Tuesday, October 10, 2006
Sorry for not responding earlier. If the
data is all there then I would expect letting the app sit would not have much
of an effect. As I mentioned to Dustin, if the data is coming remotely though
and the app times out, it would make sense that things might get messed up. In
your case
Do you have the TextInput and its
dependencies linked in to the application somehow? If everything is external
you still need something to bring it in. So make sure your shell has the
TextInput available.
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]
There is an HTML wrapper that should have all of this in there, included
in our resources if you're using the SDK I think (I forget the directory
name). Express Install is what allows the Player to update quickly
without having to navigate to adobe.com or anything.
Matt
-Original
Are you relying on knowing when the 0th
element of image changes? If not you can ignore the warning. If you
do care you may need to write your own collectionChange event handler on the
XMLListCollection to update correctly.
From: flexcoders@yahoogroups.com
The valueCommit event will fire in this
case, change is only when it was user-interaction that caused the
selection, not programmatic changes.
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Adam Royle
Sent: Tuesday, October 10, 2006
6:31 PM
You could also look into the includes
compiler directive.
Matt
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of gustavo.saume
Sent: Wednesday, October 11, 2006
5:11 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
Ill ask the FB team. What
happens if you backspace over readyTimer, then re-type? I think Ive
found that often it needs to be typing as opposed to go to something that
already exists.
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of e_baggg
There should be a collectionChange event
coming from the XMLListCollection that you could use to re-trigger whats
necessary in just the Repeater?
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Marlon Moyer
Sent: Thursday, October 12, 2006
Nope, with Arrays what you did is exactly
the right thing.
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of [EMAIL PROTECTED]
Sent: Thursday, October 12, 2006
8:02 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] binding to
an element
I see it. It may be that the deep
recursive printing in the MouseEvent is hitting something it shouldnt
be. Maybe try excluding some of the properties like target so it doesnt
go too deep?
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of
You might want to look at the listData
which will give you more info as to which column the checkbox represents. The
data is shared across columns, so I think cbSelected will be true as soon as
any of your properties is not null.
From: flexcoders@yahoogroups.com
Maybe you can just use ExternalInterface
to read the browsers language? I think theres navigator.language
or navigator.userLanguage?
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of jfournet
Sent: Friday, October 13, 2006
12:46 PM
To:
I have some related questions.
I will probably want eclipse for use besides flex. But flex uses a
slightly older version of eclipse. Should I install flex with
customized eclipse alongside the lastest eclipse, or standalone
eclipse 3.1.2, and not worry about the slight version lag? Or can flex
If you're interested in functional testing with Mercury QTP I can get
you on our beta, let me know off-list. Note that you need to be a QTP
user (or talk to their sales about becoming one) for this to be of
value.
Matt
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL
Hello, I have a small flex/flash job that I would like some help with.
At its simplest, I need a flash web site that draws from a database
for pics and text.
It is 100% designed already. What I need from you is a simple
Flex/Flash framework so I can drop stuff into the database and BOOM,
we have
I have some related questions (not sure what happened to my orig
posting about an hour ago, hopfully doens't end up as a double post).
I will probably want eclipse for use besides flex builder. But flex
builder uses a slightly older version of eclipse. Should I install
flex with customized
Thanks for the reply, but unfortunately I don't follow all of it. I'm
new to Flex, so could you please explain more? I get the AS3
extending DataGrid. How can you dynamically set the dataProvider to
pass in info to the headerRenderer? A small snippet of code would be
greatly appreciated.
* bump *Could anyone help me please?2006/10/11, Bart Wttewaall [EMAIL PROTECTED]:
Hi folks,This might be a basic question that might already have passed this list, but for the life of me I couldn't find any good keywords to search on. Help me out please!I'm using an external Flash9 swf as an
The FlexBuilder 2.0 plug-in only works with Eclipse 3.1.x. If you don't need
the Java dev portion of Eclipse then just download the base called Platform
Runtime Binary from this page:
http://archive.eclipse.org/eclipse/downloads/drops/R-3.1.2-200601181600/index.php
(scroll down a bit)
I don't
How do you reinitialize a pane? Is there some function that is called
everytime you switch to a new child? I'm wanting to pass an object
into a child each time I call it, so I need someway to have a function
called automatically when a child is switched to, so I can
reinitialize and use the data
Hey Kirk,
I can't speak for everyone, but typically the result from a service call is cast to Value Objects in the model (ModelLocator, if you're using Cairngorm). Yes, the VO's would be hand-coded andwould be populated in the onResult handler function. Unless you're useng FDS or WebOrb, I
Hey Kirk,
I can't speak for everyone, but typically the result from a service call is cast to Value Objects that reside in the model (ModelLocator, if you're using Cairngorm). Yes, the VO's would be hand-coded andwould be populated in the onResult handler function. Unless you're useng FDS or
If you are
interested, please send your resume to [EMAIL PROTECTED]
Sr. Technical Writer - Flex
The Flex documentation team has an
opening for an experienced senior technical writer. The ideal candidate has a
keen interest in web-based application development, online documentation
There is no function on the child pane
that is called when the ViewStack switches to it. All the ViewStack does is
bring that child to the front. But if you write a handler for the ViewStack's
change event, it will get called every time selectedIndex or selectedChild
changes. So you
Hey Gordon, you seem to have a knack for explaining things very
clearly and concisely. Any chance we'll see tutorials or a book from
you at some point? I'd buy it in a heartbeat.
Thanks,
Ben
--- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote:
Below is an example of forcing
67 matches
Mail list logo