Re: [flexcoders] Re: Getting Its Function Name...

2008-12-02 Thread Ralf Bokelberg
If you want to call the current function recursively, you can use arguments.callee function something( count : int ) { trace( count ); if( count 0 ) arguments.callee( count-- ); } Cheers Ralf. On Tue, Dec 2, 2008 at 1:02 AM, Josh McDonald [EMAIL PROTECTED] wrote: That'll only work in

[flexcoders] How to set variableRowHeight = true in MenuBar

2008-12-02 Thread nathanleewei
I want make the same effect as following url: http://blog.flexexamples.com/2008/10/02/adding-a-horizontal-separator- to-a-flex-popupbutton-controls-pop-up-menu-redux/ I haved tried 2 methods to solve the problem, //method 1 private function onMenuBarInitialize():void {

Re: [flexcoders] Detect a databinding

2008-12-02 Thread Jules Suggate
Hi Marco, first up you have to ask yourself why you want this feature? There may be another way to solve the problem. However, here's what I know of your specific question... Last time I checked (Flex 3 beta 2) there was no *official* way to inspect the bindings on a component at runtime.

RES: [flexcoders] Re: Game Architecture

2008-12-02 Thread Luciano Manerich Junior
Hi! In case of Remote Objects, thats correct, you'll need to query the server time to time to get the result of a turn. About the security of the RO's, its a open connection to your database for everyone, i.e, you have a method increaseXP(player, amount), if you dont apply the certain

[flexcoders] Zoom effect absolute positioning

2008-12-02 Thread Ward Loockx
Hello, I have a canvas within my application that contains polaroid images (own flex component). When I click on a polaroid I wan't it to zoom all over my application. When I do this now it stays within the canvas and I get scrollbars (on that canvas). Is there a way to keep the pictures on

[flexcoders] Re: How to embed icons in MenuBar?

