[flexcoders] Re: Checking if an object exists

2008-07-30 Thread Rafael Faria
For instance parentApplication.appData['moduleParams'].table_name 'moduleParams' is an object as well. it might not exist, and table_name might not exist... i need to test if table_name exists... anything i put it returns Error: Error #1009: Cannot access a property or method of a null object

[flexcoders] Parsing MultiLevel Array

2008-07-30 Thread sudha_bsb
Hi, I have a requirement wherin I have to parse a multilevel array. Suppose we have an array like mx:Array mx:Object label=Control Panel mx:children mx:Array mx:Object label=Five / mx:Object label=Six / /mx:Array /mx:children /mx:Object

[flexcoders] Sorting an XMLList on an attribute

2008-07-30 Thread gaurav1146
Hi, I am trying to sort an XMLList based on one of the attributes in the XML node. On trying this I get the following error: TypeError: Error #1089: Assignment to lists with more than one item is not supported. Instead of XMLList if I use XMLListCollection it works fine. The thing is that I

Re: [flexcoders] Re: Checking if an object exists

2008-07-30 Thread Josh McDonald
Error #1009 Means you're trying to dereference something that is null. If you get that error on a line like this: foo.bar or foo['bar'] It means that foo itself is null, not that foo exists and doesn't contain a bar field. A tip: When you get this exception, try using the Variables window in

Re: [flexcoders] Getting current URL from iFram

2008-07-30 Thread Tom Chiverton
On Tuesday 29 Jul 2008, flexawesome wrote: am unable to use the AS to get the parent URL address. ExternalInterface.call( window.location.href.toString ); Why, what happens ? Do you have an allowScriptAccess embed parameter ? -- Tom Chiverton

[flexcoders] Re: Complete metadata information and Where to Find it???

2008-07-30 Thread anubhav.bisaria
Hi There, the [Exclude] tag is used to hide the subcomponents. so that they are not accessible like id_of_parentApplication.id_of_childobject http://www.jeffryhouser.com/index.cfm?mode=entryentry=4DC9B79C-65B3- D59C-464EC981E0A2EA8F for [ExcludeClasses] metadata tag, please go through this

[flexcoders] Canvas event

2008-07-30 Thread David Gironella
I have this piece of code. mx:Canvas width=500 height=200 mouseOver={trace('over')} mouseOut={trace('out')} backgroundColor=0x342453 mx:Canvas width=200 height=100 x=50 y=50 backgroundColor=0x213424 /mx:Canvas /mx:Canvas When I mouseOver second

Re: [flexcoders] AdvancedDataGrid: Making certain rows unselectable

2008-07-30 Thread Tom Chiverton
On Monday 28 Jul 2008, whatabrain wrote: I would like to make an AdvancedDataGrid where the rows with a depth of 0 (or a particular RendererProvider, if you prefer), have no select Could your click handler unset the row ? -- Tom Chiverton

Re: [flexcoders] Canvas event

2008-07-30 Thread Josh McDonald
You can try setting mouseChildren=false on the outer Canvas. -Josh On Wed, Jul 30, 2008 at 8:08 PM, David Gironella [EMAIL PROTECTED]wrote: I have this piece of code. mx:Canvas width=500 height=200 mouseOver={*trace*(*'over'*)} mouseOut={*trace*(*'out'*)} backgroundColor=0x342453

[flexcoders] DataGrid horizontal ScrollBar not shown properly

2008-07-30 Thread rleuthold
Hi, I'm having a very wide DataGrid ( approx 4000px ). I'm setting the scroll policies to on. But the horizontal scroll bar is not shown properly. It doesn't show the right end and arrow of the scroll bar, so the user is never able to see the columns all to the right in the grid. It

[flexcoders] Best event to listen for when ViewStack child becomes active?

2008-07-30 Thread Cameron Childress
What's the best event to listen for when a *specific* child of a ViewStack becomes active? I'd like to set some defaults on a specific child each time it becomes active (not just the first time, and not just when it is created) and can't seem to find the right combination. I'm using a fairly

[flexcoders] disable all controls on stage

