RE: [flexcoders] Re: parentDocument variables

2009-02-27 Thread Johan Öbrink
A bit short maybe J I would suggest looking into some frame work like Cairngorm or MVC. The issue is not HOW to address parentDoument but WHY you shouldn't. /Johan From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Alex Harui Sent: den 24 februari 2009

Re: [flexcoders] Re: flash.events and flash.net library don't exist in Flex SDK 3.3.0.4852 ??

2009-02-27 Thread Tom Chiverton
On Thursday 26 Feb 2009, handitan wrote: Yikes!!! Man, I really hope that this is just a mistake and it will be fixed soon. I don't see any evidence it's broken. Simple test case code, example mxmlc invocation and version dump, etc. -- Tom Chiverton Helping to autoschediastically expedite

[flexcoders] Re: ToggleButtonBar xml based dataProvider (2)

2009-02-27 Thread bhaq1972
most definately, just loop thru the dataprovider during the ToggleButtonBar's initialize or creationComplete event and set each button's icon. -- In flexcoders@yahoogroups.com, markgoldin_2000 markgoldin_2...@... wrote: Yeah, I see it now too. Do think it's possible to set an icon for a

[flexcoders] Hie

2009-02-27 Thread Vik
Hie My xml is like this: stat empResultsguan completing 9 years in 6 months and 5 days./empResults empStatusINVALID/empStatus /stat stat empResultskumar completing 4 years in 11 months and 18 days./empResults empStatusVALID/empStatus /stat stat empResultskies completing 4 years in 11 months and

[flexcoders] SWF in a Panel

2009-02-27 Thread christophe_jacquelin
Hello, How to draw an existing SWF file into a Panel ? Thank you, Christophe,

Re: [flexcoders] Re: Cursor Error: Bookmark no longer valid.

2009-02-27 Thread Rico Leuthold
Hi Luke, I couldn't find any solution to this, but found a workaround. Just filter the underlying ArrayCollection, set it as source for the grouping collection and refresh the collection. ac.filterFunction = theFilterFunc; gc.source = ac; gc.refresh(); adg.expandAll(); This works for me.

[flexcoders] Data Management Service: affecting several tables

2009-02-27 Thread k.sigiscar
Hello, This is an architectural question. We have a project where we have a process that uses EJB3 to insert/update/delete to several tables at once when it receives data from the client. But right now, we use Remote Object to trigger that process. I would like to use an Assembler to use the

[flexcoders] Re: show and createComplate event?

2009-02-27 Thread Tim Hoff
Me too, same as less. Why no show when creation is complete? I guess it because verbs don't like verbs. -TH --- In flexcoders@yahoogroups.com, markflex2007 markflex2...@... wrote: My question is why the show event never be fired. Thanks

[flexcoders] Re: image snapshot in flex

2009-02-27 Thread Rob Kunkle
i've had a lot of trouble trying to send jpeg to a server with base64 encoding. It seems that flash only allows the first four bytes of the byte array to be sent when it is a jpeg. Anyone else come across this issue? I'd like to not base64 encoded/decode if possible. --- In

Re: [flexcoders] Hie

