RE: [flexcoders] How can I avoid jumping / flickering when changing the dataprovider in a list box?

2007-11-27 Thread Alex Harui
are you using custom renderers? If so, do you see flickering with default renderers? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Anzer Sent: Monday, November 26, 2007 10:06 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] How

[flexcoders] Re: Datagrid tab order?

2007-11-27 Thread Stephen Roy J. Tang
We had trouble before with having both an item renderer and an item editor for a column (which we need to have that checkbox column), so instead what I tried was simply having only itemrenderers for the controls (and updating the data on change of the itemrenderer controls) This seems to fix the

[flexcoders] Flex transition won't affect a component with children .

2007-11-27 Thread mydarkspoon
Hello all, I had a problem with transitions which I isolated into a very simple case: I have a VBox with a text label and a button. When user clicks the button, the current state changes into a new state in which new component is added to my VBox which I expect to grow smoothly. This new component

[flexcoders] PopupManager - any way to make it blur the app but not the mask?

2007-11-27 Thread bjorn -
I've got a two canvases which I use with the PopupManager this way: PopUpManager.addPopUp(canvas1,canvas2, true); The PopupManager will blur the entire application including it's mask - but I'd like to keep the mask as it is (not blurred, and with the popup masked by it as well). Is this

Re: [flexcoders] Re: Event result not making sense

2007-11-27 Thread Andriy Panas
Hi all, Today I was stumbled upon the same situation, it is true that event handler for focusOut event is triggered twice for mx:TextInput component. Checked event.target property and it is equal to the internal textfield of mx:TextInput component of UITextField type both times, so this property

Re: [flexcoders] Re: Managing States and Cairngorm

2007-11-27 Thread Tom Chiverton
On Thursday 22 Nov 2007, Sebastian Zarzycki wrote: Can you explain why use viewstacks for application and flex states for components? States are confusing when lots of items change betwen states i.e. login form to full application. -- Tom Chiverton Helping to enthusiastically incubate

Re: [flexcoders] Extending RichTextEditor

2007-11-27 Thread Tom Chiverton
On Thursday 22 Nov 2007, Giles Roadnight wrote: It seems ridiculous that Adobe provide such a poor implentation of this very useful tool. It's also odd that no one has provided a good alternative yet. I think their waiting for BuzzWord to do a 1.0 release :-) -- Tom Chiverton Helping to

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

2007-11-27 Thread Tom Chiverton
On Monday 26 Nov 2007, Amy wrote: As I said in my first post, I tried that and it didn't work, so clearly there is some aspect I am missing. Is it possible to give a more complete code snippet that might help fill in the gap? Just have a big switch statement that maps selectedIndex to a

Re: [flexcoders] non-Flex updates not working with Flex (SVN PHPEclipse etc)

2007-11-27 Thread Tom Chiverton
On Monday 26 Nov 2007, djhatrick wrote: Eclipse Modeling Framework (EMF) - org.eclipse.emf.converter (2.3.0.v200706262000) requires plug-in org.eclipse.jdt.core. Install that plugin then. If you are using Flex Builder 3 betas, you'll have to select it by hand. There are more detailed

[flexcoders] Flex Builder 3 Gotcha

2007-11-27 Thread Tim Ashworth
Hi all, I'm sure that people are aware of this, but it's done my head in for the last few days. Basically I've been working on two machines, my office machine and my laptop developing the same app. What has been happening is that as I copy files back and forth Flex Builder loses code hints and

[flexcoders] (unknown)

2007-11-27 Thread Almog K
Transition won't affect a component with children...:| Hello all, I had a problem with transitions which I isolated into a very simple case: I have a VBox with a text label and a button. When user clicks the button, the current state changes into a new state in which new component is added to

[flexcoders] Transition when reverting to the base state

2007-11-27 Thread triggersoftware
I know how to get a component removal transition to work when I'm actively calling mx:RemoveChild, but I'm not sure how to get a removal transition to work when components are removed by Flex to undo the calls to mx:AddChild which moved us into the current state in the first place. Okay, that

[flexcoders] string to date, no support for european dates ?

2007-11-27 Thread johantrax
Hi, I'm writing a custom DateValidator (subclassing it in AS) which adds 2 properties to the existing one: minDate:Date and maxDate:Date What I'd like to do is compare the dates to see if the inputted date is within the correct range. However, I can't tell which inputFormat f.e. a DateField will

