[flexcoders] FDS and componentized development: Bug?

2006-10-18 Thread dadrobson
I have an app that works perfectly when all of the FDS-related code resides in the main application MXML file. However, when I place the FDS code in a separate component and import / embed that component in the main application file, the Flash player throws security sandbox errors as follows:

[flexcoders] Re: IE Only: Error #2032 (Flex 2.0)

2006-10-05 Thread dadrobson
Vito: Sorry for the slow response. I haven't been able to spend much time in the group lately. Here is a sample header that works. The key is the value of the Expires attribute. If it is set to 0, IE breaks: HTTP/1.x 200 OK Server: Apache-Coyote/1.1 Expires: -1 Pragma: no-cache Cache-Control:

[flexcoders] Re: Embedding Arial Unicode

2006-09-20 Thread dadrobson
Daniel Tobias: I'm having the same issue. Did either of you file a bug report with Adobe? Jim --- In flexcoders@yahoogroups.com, Daniel Wabyick [EMAIL PROTECTED] wrote: I had this exact same issue. I solved it by using the local(Arial Unicode MS) and specifying a subset of unicode

[flexcoders] Re: Embedding Arial Unicode

2006-09-20 Thread dadrobson
Daniel: How did you get Flex to embed a subset of the characters? I can't get it to embed any part of Arial Unicode. The following code, for example, throws the same error as embedding the entire font. What method did you use? @font-face { src:url(fonts/ARIALUNI.TTF);

[flexcoders] Re: Embedding Arial Unicode

2006-09-20 Thread dadrobson
After my initial post, I noticed something that makes me think that this isn't Adobe's issue: Arial Unicode MS is a 22 MB font! While all of the other fonts installed on my laptop are around 350k or less, this one is 22 megs. I suspect that's the problem. And we probably don't want to embed a 22

[flexcoders] Re: Embedding Arial Unicode

2006-09-20 Thread dadrobson
Daniel: That did the trick! Since I'm compiling locally, I had to set the compiler argument in Flex Builder, like so: -language-range specialCharacters U+0020-U+007E,U+00B2-U+00B9,U+2070-U+2089 Then I was able to use the following in my CSS: @font-face { src: local(Arial Unicode MS);

[flexcoders] Re: Styling a DataGrid at the Row Level

2006-09-14 Thread dadrobson
Hey Harris! I take it you want to do more than alternatingItemColor ? Jim --- In flexcoders@yahoogroups.com, Harris Reynolds [EMAIL PROTECTED] wrote: Is it possible to style individual rows within a DataGrid differently? Or is styling only available for the DataGrid as a whole? ~harris

[flexcoders] Re: Posting data with HTTPService....Please help!