2008-07-30 Thread Claudio M. E. Bastos Iorio
I'm trying to access all controls in stage, to disable them (error occurred in app - disable all controls). I'd like to have access to some kind of collection to iterate trough, something like: Foreach (var mycontrol:Control in CollectionofObjects){ Mycontrol.enabled =

Re: [flexcoders] Flash 9 localhost socket connection on Windows

2008-07-30 Thread Darren Cook
What is the problem behaviour? In the flash client it says it has connected properly. No other messages. On the server side it says nothing; only when I kill the flash client do I get a bunch of log entries: ... ERROR: failed socket_read from client so closing socket. Last socket error: An

Re: [flexcoders] Re: skinning and validation

2008-07-30 Thread Toby Tremayne
Hi Tim, On the text field if I remove the focusSkin yes, it then uses the red border as it should. But on the combo box and numeric stepper I can confirm that the validation is working fine - when I mouse over the field it still brings up the red tooltip to the right hand side, it's

[flexcoders] How to copy and move file in the specific directory in AIR

2008-07-30 Thread Pankaj Munjal
Hi This is my first post on this blog and joined few minutes back. I am facing pb. I have to copy one file from my specific location to other specific locaton except applicationDirectory,desktopDirectory etc.. For e.g I want to copy from d://Test/tst.xml to e://Test/t.xml How to achive this ...

[flexcoders] AS3 or Flex MXML to UML, OO architecture, use cases, object classes, sequence diagrams, and state diagrams

2008-07-30 Thread Pascal Schrafl
Hi all, Does anyone of you know a tool, to reverse engineer a already existing Flex 3 application in order to create the OO architecture, use cases, object classes, sequence diagrams and state diagrams in UML? Thanks a lot for your answers and best regards, Pascal

[flexcoders] HTML tags in tool tip

2008-07-30 Thread timgerr
Is there a way to have html tags work in the tool tips, if not then can I embed a text area in tool tips? Thanks for the help, timgerr

[flexcoders] Adjacent mx:Label controls and spacing between them?

2008-07-30 Thread Chris W. Rea
Hi flexcoders. This is my first post, so hello! I'm relatively new to Flex, and I am using Flex Builder 3. I'm trying to lay out some text with Label controls, and this issue is confusing me. Basically, I want to display a string such as The first number is 42 and the second number is 99. The

[flexcoders] Re: Event for shift-click

2008-07-30 Thread Kevin Ford
Nevermind. It was a dumb error on my part. At the beginning of the function I was calling I had an if-statement testing for... analysisList.selectedIndex -1 ... which obviously doesn't work for multiple selections. Simply changing it to... analysisList.selectedIndices.length 0 ... does what I

[flexcoders] Re: Parsing MultiLevel Array

2008-07-30 Thread Amy
--- In flexcoders@yahoogroups.com, sudha_bsb [EMAIL PROTECTED] wrote: Hi, I have a requirement wherin I have to parse a multilevel array. Suppose we have an array like mx:Array mx:Object label=Control Panel mx:children mx:Array mx:Object label=Five /

Re: [flexcoders] Adjacent mx:Label controls and spacing between them?

2008-07-30 Thread Flex Frenzy
Hey Chris, welcome! The easiest solution would be to change the HBox spacing to -6, and add the spaces in the text, like so: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ [Bindable] public var firstNumber:int =

[flexcoders] Re: Loading an ActionScript class from and external swf file

2008-07-30 Thread arunprakash dhanabal
Worked like a charm. Your bog really helped. Thanks a lot!!! --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: AS is not Java. See the modules presentation on my blog. You won't want to reference MyScreen as MyScreen in the main app, but rather as IScreen.

[flexcoders] Resource file

2008-07-30 Thread David Gironella
I know I can create string tags easy in resource file. MESSAGE=we are alone. But I can use this tag to complete other tags. Possible example: MESSAGE=we are alone. MESSAGE2= {MESSAGE} and you Giro.

[flexcoders] Re: Best event to listen for when ViewStack child becomes active?

2008-07-30 Thread Cameron Childress
On Wed, Jul 30, 2008 at 7:56 AM, Cameron Childress [EMAIL PROTECTED] wrote: What's the best event to listen for when a *specific* child of a ViewStack becomes active? Apparently my question was too easy or (too common) for FlexCoders to answer, but I got it: show() and hide() were what I was

[flexcoders] Re: Programmatically select items in AdvancedDataGrid

2008-07-30 Thread whatabrain
Sorry. I missed a detail... I tried to do: grid.selectedItems.push(o). It did not cause the item to be selected. --- In flexcoders@yahoogroups.com, fourctv [EMAIL PROTECTED] wrote: You have 2 options, set either adg.selectedItems or adg.selectedIndices. --- In flexcoders@yahoogroups.com,

RE: [flexcoders] Sorting an XMLList on an attribute

2008-07-30 Thread Tracy Spratt
XMLList does not have a sort method. You could do the sort manually, a single level is pretty easy. Does sorting XMLListCollection sort the underlyingsource XMLList as well? If so, why not just use XMLListCollection in the sorting function only? Tracy

Re: [flexcoders] Re: Flex Inspiration and ideas

2008-07-30 Thread Tom Chiverton
On Tuesday 29 Jul 2008, brucewhealton wrote: When I go to these sites and find interesting components and such, if I find that an application was created for Flex 2.0, is there a good chance it will work with Flex 3.0? Yup. -- Tom Chiverton

Re: [flexcoders] HTML tags in tool tip

2008-07-30 Thread Tom Chiverton
On Wednesday 30 Jul 2008, timgerr wrote: Is there a way to have html tags work in the tool tips, http://community.adobe.com/ion/search.html;jsessionid=815CBE1AD362061ECD17B06D69A48BF5?q=htmltooltipx=0y=0meta=area%3D0lbl=flex_product_adobelr -- Tom Chiverton

[flexcoders] Updating AIR apps - 'version string' nonsense?

2008-07-30 Thread Borek
To update an AIR app, you can use Updater#update() method. This method accepts 2 parameters - first is 'airFile' and the second is 'version string'. I am totally confused about the version parameter though - why do we need it? This is an example from the docs: var airFile:File =

Re: [flexcoders] Refreshing data in dataGrid

2008-07-30 Thread Tom Chiverton
On Wednesday 30 Jul 2008, Joshua Jackson wrote: I've got a list of data displayed in a datagrid where the DataProvider is from Spring as the backend. Now everytime I add, update or delete data, it doesn't refresh the datagrid. How do I do this in Flex? Do you want your application to notice

Re: [flexcoders] disable all controls on stage

2008-07-30 Thread Tom Chiverton
On Wednesday 30 Jul 2008, Claudio M. E. Bastos Iorio wrote: I'm trying to access all controls in stage, to disable them (error occurred in app - disable all controls). Why either use PopUpManager directly to make a model popup, or did into it's code to see what it does - maybe it just draws a

Re: [flexcoders] Form Processing in Flex

2008-07-30 Thread Tom Chiverton
On Tuesday 29 Jul 2008, brucewhealton wrote: using Flex. When designing in xhtml, using Dreamweaver, I call the form processor from the opening form tag, which calls a php file - Which does what ? I'm not clear. information for form processing. I am curious as to how to process the form

RE: [flexcoders] Re: Programmatically select items in AdvancedDataGrid

2008-07-30 Thread Tracy Spratt
How did you get o? For selectedItem(s) to work, o must be a reference pointing to an item in the dataProvider. Is that the case? If so, try assigning the entire selectedItems array, rather than manipulating its elements individually. That is just a guess, but is the way you must handle the

RE: [flexcoders] Refreshing data in dataGrid

2008-07-30 Thread Tracy Spratt
If you use the dataProvider API to make the updates, then the UI will respond automatically. Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Wednesday, July 30, 2008 11:29 AM To: flexcoders@yahoogroups.com Subject: Re:

RE: [flexcoders] Parsing MultiLevel Array

2008-07-30 Thread Tracy Spratt
Use a setter function to pass the data into the component, and in tht function, perform whatever logic you need. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sudha_bsb Sent: Wednesday, July 30, 2008 2:51 AM To:

RE: [flexcoders] dynamic remote objects

2008-07-30 Thread Tracy Spratt
I don't do RO much but I do the same thing with HTTPService and WebService. What is not working? Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dan Vega Sent: Wednesday, July 30, 2008 1:00 AM To: flexcoders@yahoogroups.com

RE: [flexcoders] Best event to listen for when ViewStack child becomes active?

2008-07-30 Thread Tracy Spratt
Use the show event on the child views. You will also need creationComplete, because show does not fire the first time. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Cameron Childress Sent: Wednesday, July 30, 2008 7:57 AM

[flexcoders] Chart not displaying large no. of items nicely

2008-07-30 Thread nehavyas13
Hi, I have got 3 charts on a page. 2 are Bar chart and 3rd is a Column Chart. All one below another. The first two charts on the y axis do not have fixed items. These items are created at run time. If the no. of items reaches more than 15, the 1st two charts do not show them properly formatted.

Re: [flexcoders] dynamic remote objects

2008-07-30 Thread Tom Chiverton
On Wednesday 30 Jul 2008, Dan Vega wrote: I have a remote object that is very dynamic.The user is actually selecting the source of the component and the method name. Send the component name, method and arguments list to a generic service method that does the invoke for you. And be sure to

[flexcoders] permission based ui

2008-07-30 Thread Derrick Anderson
hi, i have my main UI setup with a ToggleButtonBar whos dataprovider is a viewstack. I need to incorporate permissions into my application, some users won't have access to the 'Setup' section for example- is there an easy way to do this or do i need to subclass ToggleButtonBar? how do you all

[flexcoders] LCDS : updateItem method

2008-07-30 Thread Bart Ronsyn
On my Livecycle server, I created an assembler extending the AbstractAssembler class, overriding the methods getItem, createItem, updateItem and deleteItem. Now on the Flex side, I have a DataService-object ds ... the getItem and createItem methods work well, but I noticed that the DataService

RE: [flexcoders] LCDS : updateItem method

2008-07-30 Thread Jeff Vroom
Updates are tracked automatically as you change properties on your item. If you have autoCommit turned on, each property change of a managed object will automatically send the changes to the server and call updateItem. If you turn autoCommit=false, you can call dataService.commit() to commit

RE: [flexcoders] permission based ui

2008-07-30 Thread Tracy Spratt
Do not use the ViewStack as the dataProvider. Build the navigation system's dataProvider as needed for the curent user, include the view index in each item. On click, assign the item.viewIndex property value to the viewStack.selectedItem. Tracy From:

[flexcoders] Re: Programmatically select items in AdvancedDataGrid

2008-07-30 Thread fourctv
adg.selectedItems and adg.selectedIndices are arrays. selectedItems is an array of objects from adg's dataProvider taht are currently selected, and it is a read/write property. selectedINdices otoh is an array of ints with indices for those same objects in selectedItems. so, to make it

Re: [flexcoders] dynamic remote objects

2008-07-30 Thread Dan Vega
Ok, I figured out what I was doing wrong but I am still getting an error. I think this is the right way to use remote object in AS3 import mx.rpc.remoting.RemoteObject; import mx.rpc.remoting.Operation; // setup the remote method

[flexcoders] AdvancedDataGrid: Disable Dragging Columns

2008-07-30 Thread Paul Whitelock
In the Adobe documentation it says the following about disabling the ability to re-arrange columns by dragging: To disable dragging of all columns in a group, set the AdvancedDataGridColumnGroup.childrenDragEnabled property to false. To disable dragging for a single column, set the

[flexcoders] Re: Mouse DOUBLE_CLICK not fired in Browser but in AIR

2008-07-30 Thread valdhor
Got me beat. Someone with more experience with drag/drop will have to chime in. --- In flexcoders@yahoogroups.com, Vijay Ganesan [EMAIL PROTECTED] wrote: Not so if you add the drag handling code as in my original example: private function onMouseDown(event:MouseEvent):void {

[flexcoders] Passing flash variables to an embedded SWF

2008-07-30 Thread Laurent
I'm embedding a swf file in an AS class and I would need to pass to this file some FlashVars, however I'm not sure how to do it or if it's possible at all. So far I tried this approach, but I get a compiler error: [Embed(source=MyFile.swf?myFlashVar=abcd)] protected var MyClass:Class; This

Re: [flexcoders] Refreshing data in dataGrid

2008-07-30 Thread Joshua Jackson
On Wed, Jul 30, 2008 at 10:29 PM, Tom Chiverton [EMAIL PROTECTED] wrote: On Wednesday 30 Jul 2008, Joshua Jackson wrote: I've got a list of data displayed in a datagrid where the DataProvider is from Spring as the backend. Now everytime I add, update or delete data, it doesn't refresh the

[flexcoders] how to delete saved database connection from flex builder 3

2008-07-30 Thread tina wang
Hi All: In Flex Builder 3, there is a create application from database wizard, in this wizard we can create a new connection. But I cannot any way to remove/delete existing connection. If you know how to remove, could you please share with me Regards -Tina

[flexcoders] Anyone using HTMLComponent? Huge problem here

2008-07-30 Thread gunnar.ulle
Hi. We're currently using the comp to implement a js-based RTE within our flex app to get correct formated html back to our database. The app traverses through a data source and creates elements for different types of data (like textinput and so on) and finally adds them to a list element,

Re: [flexcoders] Adjacent mx:Label controls and spacing between them?

2008-07-30 Thread Chris W. Rea
Hi Jeremy. Thanks! That did the trick. Brilliant - I hadn't thought about a negative gap as I was thinking *inside* the box. :-) I expected there would be a positive-valued property or style that I would zero out. I'd love to know what that -6 is compensating for, though. There is clearly

[flexcoders] ViewStack and Combobox

2008-07-30 Thread cox.blair
Here is my situation, I have a combobox and a viewstack. The combobox's dataProvider is XML generated by a php script retrieving information from a db. The database has two primary entries. The first is a location, the second is a type of test performed. These are inputed by the user elsewhere

[flexcoders] Air NativeWindow in StageScaleMode.SHOW_ALL

2008-07-30 Thread george_w_canada
My project includes a main AIR window and another presentation window to be displayed in a second large monitor. I have to use SHOW_ALL scale mode to scale everything in that window but not layout for sure. The problem is the presentation window is built with Flex containers/components, in my

[flexcoders] adding mouse events to annotation items in a chart

2008-07-30 Thread blc187
Using annotations in a chart, creating a few labels and assigning them to the annotation property of my line chart. var annotations:Array = new Array(); var lbl:Label = new Label(); lbl.text = annotation; annotations.push(lbl); myChart.annotationElements = annotations; If I try to listen to

[flexcoders] Enable drag and drop in Cartesian Data Canvas

2008-07-30 Thread Marcela
I read this: The data canvases have the following limitations: * There is no drag-and-drop support for children of the data canvases. Is is possible to manually enable the drag and drop feature on the data canvas? or is there any major limitation? Marcela

[flexcoders] Type Cast Error

2008-07-30 Thread donald_d_hook
I receive a type cast error when I try to cast an object I received from the server (an arraycollection of value objects). I get the following: TypeError: Error #1034: Type Coercion failed: cannot convert com.spinnaker.model::[EMAIL PROTECTED] to com.spinnaker.model.StockVO The actionscript

[flexcoders] link report question

2008-07-30 Thread John Van Horn
Can someone explain where exactly the size and optimizedsize attributes for a script in a link report come from? The sum of optimizedsize for all nodes in a link report always seems to be way more than the file size of the swf. -- John Van Horn [EMAIL PROTECTED]

[flexcoders] Re: ViewStack and Combobox

2008-07-30 Thread cox.blair
For any other newbie looking for the answer; myViewStack.selectedChild = Container(myViewStack.getChildByName(treeMenu.itemToLabel(treeMenu.selectedItem))); Modify to your usage.

[flexcoders] Re: adding mouse events to annotation items in a chart

2008-07-30 Thread Tim Hoff
Just add an event listener to the label; before you push it to the array: var annotations:Array = new Array(); var lbl:Label = new Label(); lbl.text = annotation; lbl.addEventListener(MouseEvent.CLICK,onAnnotationClick); annotations.push(lbl); myChart.annotationElements = annotations; private

[flexcoders] Re: adding mouse events to annotation items in a chart

2008-07-30 Thread blc187
The question is not how to add a listener, that was obviously the first thing I tried. The problem is that the chart itself gets click events, not the annotations. So when I add the listener you suggest to the annotation itself, it never fires. So, either listen to the CLICK event on the

[flexcoders] Re: Programmatically select items in AdvancedDataGrid

2008-07-30 Thread whatabrain
I tried your suggestion (using selectedItems, since selectedIndices is all but meaningless in a tree-view AdvancedDataGrid). Now the problem is even stranger. I add a bunch of items from the dataProvider into a new array. Then I assign the array to selectedItems. By the next line of code,

[flexcoders] Re: Programmatically select items in AdvancedDataGrid

2008-07-30 Thread whatabrain
Oops. I used grid.selectedItems[x] instead of grid.selectedItems[idx]. I don't know why x exists. So the conclusion is: Overwriting selectedItems works. Pushing elements onto selectedItems does not. --- In flexcoders@yahoogroups.com, whatabrain [EMAIL PROTECTED] wrote: I tried your

Re: [flexcoders] dynamic remote objects

2008-07-30 Thread Sid Maskit
ActionScript has two RemoteObject classes. The compiler is telling you that it does not know which of them you want to use when you say 'var service:RemoteObject = new RemoteObject(ColdFusion);'. From the looks of the error message, I would guess that you have a RemoteObject tag in your MXML,

Re: [flexcoders] Adjacent mx:Label controls and spacing between them?

2008-07-30 Thread Flex Frenzy
Must be internal, you will see that -6 for most all of the rendered items. Jeremy On Jul 30, 2008, at 9:41 AM, Chris W. Rea wrote: Hi Jeremy. Thanks! That did the trick. Brilliant - I hadn't thought about a negative gap as I was thinking *inside* the box. :-) I expected there would be a

[flexcoders] Re: LineChart Legend

2008-07-30 Thread kamelkev
I am having this same exact issue with PieCharts in Flex3. I utilized the fillFunction callback for PieCharts in order to customize the colors - the adobe documentation even indicates that this is the appropriate use of this callback... however once you play with the coloring the legend

[flexcoders] Catch Browser Exit with Flex

2008-07-30 Thread gjessup1
I'm having some issues with catching a browser exit with firefox. I can get it to work with IE (not exactly how I'd like, but it works). Does anyone have a good working example available...here is my code if you can help from that. Thanks Greg My javascript looks like this: script

[flexcoders] Text components of Gumbo

2008-07-30 Thread haykelbj
Hi, I'm developing a flex app that should support displaying and editing arabic text. So I'm exploring Gumbo and the new Astro text engine and I'm willing to test and debug these features extensively! Any hints where to start? What I tried till now is to test the TextBox, TextArea, TextInput

[flexcoders] ViewStack, Combobox Dataprovider

2008-07-30 Thread cox.blair
Here is my situation, I have a combobox and a viewstack. The combobox's dataProvider is XML generated by a php script retrieving information from a db. The database has two primary entries. The first is a location, the second is a type of test performed. These are inputed by the user elsewhere

[flexcoders] Re: Specifying pie chart fill based on data set

2008-07-30 Thread kamelkev
I think we have the same problem - I posted here: http://tech.groups.yahoo.com/group/flexcoders/message/120610 No reply yet, but at this point I think that we will need to build our own dataset in code via the PieSeries object and assign that to our chart - otherwise your legend will have

[flexcoders] Can we subclass Application yet?

2008-07-30 Thread chigwell23
As far as I can tell the Flex2 problems with subclassing Application still exist in Flex3 i.e. bye-bye mxml components on parent class? Is this correct and has anybody worked around this? TIA, Mic.

[flexcoders] Form Processing in Flex

2008-07-30 Thread brucewhealton
Hello all, I think I wasn't clear when I discussed something related to this previously in a posting. I see some very useful and elegant tools for creating form elements using Flex. When designing in xhtml, using Dreamweaver, I call the form processor from the opening form tag, which

[flexcoders] Datagrid filterfunction results

2008-07-30 Thread Don Kerr
I have a dataProvider feeding a dataGrid. I have a filterFunction that filters the DP down to a subset of the dataProvider. I reference the dataProvider , myDG.dataProvider. But, how do I reference just the filtered down data? myDG.dataProvider gives me all data, not filtered data. Having trouble

RE: [flexcoders] Text components of Gumbo

2008-07-30 Thread Gordon Smith
Hi, Haykel. In current builds of Gumbo, you can set all FXG text attributes (plus verticalAlign) on what we consider the Gumbo text primitives: TextBox, TextGraphic, and TextView. You have to currently set them as properties, not CSS styles; support for CSS will come later, probably within a

[flexcoders] Re: adding mouse events to annotation items in a chart

2008-07-30 Thread Tim Hoff
hmm, worked for me. But, I wasn't using the chart's itemClick event. In theory, you could listen for mouse over on the label and set the chart's mouse enabled to false (vise-versa on mouse out). -TH --- In flexcoders@yahoogroups.com, blc187 [EMAIL PROTECTED] wrote: The question is not how

[flexcoders] Re: adding mouse events to annotation items in a chart

2008-07-30 Thread Tim Hoff
Sorry, meant to say the chart series's mousEnabled = false/true; -TH --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: hmm, worked for me. But, I wasn't using the chart's itemClick event. In theory, you could listen for mouse over on the label and set the chart's mouse

[flexcoders] Re: disable all controls on stage

2008-07-30 Thread Laurent
The best way would probably be to set Application.application.enabled = false; since it should also disable the children components of the app. If it doesn't work, you can loop through all the components using a recursive function. For example: function recursiveDisable(component) { for (var

[flexcoders] Re: Flex MDI and View States Error

2008-07-30 Thread Faisal Abid
HEy thanks that worked, I was using Addchild because of this post http://www.returnundefined.com/2008/03/flexmdi-sans-mxml-2 thanks it worked. --- In flexcoders@yahoogroups.com, ben.clinkinbeard [EMAIL PROTECTED] wrote: Hi Faisal, I think the problem is in the way you are adding the

[flexcoders] Interesting problem: dynamically creating id's and later referencing them.

2008-07-30 Thread Thatcher
Hi Guys (and Girls), Ok, so I have been fighting a couple of days to figure this out. In order to make a large and compliated form with drag and drop in of more form fields I want to dynamically add an id to an display object, and then be able to reference it later to get data out. Somehow

[flexcoders] Re: Controlling slice colors within PieChart objects

2008-07-30 Thread kamelkev
After digging like crazy through the archive I can see that there have been a large number of questions related to this exact topic - I think that stems from people mostly not understanding the callback procedures involved. For example I ultimately did discover the fillfunction callback for

Re: [flexcoders] dynamic remote objects

2008-07-30 Thread Dan Vega
That makes total sense because I also have an mxml tag in the document.I changed the code // setup the remote method var service:mx.rpc.remoting.RemoteObject = new mx.rpc.remoting.RemoteObject(); service.destination =

Re: [flexcoders] Height Question

2008-07-30 Thread Richard Rodseth
I haven't thought about the dynamic adding to the extent Josh has, but my initial reaction was it sounded like two VBoxes in an HBox. On Tue, Jul 29, 2008 at 5:45 PM, Josh McDonald [EMAIL PROTECTED] wrote: What you're asking is doable, but you're definitinely going the wrong way about it. Put

[flexcoders] Re: LineChart Legend

2008-07-30 Thread George
--- In flexcoders@yahoogroups.com, kamelkev [EMAIL PROTECTED] wrote: I am having this same exact issue with PieCharts in Flex3. I utilized the fillFunction callback for PieCharts in order to customize the colors - the adobe documentation even indicates that this is the appropriate use of

RE: [flexcoders] Datagrid filterfunction results

2008-07-30 Thread Alex Harui
toArray() From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Don Kerr Sent: Wednesday, July 30, 2008 11:57 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Datagrid filterfunction results I have a dataProvider feeding a

RE: [flexcoders] DataGridColumn issue: Passing an array.

2008-07-30 Thread Alex Harui
Already posted, already answered From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Manu Dhanda Sent: Monday, July 28, 2008 3:41 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] DataGridColumn issue: Passing an array. Hii Guyz,