[flexcoders] Re: Transition when reverting to the base state

2007-11-27 Thread triggersoftware
After a bit more playing, I can see that both effects are definitely getting run, it's just that I can't see the A - Base transition because Flex has already removed the components. Still stuck though! --- In flexcoders@yahoogroups.com, triggersoftware [EMAIL PROTECTED] wrote: I know how to

[flexcoders] Re: Transition when reverting to the base state

2007-11-27 Thread triggersoftware
I've worked it out. You can specify when the component removal happens by using a mx:RemoveChildAction tag: mx:Style @font-face { src: local(Arial); fontFamily: myArial; }

[flexcoders] *****************************************************Group Box in Flex*********************************************************************

2007-11-27 Thread yourName
can any one tell me how to create vb style group box in flex application thanks in advance

Re: [flexcoders] Flex Builder 3 Gotcha

2007-11-27 Thread Tom Chiverton
On Tuesday 27 Nov 2007, Tim Ashworth wrote: that EVEN IF FLEX BUILDER IS CLOSED if you overwrite a file that was open Does doing a refresh of the project not work, or even turning on the 'refresh automatically' preference ? -- Tom Chiverton Helping to synergistically integrate B2C solutions

Re: [flexcoders] string to date, no support for european dates ?

2007-11-27 Thread Tom Chiverton
On Tuesday 27 Nov 2007, johantrax wrote: is within the correct range. However, I can't tell which inputFormat f.e. a DateField will have, since it is configurable through it's formatString-property. Why are you manipulating the String of a DateField, and not the Date ? -- Tom Chiverton

[flexcoders] Re: string to date, no support for european dates ?

2007-11-27 Thread Angela
Hi, I use DateField.selectedDate.valueOf() to get the epoch time and use that for all my date comparisons. Hope that helps, cheers, Angela --- In flexcoders@yahoogroups.com, johantrax [EMAIL PROTECTED] wrote: I'm writing a custom DateValidator (subclassing it in AS) which adds 2 properties

[flexcoders] interesting error:one event listerner can receive different event?

2007-11-27 Thread qzhung
I built an app used SpringGraph, Yahoo! answer API and Cairngorm, display questions and answers (data from Yahoo! answer) like a tree, Cairngorm made the code clearly and easily to debug. Demo and source: http://www.moorwind.com/read.php?67 During developing this app I found an interesting

[flexcoders] Reference to the content area of a Panel component

2007-11-27 Thread Mark Lapasa
Hello all, I am trying to get access the content area of a panel as I would like to skin it relative to the panel's content area. I am referring to that box of white space underneath the title bar. From the docs it says: A Panel ../langref/mx/containers/Panel.html layout container includes

[flexcoders] nested repeater from XML data

2007-11-27 Thread ronny_koesnadi
Hi I am new to flex 2 and need help with a bit of nested repeater problem. I have an external xml data named data.xml as follow: ?xml version=1.0 encoding=UTF-8? products product productnop1/productno article articlenoa1/articleno /article article

[flexcoders] QAguild - Portal for QA and Testing professionals and corporate

2007-11-27 Thread p_shedikare
Hi, I am happy to introduce a portal called www.qaguild.com. QAguild.com is a platform to bring the global QA and Testing knowledge Together in a central place. QAguild provides an un-paralleled multi-dimensional platform for Customers, Service providers, tool and Solution providers, Testing

[flexcoders] Error? Implement web APIs using Cairngorm

2007-11-27 Thread qzhung
I built an app used SpringGraph, Yahoo! answer API and Cairngorm, display questions and answers (data from Yahoo! answer) like a tree, Cairngorm made the code clearly and easily to debug. Demo and source: http://www.moorwind.com/read.php?67 During developing this app I found an interesting

Re: [flexcoders] Re: Flex Remoting Options - Any Opinions?

2007-11-27 Thread Tom Chiverton
On Monday 26 Nov 2007, Douglas McCarroll wrote: This is obviously an important question. Going beyond one CPU takes us from free to lots of money. What will free handle? I've been My guess is that it works out cheaper to buy a faster single CPU than to upgrade the LCDS license. -- Tom