2006-09-14 Thread dadrobson
Hi Bruce, Try this: private function test():void{ HttpRequest.addEventListener(result, testResponse); HttpRequest.url = http://IIS_Server/AJAX/test.asp;; HttpRequest.resultFormat = text; HttpRequest.method = POST; HttpRequest.contentType = application/x-www-form- urlencoded; var params:Object =

[flexcoders] Re: Styling a DataGrid at the Row Level

2006-09-14 Thread dadrobson
Try writing a custom Item Renderer? That way, you can set the style of each row (or even each cell) based on the data. Jim -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

[flexcoders] Re: Pre-compiled applications unable to access FDS based message queues

2006-09-08 Thread dadrobson
I'm having a similar problem, but in my case the path to services-config.xml is set. The app works fine with the web-tier compiler, but when I pre-compile it, I get the error pasted below. There is one line in the error message (below) that caught my eye. It's the message broker URI:

[flexcoders] Re: Pre-compiled applications unable to access FDS based message queues

2006-09-08 Thread dadrobson
path_to_services-config.xml during compilation. -Mete dadrobson [EMAIL PROTECTED] wrote: I'm having a similar problem, but in my case the path to services-config.xml is set. The app works fine with the web-tier compiler, but when I pre-compile it, I get the error

[flexcoders] Re: Pre-compiled applications unable to access FDS based message queues

2006-09-08 Thread dadrobson
Peter and Mete: Thank you! You were right -the context root was the problem. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group

[flexcoders] Re: Subversion SVN and the bin directory problems - copied .svn dirscausing conf

2006-08-17 Thread dadrobson
In Project - Properties - Flex Compiler, de-select Copy non-embedded files to output directory. We had a problem where Flex was copying our entire common-lib directory into the bin folder with every build. Needless to say, this was very costly, so I was very happy to find the above setting! HTH

[flexcoders] Re: What is wrong with my component

2006-08-15 Thread dadrobson
Did you set the value of URL? I see where you declared the variable, and made it Bindable, but I don't see where you set the value. In other words, I see this: [Bindable] public var URL:String; But I don't see anything like this: URL = http://www.myWebSite.com;; --- In

[flexcoders] exception during transcoding:

2006-08-14 Thread dadrobson
I keep getting the following compiler message: exception during transcoding: That is the entire message. It's interesting that there is no explanation as to what caused the exception; the colon at the end makes me think that something should follow, but nothing does. I'm left without a clue as

[flexcoders] Re: exception during transcoding:

2006-08-14 Thread dadrobson
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dadrobson Sent: Monday, August 14, 2006 11:39 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] exception during transcoding: I keep getting the following compiler message

[flexcoders] Re: centerPopUp in ActionScript component

2006-08-11 Thread dadrobson
That is very cool. Thank you! -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to:

[flexcoders] Re: multi-axis charts

2006-08-11 Thread dadrobson
Thanks guys! -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/

[flexcoders] Re: How to change an image dynamically in a datagrid

2006-08-11 Thread dadrobson
Instead of using an inline itemRenderer, you could build a custom component and drop it in. Inside your component, you could use conditional logic to determine what the value of the source property should be. Something like this: ?xml version=1.0 encoding=utf-8? mx:Canvas

[flexcoders] Re: setting chart vaxis to visible range rather than entire dataProviderRange

2006-08-11 Thread dadrobson
If you don't set the minimum maximum values, the default behavior is to auto-scale the y-axis. If you set the minimum maximum values to anything other than NaN, you effectively disable the auto-scale feature. -- Flexcoders Mailing List FAQ:

[flexcoders] Re: Newbie Question - attaching a Sprite

2006-08-11 Thread dadrobson
Sprite doesn't extend mx.core.IUIComponent, and so you can't use it as a parameter in the addChild() method of the Panel class. Instead of using Sprite, try Canvas instead. HTH Jim -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search

[flexcoders] LineChart performance issue / Alternatives?

2006-08-11 Thread dadrobson
I'm building a Flex 2.0 UI for an app that continually generates data to be plotted on a line graph; new data keeps coming in, and when there is too much data to fit in the chart, the older data drops off and the horizontal axis shifts. (To visualize what I mean, picture the Performance tab in

[flexcoders] Re: Newbie Question - attaching a Sprite

2006-08-11 Thread dadrobson
I stand corrected: I wrote extend instead of implement. Thanks Mike! -Jim -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group

[flexcoders] Re: Newbie Question - attaching a Sprite

2006-08-11 Thread dadrobson
You should be able to use Canvas.addChild(Sprite), because it takes a DisplayObject, and Sprite does exted DisplayObject. I don't have time to test it right now, but based on the inheritance outlined in the docs, it looks like it should work. I'll try to run a test later; meanwhile, if you have a

[flexcoders] centerPopUp in ActionScript component

2006-08-10 Thread dadrobson
I wrote a component in ActionScript that is designed to be used as a pop-up, and it needs to center itself. I tried invoking PopUpManager.centerPopUp(this) from the constructor, and then I tried it in the createChildren method, but the Flash player seemed to ignore it both times. The pop-up kept

[flexcoders] multi-axis charts

