RE: [flexcoders] Re: ComboBoxes as ItemRenderer

2008-03-24 Thread Alex Harui
Normally, everything should be data-driven. The first combobox changes a property in an item in the dataprovider and the second combobox is refreshed and sees that it changed and enables itself. You can examine some of the examples on my blog (blogs.adobe.com/aharui). They aren't exactly what

RE: [flexcoders] Re: Multiple Headers

2008-03-24 Thread Alex Harui
Check out the SplitDataGridColumn example on my blog (blogs.adobe.com/aharui) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 Sent: Sunday, March 23, 2008 10:04 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re:

RE: [flexcoders] Re: Setting a label to be the length of a List component

2008-03-24 Thread Alex Harui
Are you sure you want to use length and not length() ? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kenny14390 Sent: Saturday, March 22, 2008 11:53 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Setting a label to be the

[flexcoders] Problem with AdvancedDataGrid using XML with CheckBox as ItemRenderer

2008-03-24 Thread hoytlee2000
Hello, I have an AdvancedDataGrid that uses an XMl file as the dataProvider. I have in the XML file some attributes that are set to false or true. When I run the app, I see the correct values in the column true or false. So I would expect that adding in an ItemRenderer using the CheckBox

[flexcoders] Re: Problem with AdvancedDataGrid using XML with CheckBox as ItemRenderer

2008-03-24 Thread hoytlee2000
I forgot to mention I am using the drop-in renderer --- In flexcoders@yahoogroups.com, hoytlee2000 [EMAIL PROTECTED] wrote: Hello, I have an AdvancedDataGrid that uses an XMl file as the dataProvider. I have in the XML file some attributes that are set to false or true. When I run the

[flexcoders] Re: Using the hovered index of a List to define a ToolTip

2008-03-24 Thread kenny14390
So how can I tell it to make the content of the datatip to be some data requiring the index of the item that is being hovered over? --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: If you are using the default renderer, set showDataTips=true

[flexcoders] How to use HTTP-Compression in Flex

2008-03-24 Thread Danish Tehseen
Can somebody guide me how to use HTTP-Compression in flex application? My flex application accesses the web service which is deployed on IIS. HTTP-Compression is enabled on the server. Flex application is built on flex builder 3.0 Thanks Danish

[flexcoders] create looping component programmatically

