Re: [flexcoders] flex dynamic instantiation of classes or class names

2008-09-29 Thread Josh McDonald
Just put your instances in an Array. var objs : Array = []; for() { newObj = objs.push(newObj); ... } Then you can just use objs[i] to get the instances -Josh On Mon, Sep 29, 2008 at 2:54 PM, flexaustin [EMAIL PROTECTED] wrote: Is it possible to instantiate objects with

[flexcoders] Re: Overriding text display in DataGridItemRenderer

2008-09-29 Thread Tracy Spratt
If really all you want to do is, override the text, then this is overkill. Just use a labelFunction(). But if you want to do an item renderer, I should think you would set the display in the set data() override. Well, rather in the the commitProperties function, after invalidating

[flexcoders] Re: What is equivalent of HttpServletRequest request HttpServletResponse response object in mxml

2008-09-29 Thread Tracy Spratt
Please do not hijack threads. It makes things very ugly in a threaded reader. Start your own subject. Tracy P.S. I don't do Java but probably you want HTTPService; --- In flexcoders@yahoogroups.com, Mohit Arora [EMAIL PROTECTED] wrote: Hi All I need to pass HttpServletRequest request

[flexcoders] Re: Runtime default parameter

2008-09-29 Thread Tracy Spratt
You can create run and debug configurations in Flex builder under the Run, Other option. You can specify arguments if the html wrapper can understand them. Tracy --- In flexcoders@yahoogroups.com, itdanny2002 [EMAIL PROTECTED] wrote: Hi, How to set the default running parameter for

[flexcoders] Re: Runtime default parameter

2008-09-29 Thread itdanny2002
I don't prefer to type it in template.html since it is for deployment and copy to production server. I tried to set it in Project's properties (RUN - URL or path to run) and becomes ..abcde.html#123 It doesn't work.

[flexcoders] ILOG Elixir 2.0 Preview Program - Beta Testers Needed

2008-09-29 Thread Christophe Jolif
Hi all, I'm back with a new drop for you to test. No new component this time, but new features on existing components + enhancements to the product including: - events recurrence for the calendar component - nearly complete documentation - numerous small improvements mostly in heatmap and

[flexcoders] Event Propagation Problem (I think)

2008-09-29 Thread creativepragmatic
Hello everyone, I am currently working on a set of time entry components that I hope to share with the open source community when finished. The components are a time masking field that extends TextInput, a TimeStepper extends NumericStepper, a DateTimeChooser extends DateChooser and

[flexcoders] How to set rounded corners on an Accordion container

2008-09-29 Thread Brad O'Hearne
Hello all, I am trying to create rounded corners on an accordion container, and I have discovered that if I set the corner radius, I get rounded corners, but I can also see a rectangular corner and background behind it. Does anyone know how to achieve rounded corners in an accordion

Re: [flexcoders] What is equivalent of HttpServletRequest request HttpServletResponse response object in mxml

2008-09-29 Thread adit sathish
Could you post your code How you are passing the code Httpservlet request from your mxml file to remoteObject. Probably there is some problem with you passing your HttpservletRequestObject from your mxml file. HttpServletRequest is Serializable so Java should have any problem trying to get

[flexcoders] Re: Pure MVC

2008-09-29 Thread samanderson188
Thank you so much for the links Mark ! -Sam --- In flexcoders@yahoogroups.com, Mark Easton [EMAIL PROTECTED] wrote: I use PureMVC and also found it hard to understand. I can tell you that I just persisted and now I have a good grasp of it. Took me a solid week to get over the initial

RE: [flexcoders] Re: Pure MVC

2008-09-29 Thread Mark Easton
My pleasure. _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of samanderson188 Sent: Monday, September 29, 2008 5:40 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Pure MVC Thank you so much for the links Mark ! -Sam --- In [EMAIL PROTECTED]

Re: [flexcoders] eclipse, flexbuilder, conditional breakpoints

2008-09-29 Thread Tom Chiverton
On Friday 26 Sep 2008, arieljake wrote: Does that mean that this feature must specifically be added by the Adobe team to flexbuilder, Yes -- Tom Chiverton Helping to challengingly morph wireless front-end impactful dynamic designs This

