Re: [flexcoders] Auto sizing columns in advanced datagrid

2008-12-11 Thread Sefi Ninio
Not sure, but I think you can't do it according to cells content - due to performance issues and the fact that the Flex engine does not render all cells, only the viewable ones. Say you have 1000 rows in the data provider, but only 5 are viewable - flex only renders about 5 or so, not 1000 - so it

[flexcoders] Re: speed of the for each looping

2008-12-11 Thread Cato Paus
The book ActionScript 3 Cookbook and ActionScript 3.0 Bible, talks about this issue, and your interesting disuions on this thread, have pointed me in the right way :) thanks .. By the way, my firm have the first build on a night watcher application, where we use Nokia NFC (RFID) to collect

Re: [flexcoders] Re: Still getting old swf

2008-12-11 Thread jitendra jain
Thanks Ross for your valuable suggestions. But this tag itself says that nothing is cached in the browser. I have added this line in the code. But still i don't see any side effects or anything buggy. I will spend some time in investigating or testing this issue. Thanks, with Regards,

[flexcoders] Re: Applying metadata in the middle of mxml - is it possible?

2008-12-11 Thread david.keutgens
--- In flexcoders@yahoogroups.com, per.olesen [EMAIL PROTECTED] wrote: Hi, Basically, I would like to apply some (of my own) metadata to a component instance inside the mxml. Like this: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;

[flexcoders] Defining non closable closable tabs in super tab navigator

2008-12-11 Thread lolr3a
Hi, Does anyone know how to create a supertabnavigator with BOTH closeable and non-closeable tabs? I only see an option to define that for all the tabs together. Thanks

[flexcoders] SpeedoMeter

2008-12-11 Thread sanjaypmg
Hi All, I have create a speedometer in flex. Will you guys help me out to dig this well..? All suggestions are welcome... Thanks in Advance... Sanjay Sharma

Re: [flexcoders] SpeedoMeter

2008-12-11 Thread Josh McDonald
http://form-function.blogspot.com/2008/04/gauge-component-v02.html -Josh On Thu, Dec 11, 2008 at 10:25 PM, sanjaypmg [EMAIL PROTECTED] wrote: Hi All, I have create a speedometer in flex. Will you guys help me out to dig this well..? All suggestions are welcome... Thanks in Advance...

[flexcoders] Combobox text does not render on some

2008-12-11 Thread darylgmyers
I have form window with about 20 combobox fields. Each one is bound to a unique arraycollection which is bindable. When the window is first displayed there are 3 of the combobox firlds that do not display the text from the drop down list even though the value has been loaded correctly. As

Re: [flexcoders] Re: e4x Strings?

2008-12-11 Thread Peter Hall
The only way I could make this work is using an external 3rd party library. I am using http://code.google.com/p/xpath-as3. It works but is noticeably slow on datasets exceeding 1000 rows. Sorry to hijack this.. but if you have specific use-cases which you think should perform better, could you

RE: [flexcoders] Change Timezone

2008-12-11 Thread Keith Reinfeld
Whoops, sorry. Should have been: var utcH:Number = -5;// New York: EST Regards, -Keith http://keithreinfeld.home.comcast.net http://keithreinfeld.home.comcast.net/ _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

[flexcoders] Re: Flex training

2008-12-11 Thread Yakov Fain
I blogged about my Flex certification exam over here: http://yakovfain.javadevelopersjournal.com/fresh_notes_after_taking_flex_certification_exam.htm HTH Yakov --- In flexcoders@yahoogroups.com, ivo [EMAIL PROTECTED] wrote: Would people recommend taking the Certification Exam from Adobe?

[flexcoders] HTTPService and response headers

2008-12-11 Thread Ricky Bacon
This topic has probably been beaten to death, but I want to make sure I'm not missing something before writing a new service. Looking through the API docs and Google it seems the only way to access response headers is to use a proxy. Is this still the case? thanks -Ricky

Re: [flexcoders] Re: speed of the for each looping

2008-12-11 Thread Dave Cragg
Could you clarify this? Does this non-guarantee apply to numerically indexed arrays and ArrayCollections too? Or just to associative arrays and object properties? The docs imply that the order is maintained by for...in with numerically indexed arrays. It would be a big change if that were

