[flexcoders] Custom cursor

2005-04-21 Thread nithya karthik
Hai! Thanks a lot for ur immediate response.. Could you help me with changing the cursor to hand on mouseover of an image? how to use a custom cursor?Also tell me how to cahne the defaukt color ofa menubar, it doesnt change when i give fillcolors, selecrdfillcolors etc.. should i be giving it

RE: [flexcoders] How to trace the Variables in Flex

2005-04-21 Thread Feng Zhu
In the log file, I can find warning output, but I can not find any trace output in that file. And my mm.cfg is: TraceOutputFileEnable=1 ErrorReportingEnable=1 MaxWarnings=5000 Best Regards! Zhu Feng -Original Message- From: flexcoders@yahoogroups.com

RE: [flexcoders] How to trace the Variables in Flex

2005-04-21 Thread Feng Zhu
Any ideas? I think I missed something Best Regards! Zhu Feng -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Feng Zhu Sent: 2005421 14:31 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] How to trace the Variables in

RE: [flexcoders] How to populate tree control from web service - resolved

2005-04-21 Thread Shlomi Cohen
At Last - Thank you very much Matt, this is all i was looking for . some feedback - if you'll see the hole thread you see that some people suggested calling this property like this item.filterName i think ActionScript isway too flexible(it doesn't throw an error) - so its easy to make

RE: [flexcoders] Having trouble using createTextField

2005-04-21 Thread Erik Westra
This could be a depth and naming problem. U should use mc.getNextHighestDepth() to determine the depth. And u also need to make sure the instance name if unique for this component. Other thing is that createTextField doesn't accept an init object. The colow does what u want: ?xml version=1.0

RE: [flexcoders] DateChooser - date operation

2005-04-21 Thread Dzafer
Many thanks Dirk. var d:Date = new Date(); d.setDate(d.getDate()-1); myDC.selectedDate = d; From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dirk Eismann Sent: Thursday, April 21, 2005 10:54 AM To: flexcoders@yahoogroups.com Subject: RE:

Re: [flexcoders] How to trace the Variables in Flex

2005-04-21 Thread Scott Barnes
(BIf you have FLASH MX 2004 (std/pro) I'd recommend using it more so, as (Bits pretty darn good and imho better than FLEX Builders. (B (Bwhat you do is this: (B (B1) Make sure Flash Debug Player is installed as your player in internet explorer (B2) Leave FMX 2004 open, as in start it but

RE: [flexcoders] Re: any ideas about flex client side caching?

2005-04-21 Thread Feng Zhu
Hi, Sorry to disturb you again. The following things for shared object/client side caching puzzle me: 1. The shared object stored in local disk is plain; we can see the .sol file context easily by text editor. Is there anything security for shared object or is there any method to cache data

RE: [flexcoders] How to trace the Variables in Flex

2005-04-21 Thread Feng Zhu
And also I set optimizefalse/optimize in flex-config.xml Best Regards! Zhu Feng -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Feng Zhu Sent: 2005421 14:33 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders]

[flexcoders] Loading Images from dataProvider

2005-04-21 Thread joao_m_fernandes
Hi there, maybe this is a very simple question but how do I load images in a listbox based on the dataProvider? The images to be loaded come from the result of a RO and I want to load it dynamicly. mx:List width=180 height=100% id=ls_evento iconField=icon mx:dataProvider

[flexcoders] can a headerRenderer access the dataProvider ?

2005-04-21 Thread sanjayd
Hi. I need to write a 'headerRenderer' for a DataGrid to dynamically create the column headers from the data available from the 'dataProvider'. How will the 'headerRenderer' access the 'dataProvider' ? Thanks in advance. Sanjay Yahoo! Groups Links * To visit your group on the web, go

RE: [flexcoders] can a headerRenderer access the dataProvider ?

