Re: [flexcoders] Date handling...

2007-11-25 Thread EECOLOR
Maybe it is because you pass in Date() instead of new Date() Greetz Erik On 11/25/07, aceoohay [EMAIL PROTECTED] wrote: I am using AS3 and Flexbuilder 2. I have a label field lblLoginTime that I populate using; lblLoginTime.text = dateTimeFormat.format(Date()); mx:DateFormatter

[flexcoders] Multiple Bubble Chart itemRenderer

2007-11-25 Thread Steve Waugh
Hello All!!! I am creating a bubble chart with custom renderer. The render item is basically a button in a canvas. Depending on the bubbles' value the buttons get their color. This part works fine. I have another custom itemRenderer which I want to assign to the bubbleSeries if

Re: [flexcoders] Re: Databinding and modellocator

2007-11-25 Thread Ralf Bokelberg
Your posting has ModelLocator in the subject. If you had an additional level between the user object and the binding (like the ModelLocator of Cairngorm), it would work as well. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical

[flexcoders] Re: Date handling...

2007-11-25 Thread aceoohay
That of course is the answer. Thanks for the help. Paul --- In flexcoders@yahoogroups.com, EECOLOR [EMAIL PROTECTED] wrote: Maybe it is because you pass in Date() instead of new Date() Greetz Erik

RE: [flexcoders] ComboBox and DataGrid - set data() call causes next ComboBox to collapse...

2007-11-25 Thread Tracy Spratt
I've experimented some with this and found that editable=true on a ComboBox renderer can cause some very unexpected behavior. I have had most success by ensuring that my renderers handle the dataprovider item updates themselves. ComboBox and item renderers are complex enough without adding the

RE: [flexcoders] Re: HttpService not called the first time

2007-11-25 Thread Tracy Spratt
Defeat deferred instantiation judiciously, if at all. It is an easy fix, but has consequences. Better practice is to use binding or your own event system to reference data at the right time. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL

Re: [flexcoders] loading an image via actionscript