[flexcoders] Re: interesting error:one event listerner can receive different event?

2007-11-27 Thread ben.clinkinbeard
Please do not double post, if someone can help you they will answer. The reason you're seeing that behavior is because event listeners are solely based on the string that your event type evaluates to. So the following 3 lines are equivalent:

[flexcoders] Re: Flex Builder 3 Gotcha

2007-11-27 Thread dave_defusion
Thanks for the tip! I had this happen to me (about the fourth file it has happened on) once again this morning, but I long ago resolved myself the the fact that I had to live with it (at a lower productivity rate when working with that file) as I had tried most things I could think of (even

Re: [flexcoders] Flex Builder 3 Gotcha

2007-11-27 Thread Muzak
Use SVN to keep projects in synch. - Original Message - From: Tim Ashworth [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, November 27, 2007 11:38 AM Subject: [flexcoders] Flex Builder 3 Gotcha Hi all, I'm sure that people are aware of this, but it's done my head in

Re: [flexcoders] How can I avoid jumping / flickering when changing the dataprovider in a list box?

2007-11-27 Thread DreamCode
I have the same issue, only in my case there are no default renderers, just me putting X item renderers on a canvas. Ideas? suggestions? --Allan On Nov 27, 2007 12:55 AM, Alex Harui [EMAIL PROTECTED] wrote: are you using custom renderers? If so, do you see flickering with default

[flexcoders] Re: error 1006: value not a function; on effect.play()

2007-11-27 Thread Brian
Thanks for the help Jason, adding the curly braces got it working. --- In flexcoders@yahoogroups.com, Jason Szeto [EMAIL PROTECTED] wrote: Brian, Usually it is more helpful if you can post a stack trace with line numbers. mx:Glow id=qtyGlow target=qtyDisplay color=0x99FF66/

RE: [flexcoders] Flex Builder 3 Gotcha

2007-11-27 Thread Jim Hayes
Even then I've still found the loss of autocomplete/colouring to occur sometimes. I've not yet managed to work out the circumstances that cause it (for me, at least), mainly since it only happens once in a while and I can life with it. Funnily enough, for me it can happen with a file that opened

[flexcoders] Problems with a Tree and dynamic data provider

2007-11-27 Thread César P .
Hi, I'm new to Flex and to the group. I came here because I am having problems with a Tree control and a dynamic data provider. The problem is that everytime I try to expand a branch with no children the application crashes with a #1009 error. Is it the expected behaviour? I don't know how to

[flexcoders] Styles for the Title Bar of a TitleWindow or Panel

2007-11-27 Thread Charlie Skinner
I've been having great fun recently writing some programmatic skin classes to skin my Components. And I've moved onto the TitleWindow. I've written classes for the titleBackgroundSkin and also for the closeButtonSkin. Now I've been fine tuning the look and feel by adjusting the styles. Realising

Re: [flexcoders] nested repeater from XML data

2007-11-27 Thread Paul Andrews
I haven't time to redo your example - check out nested repeaters in the docs. Th ebasic problem is that your repeaters aren't tied to one another. repeater 2 should be using repeater 1 as it's source, something like: mx:Repeater id=Repeater2 dataProvider={repeater1.currentItem.article} Paul

[flexcoders] Weborb and FB3

2007-11-27 Thread Scott Melby
I am trying to get weborb for PHP working with Flex builder 3 by following the directions on this page http://www.themidnightcoders.com/weborb/php/gettingstarted.htm. Unfortunately some of the pages in the FB New Flex Project wizard have changed. When I select CodeFusion as the server

[flexcoders] Can we Pass image object instead of image file reference???

2007-11-27 Thread tarun chandra
Hi I want to pass an Image file object and use it as part of the flex Sample Photo Viewer. Is it possible in flex to pass an image file object directly instead of passing a reference to the file like (/images/test.gif)? Thank You, Tarun

Re: [flexcoders] Re: Reflection -- Accessing private fields

2007-11-27 Thread Aaron Miller
Well no, I don't think you can. But why would you need to? Classes (for the most part) are meant to be static. What is the end all result you're trying to achieve? Will the interface be dynamic as well? Perhaps you could achieve the same goal with dynamic objects and the memento pattern. This is

[flexcoders] Re: player update followed by redirect loses URL variables

2007-11-27 Thread dr_stone_1024
--- In flexcoders@yahoogroups.com, bloodylag [EMAIL PROTECTED] wrote: Hey Seth, I know this isn't a solution your looking for but is it possible for you to store those values into a session variable to use again later if the i and j aren't set in the url. Again I have nothing further to

Re: [flexcoders] Re: Flex Remoting Options - Any Opinions?

2007-11-27 Thread Aaron Miller
I have a question related to this topic as well. What has peoples experience been with open source solutions like AMFPHP for remoting, or Python for persistent socket connections? These have always been my methods of choice, and have done me no harm as of yet, but I am working on a project that

Re: [flexcoders] Re: player update followed by redirect loses URL variables

2007-11-27 Thread Tom Chiverton
On Tuesday 27 Nov 2007, dr_stone_1024 wrote: Yes, this is a good solution and I think it will be our workaround - just wondering if anyone else encountered this. Seems like it would be a common problem. We don't use URL variables because people have a habit of changing them :-) -- Tom

Re: [flexcoders] Can we Pass image object instead of image file reference???

2007-11-27 Thread Tom Chiverton
On Tuesday 27 Nov 2007, tarun chandra wrote: I want to pass an Image file object and use it as part of the flex Sample Photo Viewer. Is it possible in flex to pass an image file object directly instead of passing a reference to the file like (/images/test.gif)? You mean like private function

Re: [flexcoders] Re: Application container failed to capture KeyboardEvent

2007-11-27 Thread Brent Dearth
I know this is a long-standing issue, but are there any developments in the works to prevent this sort of behaviour? I know there are work-arounds to Flash being able to obtain focus programmatically, such as using ExternalInterface calls from Javascript to pass keyboard events. However, stuff

[flexcoders] Re:Styles for the Title Bar of a TitleWindow or Panel

2007-11-27 Thread David Spurr
I customised the TitleWindow recently, the Panel moves the title bar around (I think in the layoutChrome() method, but I'm not looking at code) so that it overlaps the border, so it doesn't matter what you set your border metrics (if that's what you're trying) to the title bar will always be

Re: [flexcoders] RegExp multiple backreferences?

2007-11-27 Thread Adnan Doric
I think you should use g (global) flag in your regexp. Adnan joshuajnoble wrote: Can any RegEx genius :) tell me whether ActionScript 3 properly supports multiple backreferences? The code I'm trying to use is this: private var headerBackreference:RegExp = /H([123]).*?\/H\1/; private

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

2007-11-27 Thread Tracy Spratt
Note that you really need only a single instance of HTTPService. You can set the url, method, etc and build the request object using AS, and can handle the result conditionally using AsyncToken. Post if you need examples. Tracy From:

RE: [flexcoders] Flex Builder 3 Gotcha

2007-11-27 Thread Tim Ashworth
Does doing a refresh of the project not work, or even turning on the 'refresh automatically' preference ? Didn't for me unfortunately... Use SVN to keep projects in synch. You're absolutely right! (Haven't set it up yet...) *own stupid fault*

[flexcoders] Flex 3 Beta 2 Expires in 4 days

2007-11-27 Thread byte.sensei
I was recently forced to upgrade from Flex 2 to Flex 3 because of a bug in Flex 2 that was fixed in Flex 3 that was affecting a couple of projects I'm working on. Flex 3 Beta 2 has been great, however it looks like it's set to expire in 4 days (not sure if that's just my machine or a fixed

[flexcoders] Re: *****************************************************Group Box in Flex******

2007-11-27 Thread Abyss Knight
Use this library: http://code.google.com/p/jwopitz-lib/ The component is called FieldSet. There's an example link on that page if you just want to check it out first. Hope that helps, -- William --- In flexcoders@yahoogroups.com, yourName [EMAIL PROTECTED] wrote: can any one tell me how to

[flexcoders] Can't debug FB 3 pieces

2007-11-27 Thread Amy
When I try to debug my Flex Builder 3 pieces, I get a message that it can't find the debug player. I have been all over the adobe site looking for the current debug player, and everything I find tells me it is not the most recent version of the player and sends me to the most recent _regular_

[flexcoders] StrikeIron Address Verification Flex

2007-11-27 Thread Kevin
Is anyone out there using Flex with StrikeIron OR using a web service that uses ENUMS? I am having a specific problem that I can't seem to resolve. I would love some insight from anyone who may have experience with Webservices. Thanks! Here is the problem code: I am trying to load the

[flexcoders] Re: player update followed by redirect loses URL variables

2007-11-27 Thread dr_stone_1024
That's a good point too, but we're trying to provide a link inside an email. --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Tuesday 27 Nov 2007, dr_stone_1024 wrote: Yes, this is a good solution and I think it will be our workaround - just wondering if

RE: [flexcoders] *****************************************************Group Box in Flex*********************************************************************

2007-11-27 Thread Tracy Spratt
If you created that subject line like that do not do it any more. Also, It has been 8 years since I last used VB for a UI. What do you want, functionally? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of yourName Sent:

[flexcoders] This has to be a bug right? If not, please explain...

2007-11-27 Thread Justin Winter
added to a creationComplete handler function: code var vBox:VBox = new VBox(); for(var i:int = 0; i 10; i++) { var tmpBtn:Button = new Button(); tmpBtn.label = BUTTON: + i; vBox.addChild(tmpBtn); } this.addChild(vBox); trace('VBOX

RE: [flexcoders] Re: Simple question about remoteObject?

2007-11-27 Thread Tracy Spratt
RemoteObject is one of the three RPC protocols that a Flex client app can use to communicate with a server. RemoteObject uses AMF, a proprietary messaging protocol, to communicate with a Java back-end. Your other RPC options are HTTPService(my personal favorite) which uses XML over HTTP, and

RE: [flexcoders] This has to be a bug right? If not, please explain...

2007-11-27 Thread Alex Harui
Flex uses an invalidation mechanism. As properties change, flags are set requesting validation of those properties at a later time. You can force validation by calling validateNow(), but it can be expensive. From: flexcoders@yahoogroups.com [mailto:[EMAIL

Re: [flexcoders] Flex 3 Beta 2 Expires in 4 days

2007-11-27 Thread Paul Andrews
- Original Message - From: byte.sensei [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, November 27, 2007 4:58 PM Subject: [flexcoders] Flex 3 Beta 2 Expires in 4 days I was recently forced to upgrade from Flex 2 to Flex 3 because of a bug in Flex 2 that was fixed in

RE: [flexcoders] Re: Application container failed to capture KeyboardEvent

2007-11-27 Thread Alex Harui
plugins are at the mercy of the browser. Maybe enough of you can pressure Mozilla and MS and others to provide better functionality for plugins. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Brent Dearth Sent: Tuesday, November 27, 2007

RE: [flexcoders] This has to be a bug right? If not, please explain...

2007-11-27 Thread Tracy Spratt
For creating multiples of the same component, consider using mx:Repeater. It handles many ugly details for you. If, for example, you wanted to remove the children you created using addChild, it would take some thought and some code, further complicated if there are static components in the

[flexcoders] Newbie compile issue rattling my brain

2007-11-27 Thread mcaplan_labnet
Hi there, I'm learning the ropes of Flex. I have a pretty much textbook example of how to set up a datagrid that is resulting in compile time syntax errors. I can't for the life of me see the error. Any ideas? Thanks! mike Severity and DescriptionPathResourceLocation

RE: [flexcoders] Problems with a Tree and dynamic data provider

2007-11-27 Thread Alex Harui
The branch expanded just fine for me in Flex 3. In the future it will help if you can simplify the test case even further and provide explicit steps to reproduce the problem Showing the entire stack trace is also helpful. From: flexcoders@yahoogroups.com

RE: [flexcoders] How can I avoid jumping / flickering when changing the dataprovider in a list box?

2007-11-27 Thread Alex Harui
We would need to see a test case. Flickering has many meanings. itemRenderers go in lists, not on canvases so I'm not sure what your scenario is. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of DreamCode Sent: Tuesday, November 27, 2007

[flexcoders] Re: This has to be a bug right? If not, please explain...

2007-11-27 Thread Justin Winter
Is there a better, more appropriate way to validate certain properties, like height, after adding children to a UIComponent or subclass of UIComponent? Coming from AS2 I find it confusing that there isn't an easy way to access the height of a container after adding children. If later during

RE: [flexcoders] Reference to the content area of a Panel component

2007-11-27 Thread Alex Harui
It is not guaranteed to be a separate object. It is drawn by the panel's borderskin and located within the coordinates of the panel minus its viewMetrics. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Lapasa Sent: Monday, November

RE: [flexcoders] PopupManager - any way to make it blur the app but not the mask?

2007-11-27 Thread Alex Harui
i'm not sure what you maen by mask From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bjorn - Sent: Tuesday, November 27, 2007 1:53 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] PopupManager - any way to make it blur the app but not

[flexcoders] Determine measuredHeight on explicitly defined height?

2007-11-27 Thread Matt
If I create a Box and set the height 100 pixels and then check the measuredHeight it is always 0. I'm trying to figure out how to determine the desired height on an explicitly defined container. Particularly, I'd like to know when the necessary height is larger than the available height (thus

RE: [flexcoders] Re: This has to be a bug right? If not, please explain...

2007-11-27 Thread Alex Harui
validateclient can validate subtrees, but can still be expensive. in general, the height is determined by the parent (suppose you requested a % height). There are calls like getExplicitOrMeasuredHeight that are commonly used to calculate layout. It might be worth reviewing the related chapters

RE: [flexcoders] Determine measuredHeight on explicitly defined height?

2007-11-27 Thread Alex Harui
Don't set height, call setActualSize instead. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt Sent: Tuesday, November 27, 2007 9:35 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Determine measuredHeight on explicitly defined

RE: [flexcoders] Re: Datagrid tab order?

2007-11-27 Thread Alex Harui
the default editing code handles offscreen rows. you can probably override focusinhandler and set editeditemposition the dg remembers the last position of the editor and restores editing there From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

[flexcoders] Re: Problems with a Tree and dynamic data provider

2007-11-27 Thread César P .
I am using Flex 2. Steps: 1. Add a Phase (P1) 2. Add another Phase P2 (P1's child) 3. Expand the Phase (P2) 4. The application crashes The tree should look like: -Project --P1 ---P2 Thanks Stack TypeError: Error #1009: Cannot access a property or method of a null object reference.

[flexcoders] Re: This has to be a bug right? If not, please explain...

2007-11-27 Thread Justin Winter
Tracy, thanks for the feedback. The above was just an example of an issue I ran into while trying to build a larger menu component. I don't have much experience with the mx:Repeater control so I will look into it more. I originally tried to build the component using MXML and nested containers,

Re: [flexcoders] Reference to the content area of a Panel component

2007-11-27 Thread Mark Lapasa
I managed to get to the panel's boarderskin via the panel's rawchildren. I guess it's now just a matter of figuring out the math. Thx Alex. Alex Harui wrote: It is not guaranteed to be a separate object. It is drawn by the panel's borderskin and located within the coordinates of the panel

RE: [flexcoders] Flex 3 Beta 2 Expires in 4 days

2007-11-27 Thread Tianzhen Lin
If you go to Help - Manage Flex Licenses, you may enter a valid Flex 2 serial number, it should extend your trial period. At least mine has more than a few days to go. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Andrews Sent: Tuesday, November 27, 2007 12:13

Re: [flexcoders] Newbie compile issue rattling my brain

2007-11-27 Thread Aaron Miller
I think you need define your list in an mx:Array (inside the source block) since this is the type of the ArrayCollection.source property. I could be wrong though, I usually don't define data in MXML. Regards, ...aaron On 11/27/07, mcaplan_labnet [EMAIL PROTECTED] wrote: Hi there, I'm

Re: [flexcoders] Re: Simple question about remoteObject?

2007-11-27 Thread Muzak
RemoteObject uses AMF, a proprietary messaging protocol, to communicate with a Java back-end. Or ColdFusion, PHP, .NET.. or whichever Remoting solution you can get your hands on. - Original Message - From: Tracy Spratt [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday,

RE: [flexcoders] Newbie compile issue rattling my brain

2007-11-27 Thread Seth Caldwell
I have an idea, but not sure. When I pasted your code, I noticed end of line characters in some of your strings. For example: mx:Object case=1006 patient=Sandy Macdaddy arrival=2007/12/05 delivery=2007/12/20 / This should be mx:Object case=1006 patient=Sandy Macdaddy arrival=2007/12/05

RE: [flexcoders] Re: Dynamically Changing Easing Function Again

2007-11-27 Thread Gordon Smith
Is there a more elegant way to tell Flex that it needs to link it in? I don't think so. If you're building a SWC, compc has an -include-classes configuration option, but if you're building a SWF, mxmlc doesn't have this option and I think you have to create a dependency in code. I haven't

[flexcoders] Re: Newbie compile issue rattling my brain

2007-11-27 Thread Justin Winter
Here you go: The lower-case c in your object was throwing an error and I put this all in an Application instead of a module. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute width=100% height=100% mx:TitleWindow width=100% height=100%

Re: [flexcoders] PopupManager - any way to make it blur the app but not the mask?

2007-11-27 Thread bjorn -
Application.application.mask = myCustomBorder; // myCustomBorder is a loaded swf. On 27/11/2007, Alex Harui [EMAIL PROTECTED] wrote: i'm not sure what you maen by mask -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *bjorn -

RE: [flexcoders] Re: This has to be a bug right? If not, please explain...

2007-11-27 Thread Samuel R. Neff
The better approach is to use bindings so the target is updated whenever the source (height) changes, regardless of why it changed. Moving from AS2 to AS3 is sometimes harder than learning AS3 from scratch--don't think about how you did things before but learn how Flex does things. In general

[flexcoders] Re: Flex 3 Beta 2 Expires in 4 days

2007-11-27 Thread byte.sensei
I tried my old Flex 2 serial number and it didn't take it the first time (said it was invalid). On a whim, I pasted it again and the second time it said it was valid and now I have 109 days left (instead of 4). Go figure... --- In flexcoders@yahoogroups.com, Tianzhen Lin [EMAIL PROTECTED]

RE: [flexcoders] Re: Newbie compile issue rattling my brain

2007-11-27 Thread Gordon Smith
Unfortunately, 'case' is a reserved word in ActionScript (like 'class', 'var', 'function', 'if', 'for', 'switch', etc.) and you can't use reserved words as names of object properties. It's worth filing a bug at http://bugs.adobe.com/flex that the compilation error message isn't sufficiently

RE: [flexcoders] Re: This has to be a bug right? If not, please explain...

2007-11-27 Thread Gordon Smith
When a UIComponent's size has been determined and its children have been arranged, it dispatches an updateComplete event. If you ask for its width and height in a handler for this event, or at any time later, they should be correct. If every addChild() caused a remeasurement and relayout of the

[flexcoders] Re: Can we Pass image object instead of image file reference???

2007-11-27 Thread tarun chandra
I was going through Adobe's Sample Photo Viewer and in that the galleries.xml file provides the source to all the image files which are stored locally. So, was wondering if instead of using the local files can I read a byte stream and add it to my photo array collection. So, I guess what I am

[flexcoders] Re: Newbie compile issue rattling my brain

2007-11-27 Thread mcaplan_labnet
Hi Gordon, Justin, and Aaron, Thanks for the tips! Trimming out the reserved words did the trick! Best, mike --- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: Unfortunately, 'case' is a reserved word in ActionScript (like 'class', 'var', 'function', 'if', 'for',

Re: [flexcoders] Re: Application container failed to capture KeyboardEvent

2007-11-27 Thread Brent Dearth
I was hoping to hear that Adobe was already pursuing this issue. It would require a bit of coordination to establish an acceptable level of security from a browser implementation standpoint, but seeing as flash content is so pervasive, shouldn't be out of the question. I think it's one of those

[flexcoders] Losing Focus in DataGrid

2007-11-27 Thread j_lentzz
Hi, I've got a dataGrid that I want to allow someone to set a value in a 'selectAll' column and that value will be passed to all the other appropriate columns on that row upon the DataGridEvent.ITEM_EDIT_END. I also have a custom keyDownHandler, to allow them to use the arrow keys to navigate in

[flexcoders] Re: Determine measuredHeight on explicitly defined height?

2007-11-27 Thread Matt
Okay, just gave that a shot and didn't give me the results I was hoping for. More simply put, I want the display to appear as it has been being 100x100 but I also want to know what the size would be if I had left the Box to do auto-sizing. I have used measuredWidth and measuredHeight before to

[flexcoders] Unhandled Security Error Crashes Browser

2007-11-27 Thread Kevin
We are having a consistent problem in our Flex - DataServices - Hibernate - MySQL testing. When we load the application from a remote service we get an Error #2044: Unhandled securityError:. text=Error #2048: Security sandbox violation: which crashes our browser and then hangs when we try

[flexcoders] Re: Flex Builder 3 Gotcha

2007-11-27 Thread David Spurr
Just a follow up on this thread, I'm using SVN here, but every so often I switch between my laptop and my main machine in the middle of a task, this is the kind of stuff I don't want to commit to the repository just to get on my main machine so I copy the handful of files across. This seems to

[flexcoders] Re: Dynamically Changing Easing Function Again

2007-11-27 Thread Amy
--- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: Is there a more elegant way to tell Flex that it needs to link it in? I don't think so. If you're building a SWC, compc has an -include-classes configuration option, but if you're building a SWF, mxmlc doesn't have

RE: [flexcoders] Re: Determine measuredHeight on explicitly defined height?

2007-11-27 Thread Alex Harui
Try overriding getExplicitOrMeasuredWidth to return 100. Then maybe the measure() method will get called. Are you waiting for validation to occur or forcing validation before checking? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matt

RE: [flexcoders] PopupManager - any way to make it blur the app but not the mask?

2007-11-27 Thread Alex Harui
I'd popup the mask to cover the blurred mask then popup your original popup over that From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bjorn - Sent: Tuesday, November 27, 2007 10:35 AM To: flexcoders@yahoogroups.com Subject: Re:

[flexcoders] Re: Rendering problem

2007-11-27 Thread karunyanamuduri
Hi Josh, Thanks for the help. The FTP tool I am using changing all the javascript and mxml filenames to all lowercases. Thanks, Karunya --- In flexcoders@yahoogroups.com, Josh VanderBerg [EMAIL PROTECTED] wrote: You don't provide a lot of information, but I can say the only problems I've

[flexcoders] addMarkerbyLatLon from xml database driven

2007-11-27 Thread vevelynn
Hello, I sthere anyone who can help me with an application I am working on? It about getting a route (marker to marker) on a yahoo map. I'm building in flex2 with AS3. I trying to get a simple marker (filled circle) on my map by latitude en longitude. Latitudes en logitudes are in a xml file

[flexcoders] Re: Losing Focus in DataGrid

2007-11-27 Thread j_lentzz
After I set the editedItemPosition from the arrow key pressed, I refresh the dataprovider, because that seemed to make it move the focus properly. For the 'selectAll' function, I perform an itemUpdated on the arraycollection after setting the new item in it, and then refresh the dataprovider,

[flexcoders] window depth

2007-11-27 Thread Kenneth Sutherland
I want a window/component to always appear at the top of the Z order, including being on top of ALL tooltips and ALL popups. The only thing that I need to be 'above' the component is cursors. I've just found that the SystemManager has various layers and it would seem that tooltips are always

[flexcoders] Re: ListCollectionView dispatches too many CollectionEvents after enableAutoUpdate

2007-11-27 Thread t0ml33
Thanks for the response, Alex. I understand that for most use cases, it would suffice to set a new source. However, I believe that approach somewhat defeats the purpose of databinding. Suppose you're bind to an ArrayCollection with 1000 items and you need to change 20? Should you clone the

RE: [flexcoders] Re: Dynamically Changing Easing Function Again

2007-11-27 Thread Gordon Smith
True, but it won't run. Can you please elaborate? What are you doing, and what happens when you do it? Are you on Windows or Macintosh? Are you using the browser player or the standalone player? Are you using FlexBuilder or the bare SDK? How are you trying to run? - Gordon

RE: [flexcoders] Re: Can we Pass image object instead of image file reference???

2007-11-27 Thread Alex Harui
In Flex 3 (not currently in the beta), you can pass a bytearray to the Image as its source instead of a url. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tarun chandra Sent: Tuesday, November 27, 2007 11:10 AM To:

[flexcoders] List itemRenderer based on VBox error when verticalGap

2007-11-27 Thread dave_defusion
I'm using the latest Flex 3 Beta SDK and I've just created an itemRenderer based on a VBox which I'm using in a List. Everything is fine until you scroll down and then back up to the top, if you do this the first item height will have shrunk and it will never resize. I tried overriding the

  1   2   >