[flexcoders] Script timeout binding selection in Tree

2010-05-17 Thread Richard Rodseth
I'm getting the following error: Error: Error #1502: A script has executed for longer than the default timeout period of 15 seconds. at ?() at

[flexcoders] Re: Does Flash in Chrome perform better?

2010-05-17 Thread mitek17
No, we didn't try the AIR version. Speaking of figures, after clicking on Login button Chrome fully loads app in 13 sec Firefox/Safari in 24 sec. IE was a bit faster - 21 sec. --- In flexcoders@yahoogroups.com, Chenri chenrij...@... wrote: Do you happen to observe the performance using AIR?

[flexcoders] adding transparent images to a canvas

2010-05-17 Thread ouaqa
good morning fellow flexers. I've been struggling for the last 3 days with a very frustrating problem. In a photo manipulation project, I use a canvas where I handle images. So, an image is displayed in a canvas and I want to add a new image on top of it, let's say a cool wood-looking frame.

Re: [flexcoders] Re: Does Flash in Chrome perform better?

2010-05-17 Thread Oleg Sivokon
On Mon, May 17, 2010 at 3:23 AM, mitek17 mite...@gmail.com wrote: They are VERY different browsers. Webkit is a just rendering engine, nothing else. This depends on what speed do you measure... Besides, you can configure the number of simultaneous downloads for example... Well, anyway, what

Re: [flexcoders] Canceling keyboard activity on controls

2010-05-17 Thread Oleg Sivokon
The combination of control key and S or O or F may not be overridden in some browsers, most notably IE, maybe by doing some black magic with VBScript and if you will manage to find a way to hack IE somehow... but, normally, it won't even dispatch those keypresses to the browser's content.

Re: [flexcoders] Script timeout binding selection in Tree

2010-05-17 Thread Oleg Sivokon
First of I'd remove all the bindings, because binding may be silencing errors ans than may be running in loop not knowing what to update first. I also think that you only copied the top of the error stack trace, could you tell if there was something looking like recursion, i.e. you would see

[flexcoders] How to align label text to the left in Spark Button (no textAlign style)?

2010-05-17 Thread Andriy Panas
Hi all, textAlign style is excluded for Spark Button, and probably for a good reason. [Exclude(name=textAlign, kind=style)] If I want to align Spark Button text label to the left, should I create custom skin to accomplish that? Something e.g: ?xml version=1.0 encoding=utf-8? s:Skin

[flexcoders] Re: adding transparent images to a canvas

2010-05-17 Thread ouaqa
using the getPixel() and SetPixel32() methods, I managed to handle the transparency but this solution isn't pretty at all. The initial image is still supposed to be transparent. Here is the bit of code that sets the transparent pixels. (It's in the onFrameReceptionComplete function)

[flexcoders] control video

2010-05-17 Thread cholid cholid
Hi all how to control speed of video at flex? thanks

[flexcoders] Re: Web Service Error

2010-05-17 Thread valdhor
If you type the WSDL's location in the URL of a browser window, what do you get? --- In flexcoders@yahoogroups.com, Krunal krunal_chaudhari_ms...@... wrote: Hello Friends !! I want to use java web service to Flex i hv made program for it my web service is running on java nice but in flex it

