I'm trying to create a custom itemrenderer for the sub menus of an
itemrenderer, but am running into some issues...the main one being that I
cannot seem to access the sub menus to create them.
The docs state:
You can define an item renderer for the pop-up submenus of the MenuBar control.
);
menu.styleName = myMenuItemRendererStyleName;
menu.itemRenderer = new ClassFactory( MyMenuItemRenderer
);
return menu;
}
}
}
-TH
--- In flexcoders@yahoogroups.com, lampei lampei@ wrote:
I'm trying to create a custom itemrenderer for the sub
, Manish Jethani manish.jeth...@... wrote:
On Fri, May 22, 2009 at 5:47 AM, lampei lam...@... wrote:
Until recently, I did not know that you could reset the combobox back to
the prompt value by ctrl-clicking the value in the combobox dropdown.
�However, as most people don't know
Until recently, I did not know that you could reset the combobox back to the
prompt value by ctrl-clicking the value in the combobox dropdown. However,
as most people don't know that this is a possiblity with the combobox, I'm
trying to mimic this functionality by setting the selectedIndex to
Anyone have any suggestions? Seems like something everyone uses at some point,
so I figured someone would know...
--- In flexcoders@yahoogroups.com, lampei lam...@... wrote:
The problem:
I currently have a model that has properties bound to my view (a datagrid
populated from
The problem:
I currently have a model that has properties bound to my view (a datagrid
populated from an arraycollection, call it myModel.acUsers). The
arraycollection is populated from a remote object call. However, if I set
listeners on that ArrayCollection, once the remote call returns the
Are you using CF8? That's the only means (other than using Live Cycle or Live
Cycle Express) to get the __type__ method to work.
--- In flexcoders@yahoogroups.com, hoz h...@... wrote:
Hey guys,
Figured it out. On Flex side:
var public minList:Ministry
minList = event.result as
Anyone have any idea why my typed objects are coming back as ObjectProxy ?
For one project I have set up, my objects were being returned correctly. I
then called the same service from another project and it comes back as
ObjectProxy. I have my aliases set up correctly in CF and in Flex, I
sense, especially when the data *is* there in ColdFusion.
Any ideas?
--- In flexcoders@yahoogroups.com, lampei lam...@... wrote:
Anyone have any idea why my typed objects are coming back as ObjectProxy ?
For one project I have set up, my objects were being returned correctly. I
then called
My FlexDateUtils library has a class in it to check for DST
http://code.google.com/p/flexdateutils/
--- In flexcoders@yahoogroups.com, Dennis Falling dfall...@... wrote:
I'm trying to print the time zone for a date, and need to know the daylight
savings time. Is there a way to get this in
I'm trying to setup the Flex SDK locally (the bugquash event over the weekend
inspired me) and have got everything installed except I'm getting 2 errors
after I import all of the sample projects:
1012: The static attribute may be used only on definitions inside a class.
Yeah, I always get annoyed when I'm searching for an answer an then
it's just never mind...figured it out. The answer may make you look
foolish (if it's something simple), but someone else will probably be
grateful for having a quick solution to their problem.
--- In flexcoders@yahoogroups.com,
I wrote an AIR application on my PC that will take images that are
dragged 'n' dropped into it, resize them, then upload those images to
a server. On my PC, everything worked great so I exported a release
build and set it up as a .air application and installed it on my
wife's Mac Mini. However,
, I've tried
moving the file to the desktop, but neither worked. I read about
using the security policies (as that may be causing an issue), but I'm
not sure exactly how to get started with that. Any ideas?
--- In flexcoders@yahoogroups.com, lampei lam...@... wrote:
I wrote an AIR application on my
And pointing directly to a URL (http://...) works correctly also, so
it's definitely something weird with the file location, but I'm not
sure what.
--- In flexcoders@yahoogroups.com, lampei lam...@... wrote:
OK, I've got an update that may help someone troubleshoot what's going
on here. I
); ) it works correctly. I'm using the image.source for loading
the image ( image.source = url in this example ), but that does not
appear to be correct on a mac. Don't know if this is a bug or a
'user-error' :)
--- In flexcoders@yahoogroups.com, lampei lam...@... wrote:
And pointing directly to a URL
I'm not sure what happened, but ever since I installed (I think
anyway) the update for Flex Builder to 3.0.2, in my compiler
arguments, I get -locale ja_JP added instead of en_US Anyone know
where I can set this to something else (it keeps throwing an error
when I initially load the project until
@yahoogroups.com, lampei lam...@... wrote:
I'm not sure what happened, but ever since I installed (I think
anyway) the update for Flex Builder to 3.0.2, in my compiler
arguments, I get -locale ja_JP added instead of en_US Anyone know
where I can set this to something else (it keeps throwing
://weblogs.macromedia.com/auhlmann/archives/2007/02/creating_a_popu.html#more
This should give you some directions...
Claudiu
From: lampei lam...@...
To: flexcoders@yahoogroups.com
Sent: Saturday, January 10, 2009 1:34:25 AM
Subject: [flexcoders] Cairngorm
I have begun tinkering around with various frameworks and thought I
would start with Cairngorm. I am refactoring a small application to
use Cairngorm, but ran into a snag. All of the examples I found just
bound an item in the view to a property of the ModelLocator, and thus
automagically updated
I am trying to update the dataProvider of a MenuBar without resetting
the menuBar dataprovider to the original array.
e.g.
private var menuData:Array = [];
private function init():void {
menuData.push( { label: test1, type: normal } );
menuData.push( { label: test2, type: normal
, Fotis Chatzinikos
[EMAIL PROTECTED] wrote:
Did you try with a bindable ArrayCollection? This usually dispatches the
correct events for UI components to update automatically.
[Bindable]
var myData:ArrayCollection = new ArrayCollection() ;
On Sat, Nov 29, 2008 at 8:19 PM, lampei [EMAIL
@yahoogroups.com, lampei lampei@ wrote:
Cool! That worked. I'm wondering what event is fired for the
ArrayCollection that made it work...CollectionChange maybe? It'd be
nice to know what would work/how to get it to work for the array
too, but at least it works for the ArrayCollection
mode you'll be working with
server objects, they are more likely to provide more information
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of lampei
Sent: Friday, July 25, 2008 2:15 PM
To: flexcoders@yahoogroups.com
Subject
I am trying to keep track of changes to an ArrayCollection. I have so
far got all of the CollectionEventKind working except for UPDATE. It
actually does add that a change was made for UPDATE, however, it
doesn't actually save what the change was that was made.
e.g. CollectionChange fires, and I
is the property that is changing? I think you may need to have
your own code generate the proper change event.
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of lampei
Sent: Friday, July 25, 2008 7:02 AM
To: flexcoders
I guess you could use the PopUpManager class to create your own alert
style box. You could then mimic all of the Alert functionality, but
have your own Alert box that could do whatever you want to with it.
You could even add an OK/Yes button if you wanted :)
--- In flexcoders@yahoogroups.com,
You could always use the NumberFormatter class and use the precision
property:
var numberFormatter:NumberFormatter = new NumberFormatter;
numberFormatter.precision = 2;
var myNum:Number = Number( numberFormatter.format( myOldNum ) );
This will give you the old number formatted to 2 decimal
Is the error in the actual loading of the data on the client side or
in waiting for the return from your server? Could you post some of
your code?
--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote:
On the Application object, you can set scriptTimeLimit. The maximum
My company currently has CFMX7 and we have our objects aliased in
ActionScript and ColdFusion. I had recently been trying to return the
objects back to ActionScript using the __type__ method, but did not
realize that this was a CF8 feature at first.
I have incorporated this method into our VOs
I don't think there's an actual event that will do it, but you could
write your own. Something like:
When the mousedown event fires, set a variable with a date.
When the user clicks again make sure a minimum amount of time has passed
(and also make sure it's less than a certain max time you
31 matches
Mail list logo