I need to disallow navigation away from unsaved changes based on the user's
response in an alert.
I have some application-wide strategies in mind, and I have also seen how I
can prevent tab switching in a tab navigator by registering a capture-phase
click listener and calling
So why not make theWheel.com a place celebrating the wheel in all its
forms and shapes, to stop people from re-inventing it all over again!
(I'd say these are threatening to descend into silliness, but I think we
passed that point of no return with the second reply)
Gk.
Gregor Kiddie
getChildByName searches the parent for a match with a child's .name property.
A child's id property is not always the name and is a document reference (the
outermost tag in the MXML file) so a parent won't always have a child with the
name of the child's id.
Usually in a script block, because
List/DataGrid don't use click. They use mouseDown/mouseUp. You can try
blocking those events.
Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of Richard
Hi!
I am looking for a solution to display my data in an advanced datagrid.
The collection contains objects of type contact with a manager.
Contact
{
name:String;
manager:Contact
...
}
I tried a grouping on the manager with no success. Need some help please!
The event that gets triggered from a change will contain the textInput
and as such it will have the id.
All you need to do is get 'event.currentTarget.id' in the change handler
function. The currentTarget will be the textInput that triggered the
event.
(I think that's what your meaning?)
HTH
Sorry should have said you should use the 'event.target.id' (in
virtually all cases you can get away with using currentTarget, but if
you want to be guaranteed to be getting the info from whatever
dispatched the event, use target). It all depends on where you are
doing the listening.
K.
The
On Thursday 14 May 2009, valdhor wrote:
OK, this aint good. They've now stolen my address.
I have removed your list membership. I appreciate this wasn't your fault, and
encourage you to rejoin with a new address, or after you've reset your
passwords etc.
Tom Chiverton, moderator
--
Helping
Hello !!
I'm on Ubuntu Intrepid ibex. I installed Java, Eclipse and the
FlexBuilder plugin.
First I have many problems when I compile, with out of memory errors...
Even I change the vmargs with Xmx=1024M the result is the same... But
it's not the main problem...
I have some problems with the
Hello everyone,
Do you have any drawbacks/recommandations, even tutorials or Open Source
apps to help me build my feed reader in AIR?
I'm thinking about using Cainghorn as a MVC framework, as it looks to be the
less unofficial one around here. Am I right?
Thanks to anyone who'll take the time
There is no chance of silliness.
I suspect Gregor often comes up with wheelie good ideas..
- Original Message -
From: Gregor Kiddie
To: flexcoders@yahoogroups.com
Sent: Friday, May 15, 2009 7:50 AM
Subject: RE: [flexcoders] Re: Application Idea
So why not make
Hi Patrick,
I think what you ask is something like what you get if you turn SortableColumns
in ADG to false, along with the sortable property of any single column to false.
(Of course then you don't have sortable columns.. and no mouseOver highlights)
thanks
George
--- In
I'm telling you man, keep this up and I'll punish you!
(For the benefit of our non-English as a first language readers, Paul
made a pun, and I've followed it up with a worse one ;) )
Gk.
Gregor Kiddie
Senior Developer
INPS
Tel: 01382 564343
Registered address: The Bread Factory,
On Friday 15 May 2009, Thierry V. wrote:
in the header of a class. If I use autocompletion, FlexBuilder remove
all flash imports, and I'll have only the mx.collections.ArrayCollection
import. So when I launch compilation, I have some errors due to missing
imports.
I've seen this too, but
Are you using the 3.3 SDK? If so, here's the fix:
Under Project Properties Flex Build Path Library Path, remove the
playerglobal.swc under the framework SDK. Click Add SWC and find the
player global SWC for Player *9* in the 3.2 SDK (assuming you've got it
somewhere). For example,
There's a strong geek smell in this room anyway, so it was about time we
opened the window for a bit :-)
On Fri, May 15, 2009 at 18:50, Gregor Kiddie gkid...@inpses.co.uk wrote:
So why not make “theWheel.com” a place celebrating the wheel in all its
forms and shapes, to stop people from
Hi,
I am facing the following problem and am not being able to solve it.
In my chat application I have to show my message in the text area as
following:-
message:sender
If the message consists of single line everything works fine. For
a message which exceeds the width of the text area
Thanks, Alex. That does work, though the new item is still highlighted
first, so I might be better of using change, thus covering keyboard
selection as well.
I saw a Gumbo example on flexexamples using a selectionChanging event, so it
seems as though this use case will be supported in future.
On
Im not sure itd be worth implementing cairngorm because an RSS reader
would simply be an HTTPService call. Ive seen examples of this done in a
single MXML file. If you wanted to have more interaction or save the feeds
locally and then compare with the remote feed, you might want cairngorm
Rohit,
Have you looked at the AS3 TextField numLines property and the TextField
getLineText(index) method?
Regards,
-Keith
http://keithreinfeld.home.comcast.net
http://keithreinfeld.home.comcast.net/
_
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
This issue appears fixed in SDK 3.3 (at least the symptom is not present), just
to complete the thread (to myself) in case anyone else has the same issue.
-Jeff
Actually, I take it back, the highlighting is the roll-over highlighting -
but the item does appear selected while the modal dialog is up.
On Fri, May 15, 2009 at 6:16 AM, Richard Rodseth rrods...@gmail.com wrote:
Thanks, Alex. That does work, though the new item is still highlighted
first,
I'm encountering a strange problem which I can't reliably replicate. I have a
TextArea. During its lifetime, I set the htmlText property one time with a
string of HTML that includes an IMG tag. The text property never gets set.
Sometimes, when the TextArea is first displayed, I'll see that all
I want to have all my DataGrid and ADG headers look the same. For that I want
to have a custom AdvancedDataGridHeaderRenderer for columns in ADGs. How can I
mimic a DataGrid column skin?
Thanks for Help
I definitely want to use loads of HTTPServices. For now, I would like to
make a very simple RSS reader, with local storage of feed urls, but later I
would like it to be managed by server side scripting, and account
management.
I don't want to start with an over-complexified solution that will
Thanks Alex!
Not exactly sure why I don't get ANY automatic behavior even with
base Flex controls(LinkButton ect..) but by assigning the main
applications SystemManager(IFlexModuleFactory) that has the registered
fonts to the loaded modules moduleFactory it is working like a charm.
Wow, one line
Well, glad that worked, but it shouldn't be necessary for LinkButton. If you
can post a test case in two 20-line mxml files I'll try to take a look.
Alex Harui
Flex SDK Developer
Adobe Systems Inc.
Blog: http://blogs.adobe.com/aharui
-Original Message-
From: flexcoders@yahoogroups.com
Do you just want to set selectable=false on the List in certain situations?
Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog: http://blogs.adobe.com/aharui
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf
Of Richard Rodseth
Sent: Friday,
And don't forget, the first stop for style questions should be the Style
Explorer:
http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplorer.
html#
http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplorer
.html
Might not help with this problem, but still
At 02:52 AM 5/15/2009, you wrote:
getChildByName searches the parent for a match with a child's .name
property. A child's id property is not always the name and is a
document reference (the outermost tag in the MXML file) so a parent
won't always have a child with the name of the child's id.
The use case is when you have a list of objects on the left, and an editable
form on the right.
And you want to display an alert Discard changes | Cancel when switching
context with unsaved changes.
So you don't know up front if selection should be allowed or not.
But disabling list selection
... is there a way to do this? I'm pretty sure I can do it with Zinc ...but
this is Flexcoders, not Zinc-coders :)
Thanks,
--jake
Is it possible to sort a Tree in a such way that folders will be shown first?
Thanks
I want to print a component in Flex without it showing up in the UI. I have
tried setting visible = false and includeInLayout = false. Nothing prints when
I do that. If those are true, then it shows up in the ui. I just need to
print a component without it showing up in the ui.
I'm trying to develop a formula editor in Flex so that users can write
algebraic expressions including variables from a library of variables.From a
user experience standpoint, I think the best way to display this would be
with a text component with controls inside.
Does anyone know a component in
You can do printing with dynamic images, you just have to wait until the images
are loaded before adding them to the printjob. Listen for the Event.COMPLETE
event to know when the images are loaded. I am doing it and it works fine.
--- In flexcoders@yahoogroups.com, bnuenemann bened...@...
He's looking to prevent the roll-over highlight of the DataGrid header.
For that object, you can't skin or change the style; except for the
color.
-TH
--- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote:
Also, skinning should work. Check out http://www.munkiihouse.com/?p=14
Hey Tim Hoff, thanks!
Monkey Patching works fine for my needs. But, I really hope in Flex4, the new
spark stuff will make my life easier!
By the way, how long till the new beta is out? I'm waiting... patiently.
--- In flexcoders@yahoogroups.com, Tim Hoff timh...@... wrote:
He's looking
I believe that you will have to do it through your data provider. if
your data provider is an ICollectionView (such as ArrayCollection), you
can sort it using the sort property.
Yves
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf
anyone know if wrapping an air app in the product at http://www.shu-player.com
will protect the app from being decompiled?
Hi Alex,
Well, got my scaled down test case, but it is working fine as you
said. I don't need to anything special to have my modules inherit the
embedded fonts in Label's LinkButtons ect...
I must be doing something funny and I will continue and try and find
where...and hope to post back next
I have successfully printed using visible= false. I was adding the report
form to a canvas, so includeInLayout was not necessary for me.
Tracy Spratt,
Lariat Services, development services available
_
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of
No, not a bad practice if you need references to them. There might be more
efficient ways depending on how long it takes to search the array. If you post
a trimmed down example of what you were trying to do, maybe others on the list
can point you in the right direction.
Alex Harui
Flex SDK
Please anyone?
--- In flexcoders@yahoogroups.com, markgoldin_2000 markgoldin_2...@...
wrote:
I want to have all my DataGrid and ADG headers look the same. For that I want
to have a custom AdvancedDataGridHeaderRenderer for columns in ADGs. How can
I mimic a DataGrid column skin?
Thanks
Hi guys, it's been a while since I posted.
I'm having an issue when calling mxmlc from command line: your typical
Error: a JVM can't be loaded/found thingie.
After some research, it seemed that my problem had to do with having a
JRE/JDK 6 (or 5, update 6)
Ok, I think maybe I'm over-thinking this and confusing myself... But
how do I store an array in a Database?
I have an array 'demographics[]' with 25 elements in it (0 thru
24). I can certainly use a for-loop to loop through each element and
do whatever I want with each element. But when it
How that is different from a database table with 25 rows?
You populate your array from that table, use the array as a datProvider and
save changed data back to db. Am I missing something here?
--- In flexcoders@yahoogroups.com, Laurence MacNeill lmacne...@... wrote:
Ok, I think maybe I'm
At 06:26 PM 5/15/2009, you wrote:
How that is different from a database table with 25 rows?
Because it just is. LOL With 25 rows, you have 25 separate
records. This is 25 columns within a single record. There are other
columns too, not just these 25.
You populate your array from that
Hello,
I use the D.eval API (http://www.riaone.com/products/deval/index.html) and
try to import classes using D.importClass().
The problem is that when I try to use an imported class into a D.eval
call, I get a runtime error (the compilation is OK) :
Error: msg.rt.no.class
Here is a minimal
Hello,
I use the D.eval API (http://www.riaone.com/products/deval/index.html) and
try to import classes using D.importClass().
The problem is that when I try to use an imported class into a D.eval
call, I get a runtime error (the compilation is OK) :
Error: msg.rt.no.class
Here is a minimal
Hello
few days ago i had to make a components , therefore user can rate a service on
guitar learning application , i am attaching the source code hope you will get
help with your purpose
it is a HBox Components used in main application i am
not providing the main application source file :( ,
How about using something like this...
var formChildren:Array = myForm.getChildren();
for each(var currentVBox:VBox in formChildren)
{
var VBoxChildren:Array = currentVBox.getChildren();
for each(var
Isn't that an oxymoron?
A rollover highlight is a change of color isn't it? If the header retained the
same color there would be no highlight.
If you could skin/style the rollovercolor to be the same as the
nonrollovercolor then that should achieve the required result. Of course, I
have no
I assume you are doing this from a Flex application. Are you using BlazeDS or
LCDS on the server side? There are many good examples on Adobe Dev Net that can
help you out. http://www.adobe.com/devnet/flex/quickstart.html is a good place
to start.
You are not going to store your array in the
Hello,
I use the D.eval API (http://www.riaone.com/products/deval/index.html) and
try to import classes using D.importClass().
The problem is that when I try to use an imported class into a D.eval
call, I get a runtime error (the compilation is OK) :
Error: msg.rt.no.class
Here is a minimal
Thanks for the input Valghor, but let's shorten it to moron. The flex3
framework is far from perfect; as far as skinning is concerned.
However, there's usually a way to work around most challenges (kudos
again to the engineering team). If you read the original post, the
objective was to NOT
56 matches
Mail list logo