2006-08-10 Thread dadrobson
Eric Anderson's intro to F2B3 indicates that Flex's Charting components provide advanced charting capabilities including multi-axis charts. Does this mean that a chart can have more than one Y-axis? I'm building an app with a LineChart where the ideal situation would be to have a separate Y-axis

[flexcoders] Re: Getting XML from server

2006-08-10 Thread dadrobson
Here's something you can try: Instead of this... requestSolicitante.lastResult.solicitante.nome; Try this... private function onResult(oEvent:ResultEvent):void { var r:XML = XML(oEvent.result); txSolicitante.text = r.solicitante.nome; } --- In flexcoders@yahoogroups.com, falecomozig [EMAIL

[flexcoders] Re: Bug in Flex 2 compiler: Generated Code Errors

2006-08-08 Thread dadrobson
Hi Matt, That's possible, but doubtful. I had only made a few changes before this error appeared. I reversed my changes, and executed a Project - Clean in Flex Builder, but the error messages persisted. I finally resorted to a backup copy of my app and started over. The changes I had made

[flexcoders] Re: strange XMLListCollection behavior

2006-08-08 Thread dadrobson
Tom: I am experiencing the same issue. Did you find a workaround for it? Also, did you file the bug report with Adobe? Thanks Jim -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

[flexcoders] Re: strange XMLListCollection behavior

2006-08-08 Thread dadrobson
Hi Tom, It seems (so far) that ArrayCollection doesn't have the same issues that XMLListCollection has. For my current application, I was able to replace the XMLListCollection instances with ArrayCollections. Once I did that, things started working correctly. I will keep your method on hand for

[flexcoders] Bug in Flex 2 compiler: Generated Code Errors

2006-08-07 Thread dadrobson
I'm getting syntax errors in the code generated by the compiler (i.e. the compiler is breaking the app on me - see messages below). Does anyone know of a good workaround for this? I reported this to Adobe as a bug, but meanwhile I need to continue development, and the compiler won't let me move

[flexcoders] Flex 2 / Flash Media Server 2 Connection Issues

2006-08-03 Thread dadrobson
I am trying to integrate Flex 2 with FMS 2. The Flex app connects with FMS; I am sure of this because I monitor the log in the FMS console. However, it keeps throwing the following error (note that FMSFlexTest is the name of my Flex app): Error #2044: Unhandled NetStatusEvent:. level=error,

[flexcoders] Re: Flex 2 / Flash Media Server 2 Connection Issues

2006-08-03 Thread dadrobson
RESOLVED: The value of the NetConnection's ObjectEncoding property needed to be set to AMF0 because Flash Media Server 2 was released prior to ActionScript 3.0. Since all of my NetConnection calls are to FMS 2, I am able to set the default value once for all connections (this must be done

[flexcoders] Re: Flex2: Question and SecurityPolicy.loadPolicyFile()

2006-08-02 Thread dadrobson
Tobias, I'm not sure if this was just a typo in your post, but I don't think you want SecurityPolicy.loadPolicyFile(). I think the correct method is: flash.system.Security.loadPolicyFile(url); Jim -- Flexcoders Mailing List FAQ:

[flexcoders] Re: Bug in FlexBuilder 2 New Project Wizard: Doesn't recognize server root

2006-07-26 Thread dadrobson
RESOLVED: With help from the folks at Adobe, I learned that Tomcat had not fully expanded the flex.war file; there were some files missing in the expanded folder flex/WEB-INF folder. So, I deleted all of the Flex stuff from the Tomcat/webapps directory, re-copied the .war files from the FDS

[flexcoders] Re: IE Only: Error #2032 (Flex 2.0)

2006-07-24 Thread dadrobson
I'm not sure how to interpret what IE does with these headers. The Spring form controller was setting the expiry date to the Unix epoch. Could it be that IE was correct in rejecting this? --- In flexcoders@yahoogroups.com, Dave Wolf [EMAIL PROTECTED] wrote: Sounds like the same issues we used

[flexcoders] ValidationResultEvent class: How to access name of form field?