2005-04-21 Thread Dirk Eismann
Hi, you can access the list based component instance (i.e. DataGrid) by using the listOwner property of your headerRenderer class. This property gets mixed-in automatically and is of type MovieClip. e.g. as a starting point class MyRenderer { public var listOwner:MovieClip; //

Re: [flexcoders] Re: any ideas about flex client side caching?

2005-04-21 Thread Johan Lopes
Zhu Feng 1. The shared object stored in local disk is plain; we can see the .sol file context easily by text editor If you're saving sensitive data then use an encryption scheme to scramble your data before saving them as SharedObjects. There are many implementations being ported to AS2, just

[flexcoders] Re: can a headerRenderer access the dataProvider ?

2005-04-21 Thread sanjayd
Thanks Dirk. Is there a way to know (inside the headerRenderer) what column the headerRenderer is rendering ? Thanks again - Sanjay --- In flexcoders@yahoogroups.com, Dirk Eismann [EMAIL PROTECTED] wrote: Hi, you can access the list based component instance (i.e. DataGrid) by using the

RE: [flexcoders] Re: can a headerRenderer access the dataProvider ?

2005-04-21 Thread Dirk Eismann
Yes. There's also a mixed-in function called getCellIndex() which returns an object containing two keys, itemindex and columnIndex. This is untested email code, but it should work: var column:DataGridColumn = listOwner.getColumnAt(getCellIndex().columnIndex); Dirk. -Original

RE: [flexcoders] BUG ? RPC call with Array lost value !

2005-04-21 Thread Peter Farland
Perhaps your ActionScript class OrderVO constructor is doing something like this: class OrderVO { public function OrderVO(client:String, deposit:String ) { this.client = client; this.deposit = deposit; // ... initialize other

[flexcoders] Help ValueObject

2005-04-21 Thread [EMAIL PROTECTED]
Hi, i have a simple ActionScript function that call a j2ee method here my ActionScript file function Azzera() { var arr:Array; var vendita:CVenditaVO; arr=[]; var pk:CVenditaPK;

[flexcoders] Error: The property being referenced does not have the static attribute.

2005-04-21 Thread Valy Sivec
Hi, I have a view container that includes a form and a sub-view - called viewPhones. I would like to pass the indi_id form element value from the parent to the viewPhones, but I got an error, see below, and can't figure out why Any help would be appreciated. Thanks, Valy mx:Form

RE: [flexcoders] Help ValueObject

2005-04-21 Thread Robert Stuttaford
It's the $ in the var names I think -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 21 April 2005 04:26 PM To: Flex Coders Subject: [flexcoders] Help ValueObject Hi, i have a simple ActionScript function that call a

Re: [flexcoders] Help ValueObject

2005-04-21 Thread [EMAIL PROTECTED]
Hi, sorry but i have the same problem. with or without $ character the code don't work. Devis Robert Stuttaford ha scritto: It's the $ in the var names I think -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 21 April

[flexcoders] Un-Registering View Helpers with a ViewLocator

2005-04-21 Thread Allen Manning
Title: Niklas Richardson, Prismix Ltd Hello Flexcoders, Using Cairngorm, I'm registering a view with my View Locatorwhich is a pop - up window. I

RE: [flexcoders] Un-Registering View Helpers with a ViewLocator

2005-04-21 Thread Dirk Eismann
Hi Allen there's a bug fix for this issue available. See this message: http://www.mail-archive.com/flexcoders@yahoogroups.com/msg05333.html Cheers, Dirk. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Behalf Of Allen Manning Sent: Thursday, April 21,

RE: [flexcoders] Un-Registering View Helpers with a ViewLocator

2005-04-21 Thread Allen Manning
Thanks, that's it! From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dirk EismannSent: 21 April 2005 16:46To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Un-Registering View Helpers with a ViewLocator Hi Allenthere's a bug fix for this issue available. See

RE: [flexcoders] Un-Registering View Helpers with a ViewLocator

2005-04-21 Thread Alistair McLeod
Title: Niklas Richardson, Prismix Ltd Hi Allen, See this post, which gives some idea of what'll be in the next release: http://groups.yahoo.com/group/flexcoders/message/6148 It adds an unregister method to the ViewHelper base class. Cheers, Ali -- Alistair

RE: [flexcoders] About dialog boxes

2005-04-21 Thread Stephen Gilson
You can get more info on Alerts from the doc here: http://livedocs.macromedia.com/flex/15/flex_docs_en/0318.htm For info on using TitleWindows with the PopUpManager, see: http://livedocs.macromedia.com/flex/15/flex_docs_en/0375.htm Stephen From: flexcoders@yahoogroups.com

Re: [flexcoders] Apply affects before and after databinding occurs in TileList

2005-04-21 Thread superabe
Hi Joe, List Thanks for the tip. I have been trying your approach and using the childCreated and childDestroyed events of the Tile container to apply me effect, but I cant figure out how to get the UI to wait for the effect to render before proceeding (i.e within the handler for

[flexcoders] drag-drop with two sources and two targets

2005-04-21 Thread Dzafer
Hi there, How can I use drag-drop features with 2 sources and 2 targets without allowing drag elements from source one to target two and vice-versa? Any help will be appreciated. Best regards Dzafer Yahoo! Groups Links To visit your group on the web, go

RE: [flexcoders] string to xml - datagrid

2005-04-21 Thread Tracy Spratt
It is better to use the createXML() utility function because it tells the parser to ignore whitespace. If you have carriage returns in your xml string and do not tell the compiler to ignore whitespace, the xml will not work well with the tree control. Tracy -Original Message- From:

RE: [flexcoders] Un-Registering View Helpers with a ViewLocator

2005-04-21 Thread Allen Manning
Title: Niklas Richardson, Prismix Ltd Oh perfect. Thanks... From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alistair McLeodSent: 21 April 2005 16:52To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Un-Registering View Helpers with a ViewLocator Hi Allen,

Re: [flexcoders] Error: The property being referenced does not have the static attribute.

2005-04-21 Thread Valy Sivec
It looks that if I substitute the binding with a static value it works... This doesn't work: infolib:viewPhones id=viewPhones indi_id={indi_id.text} / Error: The property being referenced does not have the static attribute. This works: infolib:viewPhones id=viewPhones indi_id=1 / What am I

RE: [flexcoders] Re: I am new to programming so bear with me here

2005-04-21 Thread Tracy Spratt
Tips on the FlexBuilder debugger: FB does not always/often recognize breakpoints set in sub-component files opened in the editor. To set breakpoints in sub-components reliably, start the debugger, then open the files list it is on the debug toolbar an the menu. Select the files you want to

Re: [flexcoders] Apply affects before and after databinding occurs in TileList

2005-04-21 Thread Joe Berkovitz
You will need to use the listener property of a TweenEffect (or the effectEnd event if you are using MXML effects) to discover when the effect is done, then initiate whatever action is supposed to happen next. It is tricky, since it calls for careful thinking about the states of your

Re: [flexcoders] Help ValueObject

2005-04-21 Thread [EMAIL PROTECTED]
Hi, i have chaged my code, but don't work again, can you help me please, when pass arr to my remote function the first object into array it's ok, but from the second it's always null, but the size of array it's correct. i have used arr.addItem(vendita) also, but don't work. function Sta()

RE: [flexcoders] Having trouble using createTextField

2005-04-21 Thread Gordon Smith
createTextField() is a low-level Flash method, not a Flex API, and TextField isn't a Flex component. I'm not sure why it isn't showing up, but even if it does, a TextField wouldn't participate in Flex measurement, focus management, etc. Only a Flex component like Label or TextInput would play

RE: [flexcoders] How to trace the Variables in Flex

2005-04-21 Thread Tracy Spratt
(B (B (B (B (B (B (B (B (B (B (BYou are using the trace($B!H!I(B); statement in (Byour code, right? (B (BTracy (B (B (B (B (B (B (B (B (B (B (B (BFrom: (Bflexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Feng Zhu (BSent: Thursday, April 21, 2005

RE: [flexcoders] Error: The property being referenced does not have the static attribute.

2005-04-21 Thread Valy Sivec
Did that... didn't work either... I'm kinda stuck... Thanks, Valy --- Tracy Spratt [EMAIL PROTECTED] wrote: Just for fun, change the name of the property so it is different than the id of the control. (indi__id) Tracy -Original Message- From: flexcoders@yahoogroups.com

RE: [flexcoders] Creating custom components with Flash

2005-04-21 Thread Stephen Gilson
There is documentation on the process here: http://download.macromedia.com/pub/documentation/en/flex/15/flex_components_themes.pdf However, the note is correct - this process supports creating components for Flex 1.5 for backward compatibility with Flex 1.0. Stephen From:

RE: [flexcoders] Error: The property being referenced does not ha ve the static attribute.

2005-04-21 Thread Abdul Qabiz
The problem is different. You can not have id of component matching to any ComponentName. In your case, infolib:viewPhones id=viewPhones indi_id=1 / viewPhones is Component class name and you are also assigning viewPhones as id of this instance It is just like: class Foo { } var Foo =

RE: [flexcoders] How to trace the Variables in Flex

2005-04-21 Thread Abdul Qabiz
(B (B (B (B (BDo you have debug version of Flash Player (B7? (B (B-abdul (B (B (BFrom: flexcoders@yahoogroups.com (B[mailto:[EMAIL PROTECTED] Sent: Thursday, April 21, 2005 (B5:17 PMTo: flexcoders@yahoogroups.comSubject: RE: (B[flexcoders] How to trace the Variables in Flex (B

[flexcoders] Tomcat

2005-04-21 Thread Michel Jansen
LS, Any users running Flex on Tomcat? I am looking for a Flex-Tomcat HOWTO... MJ Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo!

Re: [flexcoders] Tomcat

2005-04-21 Thread JesterXL
Works here; simple if you can actually get Tomcat installed correctly. http://www.jessewarden.com/archives/2005/03/flex_chronicles_8.html - Original Message - From: Michel Jansen [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, April 21, 2005 2:16 PM Subject:

Re: [flexcoders] How to trace the Variables in Flex

2005-04-21 Thread Venkat Pathy
Hi Friends, Thanks, i am learning Flex with your support. Thanks Regards Pathy On 4/21/05, Abdul Qabiz [EMAIL PROTECTED] wrote: Yeah, you can do that... You need to use Flash debug player and configure it for tracing. All trace messages would be logged to a log file. Look at

[flexcoders] DATE Function in Flex

2005-04-21 Thread gevgelija50
.NET has a nice set of date functions that will allow you to add or subtract days from a selected date. For Example: my date is 12/31/2004 myDate.AddDays(1) would set the myDate equal to 01/01/2005 From reading the documentation, I don't see such capabilities in the Flex Date class. Is

Re: [flexcoders] Tomcat

2005-04-21 Thread Matthew Shirey
I'm not sure I understand the if you can actually get Tomcat installed correctly statement. We have the latest version of Tomcat and Flex running here. Took about 10 minutes to set up and have the samples site working. It's pretty simple really. -- MatthewOn 4/21/05, JesterXL [EMAIL PROTECTED]

Re: [flexcoders] Tomcat

2005-04-21 Thread JesterXL
Sure, if you have server admin experience; I'm a front-end developer with none, and found the entire process extremely painful, un-fun, and it encouraged me to request a raise for my the Java developers I work with. - Original Message - From: Matthew Shirey To:

RE: [flexcoders] DATE Function in Flex

2005-04-21 Thread Abdul Qabiz
Hi Alex Date Object in Flex(ActionScript) is quite powerful and allows you do things more easily... var _date = new Date(2004, 11, 31); //11 means december, months are 0 based... _date.setDate(_date.getDate() + 1); //sets _date to 01/0/2005, again 0 means jan Or you can extend the Date class

RE: [flexcoders] Tomcat

2005-04-21 Thread Steven Webster
Any users running Flex on Tomcat? I am looking for a Flex-Tomcat HOWTO... 1. copy samples.war {TOMCAT_HOME}\webapps\ 2. start tomcat 3. Browse to http://localhost:{port}/samples/ Step 0 should be: Browse to http://localhost:{port} and confirm that tomcat is running. 1-3 are then a doddle.

RE: [flexcoders] DATE Function in Flex

2005-04-21 Thread Gordon Smith
Also... The Date object in ActionScript is as specified in the Ecmascript-262 standard. - Gordon -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Sent: Thursday, April 21, 2005 12:40 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] DATE Function

[flexcoders] Re: DATE Function in Flex

2005-04-21 Thread gevgelija50
Thanks. That worked great! Alex --- In flexcoders@yahoogroups.com, Abdul Qabiz [EMAIL PROTECTED] wrote: Hi Alex Date Object in Flex(ActionScript) is quite powerful and allows you do things more easily... var _date = new Date(2004, 11, 31); //11 means december, months are 0 based...

[flexcoders] Example of using startDrag(..) and stopDrag() for Drag Drop in Canvas

2005-04-21 Thread Abdul Qabiz
Hi, This is old flash way to do drag and drop, it's for users love doing stuff low-level way. BTW! OO purist might not like it ;). It's not for production level of code, my intention is to show one of the possible way. ##DragDropExample.mxml## ?xml version=1.0 encoding=iso-8859-1?

Re: [flexcoders] Tomcat

2005-04-21 Thread Johan Lopes
Browse to http://localhost:{port} and confirm that tomcat is running. 1-3 are then a doddle. true. i wouldn't say it was painful but we had more trouble trying to get flex working through jrun, as we wanted to deploy on the same server instance as coldfusion + using apache 2 as the webserver.

[flexcoders] loading a flash component

2005-04-21 Thread kredding.geo
If you use mx:Image to load a swf file, should the swf file work exactly the same as it does in flash, or does the actionScript in the Flash file take on new meaning once it is embedded into the Flex application? I am asking because I have the following script in my flash file. It works

[flexcoders] DataGrid displaying remote object data

2005-04-21 Thread dhiren9
I have a DataGrid with an object set as the data provider: mx:DataGrid id=dg3 dataProvider={my_list.dataValues}/ dataValues is a 2 dimensional array in the my_list variable. The my_list object is populated via a remote object call. Everything works ok and I get the data back in my grid.

[flexcoders] Re: how to display the HashMap data in flex mx: Data Grid?

2005-04-21 Thread loveewind
ok .thanks you .I will try it what is you mailbiox? Matt --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: You'll need to write a labelFunction Maybe something like this: function mapCdms(item) : String { Return item.accessMap.cdms; }

Re: [flexcoders] loading a flash component

2005-04-21 Thread JesterXL
If you can, implement in Flash at the top of your code: _lockroot = true If that doesn't work, try putting that code creating elements into a movie clip or component itself; running code on _root is bad anyway. ...frankly, I don't think this functionality is supported; I don't know what Flex

RE: [flexcoders] How to trace the Variables in Flex

2005-04-21 Thread Feng Zhu
Yes, Im sure of that. Best Regards! Zhu Feng -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Abdul Qabiz Sent: 2005422 1:24 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] How to trace the Variables in Flex

RE: [flexcoders] How to trace the Variables in Flex

2005-04-21 Thread Matt Chotin
(B (B (B (B (B (B (B (B (B (B (BTry setting MaxWarnings=1 in case you$B!G(Bre (Bjust not seeing the trace statements within a ton of warnings. (B (B (B (BAlso try creating a button where the only (Bthing the click handler does is call trace. That way you can be sure if (Btrace

RE: [flexcoders] Loading Images from dataProvider

2005-04-21 Thread Matt Chotin
Youll need to use a cell renderer that uses an mx:Image to do this.  If the image isnt embedded already in the SWF the icon on the default cell renderer wont work.  Some of the samples will give you examples, like FlexStore even though its a TileList. Matt From:

RE: [flexcoders] BUG ? RPC call with Array lost value !

2005-04-21 Thread Matt Chotin
Hard to know. What did your code do in the meantime? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Sent: Thursday, April 21, 2005 6:42 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] BUG ? RPC call with Array lost value ! in picture 1 ,RPC

RE: [flexcoders] Help ValueObject

2005-04-21 Thread Matt Chotin
What does shopping.Empty() do? Could it be setting items in the arr array to null? Have you put any debugging code in (trace statements) to make sure that the array is populated with what you think it should be? Maybe its also worth trying to call your RemoteObject directly passing in

RE: [flexcoders] DataGrid displaying remote object data

2005-04-21 Thread Matt Chotin
The column ordering by default is unfortunately often backwards due to how ActionScript enumerates properties. Youll need to specify the columns explicitly if order is important to you. Matt From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] Sent:

RE: [flexcoders] Re: TextArea help

2005-04-21 Thread Matt Chotin
Instead of using focusOut and focusIn I used keyDown and mouseUp and that seemed to do the trick. It may not be perfect all the time, Id imagine you can type fast enough and maybe confuse it, but this should get you going. Matt From: flexcoders@yahoogroups.com

RE: [flexcoders] Re: any ideas about flex client side caching?

2005-04-21 Thread Feng Zhu
Thank you very much. This will be helpful. And, What about the 2, 3, 4 questions, any ideas? Best Regards! Zhu Feng -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Johan Lopes Sent:

[flexcoders] Hmmm I think i found a bug with debug mode.

2005-04-21 Thread Scott Barnes
I've got my FLASH MX 2004 Pro open and using it as my debugger. Now, I am using 'createChild to instantiate a container in my app. Works fine, except when I'm in debug mode it comes up empty (even though the movieclip heirachy showes a valid movieclip along with all its properties / innerchildren

RE: [flexcoders] Hmmm I think i found a bug with debug mode.

2005-04-21 Thread Matt Chotin
The debug player that we ship with Flex was modified for optimization with fdb. It should still work just fine with MX 2004 but we didnt test it. Even if youre not liking debugging in Flex Builder have you tried using the command-line tool fdb? I realize many folks tend not to like

[flexcoders] Data Model

2005-04-21 Thread nithya karthik
Hai, I have a problem with the data model source. I have a model which provides data for a menubar.. the source i of the model hard coded.. But i want it to change dynamically during run time.. how can i do this? can i give something like mx:Model id="theXML"