2007-11-25 Thread Sheriff
cause I am trying to learn flex and im just trying to use everything. I would use the image if i was doing a project but i am not. just learning to pass time. - Original Message From: Douglas Knudsen [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Saturday, November 24, 2007

[flexcoders] Color swatches in Design view

2007-11-25 Thread Amy
Is there a way to switch from the gradient style color picher that is the default in Design mode to something that gives you swatches in the way that every other Adobe product gives you? Thanks; Amy

Re: [flexcoders] ComboBox and DataGrid - set data() call causes next ComboBox to collapse...

2007-11-25 Thread George
When set editable=true for a ComboBox renderer, I will listen CB 'close' event and force an itemEditEnd by moving focus to a ModelLocator component(.setFocus()) in next frame(callLater function required). It can be used in some cases without trouble. George Tracy Spratt wrote: I’ve

[flexcoders] htmlText resets formatting... why?

2007-11-25 Thread bithroop
I'm having an issue that maybe someone has run into before. I've made a simple rich text editor which edits a model that has an htmlText property as a string. The model is bound to a textArea and the editor which sets the properties of a textRange derived from the selection on the textArea. The

[flexcoders] issue dragging from a List to a Tree control

2007-11-25 Thread Robert Munn
I am having a hell of a time trying to figure out how to get a Tree control in a particular application to accept a drop from a List control. The dragDrop event never fires when I try to drop an item from the List onto the Tree. Other events, such as dragOver and dragEnter, fire ok, but dragDrop

[flexcoders] flexTasks and asdoc

2007-11-25 Thread florian.salihovic
I'm just switched to ANT for building my flex projects and documentation but it seems like there are some things not working properly. When i run the html-wrapper, i don't get fullscreen default application container is usually get when compiling flex projects. Also when invoking asdoc via

[flexcoders] Re: issue dragging from a List to a Tree control

2007-11-25 Thread Robert Munn
my bad, i just realized i had dropenabled set to true on my tree and that was preventing the drop... On Nov 23, 2007 5:59 PM, Robert Munn [EMAIL PROTECTED] wrote: I am having a hell of a time trying to figure out how to get a Tree control in a particular application to accept a drop from a List

[flexcoders] List : itemEditEnd defaultListEffect

2007-11-25 Thread joshuajnoble
With Flex 3b2 : mx:List xmlns:mx=http://www.adobe.com/2006/mxml; width=400 height=300 itemEditEnd=copyData(event) dataChangeEffect={baseEffect} mx:Script ![CDATA[ import mx.events.ListEvent;

[flexcoders] communication between mxml applications in diffrent windows

2007-11-25 Thread ramakanaveen
Hi , I have a WINDOW with MenuBar, when user clicks on the menu item, pops up another mxml application in new window (browser) , by calling the method ExternalInterface.call(openWindow,o) Is there any possible way to create the communication between the first menu window , and popup

[flexcoders] flexTasks and asdoc

2007-11-25 Thread florian.salihovic
I just switched to ANT to build my Flex projects, but there are some things that don't seem to work properly. * The generated swf and wrapper using flexTasks seem not to be full screen (window document). Is there any way to fix this? * The asdoc tag @see does not generate hyperlinks -

[flexcoders] Flex Builder 2 web application use of flash.filesystem.filestream

2007-11-25 Thread eogreen71
Does anyone know how to get a Flex Builder 2 web application to use (have compile and runtime access to) flash.filesystem.filestream? It works for me in Flex Builder 3 with an AIR application, but, I can't get the Flex Builder 2 non-AIR application to run correctly. I am getting: Verify: Error

[flexcoders] Detect obstructed display of a component

2007-11-25 Thread Ryan Campbell
Hey everyone, I'm using the custom IFrame component to display Google AdSense ads in my Flex app. I've got it working really well except for one issue. I need to be able to detect if any component is being displayed in front of the IFrame component. A TitleWindow pop up for example which

[flexcoders] accordion and null references

2007-11-25 Thread cfmunster
I have an accordion control that has three child elements. The third element is a set of input controls used to modify some data in an associated tree. I want to load the data elements when a user clicks on the tree, but when the scren first opens, that panel of the accordion is closed and all of

[flexcoders] accordion panel and element null references

2007-11-25 Thread Robert Munn
I have an accordion control that has three child elements. The third element is a set of input controls used to modify some data in an associated tree. I want to load the data elements when a user clicks on the tree, but when the scren first opens, that panel of the accordion is closed and all of

Re: [flexcoders] Flex Builder 2 web application use of flash.filesystem.filestream

2007-11-25 Thread Peter Hall
The flash.filesystem.* package is not supported in the browser-based Flash plugin. Peter On Nov 24, 2007 12:08 PM, eogreen71 [EMAIL PROTECTED] wrote: Does anyone know how to get a Flex Builder 2 web application to use (have compile and runtime access to) flash.filesystem.filestream?

Re: [flexcoders] Switching easing function at runtime

2007-11-25 Thread Peter Hall
easingEffect is a style and you can't bind to styles. Instead, you must use setStyle(easingEffect, newValue), whenever you want to update it. Peter On Nov 25, 2007 6:17 PM, Amy [EMAIL PROTECTED] wrote: I'm trying to build an easing explorer, so I can easily compare the different

[flexcoders] Re: Switching easing function at runtime

2007-11-25 Thread Amy
--- In flexcoders@yahoogroups.com, Peter Hall [EMAIL PROTECTED] wrote: easingEffect is a style and you can't bind to styles. Instead, you must use setStyle(easingEffect, newValue), whenever you want to update it. That is an interesting answer, but what I am looking for is how you'd populate

RE: [flexcoders] communication between mxml applications in diffrent windows

2007-11-25 Thread Alex Harui
LocalConnection or ExternalInterface via shared JS code From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ramakanaveen Sent: Sunday, November 25, 2007 1:26 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] communication between mxml

Re: [flexcoders] question about as3 and flex 2 integration

2007-11-25 Thread Gustavo Duenas
Sorry for my ignorance, but how could I do that...I'm cold on this flex-flash, I suppose this could be more easy , I mean the integration between the swf loaded and flex..How can I trigger the event from flex when the swf has the instruction or I have to be limited to set my swf just only for