[flexcoders] Re: Defining non closable closable tabs in super tab navigator

2008-12-11 Thread valdhor
Have you seen SuperTabNavigator in Flexlib (http://code.google.com/p/flexlib/) --- In flexcoders@yahoogroups.com, lolr3a [EMAIL PROTECTED] wrote: Hi, Does anyone know how to create a supertabnavigator with BOTH closeable and non-closeable tabs? I only see an option to define that for

[flexcoders] Re: Cannot Tab to MovieClips from Flash SWF Loaded with SWFLoader

2008-12-11 Thread aut0poietic
Repost: Sent similar reply yesterday, but it didn't make it here for some reason. Alex, serious thanks for your help. I got the problem solved a different way, but you pointing me at the IFocus* classes provided it. Basically, I rolled my own FocusManager to be a sort of Hybrid -- it

Re: [flexcoders] Flex/flash and Firefox 3.0.x performance

2008-12-11 Thread Tom Chiverton
On Friday 05 Dec 2008, schneiderjim wrote: then doing nothing, the firefox 3.0.x process sits at about 40% CPU usage. Doing the same with Firefox 2.0.0.18 and the firefox process goes back down to 0% - 2% CPU usage ... more like I'd expect. Does this happen when using a clean FireFox profile ?

[flexcoders] LCDS - Handling client disconnection on the server

2008-12-11 Thread Besite - Bart
Hi, I have a Data Management Service running on my Livecycle server. I have a managed array collection of Users. When a client disconnects (he closes the application or his browser or his internet connexion is lost), I want the client's user to be removed from the managed array collection of

[flexcoders] Adobe AIR 1.5 great review on InfoWorld

2008-12-11 Thread oneworld95
InfoWorld has given a 9.3/10 (Excellent) rating to AIR 1.5 in a very nice review: http://www.infoworld.com/article/08/12/11/50TC-adobe-air_1.html?source=NLC-DAILYcgd=2008-12-11

[flexcoders] Re: Defining non closable closable tabs in super tab navigator

2008-12-11 Thread lolr3a
valdhor thanks for the reply but you didn't really read my question... I AM using *super tab navigator*. I need to be able to make both closeable AND non-closeable tabs in the same navigator... --- In flexcoders@yahoogroups.com, valdhor [EMAIL PROTECTED] wrote: Have you seen SuperTabNavigator

[flexcoders] How to call Flex function in Flash file?

2008-12-11 Thread markflex2007
I embed a swf in Flex, Do you think if it is possible for the Flash swf can access Flex function? How to do this with as3 in flash and flex? Thanks Mark

[flexcoders] Re: Combobox text does not render on some

2008-12-11 Thread Tim Hoff
Something's not done correctly. Post some code. -TH --- In flexcoders@yahoogroups.com, darylgmyers [EMAIL PROTECTED] wrote: I have form window with about 20 combobox fields. Each one is bound to a unique arraycollection which is bindable. When the window is first displayed there are 3 of

[flexcoders] Re: Flex training

2008-12-11 Thread Amy
--- In flexcoders@yahoogroups.com, Aaron Hardy [EMAIL PROTECTED] wrote: If you have solid experience in developing a variety of Flex applications, you should be able to pass with little studying. I recently took it and felt it was worth my time. For any company specifically looking for

[flexcoders] Re: Defining non closable closable tabs in super tab navigator

2008-12-11 Thread valdhor
OK So, have you read the documentation (http://flexlib.googlecode.com/svn/trunk/docs/flexlib/containers/SuperTabNavigator.html) and taken a look at the code sample for the SuperTabNavigator? In the example code there is... setClosePolicyForTab(0, SuperTab.CLOSE_NEVER); There is also... //

[flexcoders] Flex Certification for Flex 3

2008-12-11 Thread valdhor
Does anyone know if Adobe is going to update the Flex Certification exam for Flex to 3? With Flex 4 on the radar it seems a little late but better than nothing.

Re: [flexcoders] Bring Alert in front of DownloadProgressBar

2008-12-11 Thread Haykel BEN JEMIA
To hide the progress bar you should override the progress handler with an empty function (or add your own code to show the progress). Haykel Ben Jemia Allmas Web RIA Development http://www.allmas-tn.com On Wed, Dec 10, 2008 at 9:23 AM, ilikeflex [EMAIL PROTECTED] wrote: Hi I am using

[flexcoders] Re: Best practice for calling asynchronous functions?

2008-12-11 Thread Amy
--- In flexcoders@yahoogroups.com, Mark Carter [EMAIL PROTECTED] wrote: Thanks for all the responses. I hadn't really looked into the ASyncToken until now. However, for me it seems that using the ASyncToken would be limited to the implementation of the, for example, save(XML, Function,

Re: [flexcoders] ping from flash

2008-12-11 Thread Tom Chiverton
On Friday 05 Dec 2008, flexaustin wrote: Is it possible to do a ping or rdp from Flash? No. You can use (Java) wrappers around Flex to invoke native commands, however. -- Tom Chiverton Helping to enormously synthesize frictionless end-to-end turn-key schemas

Re: [flexcoders] Some questions

2008-12-11 Thread Tom Chiverton
On Friday 05 Dec 2008, Olivier Ziller wrote: is it possible, with flex, to drive a card reader? i mean reading and writing to a mifare card? if not possible with flex, is it with air? Assuming a Mifare card doesn't just appear as a filesystem in the O/S; Flex - no, it's inside the browser

RE: [flexcoders] LCDS - Handling client disconnection on the server

2008-12-11 Thread Jeff Vroom
On the server, you can listen for session disconnect events. Probably the best intro to this is Seth's blog posting: http://greetingsfromoakland.blogspot.com/2008/11/post-max.html Jeff From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Besite - Bart Sent: Thursday,

RE: [flexcoders] Re: Best practice for calling asynchronous functions?

2008-12-11 Thread Tracy Spratt
...adding responders after the call has been made... That is not actually what happens. The call is not made at that line, just set up. I recall reading a fuller explanation, but didn't follow the internals well enough to repeat it. Tracy From:

[flexcoders] SWFLoader runtime error?

2008-12-11 Thread markflex2007
Hi, This is the code mx:SWFLoader id=mySWFLoader bottom=10 left=10 source=asset/ffTalkSimpleSwf.swf / This is the error message Error #2044: Unhandled securityError:. text=Error #2140: Security sandbox violation: file:///D:/WORKSPACE/Flex Builder 3/FFTest1/bin-debug/FF_Talk_Simple.swf cannot

[flexcoders] can you truncate a multiline TextArea?

2008-12-11 Thread blc187
does anyone know of an existing component that can truncate multiline text? I'm looking to either use an already made one, or create my own multiline TextArea and be able to truncate when the textHeight reaches more than the set height of the component. So far I haven't been able to get a

Re: [flexcoders] Some questions

2008-12-11 Thread Nate Beck
Also check out Merapi (http://www.merapiproject.net/), If you're using AIR, it can give you the extra control you need. Cheers, Nate On Thu, Dec 11, 2008 at 8:54 AM, Tom Chiverton [EMAIL PROTECTED] wrote: On Friday 05 Dec 2008, Olivier Ziller wrote: is it possible, with flex, to drive a

[flexcoders] Re: SWFLoader runtime error?

2008-12-11 Thread markflex2007
fixed.Thanks

RE: [flexcoders] txtbx focus at login

2008-12-11 Thread Robert Byrne
In my template I put this line in the body tag: onLoad=window.document.${application}.focus(); That works in IE but I can't get FF(3.0.4) to work.  One of the link I listed in an earlier post suggested adding this line to get FF to play nice as FF has a known issue with the embed tag:    param

RE: [flexcoders] Best practice for calling asynchronous functions?

2008-12-11 Thread Seth Hodgson
I haven't been following this thread, but the sample code below can actually be shortened to something like this: save(xml).addResponder(new AsyncResponder(handleResult, handleFault)); No AsyncToken in the code and rather than new'ing the responder, if you always want to direct

RE: [flexcoders] txtbx focus at login

2008-12-11 Thread Tracy Spratt
Last I heard, this was not possible in FF. Tracy From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Robert Byrne Sent: Thursday, December 11, 2008 12:53 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] txtbx focus at

RE: [flexcoders] RE: services-config.xml: compc or just mxmlc?

2008-12-11 Thread Seth Hodgson
I think what I'm really asking is when does the services-config.xml metadata get baked into a .swf (or .swc)? When you compile with mxmlc and -services, a subset of your config is baked in the swf. It looks like compc doesn't complain about a -services option, although the 'baked in' aspect

[flexcoders] Error 2032, but only in IE with php session_start

2008-12-11 Thread Ramsey, Robert L
Hi, I have an app that makes http requests to a php script on the server. If I have session_start() in the back end file so I can use session variables in php, I get the following error: [RPC Fault faultString=HTTP request error faultCode=Server.Error.Request faultDetail=Error:

RE: [flexcoders] LCDS - Handling client disconnection on the server

2008-12-11 Thread Jeff Vroom
When you unplug the network cable the client may not get a disconnect event from the networking layer until it tries to use that connection to send a request to the server.You might need a heartbeat ping which runs periodically to test the connection to force that close event. Also, if you

[flexcoders] Re: Flex Certification for Flex 3

2008-12-11 Thread Anthony DeBonis
It already is http://www.adobe.com/devnet/flex/articles/flex_certification.html

Re: [flexcoders] can you truncate a multiline TextArea?

2008-12-11 Thread Dmitry
I would suggest extending the class by adding a property numLines to the textarea - that property would take its value from the textField.numLines, which is a protected property inside TextArea that represents the actual textField used to render text. Then you can call TextArea.getLineMetrics()

[flexcoders] Re: Flex Certification for Flex 3

2008-12-11 Thread valdhor
Doh! --- In flexcoders@yahoogroups.com, Anthony DeBonis anth...@... wrote: It already is http://www.adobe.com/devnet/flex/articles/flex_certification.html

[flexcoders] ToggleButtonBar (Padding Issue)

2008-12-11 Thread Naveen Booma
Hi, I was working on ToggleButtonBar and I wanted to move the label to the bottom of the button and it seems to be impossible... I tried using paddingBottom= 0, still it does not move . Can anyone please let me know if you have a solution for it ? Thanks, Kumar.

[flexcoders] AIR application installation Error #0

2008-12-11 Thread aejaz_98
I am getting the Error #0 with installing an AIR application on Windows XP professional SP2. The AIR runtime is latest (i.e. version 1.5). Here's what happened, a previous install of the application was successful. After uninstalling using Add/Remove programs, the new version of the application

RE: [flexcoders] Re: speed of the for each looping

2008-12-11 Thread Alex Harui
Funny. I didn't realize we were talking about iterating arrays with for..in until just now. I don't think we do that in Flex code. If the docs say arrays will iterate via for..in in index order then I'd probably trust that, especially if you stuff your arrays in index order From:

[flexcoders] Actionscript Time Components

2008-12-11 Thread creativepragmatic
Hello Everyone, I just released some simple open source components for entering dates and times. Hopefully, others will find them useful or even find reasons to improve them. I will be documenting them in the coming weeks. Feedback is welcome. Project URL:

[flexcoders] Re: Error 2032, but only in IE with php session_start

2008-12-11 Thread valdhor
I use session_start() in my PHP files and it works fine (Although I use Remoting). Perhaps there is something else causing the problem that is masked by the removal of the session_start() ? To do what you want, could you perhaps use the referrer header? If the referrer is not your SWF then don't

RE: [flexcoders] SpeedoMeter

2008-12-11 Thread Wildbore, Brendon
I second that... what an absolutely brilliant component! From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Josh McDonald Sent: Friday, 12 December 2008 1:46 a.m. To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] SpeedoMeter

[flexcoders] Flex digital readout

2008-12-11 Thread oneworld95
Hi. Is there a digital (LED) readout component for Flex out there? Thanks.

[flexcoders] Connecting Flex 3 to ASP.NET Using LINQ

2008-12-11 Thread johngag6969
A friend of mine over at http://19Nates.com made a great post for beginners on how to connect flex 3 to ASP.NET. I would recommend it to anyone that wants to venture to .NET or anyone who just wants to learn some basics. http://www.cftips.net/post.cfm/connecting-flex-3-to-asp-net-using-linq

[flexcoders] Setting up and connecting a simple CSS file with Flex 3

2008-12-11 Thread johngag6969
I consider myself a developer with limited design skills. I decided this weekend that I wanted to change that by learning some simple design techniques for flex 3. Check out my blog post about setting up and connecting a simple CSS file with Flex 3.

[flexcoders] One computer unable to connect to XMLSocket server

2008-12-11 Thread seanclarkhess
I've coded a custom socket server in PHP, finished it and passed it off to the client, but there's on guy (the PM, actually) who can never pass data back and forth. From his side, Flash says he's connected, but he never gets the accepted message back from the server, and the server never

[flexcoders] Re: One computer unable to connect to XMLSocket server

2008-12-11 Thread seanclarkhess
Some code: http://pastie.textmate.org/337070 - the base client class http://pastie.textmate.org/337071 - the base server class (there are several helping classes not shown)

RE: [flexcoders] Re: One computer unable to connect to XMLSocket server

2008-12-11 Thread Wildbore, Brendon
I get a big X mark when clicking connect to server on both firefox and opera Heres the log: Connect to Server [X] [Error] Error #2048 Connect to Server [ ] Create Socket Connection [√] Creating on sockets.rapidintake.com:80 Create Socket Connection [ ] From:

[flexcoders] what is the minimum version of FP supported by flex 3.2?

2008-12-11 Thread Jeff Tapper
Will flex 3.2 apps run in FP 9.0.115, or do they require 9.0.124, anyone know? Jeff Tapper» Senior Consultant digital primates IT Consulting Group ® Phone: 847.824.7800, x222 | Fax: 847.655.2867 jtap...@digitalprimates.net

Re: [flexcoders] One computer unable to connect to XMLSocket server

2008-12-11 Thread Maciek Sakrejda
Works here in both 9.0.124.0 on Ubuntu 8.04 and 10.0.12.36 on Ubuntu 8.10. Hope this helps. -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: seanclarkhess seanh...@gmail.com Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject:

[flexcoders] Am i high?

2008-12-11 Thread djhatrick
or does it seem sometimes that flex4 (using 3.2 sdk) doesn't always recompile? Anybody noticed this, I'm on a mac. Thanks, Patrick

[flexcoders] ComboBox SelectedItem Problem with resultFormat e4x - Very Urgent

2008-12-11 Thread samsonkiran
Hi I have an Flex file (.mxml) in which i am making the HTTPService call to one JSP. This JSP returns me an XML data. I need to populate the comboBox in the FLEX with the data coming from the JSP in XML format. This is the sample code. test.mxml ?xml version=1.0 encoding=utf-8? mx:Application

[flexcoders] Re: One computer unable to connect to XMLSocket server

2008-12-11 Thread seanclarkhess
False alarm -- The PM had an internet filter installed, even though he repeatedly denied having any firewalls or anything. All fixed...

Re: [flexcoders] Am i high?

2008-12-11 Thread Faisal Abid
how are you using Flex 4 using the 3.2 sdk? On 11-Dec-08, at 3:40 PM, djhatrick wrote: or does it seem sometimes that flex4 (using 3.2 sdk) doesn't always recompile? Anybody noticed this, I'm on a mac. Thanks, Patrick

[flexcoders] Cascading deletes - any good workarounds?

2008-12-11 Thread uiowaflex
Using Live Cycle Data Services (2.6) we're having trouble implementing cascading deletes with large amounts of one-to-many relationships. Our workarounds are not working smoothly, and we don't want to have to delete everything completely by hand. Anyone found a good way to handle cascading

Re: [flexcoders] Am i high?

2008-12-11 Thread Matt Chotin
If you're using the build from MAX, it's not an especially tested config right now On 12/11/08 9:40 PM, djhatrick djhatr...@yahoo.com wrote: or does it seem sometimes that flex4 (using 3.2 sdk) doesn't always recompile? Anybody noticed this, I'm on a mac. Thanks, Patrick

[flexcoders] save AMF formated object to a file with PHP

2008-12-11 Thread tanjaklc
Hi all, can some1 help me with saving AMF object to a file. I have and Array object in PHP with some text and bynary data $Config = array(); //authorisation URL $Config[authURL] = authUrl; $Config[DocumentID] = DocumentID; $Config[Data] = fopen(Doc.pdf); now I need to serialize it to AMF

[flexcoders] Re: ComboBox SelectedItem Problem with resultFormat e4x - Very Urgent

2008-12-11 Thread valdhor
Try combobox.selectedit...@data --- In flexcoders@yahoogroups.com, samsonkiran samsonkir...@... wrote: Hi I have an Flex file (.mxml) in which i am making the HTTPService call to one JSP. This JSP returns me an XML data. I need to populate the comboBox in the FLEX with the data coming

[flexcoders] Getting NULL Object Reference while deleting last element of the list

2008-12-11 Thread anuj181
Hi Guys I am trying to implement the delete entries of the list box. The code works fine till the last entry, when i am trying to delete the last item after selection it is throwing error TypeError: Error #1009: Cannot access a property or method of a null object reference. I have seen this error

[flexcoders] Re: SpeedoMeter

2008-12-11 Thread sunild999999
I concur, Thomas Gonzalez's gauge component rocks. Cheers, Sunil

[flexcoders] Re: Lazy loading trees

2008-12-11 Thread dandante
Thank you. I am unclear on where the classes QueryBuilderTreeDelegate and ReferenceDataBrowserDelegate are supposed to be. I realize that I can implement ITreeDataDescriptor and use getChildren() to provide the children of any given node. What I don't know how to do is fetch a node's child

RE: [flexcoders] what is the minimum version of FP supported by flex 3.2?

2008-12-11 Thread Alex Harui
Should be the same as 3.0. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Jeff Tapper Sent: Thursday, December 11, 2008 12:35 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] what is the minimum version of FP supported by flex 3.2? Will flex 3.2 apps

[flexcoders] MXML Components and measure()

2008-12-11 Thread Michael Prescott
When is it that you have to implement measure()? If you're building components in MXML, purely out of other standard Flex components, do you ever need to bother with measure()? I'm making an MXML item renderer, and I'm running into some trouble with the DataGrid handling the variable row height

Re: [flexcoders] Re: speed of the for each looping

2008-12-11 Thread Josh McDonald
I've spent a lot of time poking around inside the collections stack (it's just interesting), and I can't find a situation where you'll get a different order for for each..in over indexed looping at the moment (Fx 3). That could of course change without notice, but for now I think that where speed

