Re: [flexcoders] Anybody has worked with flex-plugin and MAVEN ..???

2010-07-23 Thread Mika Kiljunen
I give one vote for FlexMojos too here. Currently I got it working with version 3.8-SNAPSHOT, 3.7.1 and below have some problems that prevent me to use it. -Mika

Re: [flexcoders] Reload an application

2010-07-23 Thread claudiu ursica
Make a javascript call through external innterface telling the browser to reload the whole html page. That will include reloading the flex app also. C From: Christophe christophe_jacque...@yahoo.fr To: flexcoders@yahoogroups.com Sent: Fri, July 23, 2010

Re: [flexcoders] Reload an application

2010-07-23 Thread Akshar Kaul
why do you want to reload the whole application. you can just write a method at the application level to reset the application to the initial state. Akshar Kaul On Fri, Jul 23, 2010 at 14:11, claudiu ursica the_bran...@yahoo.com wrote: Make a javascript call through external innterface

RE: [flexcoders] Issue with item renderer in Flex 3

2010-07-23 Thread Gregor Kiddie
Add the isEdited variable to your data item and inside set data(...) do If (data.isEdited) { ... } Instead.

Re: [flexcoders] Re: Web Services and ObjectProxy question for the Flex Gurus

2010-07-23 Thread Sajid Hussain
Good , From: flexcodemonkey michael_reg...@dell.com To: flexcoders@yahoogroups.com Sent: Thu, July 22, 2010 7:38:19 AM Subject: [flexcoders] Re: Web Services and ObjectProxy question for the Flex Gurus Thanks! I will look into all of this. Greatly

Re: [flexcoders] Re: Remote Objects not working with Modules

2010-07-23 Thread Sajid Hussain
debug your service objects ? does your app could access main application objects ? play with charles it may help u From: kannan Mugundan kannanmugun...@gmail.com To: flexcoders@yahoogroups.com Sent: Thu, July 22, 2010 9:51:01 AM Subject: Re: [flexcoders] Re:

[flexcoders] RichTextEditor + CSS Style + Embeded Font - nothing works as should...

