RE: [flexcoders] Trying to undo changes to datagrid dataprovider

2008-08-12 Thread Alex Harui
What didn't work when you swapped in the original AC? That should be good enough. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Howard Fore Sent: Tuesday, August 12, 2008 6:14 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders

RE: [flexcoders] what is a reliable way to know when your component is re-displayed

2008-08-12 Thread Alex Harui
Most folks use the Viewstack's change event. You don't want to wait until they are displayed to update them, you want to do it just before, which is when the viewstack is changing. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of andrew.

RE: [flexcoders] AS 3.0 event target problem!!!

2008-08-12 Thread Alex Harui
He's surprised that the popup isn't parented by the app. Popups are parented by the systemMgr which also parents the app. Id's are per-document (or per-mxml file) so you can traverse documents and pull objects by their ids. From: flexcoders@yahoogroups.com

Re: [flexcoders] Re: Error 1069 Decoding Error

2008-08-12 Thread Josh McDonald
No wait, I see it :) On Wed, Aug 13, 2008 at 2:35 PM, Josh McDonald <[EMAIL PROTECTED]> wrote: > If that's actually a cut+paste, you're missing a closing tag for: > > > > -Josh > > > On Tue, Aug 12, 2008 at 10:51 PM, Mandy <[EMAIL PROTECTED]> wrote: > >> Here is the full xml response: >> [RPC F

Re: [flexcoders] Re: Error 1069 Decoding Error

2008-08-12 Thread Josh McDonald
If that's actually a cut+paste, you're missing a closing tag for: -Josh On Tue, Aug 12, 2008 at 10:51 PM, Mandy <[EMAIL PROTECTED]> wrote: > Here is the full xml response: > [RPC Fault faultString="Error #1069" faultCode="DecodingError" > faultDetail="null"] > (mx.messaging.messages::Acknowl

Re: [flexcoders] Re: Is It Just Me?

2008-08-12 Thread Josh McDonald
Bah, like I said early, it's one line of code: fontColor.selectedColor = parseInt(textbox.text.replace("#",""),16); It's not something you'd want to do very often, and we already have parseInt, which is strangely enough, for the parsing of ints. -Josh On Wed, Aug 13, 2008 at 5:50 AM, Gordon Smi

[flexcoders] Re: datagridcolumn

2008-08-12 Thread Tim Hoff
Hi Michelle, You're on the right track with the labelFunction. Give this a try: private function getLabelUnit1(item:Object, column:DataGridColumn) : Number { return item.CaServiceIds.getItemAt(0); } private function getLabelUnit2(item:Object, column:DataGridColumn) : Number { retur

RE: [flexcoders] AS 3.0 event target problem!!!

2008-08-12 Thread Gordon Smith
What do you mean by "I don't have the path to the root"? If you assign an id to each component, the toString() method will use that instead of a dynamically generated name like Button498. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.co

[flexcoders] Re: Sending data back

2008-08-12 Thread markgoldin_2000
Yes, I did send it. Here is a fragment of data being sent: 496 West Departure MCCHU 12 470

[flexcoders] what is a reliable way to know when your component is re-displayed

2008-08-12 Thread andrew.0000
What is a reliable way to know when your component is displayed? The show event is only called when a component goes from visible=false to true. The creationComplete event is only once. My problem is I have various views (forms basically) nested in all sorts of crazy viewstacks and so on, and I

[flexcoders] Re: Dertermine if a tree node is open

2008-08-12 Thread guillaumeracine
OMG i can't beleive that i did'nt find this one by myself...thank you very much eheh :) --- In flexcoders@yahoogroups.com, "flexawesome" <[EMAIL PROTECTED]> wrote: > > isItemOpen? > > > http://livedocs.adobe.com/flex/201/langref/mx/controls/Tree.html#isItemOpen() > > > > --- In flexcoders@yah

Re: [flexcoders] Trying to undo changes to datagrid dataprovider

2008-08-12 Thread Howard Fore
Yep, I'm using ObjectUtils.copy, which creates a deep copy. On Tue, Aug 12, 2008 at 4:39 PM, Alex Harui <[EMAIL PROTECTED]> wrote: > Is your backup copy a deep copy? If not then sub-objects got shared and > modified. > > > -- > > *From:* flexcoders@yahoogroups.com [

[flexcoders] Re: HTTP SSL Issue

2008-08-12 Thread Satish Kumar.M
Figured this out.. in my production environment, the SSL terminates at the very first entry-point .. so all requests internally are HTTP requests. I changed my-secure-amf definition to use a SecureAMFChannel but point to a non-secure AMFEndpoint. A re-compile and deploy solved the issue.

[flexcoders] Hiring Flex Developers ASAP!

2008-08-12 Thread jhaidar21
Hi All, My company is looking for Flex gurus asap. We're building out a great new enterprise widget offering and need your help. The platform allows clients to author, order, track, distribute, and even own Flash widgets. We're also working on technology that will be the first of it's kind to all

[flexcoders] AS 3.0 event target problem!!!

2008-08-12 Thread zoran_101
I have an interesting problem regarding event.target in Flex 2/ActionScript 3.0. I am using the Flex Grocer app in order to try something out. I am attaching listeners to all the click events and then printing out event.target to keep track of my events and where we clicked, nothing revolutiona

[flexcoders] Re: Flex with proxy server

2008-08-12 Thread walberleal
yes, but not work! --- In flexcoders@yahoogroups.com, "Tim Rowe" <[EMAIL PROTECTED]> wrote: > > Oh, this will be fun :/ > > Tried establishing your connection to the proxy server yet, not the > destination endpoint? > > Tim Rowe > Software Engineer > carsales.com Ltd > > ___

[flexcoders] datagridcolumn

2008-08-12 Thread Michelle Davis
Hello,   I have the following issue and I don't know what to do.   My DatagGrid dataProvider is ArrayCollection contains the following information   _1363246720dgCaAssociation = mx.controls.DataGrid (@34090a1)   mx.controls.dataGridClasses.DataGridBase [inherited] =    columnCount = 3 : Number   co

[flexcoders] Re: Flex with proxy server

2008-08-12 Thread walberleal
yes, but not work!

[flexcoders] Re: Sending data back

2008-08-12 Thread markgoldin_2000
I will try but here is a question: I need to send data from DG. So, I am sending DG.dataProvider.toXMLString(). Is that right? --- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > > Can you debug RequestObject to see what it contains? > > > > What is your back-end pla

RE: [flexcoders] WordWrapping a Label

2008-08-12 Thread Gordon Smith
You need to use instead of . Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of shafram Sent: Tuesday, August 12, 2008 5:43 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] WordWrapping a Label