[flexcoders] runtime class type reference?

2008-12-11 Thread Maciek Sakrejda
Is there a way to get a reference to the runtime type of an AS3 object? Something like Foo.class in Java? I think I can do var mysteryObjClass:Class = getDefinitionByName(getClassInfo(mysteryObj).name); but this strikes me as a rather roundabout way of doing it. -- Maciek Sakrejda Truviso,

Re: [flexcoders] Best practice for calling asynchronous functions?

2008-12-11 Thread Josh McDonald
Some quick pointers (I do the framework stuff where I work): All (afaik) network requests are queued up until the end of frame, so you can nearly always add responders to a token... ...Except request errors, such as an invalid SOAP request. These can in some circumstances generate Fault

[flexcoders] Update ArrayCollection on LocaleChain change

2008-12-11 Thread securenetfreedom
I am trying to update an ArrayCollection with new values from a localeChain change. Everything tied to an display control is changing properly, however, the ArrayCollection does not. I've tried the following three methods for accessing the resource, but none work. Is the ResourceManager binding

RE: [flexcoders] runtime class type reference?

2008-12-11 Thread Alex Harui
There isn't much introspection APIs in AS. I'd use getQualifiedClassName instead of getClassInfo. getClassInfo can be expensive From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Maciek Sakrejda Sent: Thursday, December 11, 2008 3:03 PM To: flexcoders Subject:

RE: [flexcoders] Re: speed of the for each looping

2008-12-11 Thread Alex Harui
You have too much time on your hands... I would expect collections to iterate much faster by using getItemAt or cursors instead of array indexers or for..in. I swear someone published a comparison once. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Josh

RE: [flexcoders] MXML Components and measure()

2008-12-11 Thread Alex Harui
Normally you only need to implement measure if you didn't base the component on a container, but item renderers are a bit different. Their measure methods must take the explicitWIdth and calculate measuredHeight. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf

Re: [flexcoders] Re: speed of the for each looping

2008-12-11 Thread Josh McDonald
Hey, I said *where speed isn't important* :) And I can't help that I always want to see the wizard behind the curtain! =] -Josh On Fri, Dec 12, 2008 at 9:19 AM, Alex Harui aha...@adobe.com wrote: You have too much time on your hands… I would expect collections to iterate much faster by

RE: [flexcoders] Best practice for calling asynchronous functions?

2008-12-11 Thread Seth Hodgson
Hi Josh, This sounds like a bug in SOAP serialization in the Flex SDK that's generating a Fault locally on the client (no networking involved) but apparently has a bug and does so incorrectly. Would you mind logging a bug with test case if you haven't already? Thanks, Seth From:

[flexcoders] Re: Best practice for calling asynchronous functions?