[flexcoders] plugin FlexCover in MAVEN-ERROR TOUCH.TXT-----Any Help please, very URGENT :(

2010-05-17 Thread Nini7016 Nini7016
Hello I work with Maven. I have to excute my test's Classes (FLEX UNIT 4). I choosed the plugin flexcover of the plugin Maven flexmojos-maven-plugin. The reason of the choose of this plugin is because this plugin generates a file which contains the result of test. But unfortunetally it

[flexcoders] Difference Between Defect a Bug?

2010-05-17 Thread training24x7
Worth Reading for a Software Engineer . http://24x7training.blogspot.com/2010/05/joke-on-software-testing.html

[flexcoders] MyEclipse 6.0 with Flex 3 Plugin

2010-05-17 Thread pawan gupta
Hi guys I am new to this group.! I am facing a problem while creating the Flex web application , i have flex 3 builder and sdk comes with it. Problem is while creating the WEb application through flex 3 , it will not create the full phenomena of war file. I means the dictionary structure.

[flexcoders] Re: TileList Itemrenderer's TextInput focus problem on keyboard Tab key

2010-05-17 Thread Nilesh
Hey I got an solution for this. Here is an solution for focus issue of Itemrenderer's textinputs - package { public class MyList extends List { public function MyList () { super(); } // Set focus to childerns on Tab key press (Tab Navigation)

Re: [flexcoders] XML List Collection Filter Function

2010-05-17 Thread Angelo Anolin
Hi Alex, The XML being returned by the web service is as follows: NewDataSet Table EmployeeID123/EmployeeID EmployeeFirstNameLebron/EmployeeFirstName EmployeeLastNameJames/EmployeeLastName EmployeeEmaillja...@cavaliers.com/EmployeeEmail

Re: [flexcoders] MyEclipse 6.0 with Flex 3 Plugin

2010-05-17 Thread Oleg Sivokon
War file isn't the only way to deploy stuff to the web server, in fact, it is a unique way to do that, pertaining to Java development only. Flex is not Java and thus it isn't deployed in the way Java is. You need to upload the compiled SWF and embed it into HTML page - that's how the deployment

[flexcoders] Re: adding transparent images to a canvas

2010-05-17 Thread Amy
--- In flexcoders@yahoogroups.com, ouaqa abenef...@... wrote: good morning fellow flexers. I've been struggling for the last 3 days with a very frustrating problem. In a photo manipulation project, I use a canvas where I handle images. So, an image is displayed in a canvas and I want

Re: [flexcoders] MyEclipse 6.0 with Flex 3 Plugin

2010-05-17 Thread Tom Chiverton
On Monday 17 May 2010 15:05:18 you wrote: not Java and thus it isn't deployed in the way Java is. You need to upload the compiled SWF and embed it into HTML page - that's how the deployment works. Although if you are from the Java world, there are several examples online of using ANT to

[flexcoders] Undo/redo for bitmap editing app

2010-05-17 Thread aaronius9er9er
Hey coders, I'm trying to implement a somewhat simplified version of Photoshop.com or Aviary Phoenix for a client. We're providing options to the user to perform photo-wide changes like hue/brightness/contrast and scoped changes like fixing blemishes, red eye, etc. Right now we have things

[flexcoders] Announcement: Flex Camp 3 Toronto

2010-05-17 Thread oliverm1
Hi folks, Flex Camp 3 Toronto is an afternoon/evening event for RIA developers and anyone else interested in Adobe Flex. We've engaged some world-class presenters for this event, including Adobe's Lee Brimelow and Renaun Erickson. Whether you're just starting out or a seasoned pro, there will

[flexcoders] Re: Application requiring streaming data

2010-05-17 Thread Mete Atamel
Your best option is RTMPChannel/RTMPEndpoint and messaging in LCDS. The reason is RTMP uses a dedicated duplex socket connection between the client and the server, hence it's the most realtime option between Flex and LCDS. If you cannot use RTMP, your other options in LCDS are the following

Re: [flexcoders] Application requiring streaming data

2010-05-17 Thread sasuke
Hi Evan, Correct me if I'm wrong but: - HTTP is a plain text protocol and hence suffers from verbosity which is almost never acceptable when developing real time solutions (not to mention the header information transmitted) - HTTP is a request-response protocol so any kind of streaming solution

Re: [flexcoders] XML List Collection Filter Function

2010-05-17 Thread Alex Harui
Try: return itm.EmployeeEmail.toString().toLowerCase().indexOf(tiSearch.text.toLowerCase()) != -1; On 5/17/10 6:56 AM, Angelo Anolin angelo_ano...@yahoo.com wrote: Hi Alex, The XML being returned by the web service is as follows: NewDataSet Table EmployeeID123/EmployeeID

Re: [flexcoders] Script timeout binding selection in Tree

2010-05-17 Thread Richard Rodseth
Thanks. Without the binding the timeout does not occur, since that's what causes the rather complex method ListBase.setSelectionDataLoop to be called. I suspect that it might have to do with looking for a selected object that is not part of the data provider collection, but that's only a temporary

[flexcoders] Sharing authentication between ChannelSets

2010-05-17 Thread Gregor Kiddie
I'm trying to solve the following problem with RemoteObjects. I want to use Secure AMF to authenticate the user, and then use regular AMF from that point on, without having to re-authenticate. I'm struggling to find a way to allow the separate Channels the share the same authentication...

Re: [flexcoders] Application requiring streaming data

2010-05-17 Thread Evan Klein
BlazeDS and LCDS use AMF for messaging/remoting - which is more compressed than plain text such as XML. Mete did correct some of my information. LCDS uses RTMP which is socket based. However, this assumes you have $40K or so to invest in LCDS. If you don't or do, I would suggest you look at a

[flexcoders] Re: Combobox in a Datagrid not retaining values

2010-05-17 Thread md_ars
Hi Alex, There was a mistake in posting the code. However I am not using editorDataField anymore. In the dataGrid my column is defined as given below and it is using combobox component defined below the column code. It is working fine but I have few questions/requirements. a) I have four

RE: [flexcoders] Sharing authentication between ChannelSets

2010-05-17 Thread Gregor Kiddie
It also appears BlazeDS doesn't agree with the Flex documentation... Channelset says the RO is authenticated if one of the channels in the set is. I set up two ROs, and two Channelsets each with the same two Channels but in a different order (secure first in one, non-secure in the other), then

RE: [flexcoders] Sharing authentication between ChannelSets