Re: [flexcoders] removing workspaces from FB workspace pulldown!

2008-09-29 Thread Tom Chiverton
On Thursday 25 Sep 2008, ronnlixx wrote: I've done this before but cant remember what config file I need to edit Just right click it in the list of open workspaces (normally in the top right of the workspace). Or under preferences, general, perspectives if you want to remove them totally

Re: [flexcoders] Re: Flex SEO solutions success?

2008-09-29 Thread Tom Chiverton
On Saturday 27 Sep 2008, Hyder wrote: I use google's webmaster tools and it doesn't see any content other than the metatags. And it's recrawling fairly regularly ? Check the Google annoucment, but I think they said that reading text in the SWF was being rolled out bit by bit. I'd put SEO

Re: [flexcoders] Zoneinfo database to use for AIR applications.

2008-09-29 Thread Tom Chiverton
On Friday 26 Sep 2008, george_w_canada wrote: Anyone knows are there any best way to use the public zoneinfo database (from original Olson database) in AIR applications? The zoneinfo database is published as a set of text files so just embed them. -- Tom Chiverton Helping to confidentially

Re: [flexcoders] Re: What is equivalent of HttpServletRequest request HttpServletResponse response object in mxml

2008-09-29 Thread jitendra jain
If you need to pass request parameters to a servlet use flash.net.URLVariables and flash.net.URLRequest Hope this might be helpful to you.  Thanks, with Regards, Jitendra Jain - Original Message From: Tracy Spratt [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, 29

Re: [flexcoders] mx:PopUpMenuButton drop down menu looks blurd when wmode is opaque

2008-09-29 Thread jitendra jain
Google Chrome needs to be more mature. Please avoid using Google Chrome. Try with IE7 . Don't waste your time with Google Chrome  Thanks, with Regards, Jitendra Jain - Original Message From: Jonathan Lee [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Sunday, 28 September,

[flexcoders] Rich Text Editor Problem

2008-09-29 Thread jainleena82
Hi, I am using a Rich Text Editor.My problem is that it is taking the font as Arial Embedded from the CSS.And When i try to change the font ,the text inside it disappears,the focus goes off from the RTE. How can i do away with this issue?If i comment out the css everything works fine.'

[flexcoders] Word wrap doesn't work with a dynamically loaded font.

2008-09-29 Thread Rob Kunkle
Hello all - My application dynamically loads fonts at runtime from separate .swf files using the StyleManager class. Everything is working great, except that fonts that are loaded dynamically won't do word wrap in a TextArea control. I've searched far and wide on the internet about this, and

Re: [flexcoders] Rich Text Editor Problem

2008-09-29 Thread jitendra jain
If possible, please paste some code .. Thanks, with Regards, Jitendra Jain - Original Message From: jainleena82 [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, 29 September, 2008 4:17:03 PM Subject: [flexcoders] Rich Text Editor Problem Hi, I am using a Rich Text

Re: [flexcoders] Word wrap doesn't work with a dynamically loaded font.

2008-09-29 Thread jitendra jain
Have u used wordWrap =true of TextArea control?? Thanks, with Regards, Jitendra Jain - Original Message From: Rob Kunkle [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, 29 September, 2008 4:57:55 PM Subject: [flexcoders] Word wrap doesn't work with a dynamically

[flexcoders] LCDS deadLock with managed assocation

2008-09-29 Thread kcCedrics
Hi everybody, I've got a really weird problem with LCDS!! I'm using 4 data service for my objects A, B, C, D. My object A has a collection of B, a collection of C and a collection of D. So in my datamanagement-config.xml I defined my destination like this: destination id=A-Mapping

[flexcoders] Change LegendItem fill Color

2008-09-29 Thread cwicky99
I am trying to allow the user to select the color of the LegendItem. However, when I try and set the LegendItem fill style it doesn't change in the UI. I event tried: legendItem.setStyle(fill, new SolidColor(0xFF00FF)); legendItem.invalidateDisplayList(); ...but it has no effect. I can call:

[flexcoders] Re: Change LegendItem fill Color

2008-09-29 Thread cwicky99
Currently the only work around I have is to remove the LegendItem's from the Legend and add new ones, such as: var item:LegendItem = null; var newItem:LegendItem = null; for (var i:int = chartLegend.numChildren -1; i = 0; i--) {

[flexcoders] Need help in BlazeDS(Custom Adapters)

2008-09-29 Thread scjpkhalid
Hello , I am new to Flex world and to this group also. While going through the BlazeDS Developer Guide (custom adapters). I cam across the following snipet. link : http://livedocs.adobe.com/blazeds/1/blazeds_devguide /help.html?content=messaging_7.html

[flexcoders] TabNavigator with a two lines label

2008-09-29 Thread markgoldin_2000
Is it possible to have a TabNavigator with a label text in two lines? Thanks

[flexcoders] Re: flex dynamic instantiation of classes or class names

2008-09-29 Thread flexaustin
Here is my try. private var nodeDict:Dictionary = new Dictionary(true); private function createNodes(vgrph:VisualGraph, arrayCollOfNodes:ArrayCollection):void{

[flexcoders] Re: Listen itemClick Event on MenuBar

2008-09-29 Thread valdhor
I had to do something like this a long time ago. The trick is to keep track of the last menu item that was rolled over. The following code should get you started toward a solution (Note: This is very old code from when I was just beginning Flex). ?xml version=1.0 encoding=utf-8? mx:Application

RE: RE[flexcoders] S: LCDS - how can I improve the createItem function?

2008-09-29 Thread kcCedrics
Thanks Jeff for your answer, but I didn't really understand how can I create all 1000 items using a remote object call? I guess that I can make a function which add many items thanks to an array. But I don't know how you notify all clients that the items are added. Moreover, in my example when I

[flexcoders] Re: Word wrap doesn't work with a dynamically loaded font.

2008-09-29 Thread Rob Kunkle
Hi Jitendra - Thanks! This helped. But now I need to get rid of the scroll bars on the textArea control. Is there a way to just turn them off? Rob --- In flexcoders@yahoogroups.com, jitendra jain [EMAIL PROTECTED] wrote: Have u used wordWrap =true of TextArea control?? Thanks, with

[flexcoders] Re: Embedding a mini webserver with AIR applications

2008-09-29 Thread valdhor
You may like to check out the Merapi Project: http://www.merapiproject.net/index.php?option=com_contentview=articleid=47Itemid=64 --- In flexcoders@yahoogroups.com, semelak1 [EMAIL PROTECTED] wrote: After failing to find a solution to the problem I mentioned here:

Re: [flexcoders] Have a question about Weborb

2008-09-29 Thread Igor Costa
You do as same as you do to add, but the only diffrent is on the server-side instead of INSERT INTO you should do UPDATE Regards On Sun, Sep 28, 2008 at 11:59 PM, timgerr [EMAIL PROTECTED] wrote: Hello all, I am trying to learn Weborb and need some help on how to update a database

Re: [flexcoders] How to set rounded corners on an Accordion container

2008-09-29 Thread Igor Costa
Brad See what google's brings to me ( http://dougmccune.com/blog/2007/09/22/nifty-flex-accordion-menu-like-on-applecom/ ) Regards Igor Costa On Mon, Sep 29, 2008 at 1:14 AM, Brad O'Hearne [EMAIL PROTECTED]wrote: Hello all, I am trying to create rounded corners on an accordion container,

[flexcoders] Re: Have a question about Weborb

2008-09-29 Thread timgerr
Do I have to set that or does that come from the script generated weborb? timgerr --- In flexcoders@yahoogroups.com, Igor Costa [EMAIL PROTECTED] wrote: You do as same as you do to add, but the only diffrent is on the server-side instead of INSERT INTO you should do UPDATE Regards

Re: [flexcoders] Need help in BlazeDS(Custom Adapters)

2008-09-29 Thread Igor Costa
Khaild Is the sufix of object you're trigger to send to the client,but the code in doc's are wrong Here's my sample for adapter in java side package com.adobe.adapter; import flex.messaging.messages.AsyncMessage; import flex.messaging.messages.Message; import

Re: [flexcoders] Re: Have a question about Weborb

2008-09-29 Thread Igor Costa
I guess there's something on the code. take look at the sql instrict methods to see if there's something like UPDATE Regards Igor On Mon, Sep 29, 2008 at 11:33 AM, timgerr [EMAIL PROTECTED] wrote: Do I have to set that or does that come from the script generated weborb? timgerr --- In

RE: [flexcoders] TabNavigator with a two lines label

2008-09-29 Thread Gregor Kiddie
Yes, but it's convoluted! (Please, if there is an easier way to do this, I'd be interested!) TabNavigator has a TabBar, which uses the Tab class to create its navigation items. You'd have to subclass Tab to create a version which included a button with 2 lines of text (That particular piece

Re: [flexcoders] LCDS deadLock with managed assocation

2008-09-29 Thread Igor Costa
Sure, You should manage your fill methods to stop deadlock on your LCDS. If you take a close into the documentation you will see this recomendation. Regards Igor Costa On Mon, Sep 29, 2008 at 9:24 AM, kcCedrics [EMAIL PROTECTED] wrote: Hi everybody, I've got a really weird problem with

Re: [flexcoders] Event Propagation Problem (I think)

2008-09-29 Thread Igor Costa
Hum Very strange error, if you share you're code maybe will be easy to everyone help you. But try to debug and place a breakpoint where it's focus using event.preventDefault() to see what's happen behind the scenes. Regards Igor Costa On Sun, Sep 28, 2008 at 11:46 PM, creativepragmatic [EMAIL

Re: [flexcoders] Zoneinfo database to use for AIR applications.

2008-09-29 Thread Igor Costa
George See that? http://en.wikipedia.org/wiki/List_of_zoneinfo_timezones You can create a db in sqlite and store all the info. Than you can use it easy. Regards Igor On Fri, Sep 26, 2008 at 1:35 PM, george_w_canada [EMAIL PROTECTED] wrote: Anyone knows are there any best way to use the

Re: [flexcoders] Re: Word wrap doesn't work with a dynamically loaded font.

2008-09-29 Thread Igor Costa
Rob Sure, just set the verticalScrollPolicy=off for vertical and horizontalScrollPolicy=off for horizontal. Regards Igor Costa On Mon, Sep 29, 2008 at 11:14 AM, Rob Kunkle [EMAIL PROTECTED] wrote: Hi Jitendra - Thanks! This helped. But now I need to get rid of the scroll bars on the

[flexcoders] Re: Have a question about Weborb

2008-09-29 Thread timgerr
Thanks for the help Igor. I am not sure what you mean. I see in the documentation that save is insert or update information: save() method public function save(cascade:Boolean = true, responder:Responder = null):AsyncToken Saves new or updates existing ActiveRecord. The method

Re: [flexcoders] LCDS deadLock with managed assocation

2008-09-29 Thread kcCedrics
Thanks Igor for your answer, I already manage the fill methods but I don't know if there is something to stop the deadLock. The only thing I found into the documentation about deadLock is about use-transactions mode. I don't know if it's what you're talking about. So if it's not, can you tell me

[flexcoders] Flv not playing ..please help

2008-09-29 Thread Mayur Bais
Hi all, here is my code for flv player.. Flv gets loaded but it does not play at all.. can any Plz tell me what i am doing wrong ?xml version=1.0 encoding=utf-8? mx:Panel xmlns:mx=http://www.adobe.com/2006/mxml; width=100% height=100% xmlns:controls=com.fxcomponents.controls.*

[flexcoders] XML-to-JSON conversion?

2008-09-29 Thread gmbroth
Hi, I'm interested in converting between xml and json and, once converted, pretty-printing the json result. While there seem to be plenty of .Net solutions that do the job, I'm looking for an AS or javascript solution. I did cobble together a couple of tools as follows: var xml_doc =

Re: [flexcoders] Zoneinfo database to use for AIR applications.

2008-09-29 Thread Paul Hastings
george_w_canada wrote: Anyone knows are there any best way to use the public zoneinfo database (from original Olson database) in AIR applications? http://en.wikipedia.org/wiki/Zoneinfo parsing that tz data is not trivial (you might have better luck w/the binary distribution). if you don't

Re: [flexcoders] LCDS deadLock with managed assocation

2008-09-29 Thread Igor Costa
Cédric here's for LCDS 2.5 http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/lcds/data_manage_intro_2.html#109213 And in LCDS 2.6 seems to changed to http://livedocs.adobe.com/livecycle/8.2/programLC/programmer/lcds/dms_managedobjects_2.html#342967 Regards igor On Mon, Sep 29, 2008

[flexcoders] Re: Have a question about Weborb

2008-09-29 Thread Mark Piller
Hi Tim, For any instance of Active Record on the client side you can change the properties and then call save() on that instance. It will update the record in the database and also issue client synchronization event so other clients that have the same record would be updated. Instances of active

Re: [flexcoders] URLRequest, ByteArray, and the 0 byte

2008-09-29 Thread Maciek Sakrejda
Hi all, I've create the following ticket: http://bugs.adobe.com/jira/browse/FP-708 It seems to be a core Flash Player issue, and not anything Flex-related, but if you care about Linux Flash Player, I'm not above begging for votes. -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com

Re: [flexcoders] Zoneinfo database to use for AIR applications.

2008-09-29 Thread George
Thanks Igor. I know that. That list is just the zone.tab file. What I need is to get a complete zoneinfo database (and can be updated to new data later when zoneinfo database update maybe every year) and convert into something that to be used directly in AIR applications. Especially I need not

[flexcoders] Flex Builder Does Not Compile Module

2008-09-29 Thread ilikeflex
Hi I am using module to create application.I have taken sample from http://blogs.adobe.com/flexdoc/2007/01/modules_documentation_update.ht ml I have put the following files into seprate project. AutoInsurance.mxml(Is a module) IModuleInterface.as Main.mxml Now when i run Main.mxml

[flexcoders] Re: Event Propagation Problem (I think)

2008-09-29 Thread creativepragmatic
Thanks Igor. I have decided just to use the old class instead. I have a short deadline. --- In flexcoders@yahoogroups.com, Igor Costa [EMAIL PROTECTED] wrote: Hum Very strange error, if you share you're code maybe will be easy to everyone help you. But try to debug and place a breakpoint

RE: [flexcoders] Re: passing complex objects through LocalConnection

2008-09-29 Thread Jonathon Stierman
I've finally figured out what was going on with my null issues - hopefully this will help someone else out down the road. All of the complex objects' properties must be made *public* for de-serialization to work. Private and protected properties are *not* re-inserted into the transferred

Re: [flexcoders] Zoneinfo database to use for AIR applications.

2008-09-29 Thread Igor Costa
George I don't know if you know the Joda, I've portted to actionscript 3.0 and in it there's a very powerfull date/time api for java developers. I don't know if I could to opensource the portation for now because there's a lot of thing to test. But the kind of zoneinfo db is hard to keep in auto

[flexcoders] Re: Have a question about Weborb

2008-09-29 Thread timgerr
Mark, Thanks for the reply, I am getting closer to learning how to do an update. I am good at looking at code so here is what I am doing. I want to call a database row using findby and ad that information into an array collection: private var _master:ArrayCollection = new ArrayCollection();

Re: [flexcoders] Flex Builder Does Not Compile Module

2008-09-29 Thread Ralf Bokelberg
Hi Ilike Can you make sure, that AutoInsurance is added as a application to the project properties? Cheers Ralf. On Mon, Sep 29, 2008 at 7:37 PM, ilikeflex [EMAIL PROTECTED] wrote: Hi I am using module to create application.I have taken sample from

Re: [flexcoders] Flex Builder Does Not Compile Module

2008-09-29 Thread Jason Reynolds
into the application at run time. Please let me know if there is anothe group for flex builder Thanks ilikeflex __ Information from ESET NOD32 Antivirus, version of virus signature database 3480 (20080929) __ The message was checked by ESET NOD32 Antivirus. http

[flexcoders] States and AIR

2008-09-29 Thread Amy
I have a simple State change that changes the width of my AIR window: mx:states mx:State name=fullWidth mx:SetProperty target={this} name=width value={areaRect.width} / /mx:State And I have a button that toggles it like this: private

RE: [flexcoders] html in flex

2008-09-29 Thread Ryan Graham
You can try treating your HTML as XHTML (make sure it's well-formed), then adjust the rendering properties with a toXMLString(). Noted properties are: XML.ignoreWhitespace, XML.prettyPrinting, and TextArea.condenseWhite mx:Script ![CDATA[ [Bindable] private var

[flexcoders] Re: Flex Builder Does Not Compile Module

2008-09-29 Thread ilikeflex
Thanks ilikeflex __ Information from ESET NOD32 Antivirus, version of virus signature database 3480 (20080929) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com

Re: [flexcoders] Rich Text Editor Problem

2008-09-29 Thread Daniel Freiman
Text components cannot use embeded and non-embeded fonts at the same time. I'm not sure as to the details of what's going on in your case, but this could be at the root of the problem. - Daniel Freiman On Mon, Sep 29, 2008 at 6:47 AM, jainleena82 [EMAIL PROTECTED] wrote: Hi, I am using a

Re: [flexcoders] Zoneinfo database to use for AIR applications.

2008-09-29 Thread George
Igor, I had a look on that. But as Java JRE already included zoneinfo database support itself, I wonder if it helpful for me because what I'm doing is a standalone AIR application, without any server side and I need includes accurate zoneinfo data to support timezones runtime. Comparing to

[flexcoders] Problem referring to TextInput in itemRenderer

2008-09-29 Thread oneworld95
Hi. I'm trying to refer to the TextInput control of a specific row when the user clicks a button in that row's itemRenderer. I can change the text in that row's TextInput, but then when I scroll I noticed that other rows (at random) have their TextInput control set to the same value. If I scroll

RE: [flexcoders] Problem referring to TextInput in itemRenderer

2008-09-29 Thread Tracy Spratt
Ah, yes. Item renderers are recycled. Only the ones actually visible even exist. If you have any state in an item renderer that is row / item specific, you must ensure that that state is set from a value in the dataProvider item, in the set data() override. Further, if a user interacts with

Re: [flexcoders] URLRequest, ByteArray, and the 0 byte

2008-09-29 Thread Troy Gilbert
The byte array seems to be truncated to the location of that byte. In general, any ByteArray sent as a data property payload of a URLRequest seems to be truncated to the location of the first zero byte. I've confirmed this by checking the Content-Length header of the POST request (in fact, if

Re: [flexcoders] URLRequest, ByteArray, and the 0 byte

2008-09-29 Thread Maciek Sakrejda
We're also working around this by Base64-encoding, but this is clearly less than ideal. It definitely seems like a Flash Player bug. We ran into this when doing AlivePDF REMOTE saves (i.e., bouncing the file off the server). Do you know when you ran into this, Troy? I tested our particular problem

[flexcoders] How do we clear List's data

2008-09-29 Thread Joshua Partogi
dear all, I have got a List component that has data in it. But I want to clear the data in it. How do we do this in Flex? Has anyone got any experience with this? I tried using list.dataProvider = null but it doesn't work. Could anyone give me a hint and clue about this please? Many thanks --

Re: [flexcoders] How do we clear List's data

2008-09-29 Thread Ryan Gravener
I would try calling list.validateNow(); after you change the dp. Ryan Gravener http://twitter.com/ryangravener On Mon, Sep 29, 2008 at 6:10 PM, Joshua Partogi [EMAIL PROTECTED]wrote: dear all, I have got a List component that has data in it. But I want to clear the data in it. How do we

[flexcoders] Upload file to server from AIR app

2008-09-29 Thread gilbert_mizrahi
I am trying to upload a video from an AIR app to a server. All the examples I have seen use the fileReference.browse, but I don't need to browse any directory. I am using RED5 to capture a video to the local hard drive. I know that the name and path of the file. Thus, the question is how I write

RE: [flexcoders] How do we clear List's data

2008-09-29 Thread Tracy Spratt
If your dataProvider is a collection you can call removeAll(). This will automatically update you display Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Joshua Partogi Sent: Monday, September 29, 2008 6:11 PM To:

[flexcoders] Re: Have a question about Weborb

2008-09-29 Thread timgerr
Let me make this a little more clear: I am good at looking at code so here is what I am doing. I want to call a database row using findby and ad that information into an array collection: private var _master:ArrayCollection = new ArrayCollection(); _master =

Re: [flexcoders] Re: flex dynamic instantiation of classes or class names

2008-09-29 Thread Josh McDonald
Don't store things in dictionary unless you need to use an object as the key (in most cases you don't). In fact I nearly only use dictionary when I need the weak reference function. Because Dictionary works using === and not == to compare keys, you can get weird conditions where things don't match

RE: RE[flexcoders] S: LCDS - how can I improve the createItem function?

2008-09-29 Thread Jeff Vroom
Gosh that 2 minutes does sound like a long time for 1000 items.Can you turn on the debug log and send that along? Since it will be big, probably best to send it to me offlist at [EMAIL PROTECTED]mailto:[EMAIL PROTECTED]. It might be interesting to try this with and without the

RE: [flexcoders] LCDS deadLock with managed assocation

2008-09-29 Thread Jeff Vroom
Can you send me the complete stack trace for this deadlock? If it is big, feel free to send it to me at [EMAIL PROTECTED]mailto:[EMAIL PROTECTED]. Jeff From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kcCedrics Sent: Monday, September 29, 2008 5:25 AM To:

[flexcoders] Resolved Re: Have a question about Weborb

2008-09-29 Thread timgerr
OK, I found out how to do this. When updating a row I have to specify the row id, I think that is all. That is how I got it to work. So if I have this _master = ActiveRecords.Test.findByIdAndName('6','tessa'); _master[0].Email = [EMAIL PROTECTED]; _master[0].Name = tessa; _master[0].Id = 6; I

Re: [flexcoders] Re: Word wrap doesn't work with a dynamically loaded font.

2008-09-29 Thread jitendra jain
Use this properties of TextArea control verticalScrollPolicy= horizontalScrollPolicy=off offThanks, with Regards, Jitendra Jain - Original Message From: Rob Kunkle [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, 29 September, 2008 7:44:44 PM Subject: [flexcoders] Re:

Re: [flexcoders] URLRequest, ByteArray, and the 0 byte

2008-09-29 Thread Troy Gilbert
We're also working around this by Base64-encoding, but this is clearly less than ideal. It definitely seems like a Flash Player bug. We ran into this when doing AlivePDF REMOTE saves (i.e., bouncing the file off the server). Do you know when you ran into this, Troy? I tested our particular

Re: [flexcoders] URLRequest, ByteArray, and the 0 byte

2008-09-29 Thread jitendra jain
All the request data that is send is String.  Thanks, with Regards, Jitendra Jain - Original Message From: Troy Gilbert [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Tuesday, 30 September, 2008 9:03:14 AM Subject: Re: [flexcoders] URLRequest, ByteArray, and the 0 byte

Re: [flexcoders] URLRequest, ByteArray, and the 0 byte

2008-09-29 Thread jitendra jain
If you are using Java as server side , then this string need to be converted into bytes and then send it to the ServletInputStream. Might this will be help.  Thanks, with Regards, Jitendra Jain - Original Message From: jitendra jain [EMAIL PROTECTED] To: flexcoders@yahoogroups.com

[flexcoders] Resolved Re: Have a question about Weborb

2008-09-29 Thread Mark Piller
Hi Tim, Glad you figured it out. There's one minor change I would recommend: when you call any of the find methods, you're always getting an object (or a collection) back. We tried to simplify the programming model, however the async nature of Flex's client/server integration is always there.

Re: [flexcoders] Problem referring to TextInput in itemRenderer

2008-09-29 Thread jitendra jain
Try itemEditEnd event  of data grid. This event is fired when the data is edited and the user is about to lose the  focus. Now in this event try to do whatever validation you need to do and if the data is not valid, call event.preventDefault()   Thanks, with Regards, Jitendra Jain -