Re: [flexcoders] Re: Switching easing function at runtime

2007-11-25 Thread Peter Hall
First of all, I just remembered that you actually can bind to a style. It was probably Flex 1.5 that didn't let you do that But anyway, if you have the name of a class, you can get it like this: getDefinitionByName(mx.Effects.easing. + TheEasingClass); But you would have to also reference

RE: [flexcoders] Flex for database apps; compare to .net

2007-11-25 Thread Michael Pengi
I'm pretty new to .net also, so I suppose flex data services would be about the same learning curve. FDS, would it have any advantages over taking a .net approach? I seem to recall that FDS/LCDS has two way update notification/synching services or something of that order, which I took to mean

Re: [flexcoders] accordion panel and element null references

2007-11-25 Thread Douglas Knudsen
sounds like a deferred instantiation issue, a common topic 'round here. You can look at creationPolicy='all' but do a search on these archives about its use and abuse. DK On Nov 24, 2007 6:02 PM, Robert Munn [EMAIL PROTECTED] wrote: I have an accordion control that has three child elements.

[flexcoders] Re: Switching easing function at runtime

2007-11-25 Thread Amy
--- In flexcoders@yahoogroups.com, Peter Hall [EMAIL PROTECTED] wrote: First of all, I just remembered that you actually can bind to a style. It was probably Flex 1.5 that didn't let you do that But anyway, if you have the name of a class, you can get it like this:

[flexcoders] Capture Flex screen to e-mail...

2007-11-25 Thread aceoohay
In an application that I wrote years ago in ASP classic, I had a button on every page that would allow the user to e-mail the current page to someone. It would actually capture the innerHTML, and append it to an e-mail and send it. The purpose was to capture a snapshot of the data at the time

[flexcoders] Re: htmlText resets formatting... why?

2007-11-25 Thread bithroop
So, to follow up with myself... I ended up fixing this by unhooking bidirectional binding and instead use a regular Event.CHANGE listener on the textArea. There was some wack binding that was getting fired off right around where UITextField's validateNow() method was getting called. Unhooking the

[flexcoders] Re: Capture Flex screen to e-mail...

2007-11-25 Thread bithroop
Are you wanting to capture just the Flex part? Or also the browser rendered HTML part? --- In flexcoders@yahoogroups.com, aceoohay [EMAIL PROTECTED] wrote: In an application that I wrote years ago in ASP classic, I had a button on every page that would allow the user to e-mail the current

[flexcoders] Re: Multiple Bubble Chart itemRenderer

2007-11-25 Thread Steve Waugh
Hello All!!! I am creating a bubble chart with custom renderer. The render item is basically a button in a canvas. Depending on the bubbles' value the buttons get their color. This part works fine. I have another custom itemRenderer which I want to assign to the bubbleSeries if a

[flexcoders] Multiple Bubble Chart itemRenderer

2007-11-25 Thread hworke
Hello All!!! I am creating a bubble chart with custom renderer. The render item is basically a button in a canvas. Depending on the bubbles' value the buttons get their color. This part works fine. I have another custom itemRenderer which I want to assign to the bubbleSeries if a

[flexcoders] Helpers - Global function

2007-11-25 Thread Rafael Faria
There is any way to create helpers? like... functions that will be seen on any component or class? how and where i declare this kind of function to be shown outside the scope i'm declaring?!

RE: [flexcoders] ScrollEvent.SCROLL -- what comes after?

2007-11-25 Thread Alex Harui
The flag gets cleared later. I filed a player issue for this. localToGlobal is not correct when we ask the player to scroll the contents. You may simply have to add the x,y to the vertical/horizontalScrollPosiition (and offset by viewMetrics if necessary) as a workaround for now. -Alex

[flexcoders] Index of item in list

2007-11-25 Thread learner
I am using a list control and trying to give a alternate styles to it. (not just alternate colors). Hence I want to know the index at which the current Item is going.. Is there any way to know the instance of item renderer it's currentIndex in List? Something like this : mx:List itemRenderer