RE: [flexcoders] Can we subclass Application yet?

2008-07-30 Thread Alex Harui
You can certainly subclass Application via AS. Are you trying to do it in MXML? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of chigwell23 Sent: Wednesday, July 30, 2008 11:51 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Can

RE: [flexcoders] ViewStack, Combobox Dataprovider

2008-07-30 Thread Alex Harui
That didn't make sense. I don't see viewstack or box in your sample code. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of cox.blair Sent: Wednesday, July 30, 2008 9:30 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] ViewStack,

RE: [flexcoders] Catch Browser Exit with Flex

2008-07-30 Thread Alex Harui
There have been past threads on this, and no perfect solution. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of gjessup1 Sent: Wednesday, July 30, 2008 11:38 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Catch Browser Exit with

[flexcoders] Re: Flex 3 Preloader broken when using deep linking ?

2008-07-30 Thread Adnan Doric
Okay I found this: http://bugs.adobe.com/jira/browse/SDK-14162 It was deferred to Flash Player bugs (I guess) so I'm pretty sure now it is not Flex issue but FP issue. Anyway I can only wait and see if it is resolved in next FP release :) Thank you all for your input. PS: hitting SWF directly

RE: [flexcoders] Type Cast Error

2008-07-30 Thread Alex Harui
It is picking up the class from a different application domain. See the modules presentation on my blog. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of donald_d_hook Sent: Wednesday, July 30, 2008 10:22 AM To:

Re: [flexcoders] Form Processing in Flex

2008-07-30 Thread Sid Maskit
I'm not sure if I am understanding your question, but maybe this will help. Flex can communicate with a server in several ways. One way that flex can communicate with a server is by pretty much acting the same as a browser: i.e. it can submit get and post requests which will look exactly the

RE: [flexcoders] link report question

2008-07-30 Thread Alex Harui
I don't know what they fully mean given that classes share constant pools, but there is an optimization pass where some byte code is pulled from swf, but then the SWF is compressed so it will always be smaller than the sum of sizes. From:

[flexcoders] Flex woes, wo-iz-o, i hate it (sometimes)

2008-07-30 Thread djhatrick
I am having one of those days where i want to throw this computer off the 30th floor of midtown Manhattan onto a taxi-cab's hood, and leave for the day never come back. This is the problem, I can't get, getDefinitionByName to work right, what a load of horse pucky... Sorry for being so salty, but

Re: [flexcoders] Re: Complete metadata information and Where to Find it???

2008-07-30 Thread Sid Maskit
We just had a thread discussing this. It turns out that the [Exclude] tag does not limit the ability to use what is excluded, but only keeps it from showing up in FlexBuilder's code hinting. In this sense, it sounds as though it works exactly the same as [ExcludeClass] except for a different