2010-07-23 Thread fotis.chatzinikos
Hi everybody, I have a RichTextEditor which I am trying to set its default Font Face size and color using the following CSS: RichTextEditor { textAreaStyleName: 'rteStyle'; } .rteStyle { font-size:26;

[flexcoders] Re: Changing color of the PopUpButton

2010-07-23 Thread Alexander Farber
Oh sorry - I was missing: pub.setStyle('color', 0xFF);

[flexcoders] Populating ID from an Oracle sequence

2010-07-23 Thread Adnan
Hello, I am using Flex 4 with LCDS 3.1, using the Data Model perspective, I can quickly access my tables and map them. When I insert a new row, an ID is automatically populated. What are the possibilities to use my own sequences from Oracle to populate an ID in my tables? In know that I can

[flexcoders] Re: Issue with item renderer in Flex 3

2010-07-23 Thread shameer.forflex
I tried even this. The problem is that I am using the same checkbox renderer in multiple columns. So if I use isEdited with the data(data.isEdited), when you check one checkbox in one column, color of the checkbox in other columns also changes to yellow. Also I didn't want to associate isEdited

[flexcoders] Re: Populating ID from an Oracle sequence

2010-07-23 Thread Bill
I think you should be able to achieve this through the use of a special annotated id name=myid type=long annotation name=DMS item name=strategySEQUENCE/item item name=generatormy_generator/item /annotation /id Check

Re: [flexcoders] Reload an application

2010-07-23 Thread Sajid Hussain
ssomtimes this help public function reloadpage(e:MousEvent):void{ var ref:URLRequest = javascript:location.reload(true); navigateToURL(ref, _self); } From: Akshar Kaul akshar.k...@gmail.com To: flexcoders@yahoogroups.com Sent: Fri, July 23, 2010 1:44:58 AM

Re: [flexcoders] Re: ItemEditor | Multiple Components | Focus Issue

2010-07-23 Thread Alex Harui
Looks like there’s a bug in the DG editing code. Please open a bug with a test case. Try not calling event.preventDefault (but still call destroyItemEditor). On 7/22/10 8:18 AM, Rajan ilikef...@yahoo.com wrote: I looked at your sample but it does not contain nested properties.So

RE: [flexcoders] Re: Issue with item renderer in Flex 3

2010-07-23 Thread Gregor Kiddie
If you are doing a lot of this, there is a decent approach but it's very long winded... Override your DG so that when you add to the dataprovider (or when items are added to the DP) the objects in the DP get wrapped in a DGAware object. This object provides access to the wrapped object and

[flexcoders] Upload image

2010-07-23 Thread Christophe
Hello, I have an upload image function found on internet based on a URLRequest, but it's not working each time on all browsers, and on Mac and PC. Does someone know a good Upload image function with sources ? Thank you, Christophe,

Re: [flexcoders] Value Object --- Object Proxy --- huh???

2010-07-23 Thread Richard Rodseth
Interesting. I haven't used that one either. The docs emphasize the addEventListener capability, which I guess distinguishes this from plain old Object, which can also hold arbitrary properties. http://livedocs.adobe.com/flex/3/langref/mx/utils/ObjectProxy.html As an aside, I would love to have

Re: [flexcoders] Value Object --- Object Proxy --- huh???

2010-07-23 Thread Alex Harui
ObjectProxy dispatched change events when properties change. Object does not. If you write your VO’s to have only get functions, they are effectively immutable. On 7/23/10 8:56 AM, Richard Rodseth rrods...@gmail.com wrote: Interesting. I haven't used that one either. The docs emphasize

Re: [flexcoders] Re: Issue with item renderer in Flex 3

2010-07-23 Thread Alex Harui
The color of the checkbox must be associated with the data either by adding a property to the data or by comparing the data to see if it is in the selectedItems (if you used the checkbox dg example from my blog) or by using a Dictionary or some other map. If you are having problems after doing

Re: [flexcoders] RichTextEditor + CSS Style + Embeded Font - nothing works as should...

2010-07-23 Thread Alex Harui
The answer is probably yes to all three questions. However I did not understand the scenario. I don’t get how you use a RichTextEditor inside mx:text or what it means to “break the initialization” On 7/23/10 4:05 AM, fotis.chatzinikos fotis.chatzini...@gmail.com wrote: Hi everybody,

Re: [flexcoders] Value Object --- Object Proxy --- huh???

2010-07-23 Thread Richard Rodseth
Yes, obviously. But not the same thing. If you write your VO’s to have only get functions, they are effectively immutable. On 7/23/10 8:56 AM, Richard Rodseth rrods...@gmail.com wrote: Interesting. I haven't used that one either. The docs emphasize the addEventListener

Re: [flexcoders] Value Object --- Object Proxy --- huh???

2010-07-23 Thread Richard Rodseth
Getting a little off-topic, but in case anyone's interested: http://www.developer.com/lang/other/article.php/3874551/Clojure-Immutability-at-the-Language-Level.htm One Flex-specific wrinkle is that if you define a class with a 1 argument constructor and getters only, you can't instantiate it in

Re: [flexcoders] Value Object --- Object Proxy --- huh???

2010-07-23 Thread Alex Harui
You could write your set functions to be write-once. On 7/23/10 11:35 AM, Richard Rodseth rrods...@gmail.com wrote: Getting a little off-topic, but in case anyone's interested: http://www.developer.com/lang/other/article.php/3874551/Clojure-Immutability-at-the-Language-Level.htm One

RE: [flexcoders] Embedded Fonts and Flash Builder 4.01

2010-07-23 Thread Battershall, Jeff
Alex, I'm hoping you can look at this - I read your article about fonts and swf loading - could be related to what I'm describing. However, what I am doing is pretty vanilla. I've got a CSS file where some font embedding is being done and I'm setting, ebmedAsCff= true or false depending on

Re: [flexcoders] Embedded Fonts and Flash Builder 4.01

2010-07-23 Thread Alex Harui
4.x has new requirements around getting the embedAsCFF flag correctly, but there shouldn’t be anything else. BTW, note that it is embedAsCFF. I don’t think embedAsCff will work. Styles defined in the module now supercede styles defined in the parent. Maybe some global selector in the module