RE: [flexcoders] Flex Datagrid bottom row cutoff

2009-10-23 Thread Alex Harui
Fix the height to rowCount * rowHeight + viewMetrics.top + viewMetrics.bottom 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 flexaustin Sent: Thursday,

RE: [flexcoders] Disable sort when values in grid change (on propertyChanged)

2009-10-23 Thread Alex Harui
Try blocking the collectionEvent. It will have kind = CollectionEventKind.REFRESH. Note that any scrolling will be incorrect since it will use the new sort order. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From:

RE: [flexcoders] ArrayCollection of VO's Memory Leak??

2009-10-23 Thread Alex Harui
The profiler should be able to show you who is still referencing the objects. 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 Jake Churchill Sent:

RE: [flexcoders] Can you take a Canvas and save it as a PNG?

2009-10-23 Thread Alex Harui
BitmapData.draw, then PNGEncoder 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 Paul Johnston Sent: Thursday, October 22, 2009 7:24 AM To:

RE: [flexcoders] Question about overlay and transparency

2009-10-23 Thread Alex Harui
It will have to be parented somewhere else and positioned back where you need it so it doesn't fall under a parent that has alpha1. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com

RE: [flexcoders] Flex Profiler Questions

2009-10-23 Thread Alex Harui
1. The profiler post on my blog attempts to explain the difference between profiler memory, System.totalMemory and process memory. Profiler memory is the memory attributed to AS properties. The player has lots of other backing objects allocated in System.totalMemory. Fonts and bitmaps

RE: [flexcoders] Daylight Savings Time issues from Flex to ColdFusion 8.01