2010-05-17 Thread Gregor Kiddie
With further reading it appears that having two Channels going to the same server isn't allowed by BlazeDS anyway! It will throw errors around DuplicateSessions, because the JsessionId isn't shared between the channels. It surely can't be this hard to do something so straightforward?

RE: [flexcoders] Sharing authentication between ChannelSets

2010-05-17 Thread Gregor Kiddie
Rolling back to BlazeDS 3.0.0.544 gets rid of the duplicate session issue, but the second session is still not authenticated, again because it's trying to use a different JSessionId. So it boils down to Flash side of things, what can I do to set the JSessionId from one Channel on another?

RE: [flexcoders] Sharing authentication between ChannelSets

2010-05-17 Thread Gregor Kiddie
Success I think. My brain is totally fired at this point, so if someone can see the problem in this, bellow loudly please! The Channel set I've authenticated has two MessageAgents attached, one of which is an AuthenticationAgent. I call connect on the second Channelset with the

[flexcoders] Question re: dataTransform.transformCache in ChartElement

2010-05-17 Thread morentsov_d
Hi all, I have a class that extends GridLines in a Flex chart. GridLines is itself a subclass of ChartElement. I need the gridlines to redraw whenever the min/max of the axes changes. I can get it to redraw but in updateDisplayList method, the reference dataTransform object does not contain

[flexcoders] itemEditor | Nested Objects in dataProvider

2010-05-17 Thread ilikeflex
Hi I am using the item editors and went through the following article http://www.adobe.com/devnet/flex/articles/itemeditors_pt2.html. I am using nested properties in the dataprovider. I use label function to diaplay the data in grid. But when i edit the datagrid usinf the itemeditors i get

[flexcoders] Flex Tree with infinite parents and children

2010-05-17 Thread jarottman
I am working on a tree component and I am having a bit of the issue with populating the data-provider for this tree. The data that I get back from my database is a simple array of value objects. Each value object has 2 properties. ObjectID and ParentID. For parents the ParentID is null and for

Re: [flexcoders] itemEditor | Nested Objects in dataProvider

2010-05-17 Thread Alex Harui
Standard practice is to call preventDefault on ITEM_EDIT_END and update the data yourself. On 5/17/10 1:31 PM, ilikeflex ilikef...@yahoo.com wrote: Hi I am using the item editors and went through the following article http://www.adobe.com/devnet/flex/articles/itemeditors_pt2.html. I am

Re: [flexcoders] XML List Collection Filter Function

2010-05-17 Thread Angelo Anolin
Hi Alex, Thanks for your replies. I was able to figure out what was causing the filter function not to work. In the dataset which I am returning, there are some rows which have a NULL value. What I did was modified the dataset so that NULL values are returned as empty strings which does

[flexcoders] Re: Undo/redo for bitmap editing app

2010-05-17 Thread aaronius9er9er
After a bit of testing online photo-editing apps (Photoshop.com, Aviary, Picnik), I think my strategy has changed: (1) Make the change using a ShaderJob. (2) Modify the hue for all pixels using a ShaderJob. (3) Make the change using a ShaderJob. (1st undo) Replace current bitmap with original

Re: [flexcoders] Script timeout binding selection in Tree

2010-05-17 Thread Richard Rodseth
I'm still stumped by this. Wish I had more information to add. The use case is that the user is navigating (via a button and a bookmarking mechanism I built) to a different screen, resulting in a) a change of active tab b) a refresh of the tree in that tab via asynchronous API call c) selection of

Re: [flexcoders] Script timeout binding selection in Tree

2010-05-17 Thread Oleg Sivokon
I wish I could help more... well here's another guess: - if you are using XML / XMLList, and have used insertBefore / isertAfter from the same XML / XMLList, then it is a known bug. - if you dispatch collectionChange on your own you might have messed something in the event's properties, which then

Re: [flexcoders] Script timeout binding selection in Tree

2010-05-17 Thread Richard Rodseth
Thanks for trying. No, the presentation model has an array collection whose .source gets changed after an HTTPService call returns (although I should mention that I am using my mock service layer at the moment). I added a a collection change listener to the collection reference. I have set a

Re: [flexcoders] Script timeout binding selection in Tree

2010-05-17 Thread Alex Harui
Set a breakpoint on setSelectionDataLoop. See how often it gets called. On 5/17/10 4:49 PM, Richard Rodseth rrods...@gmail.com wrote: Thanks for trying. No, the presentation model has an array collection whose .source gets changed after an HTTPService call returns (although I should

Re: [flexcoders] How to align label text to the left in Spark Button (no textAlign style)?

2010-05-17 Thread dorkie dork from dorktown
Hi Andriy, Yes. You will need to create a custom skin. You can base it on the Button skin. In the skin you can use the following code: s:Label id=labelDisplay textAlign=getStyle('textAlign') left=2 right=2 top=2 bottom=2/ /s:Skin And you must set the style in CSS. The other way to set it is to