2008-03-24 Thread Ary
hi guys :) i know its possible, but i just dont know how ... i want to make several text input programmatically, number of text input created is based on certain variable, and has to be to be unique, need to access the component later on. here is a chunk of the code (get for(var o:uint = 0; o

[flexcoders] horizontal list x,y-coordinate for data objects

2008-03-24 Thread callistachan
hello again, a component of mine looks something like this: mx:canvas mx:hbox mx:horizontallist / mx:tilelist / /mx:hbox /mx:canvas now, my question is this... my horizontal list contains, as a data provider, an array collection of objects (which basically is your average icon with a label).

Re: [flexcoders] Error message is unclear: 1020: Method marked override must override another method.

2008-03-24 Thread justSteve
The API at docs at http://puremvc.org/component/option,com_wrapper/Itemid,160/ From the API docs at http://puremvc.org/component/option,com_wrapper/Itemid,160/ public function notifyObserver(notification:INotification):void Notify the interested object. Parameters

RE: [flexcoders] Share layout, not just skins

2008-03-24 Thread Gregor Kiddie
Sure, we do something similar with our applications. Create a piece of MXML to act as your desktop which defines all the content areas you want to use (your header, menu bar, etc). Define constants for each of these locations, and then write code which will add the passed content to each of your

[flexcoders] Re: Render BarChart items from top to bottom?

2008-03-24 Thread jer_ela
Just build a wrapper component that reverses the order of the dataprovider before giving it to the chart. --- In flexcoders@yahoogroups.com, scott.royston [EMAIL PROTECTED] wrote: Is there an easy way to get a BarChart to render items from top to bottom rather than bottom to top? (i.e. the

[flexcoders] Re: create looping component programmatically

2008-03-24 Thread jer_ela
create an array property textInputs to hold the references to the dynamically create TextInputs. Then use code like this: for(var o:uint = 0; o NumText; o++) { textInputs[o] = new TextInput(); textInputs[o].width=356, textInputs[o].text=Text Goes Here;

[flexcoders] v-aligning elements in seperate forms?

2008-03-24 Thread Josh McDonald
Hey guys, Is there a nice way to get separate forms lined up (they're in a v-box)? I need a good way to visibly distinguish various groups of controls on screen at once and at the moment I'm using separate forms with styling. It's also of course to help with validation. -J -- Therefore, send

[flexcoders] Re: Error message is unclear: 1020: Method marked override must override another

2008-03-24 Thread ben.clinkinbeard
This may be a stupid question but are you actually extending whatever class defines notifyObserver()? Ben --- In flexcoders@yahoogroups.com, justSteve [EMAIL PROTECTED] wrote: The API at docs at http://puremvc.org/component/option,com_wrapper/Itemid,160/ From the API docs at

[flexcoders] Re: Multiple Headers

2008-03-24 Thread markgoldin_2000
I tried running examples on that site but was unable to. I was getting an error about an invalid char in line 1. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Check out the SplitDataGridColumn example on my blog (blogs.adobe.com/aharui)

[flexcoders] filter with e4x

2008-03-24 Thread hannes.stockner
Hi I have following xml: root one Item id=123 name=first/ Item id=234 name=second/ Item id=345 name=third/ /one two Excludes Exclude id=234/ Exclude id=345/ /Excludes /two /root how is it possible to get a XMLList object where I get all child nodes from node one where its id is not included in

Re: [flexcoders] Re: flex builder 3 on os x very very slow in debug mode

2008-03-24 Thread Willy Ci
thank, just tried with Safari, much faster now. I am using FireFox 2.0.0.12 and FP 9,0,115,0 Willy On Sun, Mar 23, 2008 at 10:36 PM, Mike Morearty [EMAIL PROTECTED] wrote: I am have not seen this problem. What browser are you debugging with? Try a different one -- e.g. if you are

[flexcoders] Re: ComboBoxes as ItemRenderer

2008-03-24 Thread quantum_ohm
Hi Alex, thx for responding ! Is there a particular sample on your blog which will be close to what I'd like to do ? I've check out your blog, but I get lost with all the samples... Regards. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Normally, everything should be

[flexcoders] scrolling question

2008-03-24 Thread Body Works Studio
I have a report using a list component with a custom renderer. We have a paging controller on the page that when you click it , the data set will advance to the next page. What happens is the new data set is inserted in the the list view, and keeps the viewer exactly same position where they

[flexcoders] subtopics vs selectors

2008-03-24 Thread Anuradha
I have a particular requirement where I need to filter messages created by producers so that only some consumers get certain message. Based on the documentation and the example i tried out, I could achieve the same with the help of subtopics as well as selectors. Is there an advantage of using

[flexcoders] Re: popUp property null on creationComplete

2008-03-24 Thread geraldshastri
Thanks Alex I've discovered the true nature of this problem, I am building a mockup for an application with lots of graphical skins and a few custom components but after some point the moment I add another component (an Image, a VBox, a Text etc. ) I start receiving these runtime errors. The item

[flexcoders] Dynamic Context Menu

2008-03-24 Thread cyrill.zadra
Hi, At the moment i'm playing around with the context menu functions and I can't find a way to load a dynamic context menu. For instance in a datagrid record has only a ContextMenuItem view and another has a ContextMenuItem view and edit. Does anyone know how to solve such a problem? thx and

[flexcoders] How to make the Time Line in Vertical ?

2008-03-24 Thread manchanda.vivek
Hi All I have created a Schedule Board using the Schedule Viewer but including the Flexlib in my project . Now the thing is that the Timeline which us to come on the top of the ScheduleViewer I need to get that Time line Vertically in left side of the ScheduleViewer to display the time in left

Re: [flexcoders] TabNavigator Question

2008-03-24 Thread Anuj Gakhar
great, that worked. thanks a lot. Now that it works, it looks so simplethanks again. Doug McCune [EMAIL PROTECTED] wrote: try this example ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; mx:Canvas height=100%

[flexcoders] Large data upload

2008-03-24 Thread Alan Queen
I have a situation where I will have some data in memory that has to be sent to the server and persisted. However the data is massive, upwards of 10mgs, and exists as a ByteArray. I'm exploring solutions for getting this data to the server and wondering if anyone has solved this before ? I know

[flexcoders] Re: accessing children of flash generated swf

2008-03-24 Thread celumbra
I have it solved, thanks to your help. loadedMC = MovieClip(background.content); var _index:int = NumberUtilities.random (0, loadedMC.numChildren-1, 1); var _target:Object = Object(loadedMC.getChildAt(_index)); animate(_target); --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED]

[flexcoders] Spell Checking

2008-03-24 Thread Niamath Basha
hi all, i want to implement spell check in my application there is dictionary tag in util.flash i don't know how use, can that tag be helpful.. any one plz guide me i don't have any idea to implement this. thank you Regards, Niamath Basha...

Re: [flexcoders] Large data upload

2008-03-24 Thread Anatole Tartakovsky
did you try to run compress method on bytearray and see how it affects data? Post will take 10 MB of data unless you have a limit on the server side. Regards, Anatole Tartakovsky On Mon, Mar 24, 2008 at 9:37 AM, Alan Queen [EMAIL PROTECTED] wrote: I have a situation where I will have some data

RE: [flexcoders] Looking for moderator help

2008-03-24 Thread Merrill, Jason
I am a moderator on another, related Yahoo group, Flash_Tiger. We have solved the logjam problem by having three moderators--Jason Merrill, another member of this list, is one of our moderators. Moderators keep our list spam-free, and, when necessary, on-topic. I have found the moderation on

RE: [flexcoders] Message posting guidelines

2008-03-24 Thread Merrill, Jason
Your membership was set to moderated for some reason. I changed your membership to unmoderated status. That should help. Jason Merrill Bank of America GTO and Risk LLD Solutions Design Development eTools Multimedia Bank of America Flash Platform Developer Community Are you a Bank of

[flexcoders] Re: Spell Checking

2008-03-24 Thread caffeinewabbit
The Dictionary class in flash.utils is used to create collections of properties using objects as keys, and isn't used for spell checking. What you'll need to look for is a spell checking component or library that someone else has made. A search in Google for Flex spell checker brings this page up

[flexcoders] Re: Can't Get Socket Policy File

2008-03-24 Thread Geoffrey
No ideas? --- In flexcoders@yahoogroups.com, Geoffrey [EMAIL PROTECTED] wrote: A few points of clarrification. The OK: Policy file accepted status was there because I tried manually loading the policy file by doing: flash.system.Security.loadPolicyFile (http://removed:843/crossdomain.xml);

RE: [flexcoders] Re: create looping component programmatically

2008-03-24 Thread Tracy Spratt
Yes, that is what you must do when instantiating components manually. An option to the Array is an associative array. An associative array is essentially just an Object, and you choose a descriptive name for the property name, and assign a reference to your created component to the property

[flexcoders] Re: ComboBoxes as ItemRenderer

2008-03-24 Thread markgoldin_2000
How about something like this. //Add lsitener to your primary combobox: addEventListener(change, handleDataChanged); public function handleDataChanged(event:ListEvent):void { var Column:AdvancedDataGridColumn = new AdvancedDataGridColumn; Column =

[flexcoders] Date object and daylight saving - need help

2008-03-24 Thread reflexactions
Need a quick fix for this problem. When I print a date object it tell me the tiemzone offset is GMT-0400. However when I get a date object and call its getTimezoneOffset function I get 5hrs not 4hrs. The difference is daylight savings and yes I have in my (XPPro) system I have checked to

[flexcoders] Re: ComboBoxes as ItemRenderer

2008-03-24 Thread markgoldin_2000
I wasn't correct. Column.itemRenderer.properties will not work. --- In flexcoders@yahoogroups.com, markgoldin_2000 [EMAIL PROTECTED] wrote: How about something like this. //Add lsitener to your primary combobox: addEventListener(change, handleDataChanged); public function

[flexcoders] Re: FIY - WeakMethodClosure - memory leaking example.

2008-03-24 Thread lytvynyuk
Thank you for attention to this problem. I run it for an hour and found memory growth. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Don't have time to run it right now, but I think it doesn't actually leak them in the release player. It will be a pain for running

[flexcoders] Forcing the Column Series to begin at -100 instead of zero

2008-03-24 Thread vic8427
I have a ColumnChart with the LinearAxis's minimum value set to -100 and the maximum value set to 100. I want the columns to begin at -100 instead of at 0 (which would be in the middle of the chart) even if the value is greater than zero. Any suggestions?

RE: [flexcoders] Dynamic creation of radio buttons in a radioButtonGroup

2008-03-24 Thread Tracy Spratt
Of course, one needs to use the correct tool for the job. Repeater does not have any performance problems, but misuse of repeater does. It is incorrect to compare Repeater to the List-based components. Replacing List is not its value. It value is in replacing manual addChild/removeChild

[flexcoders] Re: Flex 3: Cloning WebService instance

2008-03-24 Thread handitan
With what I want to achieve, webservices that I am referring to are instances of the same webservices (one single url). Single WebService instance will not work on my application because my app sometimes need to call different/same operations concurrently. I do want to mention the issue I am

[flexcoders] Re: ComboBoxes as ItemRenderer

2008-03-24 Thread quantum_ohm
Yes, thx Mark, It sounded fine, but you're right the 'properties' property is not defined via mx.core:IFactory... too bad ! :-( Maybe another tip ? --- In flexcoders@yahoogroups.com, markgoldin_2000 [EMAIL PROTECTED] wrote: I wasn't correct. Column.itemRenderer.properties will not work.

[flexcoders] Checking the type of an object

2008-03-24 Thread supermalern
I want to check if an object has a certain type. I know I can use (object is Class) But that will return true even if the object is a subclass of Class, whereas I need to know if it's actually that specific class. Is there a way to do this?

[flexcoders] Re: ComboBoxes as ItemRenderer

2008-03-24 Thread markgoldin_2000
Try ClassFactory(Column.itemRenderer).properties = ... --- In flexcoders@yahoogroups.com, quantum_ohm [EMAIL PROTECTED] wrote: Yes, thx Mark, It sounded fine, but you're right the 'properties' property is not defined via mx.core:IFactory... too bad ! :-( Maybe another tip ? --- In

[flexcoders] e4x 101 -- Help get it through my thick skull

2008-03-24 Thread David Ham
Hi, I'm working with webservice xml data in XML format, and the e4x is giving me a little trouble. Am I right on these points: * All e4x operations return an XMLList. I've been trying to get them to return XML, like: var theNodeIWant : XML = myDataSet.myElement.(@someAttr == foo) but it seems

Re: [flexcoders] filter with e4x

2008-03-24 Thread Ralf Bokelberg
i don't think it is possible using e4x alone. You have to use some ActionScript. r. On Mon, Mar 24, 2008 at 2:35 PM, hannes.stockner [EMAIL PROTECTED] wrote: Hi I have following xml: root one Item id=123 name=first/ Item id=234 name=second/ Item id=345 name=third/ /one

[flexcoders] Release Build same Size and how to have SWF Cached

2008-03-24 Thread boy_trike
when I compile my application (just by saving the source or with the build all button) OR when I EXPORT release build. the file size is IDENTICAL!. What do I have to do to get all of the debug code removed? 2nd question. What has to be done to have the framework cached on the client? so

[flexcoders] Re: scrolling question

2008-03-24 Thread joan_lynn
When you advance to the next page, set the verticalScrollPosition property of your List to 0. Joan --- In flexcoders@yahoogroups.com, Body Works Studio [EMAIL PROTECTED] wrote: I have a report using a list component with a custom renderer. We have a paging controller on the page that when you

Re: [flexcoders] Checking the type of an object

2008-03-24 Thread Ralf Bokelberg
Have you tried getQualifiedClassName( instance)? r. On Mon, Mar 24, 2008 at 4:31 PM, supermalern [EMAIL PROTECTED] wrote: I want to check if an object has a certain type. I know I can use (object is Class) But that will return true even if the object is a subclass of Class, whereas

[flexcoders] Re: Date object and daylight saving - need help

2008-03-24 Thread dougco2000
I have seen this also, I have a server function which sends back to the client the UNIX time in seconds, and I find that I have to manually tell the client to do the offset: var myDate:Date = new Date( unixSecs - (8*60*60*1000) ); since I want the time/date in separate pieces:

[flexcoders] How to add labelfunction dynamically

2008-03-24 Thread ilikeflex
Hi I am reading the xml file and creating the columns. Everything is working fine except bind id=6 order=3 textAlign=center width=60 headerText=% sortable=false dataField=Current GSC labelFunctionName=MISFormatter.formatGSCPercent itemRendererName=com.ubs.flex.mis.panels.grids.GridLinkCell /

[flexcoders] Re: ComboBoxes as ItemRenderer

2008-03-24 Thread quantum_ohm
ok, now I have this, which doesn't throw any errors, but nothing happens...? Do I forget something ? private function init():void{ addEventListener( change, handleDataChanged ); } public function handleDataChanged( event:ListEvent ):void{ var _column:DataGridColumn = new DataGridColumn(); _column

Re: [flexcoders] e4x 101 -- Help get it through my thick skull

2008-03-24 Thread Mondain
These references helped me with e4x: http://developer.mozilla.org/presentations/xtech2005/e4x/ http://www.devx.com/webdev/Article/33393/0/page/2 Paul On Mon, Mar 24, 2008 at 8:56 AM, David Ham [EMAIL PROTECTED] wrote: Hi, I'm working with webservice xml data in XML format, and the e4x is

[flexcoders] Re: Share layout, not just skins

2008-03-24 Thread thinkloop
GK, That's exactly what I'm looking for - thank you. I'm relatively new to the field, so sometimes structural questions like this evade me. Cheers, Baz --- In flexcoders@yahoogroups.com, Gregor Kiddie [EMAIL PROTECTED] wrote: Sure, we do something similar with our applications. Create a

[flexcoders] Re: ComboBoxes as ItemRenderer

2008-03-24 Thread quantum_ohm
Finally I did it like this: public function handleDataChanged( event:ListEvent ):void{ var _renderer:ClassFactory = new ClassFactory( GraviteRenderer ); _renderer.properties = {enabled: true}; this.parentApplication.dgSpec.columns[2].itemRenderer = _renderer; } *GraviteRenderer =

[flexcoders] Re: ComboBoxes as ItemRenderer

2008-03-24 Thread markgoldin_2000
Does handleDataChanged actually fire? --- In flexcoders@yahoogroups.com, quantum_ohm [EMAIL PROTECTED] wrote: ok, now I have this, which doesn't throw any errors, but nothing happens...? Do I forget something ? private function init():void{ addEventListener( change, handleDataChanged );

[flexcoders] same code works for flex 2 but not for flex 3 web service call

2008-03-24 Thread yoyo ma
Hi, We got a serious problem when upgrading our application to flex 3. The same code works for flex 2 web service call but not for flex 3. The return object is not correctly deserilized when using flex 3 web service call. For example, the return object only returns one field intead of

[flexcoders] Re: ComboBoxes as ItemRenderer

2008-03-24 Thread quantum_ohm
I spoke too fast... this way the first combo replace the second in the DG ! I'm getting a big headache ! --- In flexcoders@yahoogroups.com, quantum_ohm [EMAIL PROTECTED] wrote: Finally I did it like this: public function handleDataChanged( event:ListEvent ):void{ var _renderer:ClassFactory

[flexcoders] Re: ComboBoxes as ItemRenderer

2008-03-24 Thread quantum_ohm
yes, I put a simple trace, and it returns my simple string --- In flexcoders@yahoogroups.com, markgoldin_2000 [EMAIL PROTECTED] wrote: Does handleDataChanged actually fire? --- In flexcoders@yahoogroups.com, quantum_ohm charly.antoine@ wrote: ok, now I have this, which doesn't throw

[flexcoders] Re: Date object and daylight saving - need help

2008-03-24 Thread reflexactions
Not to worry I figured a way to calculate the real offset. I do think it is really a big flaw in the Date object that Adobe dont provide access to this figure even though they know what it is. tks --- In flexcoders@yahoogroups.com, reflexactions [EMAIL PROTECTED] wrote: Need a quick fix for

[flexcoders] BlazeDS and Alfresco?

2008-03-24 Thread Jon Bradley
Has anyone gone down this road before? I understand that Adobe Share is based on FDS and Alfresco (just recently found this out) and am embarking on a project where I'd like to integrate Flex data services (preferably BlazeDS) with Alfresco 2.9. Any life experiences much appreciated. Matter

[flexcoders] Re: ComboBoxes as ItemRenderer

2008-03-24 Thread markgoldin_2000
var mainColumn:AdvancedDataGridColumn = new AdvancedDataGridColumn; mainColumn = AdvancedDataGrid(listData.owner).columns[2]; ClassFactory(mainColumn.itemRenderer).properties = {enabled:false}; This works for me. --- In flexcoders@yahoogroups.com, quantum_ohm [EMAIL PROTECTED] wrote: I spoke

[flexcoders] how to get all method names of class

2008-03-24 Thread ilikeflex
Hi I have class for example class Test { public function Test(){} public function Test2(){} public function Test3(){} public function Test4(){} } Is their any way can i find the method names of the class using any flex API?? Thanks ilikeflex

[flexcoders] Flex 2 to Flex 3 migration

2008-03-24 Thread toofah_gm
We are finally migrating from Flex 2 to Flex 3. Most of our code migrated without issue, but there are a few UI issues that I am chasing: - Some of my skinned buttons are stretched. I have the following button skin defined: .nextPageBtn { up-skin:

[flexcoders] Re: JAXB POJO to Action Script VO

2008-03-24 Thread sk_acura
Hi Jhonny, Are you using the DAOFlex ?? If not could u pls post the code here.. Thanks Mars --- In flexcoders@yahoogroups.com, Jhonny Everson [EMAIL PROTECTED] wrote: Just correcting myself. I DON'T think we can bind internal classes in actionscript. On Feb 4, 2008 5:36 PM, Jhonny

[flexcoders] Re: Date object and daylight saving - need help

2008-03-24 Thread Doug Lowder
Can you provide the code that shows how you are creating and printing the Date objects? A lot of times, I've discovered the mistake is somewhere other than the Date classes (no offense!) --- In flexcoders@yahoogroups.com, reflexactions [EMAIL PROTECTED] wrote: Need a quick fix for this

[flexcoders] Re: ComboBoxes as ItemRenderer

2008-03-24 Thread quantum_ohm
I guess you're using an AdvancedDataGrid. Why ? I think I could try this way but isn't it possible with a normal DG ? --- In flexcoders@yahoogroups.com, markgoldin_2000 [EMAIL PROTECTED] wrote: var mainColumn:AdvancedDataGridColumn = new AdvancedDataGridColumn; mainColumn =

RE: [flexcoders] e4x 101 -- Help get it through my thick skull

2008-03-24 Thread Tracy Spratt
To get XML from an expression, do: var theNodeIWant : XML = myDataSet.myElement.(@someAttr == foo)[0]; Expressions always return an XMLList. If no records are found, then the list has zero length, so using length() is the way to do this. Tracy From:

[flexcoders] Re: applying effect/transition to module whilst loading.

2008-03-24 Thread aceoohay
Any ideas? Paul --- In flexcoders@yahoogroups.com, aceoohay [EMAIL PROTECTED] wrote: I have created a generic module loader routine in my app, and it woeks great. I am feeling a little adventurous and would like to apply an effect/transition to all my modules so that while they are

[flexcoders] Re: ComboBoxes as ItemRenderer

2008-03-24 Thread markgoldin_2000
Try with ADG and see if it works. I dont see why it wouldn't work with DG as well. --- In flexcoders@yahoogroups.com, quantum_ohm [EMAIL PROTECTED] wrote: I guess you're using an AdvancedDataGrid. Why ? I think I could try this way but isn't it possible with a normal DG ? --- In

RE: [flexcoders] filter with e4x

2008-03-24 Thread Tracy Spratt
Remember, you do not have to write the entire expression in line. You can do: Var xlList:XMLList = xmlData.someNode.(checkNode(*))[0]; Private var checkNode(xml:XML):Boolean { trace(xml.toXMLString); var bReturn:Boolean = false; //do the logic to compare this node with the nodes

[flexcoders] Re: RPC FaultEvent with BlazeDS

2008-03-24 Thread Dominic Pazula
I realize I posted this on a holiday and it probably didn't get a lot of attention. I'm hoping bumping it up will bring it to the attention of someone that has seen this before. Thanks Dom --- In flexcoders@yahoogroups.com, Dominic Pazula [EMAIL PROTECTED] wrote: I recently took the plunge

[flexcoders] Re: ComboBoxes as ItemRenderer

2008-03-24 Thread quantum_ohm
I tried with ADG and I got the same result...doesn't work... I must have something wrong somewhere ! Is there a way for you to send me the files of your test so that I can compare ? --- In flexcoders@yahoogroups.com, markgoldin_2000 [EMAIL PROTECTED] wrote: Try with ADG and see if it works. I

Re: [flexcoders] Re: RPC FaultEvent with BlazeDS

2008-03-24 Thread João Fernandes
is BlazeDS installed under 'Components' folder??? I guess it's your context-root that's wrong. Try to set it as '/' and do a clean on your project then your calls should try to connect to http://localhost:8400/messagebroker/amfpolling -- João Fernandes http://www.onflexwithcf.org

[flexcoders] Re: Date object and daylight saving - need help

2008-03-24 Thread reflexactions
I would except.. your right.. and I found out there was a problem elsewhere. Well its late here, regardless of timezones lol --- In flexcoders@yahoogroups.com, Doug Lowder [EMAIL PROTECTED] wrote: Can you provide the code that shows how you are creating and printing the Date objects? A

[flexcoders] Why are my events dispatched from repeaters not caught?

2008-03-24 Thread dbronk
I have extended repeater and have added code that will dispatch an event. This code is executed, but nothing listening is executed. I have a canvas where it is listening to a customer event. I have extended several controls to do things I need them to do. One of which is to dispatch a

[flexcoders] Re: ComboBoxes as ItemRenderer

2008-03-24 Thread markgoldin_2000
Files? Hmm, not sure I can get something in short period of time. Why dont you send me a sample you are working with and will take a look? --- In flexcoders@yahoogroups.com, quantum_ohm [EMAIL PROTECTED] wrote: I tried with ADG and I got the same result...doesn't work... I must have something

[flexcoders] Re: ComboBoxes as ItemRenderer

2008-03-24 Thread quantum_ohm
ok, thx, I send you a mail. (hope so, not sure how that works) --- In flexcoders@yahoogroups.com, markgoldin_2000 [EMAIL PROTECTED] wrote: Files? Hmm, not sure I can get something in short period of time. Why dont you send me a sample you are working with and will take a look?

[flexcoders] Re: Flex Component Kit - trouble with FlexContentHolder

2008-03-24 Thread ben.clinkinbeard
Bueller? --- In flexcoders@yahoogroups.com, ben.clinkinbeard [EMAIL PROTECTED] wrote: I have converted my symbol to Flex Conatiner via the commands and then added the FlexContentHolder to the symbol and gave it an instance name of contentHolder. I get this error: Cannot create property

[flexcoders] Strange Find/Replace issue

2008-03-24 Thread Amy
Normally, when I have text selected and I do a Find/Replace, the Selected Lines radio button is selected by default, so it only replaces within my selection. Today, the All button is selected by default, which is really putting a major crimp in my workflow. Is there a preference somewhere

[flexcoders] Re: RPC FaultEvent with BlazeDS

2008-03-24 Thread Dominic Pazula
Thanks Joao (I can't get the 'a' + '~'). Unfortunately that didn't work either. Here is the error that is now returned. Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 404: url: 'http://localhost:8400/messagebroker/amfpolling' Thanks Dominic --- In

RE: [flexcoders] Re: applying effect/transition to module whilst loading.

2008-03-24 Thread Alex Harui
I don't have any examples, but I'm also not sure what you want. While a module is loading, it cannot display anything. Once it is loaded, you'll get a READY event and can muck with it. It should be same as doing so for any non-module display object.

RE: [flexcoders] how to get all method names of class

2008-03-24 Thread Alex Harui
ObjectUtil.getClassInfo or flash.utils.describeType From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ilikeflex Sent: Monday, March 24, 2008 10:32 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] how to get all method names of

RE: [flexcoders] How to add labelfunction dynamically

2008-03-24 Thread Alex Harui
1. You have to make sure the class you want actually got linked into the SWF. It may not be there unless explicitly declared in the SWF. Use -link-report to find out. 2. The function you want must also be in the SWF and defined on some object. If it is a static method, then

RE: [flexcoders] Release Build same Size and how to have SWF Cached

2008-03-24 Thread Alex Harui
Make sure the -debug or -verbose-stacktraces flags are not explicitly set as compile options. Also make sure you're looking in the bin-release folder. The instructions for using shared framework RSLs are in the doc or on Adobe Labs. From:

RE: [flexcoders] Checking the type of an object

2008-03-24 Thread Alex Harui
getQualifiedClassName From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of supermalern Sent: Monday, March 24, 2008 8:31 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Checking the type of an object I want to check if an object

RE: [flexcoders] Re: FIY - WeakMethodClosure - memory leaking example.

2008-03-24 Thread Alex Harui
Then you need to go back to the profiler and prove that nothing else changes between memory snapshots other then WMCs. How much did memory grow over the course of an hour on the release player? How did you track the growth? From: flexcoders@yahoogroups.com

Re: [flexcoders] Re: RPC FaultEvent with BlazeDS

2008-03-24 Thread João Fernandes
Dominic check the BlazeDS context-root is running from. If you deployed it under a blazeds folder, you should try to to set that as the context-root for your application. -- João Fernandes http://www.onflexwithcf.org http://www.riapt.org

RE: [flexcoders] Re: popUp property null on creationComplete

2008-03-24 Thread Alex Harui
There are no functional restrictions on the trial. You might have affected timing. However, the popup property will be null until after the OPEN event. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of geraldshastri Sent: Monday, March

RE: [flexcoders] Dynamic Context Menu

2008-03-24 Thread Alex Harui
You can different item renderers in the column each with their own customized context menu. Or you can catch the menuSelect event and customize then. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of cyrill.zadra Sent: Monday, March 24,

RE: [flexcoders] Re: ComboBoxes as ItemRenderer

2008-03-24 Thread Alex Harui
The blink item renderer changes its visuals as the data changes. Similarly, you combobox would change its enabled state based on data provider fields. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of quantum_ohm Sent: Monday, March 24,

RE: [flexcoders] Re: Multiple Headers

2008-03-24 Thread Alex Harui
Yeah, some folks can't run the SWFs directly in IE7. Try FF or download the source. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 Sent: Monday, March 24, 2008 6:07 AM To: flexcoders@yahoogroups.com Subject:

RE: [flexcoders] Re: Using the hovered index of a List to define a ToolTip

2008-03-24 Thread Alex Harui
dataTipFunction From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kenny14390 Sent: Monday, March 24, 2008 12:47 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Using the hovered index of a List to define a ToolTip So how

[flexcoders] Re: Multiple Headers

2008-03-24 Thread markgoldin_2000
Yes, Alex, you are right. I was able to run it that way. What I have noticed is that vertical lines that are separating second header do not align with column lines. I can SnagIt and mail to you. Do you think that can be fixed? --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED]

[flexcoders] Accessing XML attribute through ArrayCollection

2008-03-24 Thread Tony Armstrong
Hello all, I am using an ArrayCollection, outputted from an HTTPService. I wish to access the 'id' attribute from an XML file. I've tried using the e4x methods to no avail. I get an error: TypeError: Error #1010: A term is undefined and has no properties. If I add the resultFormat=e4x to the

[flexcoders] How do I set a TitleWindow closeButton to disabled?

2008-03-24 Thread myasandy2
I figured out how to change the skin on the button, but I don't understand how to keep it visable and set it to disabled. My goal is that the user can see there is a close button on the window but it appears disabled until they do a task and I enable it. Any help would be appreciated. Sandy

[flexcoders] Re: Creating strongly typed objects from HTTPService results

2008-03-24 Thread Brett Adam
Jeff, Yup. for WebService calls, that's the right thing to do. However, for HTTPService calls, the machinery doesn't use the SchemaRegistry. The earlier suggestion of taking a look at the code generated by the FlexBuilder 3 WebService wizard was a good one - although the sheer volume of code

[flexcoders] Re: scrolling question

2008-03-24 Thread Body Works Studio
Joan, thanks for the info. That worked like a charm. =) Jeff --- In flexcoders@yahoogroups.com, joan_lynn [EMAIL PROTECTED] wrote: When you advance to the next page, set the verticalScrollPosition property of your List to 0. Joan --- In flexcoders@yahoogroups.com, Body Works Studio

[flexcoders] Re: How to genrate XML from CSV???

2008-03-24 Thread ucabb4u
--- In flexcoders@yahoogroups.com, qau_yasir [EMAIL PROTECTED] wrote: Hi All! I have to read a CSV file and transform it into XML file. Is there any API in flex that can help in this respect? I tried Flare http://flare.prefuse.org/doc/tutorial/ . In the example shown in this tutorial

[flexcoders] XML comment nodes in

2008-03-24 Thread nikolajselvik
Hi all, How come that XML comment nodes are not selectable when used in a XMLListCollection that acts dataprovider to a Tree control? How would you work around this the best way? Thanks! Nick Example: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;

  1   2   >