RE: [flexcoders] Air NativeWindow in StageScaleMode.SHOW_ALL

2008-07-30 Thread Alex Harui
I haven't tried it with AIR, but I'd assume the same principle applies. There is a default size for the window and UI needs to map to it in order to scale. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of george_w_canada Sent: Wednesday,

RE: [flexcoders] Passing flash variables to an embedded SWF

2008-07-30 Thread Alex Harui
Not sure you can do that. You'll have to implement some communication between the two swfs. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Laurent Sent: Wednesday, July 30, 2008 6:10 AM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] DataGrid horizontal ScrollBar not shown properly

2008-07-30 Thread Alex Harui
Pixel limits should be 8000px. But since parts of the SB stretch, maybe there is occlusion due to some scaling problem. File a bug. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of rleuthold Sent: Wednesday, July 30, 2008 4:56 AM To:

RE: [flexcoders] Sorting an XMLList on an attribute

2008-07-30 Thread Alex Harui
XMLList doesn't support Sort From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of gaurav1146 Sent: Tuesday, July 29, 2008 11:58 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Sorting an XMLList on an attribute Hi, I am trying to

RE: [flexcoders] Flex woes, wo-iz-o, i hate it (sometimes)

2008-07-30 Thread Alex Harui
Some way you have to create a dependency on VBox to actually get it linked into the SWF, otherwise it isn't there to be found. One way is to use the shared RSL, but otherwise, you have to actually use the class somewhere. In import statement doesn't actually create a link dependency, it simply

[flexcoders] Re: Flex woes, wo-iz-o, i hate it (sometimes)

2008-07-30 Thread djhatrick
Alex, Say for instance, you want to create this instance, from a class name defined in XML, and make it totally dynamic, using this work-around does not solve that problem. This function should really be improved, or, at least the documentation should really be supplemented to explain more in

  1   2   >