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 deter
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 an
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 places
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, jo
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
ot;Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> What 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:[EMA
n subclass a DG
> so it will, but if you know in production mode you'll be working with
> server objects, they are more likely to provide more information
>
>
>
>
>
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED
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
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.
airframework/airfra
My FlexDateUtils library has a class in it to check for DST
http://code.google.com/p/flexdateutils/
--- In flexcoders@yahoogroups.com, Dennis Falling 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 flex?
> Than
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 chec
but 4 out
of 5 does not make sense, especially when the data *is* there in ColdFusion.
Any ideas?
--- In flexcoders@yahoogroups.com, "lampei" wrote:
>
> Anyone have any idea why my typed objects are coming back as ObjectProxy ?
>
> For one project I have set up, my ob
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 wrote:
>
>
> Hey guys,
>
> Figured it out. On Flex side:
>
> var public minList:Ministry
> minList = event.result as Ministr
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
Anyone have any suggestions? Seems like something everyone uses at some point,
so I figured someone would know...
--- In flexcoders@yahoogroups.com, "lampei" wrote:
>
> The problem:
> I currently have a model that has properties bound to my view (a datagrid
> populated f
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
s.com, Manish Jethani wrote:
>
> On Fri, May 22, 2009 at 5:47 AM, lampei 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 peop
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.
Becaus
{
> var menu:Menu = super.getMenuAt( index );
> menu.styleName = "myMenuItemRendererStyleName";
> menu.itemRenderer = new ClassFactory( MyMenuItemRenderer
> );
>
> return menu;
>}
> }
>
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: "
ders@yahoogroups.com, "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 ArrayCollecti
Change event.
> --- In flexcoders@yahoogroups.com, "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/h
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
wrote:
>
>
http://weblogs.macromedia.com/auhlmann/archives/2007/02/creating_a_popu.html#more
>
> This should give you some directions...
>
> Claudiu
>
>
>
>
>
> From: lampei
> To: flexcoders@yahoogroups.com
> Sent: Saturday, January
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
.
--- In flexcoders@yahoogroups.com, "lampei" 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 ca
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, o
le:/location of file, 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" wrote:
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" wrote:
>
> OK, I've got an update that may help someone troubles
x27;file:/' +
url ); ) 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, "l
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,
31 matches
Mail list logo