2008-12-11 Thread Amy
--- In flexcoders@yahoogroups.com, Tracy Spratt tspr...@... wrote: ...adding responders after the call has been made... That is not actually what happens. The call is not made at that line, just set up. I recall reading a fuller explanation, but didn't follow the internals well enough to

RE: [flexcoders] runtime class type reference?

2008-12-11 Thread Maciek Sakrejda
That's too bad--with classes as first-class objects, it's pretty sexy to be able to do something like var someClass:Class = getDefinitionByName(com.truviso.SomeClass); var someObj:ISomeInterface = new someClass(); ... instead of having to lather on the syntax like in Java. It'd be nice to do

[flexcoders] Re: Setting up and connecting a simple CSS file with Flex 3

2008-12-11 Thread Amy
--- In flexcoders@yahoogroups.com, johngag6969 johnga...@... wrote: I consider myself a developer with limited design skills. I decided this weekend that I wanted to change that by learning some simple design techniques for flex 3. Check out my blog post about setting up and connecting a

[flexcoders] Re: Lazy loading trees

2008-12-11 Thread Amy
--- In flexcoders@yahoogroups.com, dandante danda...@... wrote: Thank you. I am unclear on where the classes QueryBuilderTreeDelegate and ReferenceDataBrowserDelegate are supposed to be. I realize that I can implement ITreeDataDescriptor and use getChildren() to provide the children of