[flexcoders] WordWrapping a Label

2008-08-12 Thread shafram
Hi is there a way to Word wrap a label? I know about the truncateToFit property but that's not exactly what I'm looking for. Thanks

RE: [flexcoders] Displaying custom items in ComboBox

2008-08-12 Thread Alex Harui
IconComboBOx on my blog (blogs.adobe.com/aharui) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Regert Sent: Tuesday, August 12, 2008 2:46 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Displaying custom items in ComboB

[flexcoders] Flex Kit for CS3 weirdness

2008-08-12 Thread Daniel McQuillen
I'm experiencing some weirdness when using the Flex Kit for CS3. I have a MovieClip I'm exporting to a .swc (for Flex) as a UIMovieClip called "AnimationPanel." I'm defining the class in a separate AnimationPanel.as file with a class definition of: public class AnimationPanel extends UIMovieClip

RE: [flexcoders] My itemRenderer is cancelling wordWrap setting on AdvancedDataGridColumn

2008-08-12 Thread Alex Harui
Wordwrapping is the responsibility of the renderer. Label is a single-line control so it won't word wrap. Using Text is possible but you have to wire up the measure method correctly. See past threads for how to do that. Also, that makes a heavy weight renderer. My recommendation is to copy

[flexcoders] Displaying custom items in ComboBox

2008-08-12 Thread Michael Regert
Below is a "hello world" program that creates a combo box which has a circle or a square as the drop-down selections. The drop down has a custom renderer which shows a label as well as a graphic of the shape. What I'd like to do is display this shape not just in the drop-down menu, but when the

[flexcoders] Favorite drawing tool

2008-08-12 Thread schneiderjim
Anyone have any favorites for a flex/flash-based drawing tool?

RE: [flexcoders] My itemRenderer is cancelling wordWrap setting on AdvancedDataGridColumn

