> 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
--- In flexcoders@yahoogroups.com, "valdhor" 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 for the l
> 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:Tex
> 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
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 G
ll
>
> or you can
>
> public function set dataProviderr(v:*):void
>
> This way you can pass anything you like.
>
> Both solutions are ugly, IMHO, but is the way flex works.
>
> HTH,
>
> PS
>
> On Thu, May 28, 2009 at 6:58 PM, gwangdesign wrote:
&g
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 dataProviderr(v:O
al with scrollbar scaling. And set the child Canvas
> background to transparent.
>
> Charles P.
>
>
> On Thu, May 7, 2009 at 4:54 PM, gwangdesign wrote:
>
> >
> >
> > Hi,
> >
> > I am trying to get the scrollbar for a container (can be eit
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" wrote:
>
> Hi,
>
> I am trying to get the scrollbar for a container (can be eith
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
ch 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 wrote:
>
> >
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.
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" wrote:
>
> Hi,
>
> I am trying to use data effect for a list control, whe
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.
g 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_Parts&file=metadata_141_07.ht
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
d-color: "#00";
> border-style: none;
>
> -TH
>
> --- In flexcoders@yahoogroups.com, "gwangdesign"
> wrote:
> >
> > Hi,
> >
> > I am having a problem with using CSS to assign "backgroundImage" for
> my component which
image (bigger
than for the rows on the top/bottom and wider for the rows in between.)
Thanks.
I guess I can "fix" it by making the
--- In flexcoders@yahoogroups.com, "gwangdesign" wrote:
>
> Hi,
>
> I am having a problem with using CSS to assign "backgroun
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 whi
>
> 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@yaho
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 t
cal reasons related to ease-of-use consideration, the "width"
> property does 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...@
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;
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
"selectedI
> Blog: http://blogs.adobe.com/aharui
>
> From: flexcoders@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
;
> Lariat Services, development services available
>
> _
>
> From: flexcoders@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
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"...
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 expand/
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
con
Blog: http://blogs.adobe.com/aharui
>
> 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 TitleWind
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. Whi
I got around it by using the data property of itemrenderer, instead of
getCurrentItem()...
--- In flexcoders@yahoogroups.com, "gwangdesign" wrote:
>
> Hi,
>
> Basically I am feeding dataProvider for 2 set of controls: one is on
> my main app and one is the item rendere
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 fi
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 pro
groups.com]
On Behalf 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
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" wrote:
>
> Hi,
>
> I am trying to define the
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:
[Style(name="backdropSkin
tiveProjection();
pp.projectionCenter = new Point(x, y);
homeBx.transform.perspectiveProjection = pp;
}
]]>
--- In flexcoders@yahoogroups.com, "gwangdesign" wrote:
>
> Just a follo
rence."
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" wrote:
>
>
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 s
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 HTML
se 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
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
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
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:
>
&g
the object on the 2d
> screen...ie which object hides what...
>
> Check and let us know ;-)
> --- In flexcoders@yahoogroups.com, "gwangdesign" wrote:
> >
> > I was trying to set z property for a Button and expected to see it
> > either get bigger or smaller.
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
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 usin
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 tr
or
> > when you return it to full size.
> >
> > -Josh
> >
> > On Wed, Oct 15, 2008 at 8:46 AM, gwangdesign <[EMAIL PROTECTED]>wrote:
> >
> >> I did this little exercise to shrink a UIComponent from center. The
> >> component is scaled do
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 ou
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
lete" event:
private function init():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
ife-cycle to register the complete event, but I am not coding a
custom component just MXML...
--- In flexcoders@yahoogroups.com, "Amy" <[EMAIL PROTECTED]> wrote:
>
> --- In flexcoders@yahoogroups.com, "gwangdesign"
> wrote:
> >
> > I am loading 50-ish some
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:
/**AS3*/
private funct
ed.
>
> I agree source might be a better name, but I think the UI aspect of
it kind of held.
>
> Matt
>
>
> On 9/24/08 3:04 PM, "gwangdesign" <[EMAIL PROTECTED]> wrote:
>
>
>
>
> I just read the documentation for Flex, "The Event Flow&q
e structures are upside down, with their
> > roots at the top. ActionScript
> > is from the Bizzaro world.
> >
> > --- In flexcoders@yahoogroups.com, "gwangdesign"
> > wrote:
> > >
> > > Hi,
> > >
> > >
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.
> with the DragManager.
>
> Mike
>
> On Wed, Sep 24, 2008 at 11:49 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 th
ser drags quickly off the component,
> > or you might get stuck in endless dragging if the mouse is released
> > while not over the component.
> >
> > You should also probably have a listener for when the mouse leaves the
> > stage and stop dragging at that point too, sin
ter 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 showing up at the
> > flexcomponent group. I didn
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 part
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 part
> less characters in your XML file but keep the names distinct. You
wouldn't
> build this:
>
>
>
>
>
>
> var cats : XMLList = rootNode..cat;
>
> and expect to get something in the cats variable if the
nodes were
> renamed to nodes would you
ootNs;
>
> //... Do your e4x stuff here...
>
> I'd say use QNames. I know 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
&
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
date again
>
> From: flexcoders@yahoogroups.com [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,
>
>
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:
[Bindable]
private function ge
72 matches
Mail list logo