2009-10-23 Thread Gregor Kiddie
Join the club, we have T-Shirts (except it's passing Date from Flex to Java). The last communication we had with Adobe on the issue is that Flash Player on Windows doesn't handle Daylight savings times properly (at least in the UK, and a bunch of other regions in the bug), and it appears the

[flexcoders] Re: LCDS : number of flexsessions

2009-10-23 Thread Mete Atamel
Flex sessions should be invalidated once the client is gone or idle-timeout-minutes amount of time passed in RTMP. Which version of LCDS are you using? If you have a repro case that shows the behavior, please open a bug in LCDS bug base: http://bugs.adobe.com/jira/browse/LCDS -Mete --- In

RE: [flexcoders] Daylight Savings Time issues from Flex to ColdFusion 8.01

2009-10-23 Thread Gregor Kiddie
I should add that Adobe blame Windows for the problem, not the Flash Player. 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 Web

[flexcoders] Livecycle Data Services ES2 : cost per cpu

2009-10-23 Thread Besite - Bart
Hi people, Has anyone got an idea what the cost of a CPU license for LCDS ES2 is ? Thank you Bart Ronsyn

Re: [flexcoders] Daylight Savings Time issues from Flex to ColdFusion 8.01

2009-10-23 Thread Paul Hastings
gareth_arch wrote: I am having some issues with DST when transferring a date from Flex to ColdFusion. the flash client always adjusts for local tz cf only sees the server tz (aka tz hell). you might be better off working w/epoch offsets instead. setTime() getTime() flex side and if you only

Re: [flexcoders] Livecycle Data Services ES2 : cost per cpu

2009-10-23 Thread João Fernandes
You should contact Adobe representative for that. FDS started at 12.000 2CPU and got rebranded to LCDS and got a price increase too (everything which uses LifeCycle is pricy). I wish they they would go to the broader reach approach but I think it's more like the other way around. -- João

[flexcoders] Skinning a scrollbar with Symbols, SWFs with poor mans Flash CS?

2009-10-23 Thread Nick Middleweek
Hi, By looking at the .css file from a ScaleNine theme I think I've worked out how to reskin a scrollbar in Flex using symbols from a .SWF file I've also stumbled across a tutorial that shows how to do it using PNG images. I'm guessing the advantage to using Symbols in SWF's is that the images

RE: [flexcoders] Flex Profiler Questions

2009-10-23 Thread Manoj Kumar
Respect All I want to get  download whiteboard class for making drawing website. an you help for this. Best Regards Manoj Sharma --- On Fri, 10/23/09, Alex Harui aha...@adobe.com wrote: From: Alex Harui aha...@adobe.com Subject: RE: [flexcoders] Flex Profiler Questions To:

Re: [flexcoders] Need Clean URL Advice ...

2009-10-23 Thread Wally Kolcz
Does this have the same issue when using tinyurl? From: paruliant sondangparul...@yahoo.com Sent: Thursday, October 22, 2009 8:56 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Need Clean URL Advice ... You can try using

[flexcoders] PopupWindow dragging and enforcing main app window bounds

2009-10-23 Thread Tim Romano
First, thanks to Tracy for answering my question about the columns array of the DataGrid. My question relates to dragging popup-windows. It's possible to drag a popup window outside the main application window's bounds, and if the user happens to release the mouse button at the wrong moment,

Re: [flexcoders] Ctrl + eh?

2009-10-23 Thread Mark Lapasa
Just to add more context, I know children of ListBase don't support Ctrl+A so I added my own keydown listener for Ctrl + A in a datagrid so each index in the dataprovider would be in the .selectedIndicies. However it never gets fired. -mL Mark Lapasa wrote: In IE, why does Ctrl + A in a

[flexcoders] Re: Delay / Pause between script executions

2009-10-23 Thread seanmcmonahan
You definitely want to use Timer here. When you create a timer you can set the interval for the timer and you can set the number of times you want the timer to execute. Using your example you'd get something like: myTimer = new Timer(5000, 3); This will create a timer that executes every 5

[flexcoders] Persistence: storage methods, formats and strategies

2009-10-23 Thread Paulo Cassiano
I' tried few Flex apps that says something like this: As basic user, you have 500MB of storage limit or As user XYZ, you have 1GB of storage limit and so on. My question is: how these guys persists data? How applications like an image editing and sharing tool or an online collab text editor

Re: [flexcoders] ArrayCollection of VO's Memory Leak??

2009-10-23 Thread Jake Churchill
Where do you go to see that? All I can see is the number of instances an object has and the memory those instances take up? On Fri, Oct 23, 2009 at 1:10 AM, Alex Harui aha...@adobe.com wrote: The profiler should be able to show you who is still referencing the objects. Alex Harui

[flexcoders] Re: Question?? Best method for plotting a Moving Average

2009-10-23 Thread cjsteury2
answer.net SQL database through Web services call to Flex.../answer... would like to create a new Array based on existing Array of Ticker data.. So I need to create a new Array Collection then loop through and add the date from the Tickers Array Collection along with the Moving 20 day average

Re: [flexcoders] Re: Question?? Best method for plotting a Moving Average

2009-10-23 Thread Jake Churchill
We do the same thing. See this screen shot: http://www.reynacho.com/wp-content/uploads/2009/05/cse-charting.jpg There's a lot more than just a moving average and bollinger bands there but those are parts of it. In order to get this data, we first tapped into a feed which you have to pay good

[flexcoders] Re: Best way to call SQL LAST_INSERT_ID through Zend Amf

2009-10-23 Thread valdhor
My recommendation would be to return the record ID as the response to the call to save the record. If the save failed, you could return -1 and use that as a check. --- In flexcoders@yahoogroups.com, steveb805 mestev...@... wrote: Hi, I'm mostly a newbie and am writing a simple Flex app. So

[flexcoders] Re: Daylight Savings Time issues from Flex to ColdFusion 8.01

2009-10-23 Thread gareth_arch
Argh! Not what I was hoping to hear. I've been trying to figure out whether it's something with ColdFusion or Flex, but I guess it's Flex then. I guess we'll have to figure something out for now. I'm still interested to see if anyone's come up with a solution for this (I'll try the epoch

[flexcoders] Re: Delay / Pause between script executions

2009-10-23 Thread valdhor
Here is a simple example: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical creationComplete=onCreationComplete() mx:Script ![CDATA[ private var labelTimer:Timer; private var messages:Array = [

[flexcoders] Does DataGroup support XML?

2009-10-23 Thread dorkie dork from dorktown
I am converting my Repeater code to DataGroup code and it doesn't appear to support XML in the dataProvider. Does it support XML or is it something I'm doing? Here is the error message: TypeError: Error #1034: Type Coercion failed: cannot convert xmll...@505bb7e9 to mx.collections.IList. Here is

[flexcoders] DividedBox without thumb

2009-10-23 Thread Richard Rodseth
I don't suppose there's a simple way to get a divided box with no thumb, and no apparent gap. I'm looking for the appearance of a grid (one row) with the resize cursor on the lines between cells. It looks as though I would have to replace the dividerskin with one which drew a line, rather than use

Re: [flexcoders] Re: Delay / Pause between script executions

2009-10-23 Thread Angelo Anolin
Hi Steve, Thanks for the sample code. I was able to come up with something quite similar to what you have posted. One question still remains, though. I tried to issue a timer.stop() command when for example, all the text values have been displayed in the label control, but the timer event

[flexcoders] Re: Disable sort when values in grid change (on propertyChanged)

2009-10-23 Thread tntomek
Unfortunately scrolling is pretty important :) so is my only option to reset dataProvider with new sorted collection? --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: Try blocking the collectionEvent. It will have kind = CollectionEventKind.REFRESH. Note that any scrolling

Re: [flexcoders] Search Suggestion

2009-10-23 Thread Angelo Anolin
You're probably looking for AutoSuggest.. One example: http://sherifabdou.com/2008/03/autosuggest-flex/ http://www.sherifabdou.com/FlexAIRExamples/AutoSuggest/AutoSuggestExample.swf And another one: http://elromdesign.com/blog/Flex/API/AutoSuggest/

Re: [flexcoders] Re: Delay / Pause between script executions

2009-10-23 Thread Rick Winscot
Angelo, The source code on this post provides a means to setup recurring timed events. In fact, the sample does exactly what you describe (updating a label every 5 seconds). Timers in your app... there can be only one. http://www.quilix.com/node/65 Cheers, Rick Winscot www.quilix.com On

RE: [flexcoders] Re: Disable sort when values in grid change (on propertyChanged)

2009-10-23 Thread Alex Harui
You could implement some sort of a transaction system where changes are queued to temporary places until committed. 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

RE: [flexcoders] ArrayCollection of VO's Memory Leak??

2009-10-23 Thread Alex Harui
Double click on the object and it should show you all references to that object. 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 Jake Churchill Sent:

[flexcoders] Re: Delay / Pause between script executions

2009-10-23 Thread valdhor
Two ways 1. Add the repeat count parameter to the constructor: labelTimer = new Timer(5000, messages.length); 2. A little math is required (Arrays are zero based and the first event triggered will have a count of 1. We need to take that into account): ?xml version=1.0 encoding=utf-8?

Re: [flexcoders] ArrayCollection of VO's Memory Leak??

2009-10-23 Thread Jake Churchill
Ah, for anyone else curious, you have to take a memory snapshot before this will work On Fri, Oct 23, 2009 at 3:06 PM, Alex Harui aha...@adobe.com wrote: Double click on the object and it should show you all references to that object. Alex Harui Flex SDK Developer Adobe Systems Inc.

[flexcoders] Modules Loading in same domain

2009-10-23 Thread terryriney392
Afternoon, I realize my chances of getting this answered will go down really quick as Friday evening rolls around but working late tonight so really could use some help. I am loading modules using ModuleLoader. Loading fine through Flexbuilder. Loading fine when double click on host.swf when

[flexcoders] Copy or enumerate a CSSStyleDeclaration? (Flex 3.4)

2009-10-23 Thread droponrcll
I have a custom class that extends Canvas. I'd like this class to have the default styles used by Canvas, plus my own default styles. So I want to get the Canvas CSSStyleDeclaration and copy its properties to a new CSSStyleDeclaration used by my own component (then add my own stuff). I can't

[flexcoders] Re: Does DataGroup support XML?

2009-10-23 Thread dorkie dork from dorktown
For future reference XMLList needs to be wrapped in XMLListCollection: !-- An item renderer function can be defined in order to display a mix of data and graphical items. -- s:DataGroup itemRenderer=CommentItemRenderer x=10 y=140 width=100%

[flexcoders] Re: Copy or enumerate a CSSStyleDeclaration? (Flex 3.4)

2009-10-23 Thread droponrcll
--- In flexcoders@yahoogroups.com, droponrcll amyblankens...@... wrote: I have a custom class that extends Canvas. I'd like this class to have the default styles used by Canvas, plus my own default styles. So I want to get the Canvas CSSStyleDeclaration and copy its properties to a new

RE: [flexcoders] Re: Does DataGroup support XML?

2009-10-23 Thread Deepa Subramaniam
In Flex 4/Spark, the dataProvider contract is limited to IList implementations (the Flex framework provides several IList implementations straight out of the box like ArrayCollection, ArrayList, XMLListCollection, XMLList, etc). We decided to do this to reduce complexity which in our

[flexcoders] Free Flash :-D

2009-10-23 Thread Wally Kolcz
Any Adobe people out there to answer this? I am lucky to work for a University and recieved a free copy of Flex Builder 3. Will there be a same program for Flash Builder 4 and/or Flash Catalyst? Just wondering. Heard a rumor from my Adobe contact about Flash Builder, but was wondering if anyone

Re: [flexcoders] Free Flash :-D

2009-10-23 Thread Sam Lai
Not directly helpful, but they did make Flex Builder 3 pretty much immediately available to universities (staff and students) once it was released. I had to re-register though, so I have a key for FB2 and FB3. So if history is anything to go by... fingers crossed P.S. I was surprised to find out

Re: [flexcoders] Re: Does DataGroup support XML?

2009-10-23 Thread dorkie dork from dorktown
Thanks On Fri, Oct 23, 2009 at 6:19 PM, Deepa Subramaniam dsubr...@adobe.comwrote: In Flex 4/Spark, the dataProvider contract is limited to IList implementations (the Flex framework provides several IList implementations straight out of the box like ArrayCollection, ArrayList,

Re: [flexcoders] Free Flash :-D

2009-10-23 Thread Matt Chotin
I'm not sure what we're doing with Catalyst, but Builder will maintain it (you'll have to re-register). Matt On Oct 23, 2009, at 4:29 PM, Wally Kolcz wrote: Any Adobe people out there to answer this? I am lucky to work for a University and recieved a free copy of Flex Builder 3. Will

[SOLVED] - [flexcoders] Re: Delay / Pause between script executions

2009-10-23 Thread Angelo Anolin
Hi Steve, That got it quick and easy. Thanks a lot. Marking as solved. Regards, Angelo From: valdhor valdhorli...@embarqmail.com To: flexcoders@yahoogroups.com Sent: Saturday, 24 October, 2009 4:11:35 Subject: [flexcoders] Re: Delay / Pause between script