2008-12-02 Thread nathanleewei
It must be public var documentIcon:Class; --- In flexcoders@yahoogroups.com, nathanleewei [EMAIL PROTECTED] wrote: no shown :(

[flexcoders] Re: How to make a Docking Window Framework/component like Eclipse/InfoDock/JDock

2008-12-02 Thread nathanleewei
http://flexrock.googlecode.com --- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: Somebody on this list has created exactly what you're looking for, and it's pretty reasonably priced, google the archives. -Josh

[flexcoders] Re: objects bound to datagrid not gc'd when dataprovider set to null

2008-12-02 Thread lmurphy
Could anyone point me in the right direction? I've removed - * data binding references * remote object call references - clearResult However, after setting the dataprovider for my grid to null - the grid shows no items, in the debugger the dataprovider has a length of 0 - there are still

[flexcoders] data serialization

2008-12-02 Thread cooleman_99
Hello, Im having problem getting the data from java to flex and im totally new to flex and cairngorm... here is my code snippet: im my java end: ListUsers getAll() { // from hibernate dao then return result which llist of users } in AS files: public class ListDelegate extends EventDispatcher

[flexcoders] OpenAMF for returning files?

2008-12-02 Thread buzz_tarun
Hi there, I am using openamf for integrating flex ui with a J2EE backend. The integration works fine as far as strongly typed data types are concerned. Has anyone attempted to return files (say PDFs or Excels) from the backend via openamf? Any comments/suggestions would be very helpful. Thanks,

Re: [flexcoders] how to de-serialize objects

2008-12-02 Thread freak182
Hello, I have similar problem and im totally new to flex and cairngorm... here is my code snippet: im my java end: ListUsers getAll() { // from hibernate dao then return result which llist of users } in AS files: public class ListDelegate extends EventDispatcher {

Re: [flexcoders] OpenAMF for returning files?

2008-12-02 Thread Johannes Nel
build the file on the server, download via get. use blazeDS or red5 instead of openAMF On Tue, Dec 2, 2008 at 1:23 AM, buzz_tarun [EMAIL PROTECTED] wrote: Hi there, I am using openamf for integrating flex ui with a J2EE backend. The integration works fine as far as strongly typed data

[flexcoders] ItemRenderer, mislabels scrolling

2008-12-02 Thread Robert
When scrolling, the labels on the grid turn into those that the recycled item renderer used. I tried using this.data to overwrite the values every time. The new listData object has the correct label and so I thought it was working, but there is a url I need in the current rows' XML for the

[flexcoders] Using XSL in Flex?

2008-12-02 Thread oneworld95
Can XSL be used to tell Flex how to display XML data? I've got an XML help file that I'd like to display in a popup window in Flex without having to fetch each element; I'd like to just dump the contents into a Flex control and have it automatically apply styles to it. Thanks.

[flexcoders] getting what fired a change sliderEvent -- is it possible?

2008-12-02 Thread Matyas Forian Szabo
-- Forwarded message -- From: Matyas Forian Szabo [EMAIL PROTECTED] Date: 2008/12/2 Subject: getting what fired a change sliderEvent -- is it possible? To: flexcoders@yahoogroups.com Hi im in a making of a flex application that will display a zoomed in part of an image. Above

[flexcoders] JSP taglib FLEX 3

2008-12-02 Thread virchete
I am trying to use the jsp tag library into a very simple jsp: %@ taglib uri=FlexTagLib prefix=mm % htmlbody h3Introduction/h3 pThis is an example of writing MXML in a JSP./p h3My App/h3 mm:mxml mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Accordion width=500 height=300

[flexcoders] Re: How to make a Docking Window Framework/component like Eclipse/InfoDock/JDock

2008-12-02 Thread nathanleewei
--- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Yeah, I forgot about that. There are probably 20 different ways you could implement something like this. From my experience you want to start out thinking abstraction and not program to much into your views. Mike

[flexcoders] Re: How to embed icons in MenuBar?

2008-12-02 Thread nathanleewei
Thanks, it works! [Embed(source=/assets/document.png)] public var documentIcon:Class; mx:MenuBar id=menuBar width=100% labelField=@label iconField=@icon styleName=menuBar itemClick=onMenuBar(event) mx:XMLList menuitem label=File

[flexcoders] Re: Game Architecture

2008-12-02 Thread someguy7_7
Any thoughts on this? Thanks --- In flexcoders@yahoogroups.com, someguy7_7 [EMAIL PROTECTED] wrote: Can you give me some more details on the security issues relating to remote objects? How do you notify the other client when one client has taken a turn with remote objects? Have it poll the

[flexcoders] application structure

2008-12-02 Thread tom s
Hi, I'm writing my first flex app. So far it all works, but I'm getting to the point where I need to start structuring it, for ease of further development. Right now I simply have many functions defined within the script tag within the application. I'm now thinking through my options for

[flexcoders] Filter won't render...what is the cause?

2008-12-02 Thread Guy Morton
Warning: Filter will not render. The DisplayObject's filtered dimensions (107374955, 525) are too large to be drawn. Anyone know what causes this? The implication is that I'm trying to apply a filter to an enormous object, but as far as i know, there is no huge object in my app. Anyone got

RE: [flexcoders] Re: objects bound to datagrid not gc'd when dataprovider set to null

2008-12-02 Thread Yves Riel
I had a similar problem with lists. I found out that the itemRenderer does not release its reference to the data member. While digging into the code, I've found out that Adobe has access to the list through the mx_internal namespace. So, I cooked up a small helper function to release the

[flexcoders] Re: flex login popup help needed pleaseeeeeeeee

2008-12-02 Thread stinasius
please guys any help am desperate.

Re: [flexcoders] application structure

2008-12-02 Thread Jules Suggate
Hi Tom, You've hit on one of the classic anti-patterns of Flex programming: Application.application.blah type stuff. While this is regrettably somewhat 'normal', that doesn't mean it's ok :) As you probably have guessed, it leads to code that is really hard to change later on as it is all

Re: [flexcoders] Re: How to make a Docking Window Framework/component like Eclipse/InfoDock/JDock

2008-12-02 Thread Josh McDonald
Somebody on this list has created exactly what you're looking for, and it's pretty reasonably priced, google the archives. -Josh On Tue, Dec 2, 2008 at 7:46 PM, nathanleewei [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Yeah, I

[flexcoders] Re: How to embed icons in MenuBar?

2008-12-02 Thread nathanleewei
no shown :(

[flexcoders] Re: How to make a Docking Window Framework/component like Eclipse/InfoDock/JDock

2008-12-02 Thread nathanleewei
What I am looking for is different from DockAreaFX. Pls see my project: http://flexrock.googlecode.com --- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: Somebody on this list has created exactly what you're looking for, and it's pretty reasonably priced, google the

[flexcoders] Detect a databinding

2008-12-02 Thread Marco Catunda
Hi, I have a singleton class with model data provider (like cairngorm model). Some user interface components binding this model in data provider property. I didn't find out any way to detect if there is binding in this model or not, and how many bindings. The binding model works with events,

RE: [flexcoders] Zoom effect absolute positioning

2008-12-02 Thread Chet Haase
Hi Ward, I don't think that switching to an absolute layout would have the desired effect. For one thing, your thumbnails probably have no explicit location and are just being positioned by the Canvas layout manager, so if you switch to absolute, they might just decide to go put themselves at

[flexcoders] Re: AIR - Including an Image in mx:html using htmlText

2008-12-02 Thread langdonjared
Thanks for your help in this. I reinstalled Flex Builder and tried again. Now it works. Thanks again.

[flexcoders] Re: Flex nested tree get data from mysql and php

2008-12-02 Thread timgerr
So I am trying to build a MPTT (nested tree) object in php, I have a few questions for this group because I am not sure how the data should be returned. I have been using static data and have a few questions on what is contained within the data. Here is my arraycollection: private var

[flexcoders] Mouse off stage and ajax bridge

2008-12-02 Thread flexaustin
Is there a way to stop all mouse event listeners from the stage? Or will I need to do it the hard way and track down all mouse event listeners. My issue is that I have a Hslider that controls a component. When a user stops scrolling for a certain amount of time, pausing, I update the component.

[flexcoders] AIR

2008-12-02 Thread GYANPRAKASH PANDEY
Hi,   I'm new to AIR. I've installed Flex builder 3 and AIR set up provided by Adobe. I know flex, but i dont kno how to interact with AIR for developing desktop ria. I've to develop desktop RIA for billing. Kindly guide me to same.   thnx in advance   regards, gyanprakash pandey Add

Re: [flexcoders] AIR

2008-12-02 Thread Barry Gee
Hear is a good starting point. http://www.adobe.com/devnet/air/flex/ Barry. GYANPRAKASH PANDEY wrote: Hi, I'm new to AIR. I've installed Flex builder 3 and AIR set up provided by Adobe. I know flex, but i dont kno how to interact with AIR for developing desktop ria. I've to develop

[flexcoders] move effect Flex live doc example does not work

2008-12-02 Thread hworke
Hello all, the example in this link does not work. http://livedocs.adobe.com/flex/3/langref/mx/effects/Move.html The exact error message is: Severity and DescriptionPathResourceLocation Creation Time Id Type was not found or was not a compile-time

[flexcoders] Padding/spacing before the first line in a TextArea

2008-12-02 Thread bjorn
There is some padding before the first line in a TextArea. Have a look at this image to see what I mean: http://i34.tinypic.com/4uz8s0.jpg I need to remove this, and the first solution that comes to mind is to find that value and position the TextArea.y = TextArea.y - [that value]. The padding

[flexcoders] Re: Using XSL in Flex?

2008-12-02 Thread Paul Fischer
--- In flexcoders@yahoogroups.com, oneworld95 [EMAIL PROTECTED] wrote: Can XSL be used to tell Flex how to display XML data? I've got an XML help file that I'd like to display in a popup window in Flex without having to fetch each element; I'd like to just dump the contents into a Flex

Re: [flexcoders] AIR

2008-12-02 Thread Tom Chiverton
On Tuesday 02 Dec 2008, Barry Gee wrote: Hear is a good starting point. http://www.adobe.com/devnet/air/flex/ And more practically, it's an option in Builder's 'File, new, Flex project' menu to choose AIR. -- Tom Chiverton Helping to biannually harvest methodologies

RE: [flexcoders] move effect Flex live doc example does not work

2008-12-02 Thread Chet Haase
I think the problem is that you named your application move. 'move' is a word that's already used in Flex (such as the move() function), so it runs into problems when it tries to use that word as a type as well. name your application differently and it should work fine (it did for me, but I

Re: [flexcoders] AIR

2008-12-02 Thread GYANPRAKASH PANDEY
Hi, Thnx alot. i got it.   regards, gyanprakash pandey --- On Tue, 2/12/08, Tom Chiverton [EMAIL PROTECTED] wrote: From: Tom Chiverton [EMAIL PROTECTED] Subject: Re: [flexcoders] AIR To: flexcoders@yahoogroups.com Date: Tuesday, 2 December, 2008, 9:57 PM On Tuesday 02 Dec 2008, Barry Gee wrote:

Re: [flexcoders] Re: Using XSL in Flex?

2008-12-02 Thread Sefi Ninio
Hey Paul, Would you be willing to share that component? On Tue, Dec 2, 2008 at 6:21 PM, Paul Fischer [EMAIL PROTECTED]wrote: --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, oneworld95 [EMAIL PROTECTED] wrote: Can XSL be used to tell Flex how to display XML data? I've got

[flexcoders] datagrid cell focus

2008-12-02 Thread Dimitrios Gianninas
I know I've done this before, but it escapes me now how do I programmatically put focus on a cell in a datagrid ? Dimitrios Gianninas RIA Developer Team Lead Optimal Payments Inc. -- WARNING --- This electronic message and its attachments may contain confidential, proprietary or

[flexcoders] Re: datagrid cell focus

2008-12-02 Thread oneworld95
Check this out: http://www.vaishalimistry.com/2005/12/15/set-focus-on-a-cell-in-datagrid-in-flex-20/ -Alex --- In flexcoders@yahoogroups.com, Dimitrios Gianninas [EMAIL PROTECTED] wrote: I know I've done this before, but it escapes me now how do I programmatically put focus on a cell in a

Re: [flexcoders] move effect Flex live doc example does not work

2008-12-02 Thread Vivian Richard
Excellent! Thanks a lot On Tue, Dec 2, 2008 at 8:30 AM, Chet Haase [EMAIL PROTECTED] wrote: I think the problem is that you named your application move. 'move' is a word that's already used in Flex (such as the move() function), so it runs into problems when it tries to use

RE: [flexcoders] Re: datagrid cell focus

2008-12-02 Thread Dimitrios Gianninas
perfect thx! Dimitrios Gianninas RIA Developer Team Lead Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of oneworld95 Sent: Tuesday, December 02, 2008 12:00 PM To: flexcoders@yahoogroups.com Subject: [flexcoders]

[flexcoders] Flash being cached

2008-12-02 Thread flexaustin
Is there a way to prevent your swf file from being cached? I would like to prevent this in production and when using the template files (in bin-debug and bin-release). When using these two html files my browser seems to cache the swf requiring me to do a couple of cntrl-r's and sometimes a clear

RE: [flexcoders] Flash being cached

2008-12-02 Thread Battershall, Jeff
By adding on a unique string to the path to the .swf file, you can force a download of the new swf. I use SWFObject to make this easier rather than using the normal auto-generated wrapper files for embedding the swf. Jeff -Original Message- From: flexcoders@yahoogroups.com

RE: [flexcoders] Padding/spacing before the first line in a TextArea

2008-12-02 Thread Alex Harui
Are you talking about the white pixels top and right of the selection rectangle? I think that's always 2 pixels. You might be able to alter the position of the TextArea's internal TextField to get rid of that. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bjorn Sent:

RE: [flexcoders] ItemRenderer, mislabels scrolling

2008-12-02 Thread Alex Harui
itemRenderer.data should always be the data for the row. It should never be the old data unless you overrode the setter. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Robert Sent: Monday, December 01, 2008 3:58 PM To: flexcoders@yahoogroups.com Subject: [flexcoders]

RE: [flexcoders] Mouse off stage and ajax bridge

2008-12-02 Thread Alex Harui
Fake a MOUSE_UP event From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexaustin Sent: Tuesday, December 02, 2008 7:51 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Mouse off stage and ajax bridge Is there a way to stop all mouse event listeners from the

RE: [flexcoders] Filter won't render...what is the cause?

2008-12-02 Thread Alex Harui
Did you get out past 8000 pixels? That causes all sorts of math issues. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Guy Morton Sent: Tuesday, December 02, 2008 2:32 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Filter won't render...what is the cause?

Re: [flexcoders] Zoom effect absolute positioning

2008-12-02 Thread Fotis Chatzinikos
You could add a transparent full screen canvas overlay, on click add the 'polaroid' on the correct overlay location (via localToGlobal, or content to global) and then zoom it... On Tue, Dec 2, 2008 at 5:39 PM, Chet Haase [EMAIL PROTECTED] wrote: Hi Ward, I don't think that switching to

Re: [flexcoders] Zoom effect absolute positioning

2008-12-02 Thread Fotis Chatzinikos
something else i have done is to add components similar to this to the parent component's rawchildren but i am not really sure if this is a recommended way to go... On Tue, Dec 2, 2008 at 9:12 PM, Fotis Chatzinikos [EMAIL PROTECTED] wrote: You could add a transparent full screen canvas

[flexcoders] Re: JSP taglib FLEX 3

2008-12-02 Thread jim.abbott45
virchete: I don't have a lot of expertise with the Flex web-tier compiler. However, If you are trying to compile a Flex application using the web-tier compiler, then you should normally be loading a .mxml (and not .jsp) file to the server, and then having your browser request that file. For more

[flexcoders] Re: flex login popup help needed pleaseeeeeeeee

2008-12-02 Thread valdhor
Well, I don't use ColdFusion; I use Weborb for PHP. That said, this is how I would do it with WebOrb for PHP (You should be able to extrapolate for ColdFusion): Application: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; creationComplete=showLogin()

[flexcoders] Re: help here with an item renderer

2008-12-02 Thread valdhor
You're Welcome. Steve --- In flexcoders@yahoogroups.com, Gustavo Duenas [EMAIL PROTECTED] wrote: Sorry man, my bad, it works perfectly was something on my xml causing the error, thanks :) Gustavo On Nov 26, 2008, at 2:12 PM, valdhor wrote: So, simply... buttons.xml: buttons

RE: [flexcoders] Flash being cached

2008-12-02 Thread Wildbore, Brendon
If you have the developer toolbar plugin installed on firefox, use that to disable the browser cache (make sure there is a tick next to disable cache under the disable dropdown)... works like a charm for me. From: flexcoders@yahoogroups.com [mailto:[EMAIL

[flexcoders] Re: Using XSL in Flex?

2008-12-02 Thread jim.abbott45
Or you could just use the ExternalInterface API to call the XSL(T) engine that most mainstream browsers include these days. That said, there is (in my opinion) still the question of whether that approach leads to a robust solution, particularly w.r.t. cross-browser differences . . . If you want

[flexcoders] Re: Flex 3 - Export to Microsoft Excel?

2008-12-02 Thread jim.abbott45
I've successfully implemented two different approaches. The first approach just puts the data for Excel _on the clipboard_. It also uses Microsoft's uber-funky XML schemas to control the formatting of the resulting spread-sheet. This approach works nicely for both FF and IE, in my experience

[flexcoders] Re: Flex nested tree get data from mysql and php

2008-12-02 Thread valdhor
The dataProvider of your arrayCollection is an array. This array contains objects which contain an array of objects. I do the same sort of thing for my menus - Each menu is an object that can contain submenus (ie. arrays of menuItem objects). Note: This is all WebOrb. So, in PHP: class Menu {

[flexcoders] Re: ItemRenderer, mislabels scrolling

2008-12-02 Thread ross_w_henderson
I've had similar issues. One of the things I've found is that it is important to reduce the steps between this.data, or this.listData, and the property you're populating. If you can rewrite so that you bind directly on this.listData.label, rather than set the value of 'value' and bind on

[flexcoders] Replacement Date class?

2008-12-02 Thread Pan Troglodytes
Now that the whole ECMAScript thing has blown over, Adobe is free of being quite so bound to it as a standard. They've expressed interest in doing some things that they previously shied away from because of divergence from the standard. Is anyone else really interested in ditching the Date

[flexcoders] Re: Mouse off stage and ajax bridge

2008-12-02 Thread flexaustin
Thanks Alex! --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Fake a MOUSE_UP event From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexaustin Sent: Tuesday, December 02, 2008 7:51 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Mouse

Re: [flexcoders] Replacement Date class?

2008-12-02 Thread Guy Morton
It'd be great to have some date math methods in there as well. Simple things like getting the # of days/weeks/months between 2 dates is currently much more clunky than it ought to be. It'd be nice if it had some of what perl's DateTime module is capable of. On 03/12/2008, at 7:19 AM, Pan

Re: [flexcoders] Re: Flex 3 - Export to Microsoft Excel?

2008-12-02 Thread Howard Fore
A third option posts HTML Table formatted data (in a new browser window) to a server-side script (ColdFusion in my case but ASP/JSP/PHP should work as well) which then reflects it to the browser with the MIME type set to one of the myriad Excel versions. Then the browser handles it as needed (save

[flexcoders] Load time, multiple redundant Embed() calls, etc.

2008-12-02 Thread Eric Cooper
Hi, I have inherited some code and it seems to build into a fairly large .swf and takes a very long time to download. Running locally, things go fairly quickly - but not so remotely. Part of this may be due to slow server and net connection - but I am not able to change those any time soon.

Re: [flexcoders] Detect a databinding

2008-12-02 Thread Marco Catunda
Hi Jules, Let me say about my problem. I've developed a class that implements IList interface for implicit pageable approach. This class works fine for one data provider of component. If I use it in two or more components the list become flicker. The problem of this flicker is when one component

[flexcoders] Re: Using XSL in Flex?

2008-12-02 Thread oneworld95
Well, maybe it's more efficient to do this another way. Let me explain what I'm trying to accomplish and see what you think is the best way to it: I'd like to grab a text file (XML or HTML) and load it into a Flex control and have it formatted correctly without having to fetch individual elements

[flexcoders] Using RMTPS channel

2008-12-02 Thread ivhaggi
Hi group, i have a simple question, If i want to use the SecureRTMPChannel its a must the SecureAMFChannel be enabled? Thanks in advanced. Ivan.

Re: [flexcoders] Flash being cached

2008-12-02 Thread Adrian Williams
Hey there... We had the same issue and were able to work around it by adding the following three lines to the html wrapper...in the head section: meta http-equiv=Expires content=Mon, 04 Dec 1999 21:29:02 GMT / meta http-equiv=CACHE-CONTROL content=NO-CACHE / meta http-equiv=PRAGMA

[flexcoders] Re: data serialization

2008-12-02 Thread Anthony DeBonis
You did not post your code for UserList.as Did you add the meta tag RemoteClass? If not Flex does not know how to map the class back... [RemoteClass(alias=com.whatever.UserList) --- In flexcoders@yahoogroups.com, cooleman_99 [EMAIL PROTECTED] wrote: Hello, Im having problem getting

[flexcoders] any overhead for calling simple getters?

2008-12-02 Thread Pan Troglodytes
If I have this: private var _myvar:int; public function get myvar():int { return _myvar; } should I try to refer to it in other parts of the same class as _myvar, or is myvar equally efficient? In Delphi, you can define a property like: FMyVar: Integer; property MyVar:Integer read FMyVar;

Re: [flexcoders] any overhead for calling simple getters?

2008-12-02 Thread Josh McDonald
There's *some* overhead, but properties are part of the VM, so it's not going to be much. Also, keep in mind, anything that's [Bindable] without [Bindable(eventName)] is going to have a get/set pair generated by MXMLC, even if you've already written a get/set pair. Personally, I only ever use

[flexcoders] Re: how to play partially downloaded local flv file ?

2008-12-02 Thread Anthony DeBonis
Are you using FileStream? Are you calling open() with FileMode.READ ? On systems that support file locking, a file opened in write or update mode (FileMode.WRITE or FileMode.UPDATE) is not readable until it is closed.

[flexcoders] Setting a specific row in the ADG to editable vs. the entire grid?

2008-12-02 Thread Adrian Williams
Hi All, I have a new question that I haven't seen anyone hit yet. I have my ADG that is not editable...however, I need to be able to make a couple of specific rows editable so the user can modify the values in the cells of the row. All of the documentation seems to identify setting up

Re: [flexcoders] Re: ItemRenderer, mislabels scrolling

2008-12-02 Thread Robert Byrne
Ross, when I saw your idea I went straight to it thinking this might be it!  But it wasn't.  Infact, this.listData.label was the old information.  But when entering the renderData function, it is the new value.  This only serves to confuse me even more.  It's like the binding never happened.  

Re: [flexcoders] Is there any Name -Value Pair concept for Arrays?

2008-12-02 Thread anuj sharma
Hi Tracy Finally I would be able to retrieve labels but sorry I used labelFunction because for some reason labelfield is breaking other programmer's code: I have no idea why. So Below is my code. But Now I am doing some logical error. I am getting all the values in an array but it gives all the

[flexcoders] Re: Setting a specific row in the ADG to editable vs. the entire grid?

2008-12-02 Thread Tim Hoff
Hi Adrian, As far as I know, you can't allow editing of specific cells/rows by default. You can however add an event listener for the itemEditBeginning event. In the event handler function, if the cell/row meets you're editable criteria, allow the function to set the editedItemPosition

[flexcoders] Re: Using XSL in Flex?

2008-12-02 Thread Paul Fischer
--- In flexcoders@yahoogroups.com, oneworld95 [EMAIL PROTECTED] wrote: Well, maybe it's more efficient to do this another way. Let me explain what I'm trying to accomplish and see what you think is the best way to it: I'd like to grab a text file (XML or HTML) and load it into a Flex control

[flexcoders] clear the cache

2008-12-02 Thread Adolfo Ruiz
When ever I compile a proj/application the SWF I saw didn’t reflect any of the changes I’d made. I need to clear the cache, history, cookies in the browser. How to over come this.   ¡Todo sobre Amor y Sexo! La guía completa para

RE: [flexcoders] BlazeDS - Best practice for determining if server session is invalid.

2008-12-02 Thread Seth Hodgson
Hi Fotis, The AMFChannel (and its Secure variant) define a 'hidden' method that you could override to get access to the jsessionid value that is returned to the client at connect time for your current server session. Here's the method signature: override public function

RE: [flexcoders] Using RMTPS channel

2008-12-02 Thread Seth Hodgson
Hi Ivan, No, SecureRTMPChannel has no dependency on SecureAMFChannel. More info here: http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/lcds/help.html?content=lcconfig_1.html Best, Seth From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ivhaggi Sent: Tuesday,

Re: [flexcoders] clear the cache

2008-12-02 Thread Guy Morton
Depends on the browser you're using. Clearing the cache is all you should have to do, but depending on whether you are sitting behind a web proxy even that might sometimes not be enough. In my experience, web proxies are a frequent source of developer frustration (especially MS proxies).

RE: [flexcoders] Param to a channel endpoint

2008-12-02 Thread Seth Hodgson
The context root is not something that the swf can automatically substitute into the URI value at runtime on the client based on where it was served from, so you need to provide it at compile. If you're using the JEE webtier compiler that happens automatically. If you're using MXMLC at the

[flexcoders] Re: ItemRenderer, mislabels scrolling

2008-12-02 Thread ross_w_henderson
Robert, Try this: overwrite the set data function to sort of force refresh the value of this.data (and super.data). Something like this: public override function set data(value:Object):void { super.data = value; if(value == null) { return; } } You can do a lot of

[flexcoders] Unformatting currency values - best practice?

2008-12-02 Thread flexcoder2008
What is the best practice or a good recommendation for formatting currency values and then removing the currency formatting for saving to the database? Here's what I have attempted to do so far. It works - but only if the user enters plain old numbers - if they add any currency symbol or

RE: [flexcoders] Is there any Name -Value Pair concept for Arrays?

2008-12-02 Thread Tracy Spratt
I do not understand what you are trying to do, but... In your labelfunction logic, you are not using any values from the passed in row item. That does not make any sense. The purpose of a labelFunction is to use the row item properties to build a string to display. Look at that logic again.

RE: [flexcoders] clear the cache

2008-12-02 Thread Tracy Spratt
And check your browser settings. I set mine to always check for new page (something like that) Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Guy Morton Sent: Tuesday, December 02, 2008 6:29 PM To: flexcoders@yahoogroups.com

RE: [flexcoders] Re: ItemRenderer, mislabels scrolling

2008-12-02 Thread Tracy Spratt
I have not been following this thread from the beginning, but I would suggest that you do not bind. Binding is a convenience, just saving you some coding, but is hard to debug. If it is not working, don't use it. Tracy From: flexcoders@yahoogroups.com

RE: [flexcoders] Unformatting currency values - best practice?

2008-12-02 Thread Tracy Spratt
You could use restrict to prevent entry of any non-numeric characters. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexcoder2008 Sent: Tuesday, December 02, 2008 6:51 PM To: flexcoders@yahoogroups.com Subject: [flexcoders]

Re: [flexcoders] Unformatting currency values - best practice?

2008-12-02 Thread Josh McDonald
The cleanupNumberInput() function could be better, but it's a starting point :) http://pastie.textmate.org/329356 -Josh On Wed, Dec 3, 2008 at 10:23 AM, Tracy Spratt [EMAIL PROTECTED] wrote: You could use restrict to prevent entry of any non-numeric characters. Tracy

[flexcoders] Re: Unformatting currency values - best practice?

2008-12-02 Thread Tim Hoff
Here's what I use: var myNumericString:String = RegExUtil.strip(myInputBox.text, RegExUtil.NON_NUMERIC_CHARACTERS); package { public class RegExUtil { public static var NON_NUMERIC_CHARACTERS : String = [^0-9]+; public static function strip(source:String,

Re: [flexcoders] Load time, multiple redundant Embed() calls, etc.

2008-12-02 Thread Nate Beck
Anytime you Embed anything, you're including it within your swf. It may get compressed a little bit, but you're still embedding it. That means your SWF file will contain all of the images that you used [Embed(source=foo.png)] on. Using Embed is not like HTML where you have your images in a

Re: [flexcoders] Is there any Name -Value Pair concept for Arrays?

2008-12-02 Thread anuj sharma
Alright Tracy Sorry for the confusion and the ambiguity, I fixed it. Actually I was looping through it and testing the condition without checking the match but now this function below is working. It is showing me the attributes I was looking for now. Thanks for your help and again. Anuj

[flexcoders] Why no initial FlexEvent.SHOW event dispatched?

2008-12-02 Thread per.olesen
I was wondering why a flex control or container does not dispatch a FlexEvent.SHOW when showing the first time? Given this code: mx:Panel id=panel show=Alert.show('I am showing') creationComplete=Alert.show('I was created')/ mx:Button click=panel.visible = !panel.visible

[flexcoders] Preserve state in TitleWindow - mxml bind problems

2008-12-02 Thread dfrank76
I am loading data in a popup title window and then I'd like to reuse that title window instance with all the loaded data an user input data any time the user clicks the button to pop it up. I'm having trouble with bound fields... I implemented it using an instance of a custom TitleWindow that

[flexcoders] Displaying Yahoo Finance Data in Flex

2008-12-02 Thread Kevin
I have a Flex application that reads stock data from download.finance.yahoo.com http://download.finance.yahoo.com/ , which takes various parameters and returns CSV formatted text. This is the site I used as a reference. (http://www.gummy-stuff.org/Yahoo-data.htm

Re: [flexcoders] data serialization

2008-12-02 Thread freak182
Hello, ...here is the code for UserList.as import mx.collections.ArrayCollection; import mx.collections.ListCollectionView; public class UserList { [Bindable] public var listusers : ArrayCollection; //list of Users

[flexcoders] Re: Why no initial FlexEvent.SHOW event dispatched?

2008-12-02 Thread Michael VanDaniker
When a UIComponent is set to visible for the first time by the LayoutManager, the SHOW event is suppressed. The CREATION_COMPLETE event fired immediately after that call to setVisible, so you should be able to achieve whatever effect you're going for by registering the same function to listen for

RE: [flexcoders] any overhead for calling simple getters?

2008-12-02 Thread Alex Harui
You can measure the difference. It is essentially function call overhead. See http://blogs.adobe.com/aharui/2007/10/actionscript_readwrite_perform_1.html So, over a million fetches you'll save by using _myVar, but consider that if someone subclasses and overrides, _myVar may not be what you

  1   2   >