2009-02-27 Thread claudiu ursica
My on the fly thought on this would be have an item renderer for the repeater (eve though I'd go with a List for performance reasons), to override the data setter in your item renderer and check there if the value is valid leave the text alone or put it black and red if invalid. mx:Text

[flexcoders] Image Control inside custom component only shows sporadically

2009-02-27 Thread adamduro
I'm extending a Panel component in Actionscript and adding an Image control to the titleBar. My problem is that for some god-forsaken reason, the image loads, but does not display, except for every once and a while. That's right, sometimes the image displays, sometimes it does not. I have it

[flexcoders] Re: Finding size of a DropShadowFilter (or other BitmapFilters)

2009-02-27 Thread flexpants
--- In flexcoders@yahoogroups.com, dave_defusion david.sp...@... wrote: I'm trying to determine the width of pixels that the DropShadowFilter is adding to my component when I'm trying to save the BitmapData (including the drop shadow) - is there some easy to get that or would I have to

[flexcoders] accessing flex functions from outside an app

2009-02-27 Thread el_koose
hi guys, i'm fairly new to flex but ok with my as3. have built an app with all functionality enclosed but in the real life version part of the nav will not be flex, perhaps HTML. What, if any, are the best ways to trigger state changes and functions from outside a flex app? is this possible? i

[flexcoders] Question: Strategies for compiling individual modules into SWCs

2009-02-27 Thread David Adams
I'm new to Flex so apologies in advance for what is probably a basic question. I've been working on a code generator that spits out MXML/ActionScript files and dumps them into a directory. For simplicities sake, imagine that I'm dumping out three MXML files and the goal is to produce an individual

Re: [flexcoders] Re: Define repeaters at runtime

2009-02-27 Thread subeesh a
If you are adding the images to some container , you can get it as var ImageArray:Array = yourContainer.getChildren(); Subeesh http://subeesh.co.nr

Re: [flexcoders] Re: Reading compressed file in AS 3

2009-02-27 Thread David Adams
On Fri, Feb 27, 2009 at 12:42 PM, ACasualObserver pof...@yahoo.com wrote: Jim, I am using the zlib in a C program. Just as an experiment, have you tried putting the code into an AIR application where you can specify a wider range of decompression methods? I'm struggling with the same error

RE: [flexcoders] accessing flex functions from outside an app

2009-02-27 Thread Gregor Kiddie
Read up on ExternalInterface. You can expose functions to the outside using it. Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered Number: 1788577 Registered in the UK Visit our Internet

RE: [flexcoders] Question: Strategies for compiling individual modules into SWCs

2009-02-27 Thread Gregor Kiddie
-- Is this what ANT is for? Yeah, once you get into more complicated compilation scenarios, ANT is the way to go. Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered Number: 1788577

[flexcoders]

2009-02-27 Thread A chuva imóvel - Campos de Carvalho
HI everyone, A trickly problem is tricking my head. That's about the DataPush feature of BlazeDS, but I think the problem is in the Flex Side. Below there's a little piece of code: mx:TitleWindow xmlns:mx=http://www.adobe.com/2006/mxml; width=400 height=314 showCloseButton=true

Re: [flexcoders] SWF in a Panel

2009-02-27 Thread Adrian Williams
Hi Christophe, var swf:swfLoader = new swfLoader(); swf.source = //location of your swf file panel.addChild(swf); HTH, Adrain christophe_jacquelin wrote: Hello, How to draw an existing SWF file into a Panel ? Thank you, Christophe,

Re: [flexcoders] Dynamic Advanced Datagrid

2009-02-27 Thread Adrian Williams
Venkat, More details about what you want to do would help elicit a better response. Adrian venkat eswar wrote: How to do Dynamic tree inside advanced datagrid

[flexcoders] Re: accessing flex functions from outside an app

2009-02-27 Thread el_koose
ok will do thanks! is the bread factory like the custard factory i wonder? :) thanks for taking the time to reply. e_k --- In flexcoders@yahoogroups.com, Gregor Kiddie gkid...@... wrote: Read up on ExternalInterface. You can expose functions to the outside using it. Gk. Gregor

Re: [flexcoders] SWF in a Panel

2009-02-27 Thread Ashish Verma
And also if you want to access properties of Panel from the SWF use parentApplication.propertyName from SWF file On Fri, Feb 27, 2009 at 3:38 PM, christophe_jacquelin christophe_jacque...@yahoo.fr wrote: Hello, How to draw an existing SWF file into a Panel ? Thank you, Christophe,

[flexcoders] Re: Converting strings to numbers before sorting?