2008-08-12 Thread Tracy Spratt
mx:Label is single line only. Try mx:Text. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of whatabrain Sent: Tuesday, August 12, 2008 6:55 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] My itemRenderer is cancelling wordW

RE: [flexcoders] Re: Sending data back

2008-08-12 Thread Tracy Spratt
Can you debug RequestObject to see what it contains? What is your back-end platform? The code looks like classic asp. If so then I would pass a string from flex as in my perv post, then do: Dim sXML = Request("xmlstring") 'will work for either post or get args 'you could debug the string

[flexcoders] My itemRenderer is cancelling wordWrap setting on AdvancedDataGridColumn

2008-08-12 Thread whatabrain
I want an AdvancedDataGridColumn to have word wrap, soI set the wordWrap attribute to true. The column contains an itemRenderer, which renders an mx:Label, which contains the actual text. But that text doesn't wrap. The reason I'm using an itemRenderer is because otherwise, tooltips

RE: [flexcoders] Re: Sending data back

2008-08-12 Thread Tracy Spratt
Strictly a coding preference. In the early days of Flex, there were a lot of reported problems with non-default contentType, and I established my back-end technology to handle strings. It works great and is very simple. Passing true XML adds a level of complexity over strings. Might have other b

[flexcoders] AdvancedDataGrid change notifications

2008-08-12 Thread rmarples
Hi folks, Does anybody know of a straight-forward way of being notified when an item within my AdvancedDataGrid has been edited? I am currently not using a custom item renderer or item editor. I want to know what's been changed so I can send updates to my server to commit changes to the database.

[flexcoders] Re: Sending data back

2008-08-12 Thread markgoldin_2000
Yes, I would want that working. I am trying to extract am XML on the server using Request object and I have done that before but somehow it does not work. oDom = createobject("Msxml2.FreeThreadedDOMDocument") oDom.load(RequestObject) but oDom.xml is empty. Any idea? Thanks --- In flexcoders@yaho

Re: [flexcoders] Any Chart Sampler for Flex 3?

2008-08-12 Thread Pan Troglodytes
Thanks Richard. This is a lot better than nothing, though it still leaves me desiring a lot of the cool stuff on Ely's sampler. The ability to fiddle with the different properties of the charts, fill with new random data, test the charting effects, etc. On Tue, Aug 12, 2008 at 4:44 PM, Richard

[flexcoders] Re: Sending data back

2008-08-12 Thread nathanpdaniel
> I don't advise that, though it will work. What I meant was to send the > whole xml in a single parameter: > > var sXml:String = _xmlBigDataCreatedSomewhereElse.toXMLString(); > > var oRequest:Object = {xmlstring: sXml } > > myHttpService.send(oRequest); Just curious... why would you not adv

Re: [flexcoders] Any Chart Sampler for Flex 3?

2008-08-12 Thread Richard Rodseth
Not sure if this suffices, but the basic component explorer does have the data visualization components, including OLAP grid etc. http://examples.adobe.com/flex3/componentexplorer/explorer.html It would be nice to have them in the style explorer too. On Tue, Aug 12, 2008 at 2:40 PM, Pan Troglody

[flexcoders] Any Chart Sampler for Flex 3?

2008-08-12 Thread Pan Troglodytes
Is there an equivalent to Ely's wonderful charting sampler http://demo.quietlyscheming.com/ChartSampler/app.html updated for Flex 3? I'm sure this sampler has sold more than a few copies of Flex. I know it was a big factor in wowing my boss. Just today I needed to show him the sampler to give

RE: [flexcoders] Re: Sending data back

2008-08-12 Thread Tracy Spratt
I don't advise that, though it will work. What I meant was to send the whole xml in a single parameter: var sXml:String = _xmlBigDataCreatedSomewhereElse.toXMLString(); var oRequest:Object = {xmlstring: sXml } myHttpService.send(oRequest); Tracy From: f

[flexcoders] Charts - how do I draw on a Background Element and NOT cause a refresh?

2008-08-12 Thread EddieBerman
I've got a column chart with 2 BackgroundElements. One is extended from GridLines and the other, which sits between the grid and the columns (in the z-order) is extended from the CartesianDataCanvas class. Each ColumnSeries has an itemRenderer. I need to be able to draw on the my CartesianDataCa

RE: [flexcoders] Trying to undo changes to datagrid dataprovider