[flexcoders] [Little off topic] Timezone or TimeZone

2008-12-11 Thread Nate Beck
I'm currently writing time zone (timezone sp?) logic for the Flash player, and my co-worker and I got into an argument about whether it was one word or two, and how it was spelled. I just wanted to ping the group and get your opinion. Cheers, Nate

[flexcoders] Adobe AIR Installer has encountered a problem

2008-12-11 Thread michael_corbridge
Has anyone come across this problem. I had successfully installed AIR 1.5 previously when suddenly some of my AIR apps stopped running with this error: Adobe AIR Installer has encountered a problem and needs to close. We are sorry for the inconvenience. I note that I can still run my AIR

Re: [flexcoders] [Little off topic] Timezone or TimeZone

2008-12-11 Thread Faisal Abid
One word from what I've come across., but when i write it on a mac it underlines it, says its either Time-zone or Time zone , i think its one of those colour or color things (British/Canadian Spelling vs America) - Faisal On 11-Dec-08, at 7:33 PM, Nate Beck wrote: I'm currently writing time

RE: [flexcoders] [Little off topic] Timezone or TimeZone

2008-12-11 Thread Tracy Spratt
Attempting to apply logic to English language is a fruitless endeavor. Tracy From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Nate Beck Sent: Thursday, December 11, 2008 7:33 PM To: flexcoders@yahoogroups.com Subject:

Re: [flexcoders] Best practice for calling asynchronous functions?

2008-12-11 Thread Josh McDonald
Hi Seth, It stems I think from the fact that the Async stuff in the SDK (AsyncToken, IResponder impls) are a little too closely tied to Flex's underlying remoting stuff. But I've already brought that up on the SDK dev list and it seemed you guys are on top of that issue. The problem is that from

Re: [flexcoders] runtime class type reference?

2008-12-11 Thread Josh McDonald
There are other cool utils around that do introspection, but here's mine: http://is.gd/7iTx -Josh On Fri, Dec 12, 2008 at 9:30 AM, Maciek Sakrejda msakre...@truviso.comwrote: That's too bad--with classes as first-class objects, it's pretty sexy to be able to do something like var

[flexcoders] AS ResourceBundle Keys with Args?

2008-12-11 Thread securenetfreedom
I am creating ActionScript ResourceBundles. Is possible to create a resource key/value via AS that allows arguments like: rb.content[DISTANCE_FORMAT] = {0} miles; I am getting key/value pairs from a database so I will be creating the RBs at runtime. So will be looping thru the result set with

[flexcoders] Maintaining scale when resizing embed tag

2008-12-11 Thread ivo
Hello listers, I have a Flex App with scaleMode set to StageScaleMode.SHOW_ALL, the Application tag dimension set to 300x500 and it scaled perfectly when modifying the dimensions of the embed tag. To make things cleaner I removed all the AS3 code from the Application MXML file and placed it