2009-02-27 Thread valdhor
This works for me: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Script ![CDATA[ import mx.collections.ArrayCollection; [Bindable] public var test:ArrayCollection = new ArrayCollection([ {string:

Re: [flexcoders] accessing flex functions from outside an app

2009-02-27 Thread Ashish Verma
You can take advantage of following things 1. navigateToURL() - fro calling javascript function from Flex check browser comptability 2. flash.netExternalInterface - with call () and callable () to call function flex to javascript and vis versa 3. FA Bridge - Flez AJAX bridge : wraped

Re: [flexcoders] Dynamic Advanced Datagrid

2009-02-27 Thread Ashish Verma
May be helpful to you http://prosameer.googlepages.com/MasterGrid.html Best, Ashish On Fri, Feb 27, 2009 at 7:22 PM, Adrian Williams adri...@familytreedna.comwrote: Venkat, More details about what you want to do would help elicit a better response. Adrian venkat eswar wrote:

[flexcoders] Re: Reading compressed file in AS 3

2009-02-27 Thread bhaq1972
For background, what I'm trying to experiment with is compressing XML on the server-side and decompressing it on the client-side to see if I can improve performance. If anyone has thoughts or suggestions on this topic, I'm all ears. (AMF is not supported on the server I'm using, so

Re: [flexcoders] Re: image snapshot in flex

2009-02-27 Thread Anggie Bratadinata
I've never had any problems sending base64-encoded images to a server (PHP). Could it be a server issue that you had? -- Anggie Bratadinata | www.masputih.com | Indonesia On Fri, Feb 27, 2009 at 6:44 PM, Rob Kunkle mon...@goodlux.com wrote: i've had a lot of trouble trying to send jpeg to a

[flexcoders] FileReference save security

2009-02-27 Thread thibodeau.alain
Hi all, I was wondering if anyone knows of a work around for the FileReference save security. More specifically that it must be a user event that drives the save otherwise it will not do it. I am using Cairngorm and long story short, but the time I am done rendering the image and wanting to

RE: [flexcoders] FileReference save security

2009-02-27 Thread Gregor Kiddie
I don't think asking How can I get round security is going to garner much in the way of replies! However, once the rendering is done, you can throw up a dialog saying Rendering Done, Save now? or something, and work off that user event instead. Gk. Gregor Kiddie Senior Developer INPS Tel:

[flexcoders] flex datagrid problem

2009-02-27 Thread Gökhan
Hi, i have a problem with datagrid when i try to show large amount of money values in datagrid.The problem occurs if the value bigger than 9 digits. for ex: i have value 25.000.000.000 but it seems -769803776 in datagrid. type of money value is Number on flex side and BigDecimal on java side.

Re: [flexcoders] Image Control inside custom component only shows sporadically

2009-02-27 Thread Jeffry Houser
Try invalidating the display list in commitProperties to refresh the image component, something like this: if (__sponsorPathChanged) { __sponsorImg.source = __sponsorPath; __sponsorImg.addEventListener(Event.COMPLETE, __onSponsorImgLoadComplete); __sponsorPathChanged =

[flexcoders] VideoDisplay

2009-02-27 Thread christophe_jacquelin
Hello, VideoDiplay is not displaying the video. I have try .mp4, .flv, .avi and .swf files. I have a black square. Could you send me the minimum basic code to display a video ? Thank you, Christophe,

[flexcoders] Adding new class definition to TEAFlexCustom.xml file

2009-02-27 Thread Andriy Panas
Hi all, This is the question which is related to automated testing with HP QuickTest 9.5 and Flash application built on top of Adobe Flex 3.2 SDK. For example, I had created a new class that extends from HBox, say ExtendedHBox. -- public class ExtendedHBox extends HBox {

[flexcoders] Add a video in a Flex Project Directory

2009-02-27 Thread christophe_jacquelin
Hello, How to add a video file in a directory of a flex project ? I have tested the function Import/Artwork but it is not running. What is the procedure ? Thank you, Christophe,

[flexcoders] Tooltips don't scale to match content

2009-02-27 Thread Tom Chiverton
I've just logged http://bugs.adobe.com/jira/browse/SDK-19580 against the fact that if I scale my whole application, tool tips do not scale with it. Anyone fancy thowing some votes behind the idea of fixing that ? -- Tom Chiverton This email

[flexcoders] Preventing HSlider from moving forward

2009-02-27 Thread Daman Dogra
Hi All, I have this requirement in a project where I need to block a slider from moving forward after it reaches a certain value. The user should still be able to move the slider backwards though. I could disbale the slider however, that wouldn't work because then user can't move it backwards

Re: [flexcoders] Add a video in a Flex Project Directory

2009-02-27 Thread Jeffry Houser
Unless I misunderstood the question, you were not asking for a code related question, correct? I would just click and drag it from my OS into the Eclipse directory structure. Or do it at the operating system level w/o involving eclipse at all. christophe_jacquelin wrote: Hello, How

[flexcoders] FB program launch wants to install 10 when I only have 9

2009-02-27 Thread Scott
I've been working on an issue where my debugger stopped working. (although I can create a new application and the debugger works just fine within the new app) I was thinking this problem appeared around the time I installed Flash 10. So I used the adobe remove flash program and re-installed Flex

[flexcoders] Re: MaskedTextInput

2009-02-27 Thread markgoldin_2000
Well, it only works for me when I run it from Builder. Here is my code: ... ); document.tasktracking.focus(); } else { // flash is too old or we can't detect the plugin var alternateContent = 'Alternate HTML content should be placed here. ' + 'This content requires the

[flexcoders] Re: Converting strings to numbers before sorting?

2009-02-27 Thread Keith Hughitt
var a:Number = obj1.number; var b:Number = obj2.number; That made things much more clear. The reason things weren't working for me was because I expected the sort function to receive only the variable mapped to the column (i.e. number) and not the entire row. The

[flexcoders] Question about how to draw a line connecting two UIComponent

2009-02-27 Thread carlo giordano
Hi, I would connect two UIComponent like mx:Panel or flexmdi:MDIWindow with a line in such a way that the line continues to connect the two UIComponent when one or both get dragged around. Anyone has idea on how to implement it ? I try to use the Flex Wires

[flexcoders] Re: form validation pop-up migrain

2009-02-27 Thread wakouaq
Fixed ! the solution was to stop further propagation of the event (event.stopPropagation) when entering the OnButtonClickEventHandler function. --- In flexcoders@yahoogroups.com, wakouaq a...@... wrote: Hello everyone, I've been running into a pretty disturbing problem for the last few

[flexcoders] Re: Reading compressed file in AS 3

2009-02-27 Thread ACasualObserver
I tried it in AIR with no success. I used both DEFLATE and ZLIB arguments. To test, I created a SVG string (instead of plain XML) in my code and used the same function to compress it. Adobe SVG viewer could display it so the compression part is fine. Is there any open source compression C/C++

RE: {Disarmed} [flexcoders] FB program launch wants to install 10 when I only have 9

2009-02-27 Thread Scott
Something was corrupted in the file. I exited FB3 and renamed the folder. Then created a new folder with the original name and copied the source files only into it. After that I opened FB3 and did a new-project and set it up the same as it was before. Once I did that; the error message went

[flexcoders] FB3 Debugger issue - cannot connect

2009-02-27 Thread Scott
Ok, this is driving me nuts... I can't think of anything else to try... My debugger just stopped working one day. I think it was after I let the flash auto-update install flash 10 but I'm not 100% sure. It seems to be tied to this one project. In the troubleshooting I created a new

[flexcoders] Reduce the speed of a .SWF

2009-02-27 Thread christophe_jacquelin
Hello, I use SWFLoader to draw a SWF movie file. But the speed of the movie playing is too fast. How to reduce it ? Thank you, Christophe,

[flexcoders] Re: Reading compressed file in AS 3

2009-02-27 Thread ACasualObserver
It works now. I changed my C++ code. Instead of using gzopen, gzwrite, and gzclose functions is zlib, I used compress2 in zlib and write the compressed data using fopen, fwrite, and fclose. Thanks for all the help.

[flexcoders] Adding verticalaxis(es) via actionscript

2009-02-27 Thread Trefalgar Bain
I'm having a rough time getting data to auto-scale to multiple vertical axises. If I use a single axis, the data is graphed without a problem - all the lines show up exactly as they should. The problem I'm trying to solve is that one of the lines is ~100, while the others are less than 20. I'd

[flexcoders] Detecting iterations in item render

2009-02-27 Thread rob_mcmichael
Hello, I am trying to create an item render for an MX list component. I have overridden the set data function to customize something things, but would like to alternate the background image for each row. The problem is I can't fine a property that indicated which iteration I am on. I have

Re: [flexcoders] FileReference save security

2009-02-27 Thread Alain Thibodeau
haha, point taken... I could of worded it differently Thanks for the idea. :)   From: Gregor Kiddie gkid...@inpses.co.uk To: flexcoders@yahoogroups.com Sent: Friday, February 27, 2009 9:55:13 AM Subject: RE: [flexcoders] FileReference save security I don’t

Re: [flexcoders] Reduce the speed of a .SWF

2009-02-27 Thread Alain Thibodeau
I think you are going to want to reduce the frame rate of either your main app or the loaded swf.. Check the help files for frameRate, there are some examples   cheers a From: christophe_jacquelin christophe_jacque...@yahoo.fr To: flexcoders@yahoogroups.com

[flexcoders] Re: Detecting iterations in item render

2009-02-27 Thread oneworld95
The always dependable FlexExamples.com provides a great solution: http://blog.flexexamples.com/2008/03/06/setting-the-background-alpha-and\ -background-color-of-a-datagrid-control-in-flex/#more-546 http://blog.flexexamples.com/2008/03/06/setting-the-background-alpha-an\

RE: [flexcoders] Re: Define repeaters at runtime

2009-02-27 Thread Gordon Smith
So that the doc team understands... What is it that you found surprising? That an Array can hold anything, including references to components? Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of smitade Sent: Thursday, February 26,

RE: [flexcoders] Re: Converting strings to numbers before sorting?

2009-02-27 Thread Gordon Smith
Yes, sorting is something that happens on entire data items (rows). This lets you handle the case where there are multiple cells in a column with the same value and you want to subsort them based on another column: California | Los Angeles California | San Francisco NewYork | NewYork

[flexcoders] Re: Adding verticalaxis(es) via actionscript

2009-02-27 Thread Amy
--- In flexcoders@yahoogroups.com, Trefalgar Bain trefal...@... wrote: I'm having a rough time getting data to auto-scale to multiple vertical axises. If I use a single axis, the data is graphed without a problem - all the lines show up exactly as they should. The problem I'm trying to

[flexcoders] Help the Flex Team by taking our survey!

2009-02-27 Thread flex_coders
Help the Flex team better understand who you are and what you're working on. This information is incredibly valuable to us. Please take 20 minutes and fill out our survey: http://www.surveymonkey.com/s.aspx?sm=vCfoIoZ0_2bLG6CTgVcntsVA_3d_3d

Re: [flexcoders] Help the Flex Team by taking our survey!

2009-02-27 Thread Matt Chotin
And tell your friends to take the survey too! On 2/27/09 11:01 AM, Vera Carr ve...@adobe.com wrote: Help the Flex team better understand who you are and what you're working on. This information is incredibly valuable to us. Please take 20 minutes and fill out our survey:

[flexcoders] Re: Adding verticalaxis(es) via actionscript

2009-02-27 Thread Trefalgar Bain
--- In flexcoders@yahoogroups.com, Amy amyblankens...@... wrote: Have you checked out this example? http://flexdiary.blogspot.com/2008/08/charting-example.html I most certainly have ;) It's where I came up with ... var ar:AxisRenderer=new AxisRenderer(); var la:LinearAxis = new LinearAxis();

[flexcoders] Re: ToolTip stay until closed

2009-02-27 Thread flexaustin
So my issue, I think, is that Puremvc keeps things in memory longer because it keeps references to your objects. I was removing objects from the screen then creating new ones but the old object were getting hung up so it was referencing old objects. So I name my objects

[flexcoders] Not able to send Data in URLRequest

2009-02-27 Thread Dharmendra Chauhan
Hi , I am accessing flex application running on JBOSS server from Dot Net Client.Everything is working fine except i am NOT able to send data in http post. var variables:URLVariables = new URLVariables(); variables.htmltable= convertDGToHTMLTable(dg); var

Re: [flexcoders] Question about how to draw a line connecting two UIComponent

2009-02-27 Thread Fotis Chatzinikos
I have made something similar in flash, but it was ages ago... I would recommend, creating a new custom container that knows how to draw / redraw connection lines whenever a child component is dragged... On Fri, Feb 27, 2009 at 6:42 PM, carlo giordano giordano1...@gmail.comwrote: Hi, I

[flexcoders] Re: MaskedTextInput

2009-02-27 Thread huu...@ymail.com
When you deploy, you need to mirror this code in the HTML file that users will access to reach the SWF file. One thought is to simply copy the file in its entirety and make that your index.html for your website. Does that make sense? --- In flexcoders@yahoogroups.com, markgoldin_2000

[flexcoders] Re: Define repeaters at runtime

2009-02-27 Thread smitade
--- In flexcoders@yahoogroups.com, Gordon Smith gosm...@... wrote: So that the doc team understands... What is it that you found surprising? That an Array can hold anything, including references to components? Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com

[flexcoders] Generate PDF files

2009-02-27 Thread christophe_jacquelin
Hello, How to generates PDF Files from a flex application ? Thank you, Christophe

[flexcoders] Gallery with Uploaded images

2009-02-27 Thread christophe_jacquelin
Hello, I am seaching source code or the method to generate an image Gallery with uploaded images. Thank you, Christophe,

[flexcoders] Breaking up large array processing

2009-02-27 Thread Ryan Graham
Hi All, I currently have 2 separate collections that I need to sync up based on ids. One has 25000 elements and the other has 4000. A typical nested for loop structure gives me the 1502 script time limit exception after 60 seconds. I've tried all the performance optimizations on Alex's blog,

[flexcoders] Re: Detecting iterations in item render

2009-02-27 Thread rob_mcmichael
Thanks for the response Alex, but I don't think that will help. I need to change the background image, not a mere color. Unless you are suggesting that I can detect the current color from inside the render and from that tell if I am in an odd or even row. If that is the case I will see if I

Re: [flexcoders] Generate PDF files

2009-02-27 Thread Alan K
http://alivepdf.bytearray.org/ Hello, How to generates PDF Files from a flex application ? Thank you, Christophe

Re: [flexcoders] Help the Flex Team by taking our survey!

2009-02-27 Thread Maciek Sakrejda
If anyone is interested in the fate of Flex on Linux, please take the survey--there are a number of Linux-related questions. Long live Flex Builder Linux! Maybe in 277 days we'll actually get a beta instead of a fifth alpha (or--God forbid--dropped support). -- Maciek Sakrejda Truviso, Inc.

[flexcoders] Re: VideoDisplay

2009-02-27 Thread spinglittery
For a complete example project you can use check out http://www.flashcomguru.com/index.cfm/2009/1/15/FLVPlayback-2_5-component-in- Flex. Maybe have a look at: www.video-flash.de for a good open source player. Or google... There are lots out there. With examples of how to load the video (I

[flexcoders] Dynamically updated ToolTip on move

2009-02-27 Thread lanekelly5
I have a component that dispatches an event when it is being moved. In that handler I wanted to pop up a ToolTip and display the current X/Y coordinates. I must be missing some of the logistics behind ToolTip behavior because I'm just getting the static text. Here's the code in my handler

RE: [flexcoders] Re: Detecting iterations in item render

2009-02-27 Thread Alex Harui
If you implement IDropInListItemRenderer, then listData.rowIndex + owner.verticalScrollPosition should be your position Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com]

[flexcoders] RE: Breaking up large array processing

2009-02-27 Thread Alex Harui
The pseudo-threading example should prevent the script time out. You sure you coded it correctly? Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Ryan

RE: [flexcoders] Image scaleContent=false causes Security Sandbox Violation in AIR 1.5.x

2009-02-27 Thread Alex Harui
You can ignore any security warning in the console that does not result in an exception dialog that halts the app in the debugger. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com

[flexcoders] Re: antiAliasType null exception with Text instances!

2009-02-27 Thread robbarreca
--- In flexcoders@yahoogroups.com, Darron J. Schall dar...@... wrote: I've already file a bug against this, but hopefully one of those 2 solutions should work for you. What is the JIRA issue number you filed this under at bugs.adobe.com? -R

RE: [flexcoders] RE: Breaking up large array processing

2009-02-27 Thread Ryan Graham
Ahh... I had just tuned my loops that were iterating over the collections. The pseudo-threading example is exactly what I need, thanks! For the archives: http://blogs.adobe.com/aharui/2008/01/threads_in_actionscript_3.html Thanks, Ryan From: flexcoders@yahoogroups.com

[flexcoders] RE: Breaking up large array processing

2009-02-27 Thread Jonathon Stierman
Only process a certain number of indexes per ENTER_FRAME event. I usually set a getTimer() at the start of my processing function, and loop until the difference is greater than my threshold: Function onEnterFrame(event:Event):void { var startTime:int = getTimer(); while( getTimer() -

RE: [flexcoders] RE: Breaking up large array processing

2009-02-27 Thread Ryan Graham
Nice, this looks like a good approach too. I'll give it a shot as well. Thank you much, Ryan From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Jonathon Stierman Sent: Friday, February 27, 2009 2:34 PM To: flexcoders@yahoogroups.com Subject: [flexcoders]

[flexcoders] Re: Detecting iterations in item render

2009-02-27 Thread Amy
--- In flexcoders@yahoogroups.com, rob_mcmichael rob_mcmich...@... wrote: Thanks for the response Alex, but I don't think that will help. I need to change the background image, not a mere color. Unless you are suggesting that I can detect the current color from inside the render and

[flexcoders] display row index in DataGrid

2009-02-27 Thread nylarch
this seems like it should be easy but I have a DataGrid with 3000+ rows - an XML object is the dataprovider. Need to show a row index both on the initial display and after various filters the user can run (by state name, county name, etc.) I always want the row index to start at 1 i.e. show

[flexcoders] When is Gumbo expiration date?

2009-02-27 Thread djhatrick
Hope it's not March 1? Just checking... In case. Thanks, Patrick

[flexcoders] Retrieve column name from a DataProvide r -please advice

2009-02-27 Thread yossi.baram
Hi guys, I have a dataGrid and using RemoteObject to create a TreeGrid. My problem is retrieving the column names from a DataProvider, I know its a collection of Objects (HashMap style) but I couldnt find a way to get the names of the columns, just their values please advice, Thanks Jo

[flexcoders] Re: MaskedTextInput

2009-02-27 Thread markgoldin_2000
Yes, yes, it does and it works!!! --- In flexcoders@yahoogroups.com, huu...@... huu...@... wrote: When you deploy, you need to mirror this code in the HTML file that users will access to reach the SWF file. One thought is to simply copy the file in its entirety and make that your index.html

Re: [flexcoders] Question about how to draw a line connecting two UIComponent

2009-02-27 Thread Maciek Sakrejda
It's not a drop-in library, but you may want to take a look at Simon Gladman's node-based UI: http://flexmonkey.blogspot.com/2008/10/visual-node-based-calculator-in-flex.html -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: carlo giordano

Re: [flexcoders] When is Gumbo expiration date?

2009-02-27 Thread Matt Chotin
Hi, March 31 I believe. We are not going to have the new beta out by then either. Matt On 2/27/09 2:46 PM, djhatrick djhatr...@yahoo.com wrote: Hope it's not March 1? Just checking... In case. Thanks, Patrick

[flexcoders] HTMLLoader Problem

2009-02-27 Thread lehaianh1986
Hi all, I have a AIR desktop app that use to login to 1 website and download data from it. I use HTMLLoader component to display this website and authenticate before download data because this website include Recaptcha Authentication. Now, I want to embed it to my website but I know I can't use

RE: [flexcoders] Re: Detecting iterations in item render

2009-02-27 Thread Alex Harui
In theory, you can know if the row is odd or even given the calculation I showed and choose your backgroundImage accordingly. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com

RE: [flexcoders] display row index in DataGrid

2009-02-27 Thread Alex Harui
Try something like: Public class MyIndexItemRenderer extends DataGridItemRenderer { Override public function validateProperties():void { super.validateProperties(); text =(listData.rowIndex +