2008-08-12 Thread Alex Harui
Is your backup copy a deep copy? If not then sub-objects got shared and modified. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Howard Fore Sent: Tuesday, August 12, 2008 1:11 PM To: Flexcoders Subject: [flexcoders] Trying to undo cha

[flexcoders] Re: Sending data back

2008-08-12 Thread nathanpdaniel
My suggestion would be to change the content type to "application/xml" - then it post XML to the server. :D No name value pairs needed for that.. Examples: AS3: var http:HTTPService = new HTTPService(); http.url = serverURL; http.contentType = "application/xml"; MXML: That's of course in

[flexcoders] Kill VideoDisplay when removed from stage?

2008-08-12 Thread mlharrisn
I'd consider myself a slight step above a Flex newbie, and I'm running into a problem I haven't been able to find an answer to by Googling. I'm working on a custom component based on the Canvas, that will use the VideoDisplay component. My problem is that when the custom Canvas is removed, I

[flexcoders] Trying to undo changes to datagrid dataprovider

2008-08-12 Thread Howard Fore
How can you offer the user the ability to undo any changes they've made to the data in a datagrid? I've got an editable datagrid with an ArrayCollection as the dataprovider. In my init I create a copy of the ArrayCollection before they user has made any changes. Then when they click the "Cancel Cha

Re: [flexcoders] Re: Datagrid selected item highlight behavior changes based on dataprovider object

2008-08-12 Thread Ryan Gravener
Have your typed objects implement IUID. Read this entry for a better explanation: http://ryangravener.com/wordpress/?p=36 On Tue, Aug 12, 2008 at 3:54 PM, Alex Harui <[EMAIL PROTECTED]> wrote: >Post an example if it is small. > > > -- > > *From:* flexcoders@yahoo

RE: [flexcoders] Re: Datagrid selected item highlight behavior changes based on dataprovider object

2008-08-12 Thread Alex Harui
Post an example if it is small. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Longley Sent: Tuesday, August 12, 2008 12:37 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Datagrid selected item highlight behavior cha

RE: [flexcoders] how to build flex nightly builds?

2008-08-12 Thread Gordon Smith
The Flex SDK opensource site is http://opensource.adobe.com/flex. Click on the Developer Documentation link, and then the "Set up your development environment" and "How to build and test" links, to find the information about building the Flex SDK yourself from source. Gordon Smith Adobe Flex S

RE: [flexcoders] Re: Is It Just Me?

2008-08-12 Thread Gordon Smith
Although in MXML and CSS source code you can specify a color in the format #D3D3D3, at runtime Flex components dealing with colors generally represent them as RGB unsigned integers like 0xD3D3D3, not as strings like "#D3D3D3". We probably should have provided better conversion routines between the

[flexcoders] Re: Sending data back

2008-08-12 Thread markgoldin_2000
Yes, I am using HTTPService. But I cannot use name=value pair. My XML has a complex structure that cannot be broken into a simple name=value pair. --- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > > You typically use one of the three RPC protocols. The easiest way t

[flexcoders] Re: Datagrid selected item highlight behavior changes based on dataprovider object

2008-08-12 Thread Andrew Longley
Tim thanks for your response. I have a very simple datagrid implementation and yes, simply changing the objects in the datagrid from untyped to typed alters the behavior of the datagrid with respect to the look of the selected row. Doesn't matter if I use the objects returned from the server or j

RE: [flexcoders] Sending data back

2008-08-12 Thread Tracy Spratt
You typically use one of the three RPC protocols. The easiest way to send an xml string is to use the HTTPService RPC protocol. Leave the default contentType, and send the xml string in a name=value pair in the request object. Tracy From: flexcoders@yahoogro

Re: [flexcoders] Design Patters For Loading Data?

2008-08-12 Thread neilwebb
Fantasic. Thanks. On 12 Aug 2008, at 19:20, "Troy Gilbert" <[EMAIL PROTECTED]> wrote: Check out BulkLoader: http://code.google.com/p/bulk-loader/ It's designed for doing exactly this, as well as handling a lot of other common cases (like loading SWF, images, etc. and automatically returning t

[flexcoders] Re: URL deeplinking or other?

2008-08-12 Thread flexaustin
Ok, figured it out. I guess if you are working with a Flex file instead of a Flash file things are different. Or maybe it was the lack of history folder. Either way it works and here are my steps. I followed this example http://www.swffix.org/swfobject/swfobject_flex3/ -->SWFObject 2 dynamic publ

