RE: [flexcoders] Initial Progress bar appearing late in IE

2007-10-02 Thread Alex Harui
Try a different app and see if you get the same results. You might have to stuff it with junk to approximate the swf size. Any custom progress bars, background images? Any particular browser or platform? From: flexcoders@yahoogroups.com [mailto:[EMAIL

RE: [flexcoders] strange sandbox issue

2007-10-02 Thread Alex Harui
It has to do with trust files. FB alters the trust file for you. You'll have to do it yourself in this case. Google to find out where to look for your platform. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of zzwi89 Sent: Monday, October

Re: [flexcoders] Return a person's age

2007-10-02 Thread JRBower
Doug, Thank you. I will give your code a go. :) Best Regards, James Doug Lowder wrote: Here's how I would do it: var age:Number = todayDate.fullYear - birthDate.fullYear; if (todayDate.month birthDate.month || (todayDate.month == birthDate.month todayDate.date birthDate.date))

Re: [flexcoders] Re: Flex Builder 3 Beta2 / Amfphp / services-config.xml

2007-10-02 Thread Morten Madsen
Yeah - I would really like to have the services-config.xml-method working again... On 10/2/07, herklano [EMAIL PROTECTED] wrote: hi again, u have to be carefull to always do variable coercion right, ResultEvent does not work, u need to know what type of data is coming from server.

[flexcoders] Alert Bug - positioning of icon / text layout

2007-10-02 Thread Giles Roadnight
Hi All I use alerts in my application to warn about errors, give information ect and most of the time it is fine. Sometimes however the text falls off the side of the box and the icon is in compleatly the wrong place (see image: http://giles.roadnight.name/images/AlertError.gif) When this Alert

[flexcoders] Re: Sorting a List based on an Array Collection

2007-10-02 Thread Tom Chiverton
On Monday 01 Oct 2007, [EMAIL PROTECTED] wrote: Ping! Anyone? Check in the debugger. Create a new ArrayCollection from the dataProvider, sort it, and assign it back to the dataProvider. -- Tom Chiverton Helping to seamlessly implement clicks-and-mortar partnerships on:

[flexcoders] beta 2 debugger much slower

2007-10-02 Thread Paul Dale
In case anyone else hits this ... I noticed that the debugger in beta 2 is much slower. I'd been in the habit of just hitting f11 to run the app (in the debugger). Since beta 2 the running flash is visibly slower. For instance datagrid roll-over highlights take sometimes seconds to catch up to to

RE: [flexcoders] File Upload Error in mozilla

2007-10-02 Thread Seth Caldwell
I have posted about 5-6 times about this issue. In some cases, yes the session is the issue. In SSL however, something is wrong with the handshake implementation in the windows plugin version of the flash player (the activex version works fine). I have done extensive testing and confirmed this.

Re: [Flexcoders]: Flex site not loading in Internet Explorer 6 (IE6)

2007-10-02 Thread devenhariyani
Kumar, Thank you very much for your help. I already had the latest version of the flash player installed (9.0.47) and I did not find any new updates for the ActiveX control. But, what I did do is completely uninstalled and reinstalled the flash player and now my flex site seems to be

[flexcoders] RTE for Form Letter content?

2007-10-02 Thread mthielman11
I am looking for a little advice here. We have a large flex app that has a need for form letters. These need to typically show a standard letter body mixed with information from some records like who to address it to, which users signature to use etc. I have currently set up the forms as PDFs

Re: [flexcoders] Sleep() method

2007-10-02 Thread Willy Ci
there is a lot of use for sleep function. you can try use flash.events.TimerEvent write your own sleep(). as3 doesn't have it own sleep function. Willy On 9/28/07, Paul Andrews [EMAIL PROTECTED] wrote: - Original Message - From: essuark [EMAIL PROTECTED] essuark%40yahoo.com To:

Re: [flexcoders] Re: Flex Builder 3 Beta2 / Amfphp / services-config.xml

2007-10-02 Thread Tom Chiverton
On Monday 01 Oct 2007, [EMAIL PROTECTED] wrote: worked fine in previous versions too. Looks like the services-config parser changed. Try adding some extra '/' in various places in the uri and see if that helps. -- Tom Chiverton Helping to challengingly brand virtual markets on:

Re: [flexcoders] Sleep() method

2007-10-02 Thread Paul Andrews
Traditionally, a sleep() function stops the code in it's tracks and then resumes after a delay. Timer Events can't give you exactly that behaviour. I can understand wanting to delay processing for a while, but in an event driven environment it may not be what's needed. Usually I associate timed

[flexcoders] Re: beta 2 debugger much slower

2007-10-02 Thread Mike Morearty
Hi Paul, I can't think of any changes that would have caused the slowdown you're seeing. (I tried to reproduce the problem, but can't.) Could you please answer a few questions to help me try to narrow it down: - Are you building applications for the web, or for AIR? - Are you on Windows or

Re: [flexcoders] Sleep() method

2007-10-02 Thread Willy Ci
my guess is OP need a delay function, like after user click a button, wait three seconds, then update the screen. On 10/2/07, Paul Andrews [EMAIL PROTECTED] wrote: Traditionally, a sleep() function stops the code in it's tracks and then resumes after a delay. Timer Events can't give you

[flexcoders] Re: Flash CS3 Components - Tweens in Flex

2007-10-02 Thread byte.sensei
Downloaded/Insalled Flex 3 B2 and it works, so you were right. I wasn't quite ready to migrate to Flex 3 but this forced the issue. I guess the timing was good since B2 was just updated! ;) Thanks for your help (as always) Alex! --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED]

[flexcoders] Re: compiler arguments to save action script code

2007-10-02 Thread essuark
sweet! thanks --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: -keep From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of essuark Sent: Sunday, September 30, 2007 7:07 AM To: flexcoders@yahoogroups.com

[flexcoders] Flash CS3 Components - Custom Properties Methods

2007-10-02 Thread byte.sensei
I've been experimenting with Flex SWC Components developed in Flash CS3 (using Flex Component Kit for Flash CS3). I've successfully created some custom properties/methods on these that I can use in Flex. Here's a quick example of a UIMovieClip class extension: package { import

[flexcoders] Bug in the CurrencyFormatter's thousandsSeparatorTo

2007-10-02 Thread Bart Wttewaall
Hi list, I found a weird bug in the CurrencyFormatter, but Google didn't turn any other reports up about it. So either I'm the first to discover this, and thus can I conclude that no Europeans make use of either Flex 2 or the CurrencyFormatter, or I'm plain wrong about this. I wanted to format a

Re: [flexcoders] Re: Flex Builder 3 Beta2 / Amfphp / services-config.xml

2007-10-02 Thread Morten Madsen
You may be right, triede alot of different combinations of the uri... but no luck If I leave the entire uri=http://X; out, my project can compile, but of cause it can't connect to amfphp arn't anybody else exept me and herculano having the same problem? Kind regards On

RE: [flexcoders] Flash CS3 Components - Custom Properties Methods

2007-10-02 Thread Mike Krotscheck
Use Getter/Setters, like this. package { import mx.flash.UIMovieClip; public dynamic class forestDragon extends UIMovieClip { private var _my_name : String = ; private var _my_color : String = ; private var _my_textfield:TextField; public var current_state : String = ; public function set

Re: [flexcoders] TileList.selectedIndices problem

2007-10-02 Thread Charles Galpin
Done, https://bugs.adobe.com/jira/browse/SDK-12870 thanks charles On Oct 1, 2007, at 7:48 PM, Alex Harui wrote: It is a bug that you can have selectedIndices but that selectedIndex = -1. Please file a bug for that. Thanks, -Alex

[flexcoders] Re: Datagrid masking

2007-10-02 Thread freska
I use Moxie, but I have the same problem as Giles, data of the last row appears outside the box. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: According to others, it should work, but you might have to do a full clean and rebuild.

[flexcoders] arraycollection contains() method

2007-10-02 Thread freska
Hi there, I want to compare two arraycollection and take the different items out. I tried using contains() method to check if the first item of arraycollection arrayControl is in arraycollection arrayColPref, but it just doesn't work. I mean, it is supposed to say True instead of False. So, here's

[flexcoders] Problems with retrieving data-source behind a SSL in IE7

2007-10-02 Thread vic8427
My site sits behind a SSL and works fine except for in IE7. My flex site will not display any data that is external, i.e (charts or datagrids that render an external data source). Has anyone else had this problem or does anyone know how to solve this?

[flexcoders] Force creationComplete with ItemRenderer

2007-10-02 Thread lukas.ruebelke
I have a datagrid with a single column that is populated with a heavily styled item renderer. When I want to add another item to the grid, I am not throwing a creationComplete event in the itemRenderer of the new item in the grid. Adobe has documented 'However, for an item renderer or item

[flexcoders] Passing Application.application.parameters to a Flex component

2007-10-02 Thread CO_China_Girl
I'm working on a Flex application that has a tab navigator component. To prevent my main MXML file from becoming huge I decided to make each tab page a separate component. The problem I have now is that one of my Flex components need to have access to Application.application.parameters. How do

Re: [flexcoders] Sleep() method

2007-10-02 Thread Ralf Bokelberg
Like this maybe? mx:Button click=handleClick(event) .../ function handleClick( event : Event ) : void { setTimeout( doButtonAction, 3000 ); } function doButtonAction() : void { trace(doButtonAction); } Cheers Ralf. On 10/2/07, Willy Ci [EMAIL PROTECTED] wrote: my guess is OP

[flexcoders] Re: Flex Builder 3 Beta2 / Amfphp / services-config.xml

2007-10-02 Thread gelu11
Hi, You can edit your services-config.xml and add a port number to your endpoint URI. (http://localhost:80/gateway/gateway.php;). This should solve the problem. Gelu Blanariu --- In flexcoders@yahoogroups.com, Morten Madsen [EMAIL PROTECTED] wrote: Yeah - I would really like to have the

[flexcoders] New guasax website!

2007-10-02 Thread Angel Blesa
Hey guys, We would like to announce the new Guasax website http://www.guasax.com , where we are going to centralize all resources about this MVC Framework for Flex / AS3. In this website we will show examples, tutorials, documentation, developer guide, blog, etc. In the collaborate section are

[flexcoders] Re: Placement of Image within Image Control

2007-10-02 Thread droponrcll
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: The image content is always at the top-left of the Image. Based on scaleContent, the Image will scale the content or try to shrink itself down. There are no 9 choices, the image content fully fills the Image

[flexcoders] Help with configuring proxies

2007-10-02 Thread glenn.kidd
I recently discovered that due to some internal complications, SOAP faults are not returned by flex but instead are replaced by some generic server request error. I filed a bug (http://bugs.adobe.com/jira/browse/SDK-12662) which was closed after a week or 2 because apparently there is some

[flexcoders] Re: MultiPurpose ItemRenderer

2007-10-02 Thread droponrcll
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: I see, if mediaObject you want to be your public interface to when you use it as a component instead of a renderer, then I would set up my bindings based on mediaObject instead of data. I'd probably just use a

[flexcoders] Re: How to get all children in Application?

2007-10-02 Thread flexawesome
hi there, I am appreciate that someone can help me on the sample code below, I am new to flex, so I can learn form you guys. Thanks a lot @v@ --- In flexcoders@yahoogroups.com, flexawesome [EMAIL PROTECTED] wrote: Hi there, is there a way to get all children in application? in the

[flexcoders] Honey, my ItemRenderer is fubar!

2007-10-02 Thread David Ham
I have a List with a custom item renderer. Each item in the list will have a slightly different height, and I got this working through the generous help of Alex and Tracy on this list. Here's the thing: My app started crashing yesterday, and I traced it to my set data() method, which is as

Re: [flexcoders] Sleep() method

2007-10-02 Thread Willy Ci
I think Ralf is right, good luck to the OP. setTimeout()function public function setTimeout(closure:Functionhttp://livedocs.adobe.com/flex/2/langref/Function.html, delay:Number http://livedocs.adobe.com/flex/2/langref/Number.html,

[flexcoders] OT: Flex Consultants

2007-10-02 Thread Jeremy French
Sorry if this is OT, but since a number of the members of this group are Flex consultants, I was wondering if anyone could tell me the best way to secure the services of one. We're building a fairly large flex app, and find ourselves a bit over our heads, and would like to pay someone to help

[flexcoders] FB3 - release and debug versions of SWF files

2007-10-02 Thread Borek
Hi all, I've noticed that the compilation model changed dramatically between Flex Builder 2 and 3. In FB2, MyApp.swf and MyApp-debug.swf files were generated into the bin folder while in FB3, only one file, MyApp.swf, is generated. This should increase the compilation speed slightly and if I need

[flexcoders] flexbuilder3beta2 - custom preloader issue/bug

2007-10-02 Thread bhaq1972
(This looks like a bug... but the buglist seems to be out of reach) Problem - I get a runtime error when referencing mx.core.Application.application in a Loader class. I've got a custom preloader based on a Ted Patrick example. The problem occurs in WelcomeScreen.as WelcomeScreen.as

Re: [flexcoders] Force creationComplete with ItemRenderer

2007-10-02 Thread Tom Chiverton
On Monday 01 Oct 2007, [EMAIL PROTECTED] wrote: Is there a way to force an itemrender to throw a creationComplete event when the dataprovider to the grid acquires a new data tiem? What a lot of people do is make sure they have an overriden 'set data' method in their renderer that (re)sets up

[flexcoders] Re: flexbuilder3beta2 - custom preloader issue/bug

2007-10-02 Thread bhaq1972
forgot to add the rte trace TypeError: Error #1009: Cannot access a property or method of a null object reference. at global$init()[E:\dev\flex_3_beta2 \sdk\frameworks\projects\framework\src\mx\core\Application.as:210] at preloadPNG::WelcomeScreen()[C:\Documents and

Re: [flexcoders] File Upload Error in mozilla

2007-10-02 Thread Tom Chiverton
On Tuesday 02 Oct 2007, [EMAIL PROTECTED] wrote: So basically Milind, we are SOL until adobe tests this themselves, confirms it, and then fixes it. Have you logged a bug (via adobe.com/go/wish or bugs.adobe.com/jira) ? -- Tom Chiverton Helping to conveniently pursue front-end web-readiness

Re: [flexcoders] Sleep() method

2007-10-02 Thread Tom Chiverton
On Tuesday 02 Oct 2007, [EMAIL PROTECTED] wrote: there is a lot of use for sleep function. There is (as opposed to setTimeout which executes a method after a delay) ? When ? -- Tom Chiverton Helping to continuously restore dynamic design-patterns on: http://thefalken.livejournal.com

[flexcoders] Re: Force creationComplete with ItemRenderer

2007-10-02 Thread David Ham
Tom, What a lot of people do is make sure they have an overriden 'set data' method in their renderer that (re)sets up their component for new data. Could you elaborate on this a bit? In my renderer, I have a set data() that first calls super.data = value, and then displays its text fields

[flexcoders] SQL connection error when running on live server

2007-10-02 Thread stephen50232
Hi, I have a Flex application, which runs fine locally, but on the live server I get a error message when running queries in a CFC which I'm calling using remoting. The error message I get is RPC Fault faultString = Error Executing Database Query faultCode=Server.processing faultDetail=Login

[flexcoders] Re: Tilelist and image

2007-10-02 Thread nxzone
That shouldn't be true but it is... Here a simple example for you: http://www.ideeclic.com/tilebug/scrollbug.html Check the communication with Charles proxy. Thank you David --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: That shouldn't be true either. To grab the

Re: [flexcoders] Re: Force creationComplete with ItemRenderer

2007-10-02 Thread Tom Chiverton
On Tuesday 02 Oct 2007, [EMAIL PROTECTED] wrote:rties(). What should I put in set data(), and what should I put in commitProperties()? We do it all from set data(). -- Tom Chiverton Helping to centrally syndicate second-generation market-growth on: http://thefalken.livejournal.com

Re: [flexcoders] SQL connection error when running on live server

2007-10-02 Thread Tom Chiverton
On Tuesday 02 Oct 2007, [EMAIL PROTECTED] wrote: I have a Flex application, which runs fine locally, but on the live server I get a error message when running queries in a CFC which I'm calling using remoting. Are the services-config.xml files the same on the your local and remote servers,

[flexcoders] Change alpha of image clicked in a repeater

2007-10-02 Thread dffmyco
I have a component that displays thumbnails using an image tag inside of a repeater. What I would like to do is change the alpha of the thumbnail when it is clicked to show the full image. A list of image names is being used as the dataprovider for the repeater in the component. I can get the

[flexcoders] Is there any way to access the backgroundColor of a cell in a DataGrid?

2007-10-02 Thread blakeae
s there any way to access the backgroundColor of a cell in a DataGrid? I would like to be able to reference a DataGrid cell based on the row and column number and then get the backgroundColor of that cell.

[flexcoders] mxmlc java.lang.IndexOutOfBoundsException

2007-10-02 Thread j_lentzz
Hi, I'm trying to use the command line compiler for a set of standalone apps. It used to work fine, but now I'm getting the following error when I start up my make file: mxmlc -show-unused-type-selector-warnings=false -output bin/AddEditReviseProjectRequest.swf AddEditReviseProjectRequest.mxml

Re: [flexcoders] Problems with retrieving data-source behind a SSL in IE7

2007-10-02 Thread Mayank
try setting the response headers like this :' response.setHeader(Pragma, bogus); response.setHeader(Cache-control, bogus); response.setDateHeader (Expires, -1); // prevents caching at the proxy server That value is strange but it worked after trying all the

Re: [flexcoders] Re: Flex Builder 3 Beta2 / Amfphp / services-config.xml

2007-10-02 Thread Morten Madsen
Yeah!!! That did the trick... Thanks alot!! On 10/2/07, gelu11 [EMAIL PROTECTED] wrote: Hi, You can edit your services-config.xml and add a port number to your endpoint URI. (http://localhost:80/gateway/gateway.php;). This should solve the problem. Gelu Blanariu --- In

Re: [flexcoders] Sleep() method

2007-10-02 Thread Mayank
I have a usecase where I need to keep polling the server for a value. How can I achieve that without a sleep method? On 10/2/07, Tom Chiverton [EMAIL PROTECTED] wrote: On Tuesday 02 Oct 2007, [EMAIL PROTECTED] wrote: there is a lot of use for sleep function. There is (as opposed to

[flexcoders] itemRender set data question

2007-10-02 Thread waynelll
HI!! I am building a screen that is a DataGrid. Each DataGrid cell contains 2 Buttons and a TextArea. The DataGrid is built dynamically from data read from a file containing XML. = class student name=Fernando Wong work colName=Test1

[flexcoders] Re: Strange behaviour while adding node to tree

2007-10-02 Thread Mayank
Hi, Just in case someone faces the same problem and happens to see this thread. I was able to solve the problem by upgrading my flex sdk to hotfix 2. Didn't upgrade to hotfix 3 as I did not see and fixes relevant to my requirements. Rgds, Mayank On 9/20/07, Mayank [EMAIL PROTECTED] wrote:

Re: [flexcoders] How to get the Profiler to work in Beta 2?

2007-10-02 Thread Sheriff
anyone? - Original Message From: Sheriff [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, October 1, 2007 11:49:37 PM Subject: Re: [flexcoders] How to get the Profiler to work in Beta 2? i guess this might help to include java.net.SocketExce

[flexcoders] Sorting content in a List component

2007-10-02 Thread Rick Root
I have two lists, with the ability to drag items from one to the other. works fine.. However, my users have asked that the data in the destination list be sorted alphabetically rather than just dropped in place. I can't get this to work though. By default, the list items are dragged in and

[flexcoders] Re: Problem filtering custom list component

2007-10-02 Thread ricrootnc
Ping Sadly, I'm still stumped by this one. --- In flexcoders@yahoogroups.com, Rick Root [EMAIL PROTECTED] wrote: So I'm using this CheckBoxList component that someone on this list created for me. I've got a problem though when filtering the list using the dataProvider's

[flexcoders] Re: FB3 - release and debug versions of SWF files

2007-10-02 Thread Borek
The more I work in FB3, the more I think that the debug/release model in FB2 was much better. Flex Builder team, please make available an option to compile the standard output file (which is confusingly the _debug_ version in FB3) as MyAppName-debug.swf. Regards, Borek --- In

[flexcoders] Last displayed character of a textArea?

2007-10-02 Thread Jason The Saj
I am dealing with a rather annoying dilemma. Often I'll set text or htmlText of a textArea dynamically. I will also turn off scrolling. Often as the case may be, the set text is longer than the displayable area. I'd like to be able to get the displayed text length (ie: last character

[flexcoders] Checking that FDS is installed correctly

2007-10-02 Thread stephen50232
Hi, I have installed FDS on our server, which just has IIS and ColdFusion 7, no J2EE server. When we installed FDS we selected the integrated with JRun option and then went through the install process. Now that is complete how can I check that FDS is running correctly? On this server I have one

RE: [flexcoders] Sorting content in a List component

2007-10-02 Thread Alex Harui
what does the data look like? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rick Root Sent: Tuesday, October 02, 2007 8:59 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Sorting content in a List component I have two lists,

[flexcoders] Re: My column doesn't sort correctly in Flex 3 Beta 2

2007-10-02 Thread Nate Pearson
actually, my data is of type number and I am using a label function to display it in a currency format. I just used the commas to improve readability for my forum post. here is the actual data: 16559240.56 28022462.90 4101969.43 6472891.11 --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL

RE: [flexcoders] itemRender set data question

2007-10-02 Thread Alex Harui
read about IDropInListItemRenderer and see how we use it in TextInput and Label From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of waynelll Sent: Tuesday, October 02, 2007 8:35 AM To: flexcoders@yahoogroups.com Subject: [flexcoders]

RE: [flexcoders] Is there any way to access the backgroundColor of a cell in a DataGrid?

2007-10-02 Thread Alex Harui
see the backgroundcolor renderer example on my blog (blogs.adobe.com/aharui) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of blakeae Sent: Tuesday, October 02, 2007 8:20 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Is there any

RE: [flexcoders] Re: Force creationComplete with ItemRenderer

2007-10-02 Thread Alex Harui
I recommend that the data setter just calls invalidateproperties -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Tuesday, October 02, 2007 8:18 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Force

[flexcoders] UpdateCollectionMessage.SERVER_OVERRIDE

2007-10-02 Thread Robert Csiki
Hello, According to the documentation, this constant Indicates this update collection message was client generated and the remote destination determined that it should be reverted on that client. A subsequent update collection message will follow containing the correct values to apply getting

RE: [flexcoders] Sleep() method

2007-10-02 Thread Seth Caldwell
Two ways: function pollServer():void { //do polling here if(shouldcontinuepolling) setTimeout(pollServer,1000); } Or function pollServer():void { //do polling here } var pollInterval:uint=null; function onCreationComplete():void { pollInterval = setInterval(pollServer,1000); }

RE: [flexcoders] File Upload Error in mozilla

2007-10-02 Thread Seth Caldwell
Yes, I logged it somewhere, can't remember where. Oh! Here. http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform Seth -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Tuesday, October 02, 2007 7:52 AM To:

[flexcoders] How do I detect when a user reorders a list?

2007-10-02 Thread David Ham
I have a list that can be reordered by drag and drop, and I need to call a function when the list is reordered. What is the best way to listen for this? Should I listen for a CollectionChange event, a drag event, or is there some other third way? Many thanks, OK DAH

RE: [flexcoders] help with swf size problem in windows xp and vista

2007-10-02 Thread Alex Harui
set a viewSourceURL in the application tag using FlexBuilder. To take a picture, I just use ALT-PrtScr and save from the clipboard into JPG format. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gustavo Duenas Sent: Tuesday, October 02,

RE: [flexcoders] Honey, my ItemRenderer is fubar!

2007-10-02 Thread Alex Harui
Only visible items have renderers, plus a couple off-screen ones, regardless of how much datat there is. Please use a debug version and show the entire stack trace. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of David Ham Sent:

RE: [flexcoders] Re: MultiPurpose ItemRenderer

2007-10-02 Thread Alex Harui
I suggest your renderer look something like this. You'll see use of dataChange and how to center the image. I don't have a proxy example, but that's a good topic for a blog article someday... Can you post two image swfs that don't center correctly? I want to make sure those swfs are aligned

Re: [flexcoders] Re: Problem filtering custom list component

2007-10-02 Thread Charles Galpin
I wish I could help other than tell you I am facing similar problems with selections and think this stuff needs a good look at by adobe. I managed to make a simple test case that displayed my problem and Alex offered a workaround, but the workaround isn't working on my actual app! charles

RE: [flexcoders] Re: Placement of Image within Image Control

2007-10-02 Thread Alex Harui
You are welcome to file an ECR for alignment properties or styles, but keep in mind that in most people's use cases, you don't want to stretch the Image beyond the size of the bitmap so there might be some play in one dimension, but not the other. This is because most of the time, you want to use

RE: [flexcoders] Passing Application.application.parameters to a Flex component

2007-10-02 Thread Alex Harui
Your example looks correct. You can access Application.application.parameters from a component. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of CO_China_Girl Sent: Monday, October 01, 2007 4:12 PM To: flexcoders@yahoogroups.com Subject:

[flexcoders] Change text color of row of Datagrid based on property

2007-10-02 Thread Paul Steven
I want to be able to set the text color of all cells in a row of a datagrid based on a certain property Basically each row represents a students data. One property of a student is whether or not the student is active or not. So I want to set the text for all non active students to red.

RE: [flexcoders] arraycollection contains() method

2007-10-02 Thread Alex Harui
Each time you use {} you create a different object, so the two collections have different objects with the same data. Contains just sees if the reference to an object is in the collection and doesn't investigate internal properties. From:

[flexcoders] Re: Is it possible to get a list of Shared Local Objects from my domain ?

2007-10-02 Thread helihobby
So I guess no way to do it within AS3 ... Ok. Thank you for all the help, Sean - HeliHobby.com --- In flexcoders@yahoogroups.com, Doug Lowder [EMAIL PROTECTED] wrote: Assuming you can read directories on the local client system, then sure. Take a look at how Darron Schall's SolVE program

RE: [flexcoders] Re: Datagrid masking

2007-10-02 Thread Alex Harui
If you can make a small test case, post it here or file a bug. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of freska Sent: Monday, October 01, 2007 11:03 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Datagrid masking I

RE: [flexcoders] Alert Bug - positioning of icon / text layout

2007-10-02 Thread Alex Harui
Please make a simple test case and file a bug. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Giles Roadnight Sent: Tuesday, October 02, 2007 12:34 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Alert Bug - positioning of icon /

RE: [flexcoders] Change text color of row of Datagrid based on property

2007-10-02 Thread Alex Harui
See styledItemRenderer on my blog (blogs.adobe.com/aharui) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Paul Steven Sent: Tuesday, October 02, 2007 9:49 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Change text color of row of

RE: [flexcoders] Re: My column doesn't sort correctly in Flex 3 Beta 2

2007-10-02 Thread Alex Harui
Please post a test case or file a bug. Maybe we goofed somewhere. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Nate Pearson Sent: Tuesday, October 02, 2007 9:26 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: My column

Re: [flexcoders] Last displayed character of a textArea?

2007-10-02 Thread Daniel Freiman
TextArea uses TextField to render the text characters. If you look at the livedocs ( http://livedocs.adobe.com/flex/201/langref/flash/text/TextField.html), you'll see a lot of useful methods and properties. There are probably a couple ways to do this. I would iterate through the lines of text

RE: [flexcoders] Last displayed character of a textArea?

2007-10-02 Thread Alex Harui
It should involve getting to the underlying textfield, getting bottomScrollV, calling getLineLength and other get* methods. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason The Saj Sent: Tuesday, October 02, 2007 9:18 AM To:

RE: [flexcoders] Sleep() method

2007-10-02 Thread Tracy Spratt
A third way is to use Timer() http://www.cflex.net/showFileDetails.cfm?ObjectID=560 Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Seth Caldwell Sent: Tuesday, October 02, 2007 12:39 PM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] OT: Flex Consultants

2007-10-02 Thread Tracy Spratt
A single valid posting here is usually acceptable, but also check out: http://tech.groups.yahoo.com/group/flexjobs/ http://tech.groups.yahoo.com/group/flexjobs/ Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy French

[flexcoders] VerifyError: Error #1053: Illegal override of virtualWidth in mx.controls.HScrol

2007-10-02 Thread sk_acura
Hi All, I am getting the Following Error when i try to load a module in my app.. I have found a JIRA Issue already opened on this ..But i don't see any info reg how this can be resolved.. the URL is http://bugs.adobe.com/jira/browse/SDK-10858 The Environment i am using is: Open

Re: [flexcoders] Sorting content in a List component

2007-10-02 Thread Rick Root
The data I want to sort on is the label, which is actually a row in the query that is returned... coldfusion manufacturers the label content in the query. So it's just a string. Rick On 10/2/07, Alex Harui [EMAIL PROTECTED] wrote: what does the data look like?

Re: [flexcoders] Re: Problem filtering custom list component

2007-10-02 Thread Rick Root
Good to know that it's not just me, bad to know that it's a problem. My beta users (we're curretnly beta testing an application where I'm using this pretty heavily) absolutely love th feature. If they want to select 5 or so items from a list of several hundred, it makes things a LOT easier for

RE: [flexcoders] Return a person's age

2007-10-02 Thread Tracy Spratt
Based on my reading of the docs, there is a simpler way: var age = new Date(birthDate.getTime() - todayDate.getTime); Untested. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of JRBower Sent: Tuesday, October 02, 2007 2:29 AM To:

[flexcoders] Framework Caching not working

2007-10-02 Thread danielvlopes
Hello, i having problems when i try use framework caching on moxie. I compile my project using this build.xml trouhg Apache Ant: ?xml version=1.0 encoding=UTF-8? project name=PainelAdmApp default=compile property name=flex.mxmlc location=C:\Program Files\Adobe\Flex Builder

[flexcoders] Re: Sort string like number in datagrid

2007-10-02 Thread danielvlopes
Some one? --- In flexcoders@yahoogroups.com, danielvlopes [EMAIL PROTECTED] wrote: Ola, I am with the following problemÂ… I have the field value in some tables of my DB, in flex I store values in format ,00 (money) but when I return the stored items for my datagrid and click header to

[flexcoders] Re: dataGrid Printing: validNexPage always TRUE

2007-10-02 Thread hammer995
Looks like it was a BUG. The new M2 fixed it. Thanks. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Please post a small test case. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hammer995 Sent:

[flexcoders] B2 Upgrade overwrites html template

2007-10-02 Thread Richard Rodseth
I just installed FB3 B2, and noticed that my modification of index.template.html (which I had checked into Subversion luckily) was overwritten when I restarted eclipse with the new plugins. Just a heads up to anyone else who has modified this file. By the way, I like to install FB3 in an Eclipse

[flexcoders] Re: My column doesn't sort correctly in Flex 3 Beta 2

2007-10-02 Thread Nate Pearson
The code below demonstrates the problem. Although I am not specifically typing margin revenue to a number I think AS3 is doing it since I don't have quotes. In my real application i am using a class that does type it to Number. Just try to sort the marginRevenue column and you'll see what I

[flexcoders] TileList invalidateList not working

2007-10-02 Thread Charles Galpin
Hopefully an easy one. Please try the simple test case below. Select one or more items, enter a new label and click Update. You can optionally select the checkbox to force an invalidateNow after the update, but either way, the list doesn't refresh. If you scroll down and up, then they

RE: [flexcoders] Re: Sort string like number in datagrid

2007-10-02 Thread Tracy Spratt
My understanding is that the DG will sort numerically if the column contains true numbers (not strings that look like numbers). Be sure you are placing a true number in the dataProvider item property. But to store the data formatted as money, it can't be a number, so... Another solution

[flexcoders] FileReference + multiple uploads

2007-10-02 Thread Matthew Ganz
Hi. I thought that if I have an array of FileReference objects, I can iterate over them and call upload() on each one without waiting for a response from the previous one. The problem is that my java upload service is only uploading 1 file and I don't know why the others aren't going thru.

  1   2   >