2006-07-24 Thread dadrobson
I understand that the Validator.validateAll() method returns an array of ValidationResultEvent objects. My question is, how do I access the name of the field that failed validation? According to the docs, the field property of the ValidationResultEvent object supplies this. But when I reference

[flexcoders] Bug in FlexBuilder 2 New Project Wizard: Doesn't recognize server root

2006-07-24 Thread dadrobson
I installed FDS, following the instructions for Tomcat (copied the WAR files into the webapps folder and restarted Tomcat, then confirmed that the directories were created). I restarted my box, restarted Tomcat again, opened Flex Builder 2.0, then: 1. File - New - Flex Project 2. Selected Flex

[flexcoders] Re: IE Only: Error #2032 (Flex 2.0)

2006-07-22 Thread dadrobson
() to generate headers that the browsers would accept. -Jim --- In flexcoders@yahoogroups.com, dadrobson [EMAIL PROTECTED] wrote: I have a complete app that is currently working fine when loaded in Firefox. However, in IE, some (but not all) HTTPService requests return the following error: Error

[flexcoders] IE Only: Error #2032 (Flex 2.0)

2006-07-21 Thread dadrobson
I have a complete app that is currently working fine when loaded in Firefox. However, in IE, some (but not all) HTTPService requests return the following error: Error: [IOErrorEvent type=ioError bubbles=false cancelable=false evenPhase=2 text=Error #2032: Stream Error. URL:

[flexcoders] App Blows Up in Production Player

2006-07-20 Thread dadrobson
We have the boxed version of FlexBuilder 2 on back-order; Adobe tells us they're out of stock. Adobe's website won't take our corporate credit cards, so we can't order the download version. Meanwhile, I've completed an entire app in Flex Builder 2 Beta 3. It works beautifully in the Beta debug

[flexcoders] Form submission with multiple select

2006-07-19 Thread dadrobson
I've searched the docs and the list, but I can't for the life of me find out how to submit the value of a multiple-select list to an action page. The best way I know to explain the problem is to put it in terms of plain old HTML. Suppose you have a multiple select list on an HTML form: select

[flexcoders] Re: Need help to select multiple item from a list

2006-07-18 Thread dadrobson
Sukhminder: Did you ever get an answer to this question? I've been searching the docs and the Flexcoders posts, but so far, no luck. Jim --- In flexcoders@yahoogroups.com, Sukhminder Singh [EMAIL PROTECTED] wrote: Hi there... I have 2 lists. First list contains all the items, from which a

[flexcoders] Re: Need help to select multiple item from a list

2006-07-18 Thread dadrobson
Cynergy Systems, Inc. http://www.CynergySystems.com From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dadrobson Sent: Tuesday, July 18, 2006 7:56 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Need help to select

[flexcoders] Complex XML in Tree Control

2006-07-12 Thread dadrobson
The XML that I am being sent is in the following format: root nodes node id=1 childnodes childnode id=100/childnode childnode id=101 grandchildnodes grandchildnodes id=1000 / grandchildnodes id=1001 / /grandhildnodes /childnode /childnodes /node node id=2 !-- and so on --- /nodes /root When I

[flexcoders] Re: Complex XML in Tree Control

2006-07-12 Thread dadrobson
with plural identifiers are simply collectors; they have no attributes, and are of no significance to the end user. Sorry for the double post, but I'm afraid the first one would just confuse people. Jim --- In flexcoders@yahoogroups.com, dadrobson [EMAIL PROTECTED] wrote: The XML that I am being sent

[flexcoders] Re: Link Control not working!!

2006-06-12 Thread dadrobson
Chaitu: What version of Flex are you using? 1.5 had a Link control, but it appears to have been replaced by the LinkButton control in Flex 2.0. -Jim --- In flexcoders@yahoogroups.com, Chaitu Vadlapatla [EMAIL PROTECTED] wrote: Hey All, I know Flex was supposed to have a Link control but