[flexcoders] Sending data back

2008-08-12 Thread markgoldin_2000
How exaclty is Flex sending data back? Is it possible to send an XML string back to server so I can restore it there into an xml string? Thanks

Re: [flexcoders] Design Patters For Loading Data?

2008-08-12 Thread Johannes Nel
nice On Tue, Aug 12, 2008 at 8:20 PM, Troy Gilbert <[EMAIL PROTECTED]>wrote: > Check out BulkLoader: http://code.google.com/p/bulk-loader/ > > It's designed for doing exactly this, as well as handling a lot of > other common cases (like loading SWF, images, etc. and automatically > returning th

Re: [flexcoders] Design Patters For Loading Data?

2008-08-12 Thread Troy Gilbert
Check out BulkLoader: http://code.google.com/p/bulk-loader/ It's designed for doing exactly this, as well as handling a lot of other common cases (like loading SWF, images, etc. and automatically returning the DisplayObject, etc.). It includes accumulated progress information, etc. Pretty complete

RE: [flexcoders] Re: URL deeplinking or other?

2008-08-12 Thread Alex Harui
For me, IE's status bar shows a warning icon and says errors on page. See if your code works with the default wrapper. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexaustin Sent: Tuesday, August 12, 2008 6:23 AM To: flexcoders@yahoo

[flexcoders] Re: Dertermine if a tree node is open

2008-08-12 Thread guillaumeracine
OMG i can't beleive that i did'nt see this one...! Thank you! hehe --- In flexcoders@yahoogroups.com, "flexawesome" <[EMAIL PROTECTED]> wrote: > > isItemOpen? > > > http://livedocs.adobe.com/flex/201/langref/mx/controls/Tree.html#isItemOpen() > > > > --- In flexcoders@yahoogroups.com, "guilla

[flexcoders] Re: Dertermine if a tree node is open

2008-08-12 Thread flexawesome
isItemOpen? http://livedocs.adobe.com/flex/201/langref/mx/controls/Tree.html#isItemOpen() --- In flexcoders@yahoogroups.com, "guillaumeracine" <[EMAIL PROTECTED]> wrote: > > I searched this group and google but i did not find the answer i wanted. > Is there a way to know if an object is open i

[flexcoders] BrowserManager swfObject and several divs

2008-08-12 Thread flexaustin
Does the number of divs matter in trying to get BrowswerManager to see the fragments? Mine isn't working its coming up null. Here is my html: http://www.adobe.com/go/getflashplayer";> http://www.adobe.com/images/shared/download_buttons/

[flexcoders] Dertermine if a tree node is open

