Try...
(event.target as TextInput).text = ;
(event.target as TextInput).setFocus();
Steve, Thanks for the lead. Unfortunately, it doesn't work, either for the
Gumbo or Halo component.
For mx:TextInput:
The text never gets cleared out after user presses the enter key;
For s:TextInput:
--- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote:
This works for me (I am using Flex 3.3 with Flash Player 9.0.159)
If this is not a player or Gumbo issue, I would look at other things
happening after the enter event.
What happens with a small test case?
Steve, Thanks
Please feel free to file bugs for either/both issues at
http://bugs.adobe.com/flex/.
Hi Peter,
I filed a bug on spark textinput. Someone else has filed one on mx:TextInput
(https://bugs.adobe.com/jira/browse/SDK-21617) and provided a workaround which
is similar to the callLater one you
Hello,
I have a TextInput, say, for user to type in to search something. After the
user presses enter Key, I want the TextInput to clear the user input text while
still staying in focus, so that the user can continue to type in other words.
I had a hard time to do this for a TextInput (either
BTW, I am not sure if this behavior is something expected from user
experience point of view since I looked at Google, Yahoo! and Bing, all of
them did the same thing: once you pressed enter, the search textinput lost
focus. You would have to regain focus for the textinput to do another
Hi,
I am trying to overload a method (same name and different signatures)in a
subclass. In the inherited class, the method looks like this:
public function set dataProvider(value:Array):void
In my subclass I want the method to look like this:
public function set
solutions are ugly, IMHO, but is the way flex works.
HTH,
PS
On Thu, May 28, 2009 at 6:58 PM, gwangdesign gwangdes...@... wrote:
Hi,
I am trying to overload a method (same name and different signatures)in a
subclass. In the inherited class, the method looks like this:
public
with scrollbar scaling. And set the child Canvas
background to transparent.
Charles P.
On Thu, May 7, 2009 at 4:54 PM, gwangdesign gwangdes...@... wrote:
Hi,
I am trying to get the scrollbar for a container (can be either a Canvas or
VBox) inside my background image. Basically
Hi,
I am trying to get the scrollbar for a container (can be either a Canvas or
VBox) inside my background image. Basically my Canvas has a background image
which I set background-size to 100%. Flex scales the background image to fit
the whole component when there is no scroll bar. But when
BTW, mx:List and subclasses have a different behavior in this regard. The
scrollbar is always inside the bound of the List based component.
--- In flexcoders@yahoogroups.com, gwangdesign gwangdes...@... wrote:
Hi,
I am trying to get the scrollbar for a container (can be either a Canvas
Does Flex Builder 3 hint code for Flash Player 10 (new) classes such as Vector?
If so (in case), how to get it work?
Thanks.
for Flex compiler in your project properties.
There you will see that you can change your sdk, but you will need to
manually download and install it in you machine (not a big problem at all)
HTH
On Tue, May 5, 2009 at 1:12 PM, gwangdesign gwangdes...@... wrote:
Does Flex Builder 3
Hi,
I am trying to use data effect for a list control, when an item in the
dataprovider changes (not deleted or added but some properties change).
I am looking for something like this:
http://blog.flexexamples.com/2007/09/24/animating-data-changes-in-a-flex-pie-chart/
but for a list control.
After poking into the documentation, I kinda guess replacementItem might be
what I need. Anyone know of any examples for it?
Thanks.
--- In flexcoders@yahoogroups.com, gwangdesign gwangdes...@... wrote:
Hi,
I am trying to use data effect for a list control, when an item
in your AS class. Whatever
property you specify will be the property to which your MXML children
will be set.
Here's a start:
http://livedocs.adobe.com/flex/201/html/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Book_Partsfile=metadata_141_07.html
Aaron
gwangdesign wrote
Hi,
I am still looking for some general documentations about the guidelines as to
how to write ActionScript custom components. It's clear that you can expose
public properties, styles and event listeners of your custom components as MXML
properties.
But what are the general rules if I want to
Hi,
I am having a problem with using CSS to assign backgroundImage for my
component which subclasses List. The problem is on the very bottom of the
component there is always a solid while rectangle that I cannot get rid of.
I'vetried the same CSS for a Box component and there is no such a
;
-TH
--- In flexcoders@yahoogroups.com, gwangdesign gwangdesign@
wrote:
Hi,
I am having a problem with using CSS to assign backgroundImage for
my component which subclasses List. The problem is on the very bottom of
the component there is always a solid while rectangle that I cannot
/bottom and wider for the rows in between.)
Thanks.
I guess I can fix it by making the
--- In flexcoders@yahoogroups.com, gwangdesign gwangdes...@... wrote:
Hi,
I am having a problem with using CSS to assign backgroundImage for my
component which subclasses List. The problem is on the very
:
There is a component that does this quite well. It is by tink, called the
PairedStackEffect, check it out first.
Tracy Spratt,
Lariat Services, development services available
_
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of gwangdesign
Sent
Hi,
I am sure this has been discussed somewhere by someone before. So excuse me if
this is an old topic. But what I want is when the selectedIndex changes in a
ViewStack component, instead of the default behavior of waiting until the
current selected child completes its hideEffect to start the
Hi,
Could anyone tell me how I can get the depth of a node in an xml/xmlList? Say
if the node has 0 parent node (root), it's at depth of 0; if it has 1 direct
parent node which is the direct child of root, it's at the depth of 2, etc.
Thanks.
-geng
I am trying to make a VSlider but in a reversed direction than the default
one, i.e., making it up side down, i.e., with the maximum value on the bottom
and the minimum value on the top.
What would be the easiest/fastest way?
One of the innovative ways (but unsuccessful) I tried was setting
double duty. As a setter, it sets the explicitWidth. As a
getter, it returns the actual width.
Gordon Smith
Adobe Flex SDK Team
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of gwangdesign
Sent: Wednesday, March 25, 2009 8:44 AM
To: flexcoders
Hi,
This is a really basic question about UIComponent. My understanding is that:
1. measuredWidth is the default or suggested or appropriate width that a
(subclassing) UIComponent asks for itself;
2. explicit width is the value you set explicitly to the width property of
the component;
3.
Hi,
I am subclassing UIComponent to do something very similar to a VBox. The
difference is that when a child is selected, all the children are then moved so
that the selected one is centered vertically on the VBox.
I thought this was easy. But my code never works except for when the
@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of gwangdesign
Sent: Saturday, March 14, 2009 10:41 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: changes on item renderers on a List
Hi Tracy,
Thanks for the heads-up. I was aware that list based components recycle
@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of gwangdesign
Sent: Friday, March 13, 2009 6:05 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] changes on item renderers on a List
Hi,
I am re-sending this question since this seemingly simple question has been
taking
Hi,
This might be a simple one but I am having a hard time figuring it out: How do
I get the previous selectedIndices when a ListEvent.CHANGE event occurs on a
List control, within the Flex component framework?
Basically I'd like to change all the selected item renderers states on a List
Hi,
I am re-sending this question since this seemingly simple question has been
taking me a bit much longer than I expected;)
I have a whole bunch of item renderers inside a List (or it lays out and
scrolls the renderers the way a List does). Here is what I am trying to do: I'd
like to
I guess what I am trying to figure out is how to get the de-selected item or
de-selected index in a List? I know there are public members
selectedIndex/selectedItem...
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of gwangdesign
Sent: Saturday, March 07, 2009 9:52 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] truncateToFit or multiline title in TitleWindow
Hi,
I know this may not as easy as it sounds
Hi,
I know this may not as easy as it sounds but does Flex provide
out-of-the-shelf solutions for me to truncate the text in the title bar of my
TitleWindow component?
By out-of-the-shelf I mean things like setting properties, CSS, etc, without
writing my own custom component?
Thanks.
Excuse me in advance since it may be OT.
I am putting together a small RSS reader using Flex. I'd like my application to
look like automatically updating if there is any new post coming in for the
RSS feed that the user is currently viewing, etc..
What I can think of on the top of my head is
Hi Garth,
Thanks very much for the lead. I am currently following the
anonymous object advice but would like to investigate more
ObjectProxy approach later once I have more time.
Just another quick question. It seems both approaches entail
serializing objects in Flash Player at client side.
I am trying to bind a property (label) in my data object so that the
changes on it can be propagated to all the views (The controls may
want to edit this property). Currently I am wrapping them as plain
objects in ArrayCollection and I got the following warning:
warning: unable to bind to
Hi,
Basically I am feeding dataProvider for 2 set of controls: one is on
my main app and one is the item renderers of a TileList, both of which
are Buttons. I am assigning the same function at main app to handle
their click event. The event handler assigned to the controls in the
main app works
I got around it by using the data property of itemrenderer, instead of
getCurrentItem()...
--- In flexcoders@yahoogroups.com, gwangdesign gwangdes...@... wrote:
Hi,
Basically I am feeding dataProvider for 2 set of controls: one is on
my main app and one is the item renderers of a TileList
Of gwangdesign
Sent: Tuesday, February 17, 2009 12:36 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] default skin in flex 3 component
Hi,
I am trying to define the default skin (which is ProgrammaticSkin for
now) for my custom UIComponent. I would like to provide my own
Hi,
I am trying to define the default skin (which is ProgrammaticSkin for
now) for my custom UIComponent. I would like to provide my own
programmaticSkin (hm.controls.myUICompClasses.BackdropSkin) as
default; and I am doing it in my UIComponent's style metadata, like so:
I am looking at mx.controls.Button now. I guess I am confusing skin
name, skin class and skin as a DisplayObject;)
Hopefully I will figure it out tomorrow morning! Thanks.
--- In flexcoders@yahoogroups.com, gwangdesign gwangdes...@... wrote:
Hi,
I am trying to define the default skin (which
Hi,
This is a Flex project (3.2) complied to target FP10, which utilizes
the 3D API. Inside a Canvas object, I add whole bunch of Buttons which
are laid out in a 3D carousel fashion. The problem is once I set the
projectionCenter property of the Canvas, all the Button instances
inside the Canvas
.
for v3 = items[id].transform.matrix3D.decompose();
In Halo (sdk 3.2), as long as you set UIComponent.z or
UIComponent.rotationX/rotationY, you will get the Transform object
without any problem.
--- In flexcoders@yahoogroups.com, gwangdesign gwangdes...@... wrote:
Hi,
This is a Flex project
);
homeBx.transform.perspectiveProjection = pp;
}
]]
/Script
Canvas id=homeBx x=400 y=300 z=0 clipContent=false/
/Application
--- In flexcoders@yahoogroups.com, gwangdesign gwangdes...@... wrote
Hi,
Excuse me in advance if there is a better place for this post.
Couldn't find a group for AIR questions.
So can you script for a window that is using HTML/HTMLLoader control
that loads the HTML content? Like is there a way to detect mouse hover
a hyperlink that's being rendered inside the
I am going through my hello world?! project on Adobe AIR. I am using
the HTML component to load some sites into it which works pretty well
for most sites. I notice one thing though is that I don't seem to see
Flash Player on the pages where there should be one, such as
nytimes.com and youtube.com.
because the container is already a flash app?
As i understand it the html component in air is not a complete browser
replacement its there (using a nice html engine) to help with normal
html
content not full pluggin / flash functionality...
On Fri, Dec 19, 2008 at 12:43 AM, gwangdesign gwangdes
what...
Check and let us know ;-)
--- In flexcoders@yahoogroups.com, gwangdesign gwangdesign@ wrote:
I was trying to set z property for a Button and expected to see it
either get bigger or smaller. But despite my expectation, nothing
seemed to happen (nor did the compiler complain
Hi fotis,
You can see what z mean very clearly in the docs example (look for
property z)in which two ellipses are moving on screen because of
their z properties changing.
best,
geng
--- In flexcoders@yahoogroups.com, gwangdesign [EMAIL PROTECTED] wrote:
It's even better now. You can check
Hi fotis,
In the docs example for property z two ellipses are moving on screen
because of their z properties changing.
best,
geng
--- In flexcoders@yahoogroups.com, gwangdesign [EMAIL PROTECTED] wrote:
It's even better now. You can check out them here:
http://livedocs.adobe.com/flex/gumbo
I was trying to set z property for a Button and expected to see it
either get bigger or smaller. But despite my expectation, nothing
seemed to happen (nor did the compiler complain)...
So is this 3D thing only working with rotationX/Y/Z for UIComponent as
someone mentioned a while ago?
I was
I think I found the answer myself:) Here:
http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/display/DisplayObject.html
--- In flexcoders@yahoogroups.com, gwangdesign [EMAIL PROTECTED] wrote:
I was trying to set z property for a Button and expected to see it
either get bigger or smaller
So now I see that mx.core.UIComponent has a property z and I am
curious if this is something that relates to 3D. I was trying to set
this z for the same Button in Flex but it doesn't make any difference
at FP 10.
Also anyone can give and hints as to how to use z (if possible) in
effect (I was
I did this little exercise to shrink a UIComponent from center. The
component is scaled down when a button is clicked and scaled back to
its original size when the mouse is released. It seems working fine
except that the component shifts a little bit to top-left with each click.
I cannot figure
McDonald [EMAIL PROTECTED] wrote:
Without looking at your code, it's probably just a rounding
error, IEEE
floats aren't very nice. I'd keep the original top/left value put
aside for
when you return it to full size.
-Josh
On Wed, Oct 15, 2008 at 8:46 AM, gwangdesign [EMAIL PROTECTED
Mr. Ely's code was based on FB2... I guess he has been super busy!
I really want to get a book from him when I saw the subject of your
post! Something like Custom Component in Flex Builder 4.
From: Uday M. Shankar [EMAIL PROTECTED]
Sent: Monday,
event, but I am not coding a
custom component just MXML...
--- In flexcoders@yahoogroups.com, Amy [EMAIL PROTECTED] wrote:
--- In flexcoders@yahoogroups.com, gwangdesign gwangdesign@
wrote:
I am loading 50-ish something images using an Image control wrapped
in
a repeater wrapped
():void
{
rp.addEventListener(FlexEvent.REPEAT_END,
function(event:FlexEvent):void
{
img.addEventListener(Event.COMPLETE, onImgComplete);
});
}
This way no complaint from compiler.
--- In flexcoders@yahoogroups.com, gwangdesign [EMAIL PROTECTED] wrote:
Hi guys,
Thanks for the replies
I am loading 50-ish something images using an Image control wrapped in
a repeater wrapped in a VBox component. I want to do some stuff once I
know the full dimensions of the VBox, which is when all the images
have been loaded.
Here is the code snippet:
mx:VBox id=imgBx
mx:Repeater id=rp
, gwangdesign [EMAIL PROTECTED] wrote:
I just read the documentation for Flex, The Event Flow:
Flash Player or AIR dispatches event objects whenever an event
occurs. If the event target is not on the display list, Flash Player
or AIR dispatches the event object directly to the event target
dragging at that point too, since not doing that can
make the drag operation continue after the release the mouse (if they
move the mouse off your app and the release).
Doug
On Tue, Sep 23, 2008 at 12:30 PM, gwangdesign [EMAIL PROTECTED]
wrote:
Sorry if this question should be better
AM, gwangdesign [EMAIL PROTECTED] wrote:
Hi Josh,
I am curious of your experience when you messed with drag and drop.
Have you ever thought about the DragManager in Flex? What would be the
reason of not using it in the scenario of something like BumpTop
(physics drag without drop
Hi,
I am just wondering why, in ActionScript, the subject of an event is
called a target? Is it kind of counter intuitive? In Java, it is
called source, which sounds much more understandable to me.
Thanks.
different
values depending on what happened ...
On Sep 24, 2008, at 11:14 PM, Chuck Preston Jr. wrote:
For the same reason tree structures are upside down, with their
roots at the top. ActionScript
is from the Bizzaro world.
--- In flexcoders@yahoogroups.com, gwangdesign
Sorry if this question should be better showing up at the
flexcomponent group. I didn't have any luck there so far;)
Suppose I am motivated enough to roll up my sleeves to do something
like what McCune is doing here at tileUI.com:
http://www.youtube.com/watch?v=T0N7tgF7OOM
Just for the drag
Sorry if this question should be better showing up at the
flexcomponent group. I didn't have any luck there so far;)
Suppose I am motivated enough to roll up my sleeves to do something
like what McCune is doing here at tileUI.com:
http://www.youtube.com/watch?v=T0N7tgF7OOM
Just for the drag
, gwangdesign [EMAIL PROTECTED] wrote:
Sorry if this question should be better showing up at the
flexcomponent group. I didn't have any luck there so far;)
Suppose I am motivated enough to roll up my sleeves to do something
like what McCune is doing here at tileUI.com:
http
but keep the names distinct. You
wouldn't
build this:
animals
cat/
cat/
/animals
var cats : XMLList = rootNode..cat;
and expect to get something in the cats variable if the cat
nodes were
renamed to dog nodes would you?
-Josh
On Mon, Sep 15, 2008 at 10:02 AM, gwangdesign [EMAIL
at first it seems kinda annoying to have to
define a bunch QName constants, but when Youtube decide to change their
namespaces, or the name of a node, or something like that, you'll be
glad
you did.
-Josh
On Mon, Sep 15, 2008 at 4:50 AM, gwangdesign [EMAIL PROTECTED] wrote:
Hi,
I am
setuju dengan bung Agung... kadang kadang tender di pemerintahan nggak sampe
ngecheck sampe detil apakah orang nya ada atau nggak, cuman setor KTP,
sertifikat dan CV udah cukup memenuhi persyaratan tender.
2008/9/13 Agung Darmawan [EMAIL PROTECTED]
ah paling ini cuma akal2an aja buat dokumen
Hi,
I am trying to use tooltip to show x/y/width/height for some of the
UIComponents in my app. But it shows 0 for all these values, while a
similar function call for the click event works fine. Can anyone explain
the reason behind this?
Here is the code snippet:
!--ActionScript--
[Bindable]
[mailto:[EMAIL PROTECTED]
On Behalf Of gwangdesign
Sent: Friday, August 29, 2008 10:20 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] dynamic tooltip via function call returns 0
for x/y/width/height
Hi,
I am trying to use tooltip to show x/y/width/height for some
72 matches
Mail list logo