Re: [flexcoders] Best practice for calling asynchronous functions?

2008-12-11 Thread Mark Carter
Amy-28 wrote: Right. The calling code doesn't need to do anything different. The change is inside your method. Here's an example: Thanks for that - its roughly what I had in mind - but its good for me to see an example. Amy-28 wrote: In my opinion this is neater than something

[flexcoders] SecurityError

2008-12-11 Thread dialogtmp
hello all, I meet a big trouble. I use flex to development firefox addon. It's ok when I run the html which compliled by flex. But when I package it to a firefox addon, it occurs SecurityError: Error #2060. Could you tell how to process this error? I'm really nerver-racking thanks,

Re: [flexcoders] Best practice for calling asynchronous functions?

2008-12-11 Thread Mark Carter
Josh McDonald-4 wrote: The problem is that from the SDK's point of view, there is no request. There's no IMessage, there's nothing to wait on. However from the application's point of view, there is. I don't quite understand... Wouldn't any problems before the async token is returned, be

Re: [flexcoders] Best practice for calling asynchronous functions?

2008-12-11 Thread Josh McDonald
SOAPEncoder throws an exception, which is caught by Operation, swallowed, and then a fault event is dispatched from the Operation instance. If you do all your async stuff using responders because you need to know *which* action has just finished or faulted (among other things), you never get to

Re: [flexcoders] Re: Lazy loading trees

2008-12-11 Thread Johannes Nel
those classes were just random stuff i was using from where i copied the code. On Fri, Dec 12, 2008 at 2:16 AM, Amy amyblankens...@bellsouth.net wrote: --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, dandante danda...@... wrote: Thank you. I am unclear on where the

RE: [flexcoders] Best practice for calling asynchronous functions?

2008-12-11 Thread Seth Hodgson
Right, definitely a bug in mx.rpc.soap.Operation#invokePendingCall where it invokes a helper method to dispatch fault events directly if it hits encoding errors, etc. An example of what it should be doing can be seen in mx.rpc.soap.mxml.Operation#send: new AsyncDispatcher(dispatchRpcEvent,

Re: [flexcoders] SecurityError

2008-12-11 Thread Rick Winscot
There may be bad news on the horizon. There was a way to get around this a while ago by adjusting the Œallowscriptaccess¹ parameter in your html output to Œalways.¹ If you¹ve already tried this without success... then you are probably hitting crossdomain issues. Flash knows what Œpage¹ it is on

[flexcoders] how do you blur smoothly between two states?

2008-12-11 Thread Flex Noob
hrmm, I don't get it Say I have this on rollover: mx:Blur id=blur duration=1000 blurXTo=10 blurYTo=10 blurXFrom=0 blurYFrom=0 target={this}/ and this on roll out: mx:Blur id=unblur duration=1000 blurXTo=0 blurYTo=0 blurXFrom=10 blurYFrom=10 target={this}/ works, cool, rock on. however