2008-08-12 Thread guillaumeracine
I searched this group and google but i did not find the answer i wanted. Is there a way to know if an object is open in this case: private function openItemHandler(evt:TreeEvent):void{ var selectedNode:Object = evt.item; var child1:Object = selectedNode.children.getChildAt(0); //How i

[flexcoders] Re: Property editing panel

2008-08-12 Thread Richard Rodseth
Bump (I learned a new word), and cc'ing flexcomponents. This might be too hackish, but is there a good way to detect if a component is in "scrolling" state. That way, I could imagine a tree (or VBox of WindowShades) which would fire events, and if it got too large, would close some nodes. On Mon,

RE: [flexcoders] Re: DataServiceException

2008-08-12 Thread Jeff Vroom
Oops, I forgot that particular call was added in a 2.5.1 hotfix or also exists in 2.6. If you comment out that line, you still see the sequenceInfo above which should provide the info you need. Jeff From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Geoffrey Sent: Tuesday

Re: [flexcoders] Design Patters For Loading Data?

2008-08-12 Thread nwebb
Thanks all. I normally use Cairngorm but it's overkill for an application of this size. I will check out the UniversalMind extension though - sounds good. @Josh - looks cool. Not looking for a sequential loader, but still ... :) @Johannes - yes, an improvement, thanks Thanks for all the feedb

Re: [flexcoders] how to make stacking area chart in flex3

2008-08-12 Thread Richard Rodseth
I had only used the type="stacked" property on ColumnSet. You can, however put column series on a CartesianChart, along with other series types. On Mon, Aug 11, 2008 at 5:00 PM, coder3 <[EMAIL PROTECTED]> wrote: > > I have found this regarding stacking charts, which can be helpful: > > http://liv

[flexcoders] Re: Datagrid selected item highlight behavior changes based on dataprovider object

2008-08-12 Thread Tim Hoff
Hmm, strongly typed objects or not, the DataGrid should behave the same; as long as you're not using selectable="false". Are you sure it's not something else? Are you doing something on the "change" event? -TH --- In flexcoders@yahoogroups.com, "Andrew Longley" <[EMAIL PROTECTED]> wrote: >

[flexcoders] Re: Globally setting useHandCursor true for Flex components, specifically button

2008-08-12 Thread Tim Hoff
Yeah, unfortunately they aren't styles. As Alex says, if you want these global, you'll have to subclass button and set buttonMode and useHandCursor to true. Or, just set these properties manually on all controls. It would be nice if these properties could be set globally for buttons (and all co

Re: [flexcoders] Design Patters For Loading Data?

2008-08-12 Thread Sefi Ninio
I agree, Cairngorm is perfect for this, especially when using the UniversalMind Cairngorm extension. UM lets you define an array of remote calls (event-command pairs) which can be sequence or parallel execution, and once all the remote calls are finished, you get a notification. Sounds like exactly

Re: [flexcoders] Is It Just Me?

2008-08-12 Thread Maciek Sakrejda
Ah. I read "I have a colorpicker object and I want to set the selected color programmatically depending on which textinput field a user is in" as "If the user is in TextInput foo, then I want the color to be gray; if in bar, then blue, if in baz, then red." or something like that. If the quest

[flexcoders] Datagrid selected item highlight behavior changes based on dataprovider object

2008-08-12 Thread Andrew Longley
I expect that when I click on a row in a datagrid, the item gains the "selected" row highlight. I'm developing an Air app and my datagrid does not act this way. After much messing around I discovered that, everything else being the same, if I changed the dataProvider of the datagrid the behavior

Re: [flexcoders] Re: Embedded Jetty6 or 7 server

2008-08-12 Thread Ryan Gravener
I wrote a quickstart on combining blazeds, flex, jetty, spring, wicket, and hibernate: http://ryangravener.com/wordpress/?p=21 as for embedded jetty server: http://wicket-flex-blazeds.googlecode.com/svn/trunk/myproject-core/src/test/java/org/myproject/Start.java Hope this helps. On Tue, Aug 12,

[flexcoders] Re: DataServiceException

2008-08-12 Thread Geoffrey
What version of LCDS was this written for? I can't seem to resolve "seq.getItemInfo()" with my 2.5.1 jars. --- In flexcoders@yahoogroups.com, Jeff Vroom <[EMAIL PROTECTED]> wrote: > > Yeah, it should be calling any fill methods which are still actively managed by clients in that "refreshFill" ca

Re: [flexcoders] Re: reordering a list when clicked??

2008-08-12 Thread Greg Morphis
I really appreciate your offering to help but I think I'm just going to cut my losses and scrap doing it in Flex. I just altered the SQL and bam, no problems what-so-ever... I'm not sure why Flex has to tweak on me.. If I have time in the future I may revisit this... Anways, thanks again Alex! On

Re: [flexcoders] Re: Embedded Jetty6 or 7 server

2008-08-12 Thread Anatole Tartakovsky
Robin, There are 2 ways this can be done - none is pretty. 1.You can "navigateToFile" - based on the mime type OS will open appropriate programe (Word for doc, etc and hopefully java for class). Needless to say it is error prone and configuration dependent. 2. You need binary component that would

[flexcoders] Re: Testing Internet Connection in Flex

2008-08-12 Thread valdhor
I normally use a timeout to check this... environmentservice = new RemoteObject("myDestination"); environmentservice.requestTimeout = 30; environmentservice.addEventListener(FaultEvent.FAULT, faultHandler); private function faultHandler(fault:FaultEvent):void { switch(fault.fault.faultCode.t

[flexcoders] Re: URL deeplinking or other?

2008-08-12 Thread flexaustin
Here is my html, but not sure if its the problem. When you say check the .js files for errors what .js files and how do I look for errors? And thanks again for all your help. http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab";>

[flexcoders] Re: Flex 3 Radio Button Tab weirdness

2008-08-12 Thread aut0poietic_us
Replying because I've solved the problem in the 14 hours it took for my message to actually appear. Corrected code, all I did was shift the RadioButtonGroup inside the VBox and change "group" to groupName: 1. FirstQuestion --- In flexcoders@yahoogroups.com, "Alex Harui" <[EMAIL PRO

Re: [flexcoders] Design Patters For Loading Data?

2008-08-12 Thread DannyT
Very neat, but does this have a variant whereby these calls can be made at the same time? Looks like this (as the name suggests) daisy chains the calls firing one after the other rather than calling them all and monitoring all of the results and notifying when all are successfully called. Like the

Re: [flexcoders] Re: Is It Just Me?

2008-08-12 Thread Laurent Cozic
>  Right, it does have a text box, with the color in Hex notation, so >  you'd assume that there'd be a real easy way, in ActionScript, to pass > a hex value to it, but there isn't. > I find this perplexing. The way Flex displays the data or let you interact with it doesn'

[flexcoders] Re: Error 1069 Decoding Error

2008-08-12 Thread Mandy
Here is the full xml response: [RPC Fault faultString="Error #1069" faultCode="DecodingError" faultDetail="null"] (mx.messaging.messages::AcknowledgeMessage)#0 body = "http://schemas.xmlsoap.org/soap/envelope/";> http://service.xxx.xx.xxx.xxx.xxx.xxx/";>

Re: [flexcoders] Design Patters For Loading Data?

2008-08-12 Thread Simon Bailey
Nice touch Josh, like it, props! On 12 Aug 2008, at 13:07, Josh McDonald wrote: This is pretty ordinary, and I plan on re-vamping it, but we're planning on open sourcing most of this stuff soon, so you might as well have a look and you can use it as a base for something better: http://www.g

Re: [flexcoders] SandBox security issue

2008-08-12 Thread Guy Morton
If the flex app is running on a different host you will need a crossdomain.xml file on the machine running the web service. On 12/08/2008, at 3:30 AM, kirilminevgroups wrote: I am experiencing some sandBox security issues. I have flex chart which communicated to web service. When both the we

[flexcoders] Re: Is It Just Me?

2008-08-12 Thread Dale Cook
Right, it does have a text box, with the color in Hex notation, so you'd assume that there'd be a real easy way, in ActionScript, to pass a hex value to it, but there isn't. I find this perplexing. --- In flexcoders@yahoogroups.com, "Josh McDonald" <[EMAIL PROTECTED]> wrote: > > Well the first ca

[flexcoders] Re: Globally setting useHandCursor true for Flex components, specifically button

2008-08-12 Thread danielholmes85
Thanks for your response. I've checked the reference and it appears buttonMode and useHandCursor definitely aren't styles on any components: http://livedocs.adobe.com/flex/3/langref/all-index-B.html http://livedocs.adobe.com/flex/3/langref/all-index-U.html The example im using to test is as fol

[flexcoders] Setting combobox selected item manually

2008-08-12 Thread Dale Cook
I have a number of TextInput components on a form, and each input can have a different font, which is chosen from a combo box. The combo box definition looks something like this the fonts data source is defined like this [Bindable] private var fonts:ArrayCollection = new ArrayCollection( [

[flexcoders] Re: Is It Just Me?

2008-08-12 Thread Dale Cook
Actually, just to be clear, I'm certainly not saying the Flex sucks - far from it, I'm actually saying that I'm just surprised that some things that should be really easy don't seem, to me anyway, to make logical sense. However, that being said some things that should be really hard are surprising

Re: [flexcoders] Design Patters For Loading Data?

2008-08-12 Thread Josh McDonald
This is pretty ordinary, and I plan on re-vamping it, but we're planning on open sourcing most of this stuff soon, so you might as well have a look and you can use it as a base for something better: http://www.gfunk007.com/flex/ChainLoader.as Usage example: new ChainLoader(Application

RE: [flexcoders] Class file in flex

2008-08-12 Thread Allan Pichler
This would probably work as well.. Without changing the AS class. --A http://www.adobe. com/2006/ mxml " xmlns:inc="includes.*" layout="absolute" > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Laurent

Re: [flexcoders] Design Patters For Loading Data?

2008-08-12 Thread Johannes Nel
i normally use a hash to manage this kind of thing. when the responder returns you set the key in the dictionary object's to true, false or error object, and you loop through all the keys and make your decision from there. On Tue, Aug 12, 2008 at 1:46 PM, Simon Bailey <[EMAIL PROTECTED]>wrote: >

Re: [flexcoders] Design Patters For Loading Data?

2008-08-12 Thread jitendra jain
 Why don't u go for Cairngorm Framework that is perfectly designed for this purposeThanks, with Regards, Jitendra Jain Software Engineer - Original Message From: nwebb <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Tuesday, August 12, 2008 5:07:47 PM Subject: [flex

Re: [flexcoders] Design Patters For Loading Data?

2008-08-12 Thread Simon Bailey
How about defining and array with all the method names and every time a method is returned it removes its method name from the array. The method to remove each item from the array would check the array length each times its called and when the array.length == 0 then call your method x? C

[flexcoders] Design Patters For Loading Data?

2008-08-12 Thread nwebb
Hi, hoping for some help on this... * Problem*: I am making multiple asynchronous calls to the server and I want to ensure I have the data back from *all* the calls before calling method x. I don't want to daisy-chain the calls (i.e.having to wait until service#1 reurns data before calling service#

Re: [flexcoders] Class file in flex

2008-08-12 Thread Laurent Cozic
You can't include a class within a class, you can only include "plain" ActionScript files. So to fix your issue, you simply need to remove the "package" and "class" statements from your actionscript file. You should probably also remove the "import Inculdes.ClassTesting;". Also

[flexcoders] Class file in flex

2008-08-12 Thread litesh_b321
hi guys, I am trying action script class in flex 3.0 I have action script class in "Inculdes\ClassTesting.as" directory which is situated inside src directory. See code below : http://www.adobe.com/2006/mxml"; layout="absolute"> Error I am

[flexcoders] How connect to the GTalk by XIFF?

2008-08-12 Thread venkat eswar
How connect to the GTalk by XIFF?

Re: [flexcoders] Loop through all visual components

2008-08-12 Thread Laurent Cozic
Somebody ask a similar question on this list recently. You can loop through all the components in your app by using the numChildren property and getChildAt method: function checkAllButtons(container) {   for (var i = 0; i < container.numChildren; i++) {     var c = container.getChildAt(i);    

[flexcoders] Loop through all visual components

2008-08-12 Thread itdanny2002
I have created a custom button and used it throughoutly in my FLEX application. How can I change it dynamically by looping through all components ? Is there any like "children" stuff and then use "ValidateDisplayList" to make it refresh ? Actually, it likes changing the skin dynamically. But I n

Re: [flexcoders] Re: Embedded Jetty6 or 7 server

2008-08-12 Thread Josh McDonald
Well, you'd have to figure out a way to have either your Java app or your AIR app not appear in the task bar or dock, but besides that I imagine you could just use java.lang.System.exec() That's about all the help I can be with this though, I haven't done it :) -Josh On Tue, Aug 12, 2008 at 6:11

[flexcoders] Re: Embedded Jetty6 or 7 server

2008-08-12 Thread robin bakkerus
Hi Josh, Ok, the other way around, but do you have an example how to that. thanks in advance robin --- In flexcoders@yahoogroups.com, "Josh McDonald" <[EMAIL PROTECTED]> wrote: > > Air can't listen to sockets, nor can it spawn external programs. You'd have > to have a Java program with embedded

[flexcoders] Flex 3: FormItem's label sizing problem

2008-08-12 Thread Mika Kiljunen
Hi! I have a problem with FormItem's label sizing with Flex 3. See the following snippet: ... The snippet is in a Title Window ( a popup opening from another popup). In commitProperties I set the labels for the FormIte

[flexcoders] LCDS: data management and limited access

2008-08-12 Thread Zdenek Mikan
I am trying to limit access to my flex application which works with LCDS 2.6 data management endpoints configured to use only the rtmp channel. I would like to limit access to my application from just certain ip addresses - I want to list these ip addresses in whitelist property of my server, b

[flexcoders] Re: LCDS: how to fetch the items from lazy collection

2008-08-12 Thread zdenekmikan
Thanks, that is exactly what I was looking for. Zdenek M --- In flexcoders@yahoogroups.com, Jeff Vroom <[EMAIL PROTECTED]> wrote: > > We've been wanting to add a "prefetchAndExecute" type of utility which would make this a little easier. I think what you are doing is good though it would be a b

  1   2   >