RE: [flexcoders] ScrollBars don't appear in Browser...

2007-01-20 Thread Lieven Cardoen
No one a clue? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Lieven Cardoen Sent: vrijdag 19 januari 2007 14:11 To: flexcoders@yahoogroups.com Subject: [flexcoders] ScrollBars don't appear in Browser... Any idea why the scrollbars

Re: [flexcoders] Why must default arguments be primitives?

2007-01-20 Thread Roman Protsiuk
I guess the keyword here is not a compile-time constant. You can use 'null' but not 'new Array()' because it is calculated in run-time. Please, correct me if I'm wrong. R. On 1/19/07, ben.clinkinbeard [EMAIL PROTECTED] wrote: I just noticed that you cannot set default values for arguments

Re: [flexcoders] PopUpManager.removePopUp() not actually removing pop ups

2007-01-20 Thread Roman Protsiuk
Hi. PopUpManager.removePopUp(someWindow) really doesn't destroy someWindow. If you create someWindow in some function it should be destroyed by garbage collector. Otherwise... well sometimes I simply use one object for every pop-up of special type, e.g. private static var _popUp :

Re: [flexcoders] [FDS2+Spring/Hibernate] VOs reaching the backend with id=0 (unsaved-value problem)

2007-01-20 Thread Carlos Rovira
Hi Jeff, That was my first attempt. just before the persist method I was doing p.setId(null) That was enough for simple objets but fails if with complex objects that have a collection inside. If I add a new item to that collection I must to iterate and make a setId(null again. For that reason

Re: [flexcoders] [FDS2+Spring/Hibernate] VOs reaching the backend with id=0 (unsaved-value problem)

2007-01-20 Thread Carlos Rovira
Hi Vineet, I ' m using the following: VOs in AS3 - public var id:Number; VOs in Java - protected Integer id; I'm using Oracle 9i as my RDBMS...but I think this shouldn't be the problem as I'm using JPA/EJB3 and could change from one to another with four lines of configuration. The problem is

[flexcoders] FDS createItem - how to find ID of inserted record?

2007-01-20 Thread sunilpatel_10
Hi, I have a page where I capture DEPT and EMP data. On click of a button I want to save DEPT record and all the EMP records with ID of newly created DEPT as a parent. I use FDS, hibernate and db generated IDs. The problem I am facing is how do I get the ID of DEPT record created by createitem()

Re: [flexcoders] Re: antlr for as3? parsers?

2007-01-20 Thread Aldo Bucchi
Hi michael, that's exactly the direction i'm pointing at! i'm sure that someone is going to do this, someday, somehow haha... it's not trivial best, Aldo On 1/19/07, michael_ramirez44 [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Aldo Bucchi

RE: [flexcoders] BindingUtils.bindProperty versus mx:Binding

2007-01-20 Thread Alex Uhlmann
Closer to your mx:Binding tag is: BindingUtils.bindProperty( userVO, Name, this, [ nameTextInput, text ] ); but keep in mind that binding of mx.binding.utils using ChangeWatcher and BindingUtils work differently from the mx.binding package (MXML compiler binding). The latter supports much more

[flexcoders] sequential addition of sprite objects

2007-01-20 Thread chrisvet2001
I'm trying to develop a system to show how to get from point A to point B on a floorplan... I'm having 2 problems -- 1) the best way to display these points over a period of time (to 'animate' the points) 2) when i do build in some delays, nothing gets displayed until all of the points are

[flexcoders] Re: Flex Data and Hibernate issue (identity mapping)

2007-01-20 Thread ripe101
Hey Carlos, I'll be implementing my object IDs in this manner, it's a good article: http://www.onjava.com/pub/a/onjava/2006/09/13/dont-let-hibernate- steal-your-identity.html?page=1 Thanks John K. --- In flexcoders@yahoogroups.com, Carlos Rovira [EMAIL PROTECTED] wrote: Hi Ripe, I'm

[flexcoders] Non-english characters

2007-01-20 Thread Mikhail Shevchuk
Hello, flexcoders! I got a Linux box with FF 1.5 and new Adobe Flash Plugin 9.0.31.0 installed. I have a problem with text in Russian - when I print some in input fields I got wrong characters. The page encoding is set to UTF-8. There are no such problem with a Windows box. I suppose other

[flexcoders] Re: using autocomplete component with external data??

2007-01-20 Thread virtualajit
Hi, Using Autocomplete with external data is easy. All you have to do is set autocomplete's dataprovider to external data returned in OnResult event handler.I have tried this with web service and it should work similar with RemoteObject (java in this case. In particular example you mentioned, if

[flexcoders] Re: BindingUtils.bindProperty versus mx:Binding

2007-01-20 Thread Libby
One reason NOT to use binding tags, curly braces, etc is this practice departs from the object oriented MVC concept. If possible, there should not be any code in the view, just --- In flexcoders@yahoogroups.com, Alex Uhlmann [EMAIL PROTECTED] wrote: Closer to your mx:Binding tag is:

[flexcoders] pass extra data to event listener

2007-01-20 Thread Devin Holloway
Currently i'm using this code: . private var _contactConfirmRemove:Contact; private function removeContact_listener(event:ContactEvent):void { var contact:Contact = event.contact; this._contactConfirmRemove =

[flexcoders] video on flex

2007-01-20 Thread rsekar_005
Dear Friends, well and wish. i am new to flex. can develop single video streaming and receiving on flex 2. please give me the guide. i am expecting your valuable feed back. please give me some sample code for this. thanks in advance. bye from sekar

[flexcoders] HTTPService Vs PHP

2007-01-20 Thread theduderino82
I come from php programming and I want to develop with flex. I found hard to find somewhere over the internet how to handle output from php file called with a HTTPService to the mxml. All I can find is tutorials on how to retrieve data from an xml file. I understand how to pass form items to the

Re: [flexcoders] pass extra data to event listener

2007-01-20 Thread Ralf Bokelberg
Maybe you can use the data property of the Alert instance? I've never done that before, but from the docs it looks like Alert.show returns the instance. Cheers, Ralf. On 1/20/07, Devin Holloway [EMAIL PROTECTED] wrote: Currently i'm using this code:

[flexcoders] Re: flex and j2ee session

2007-01-20 Thread esaltelli
Several web containers require more than just the session id. When using basic authentication, user name and password must be sent on each and every request. Can you verify that the headers include authorization credentials? --- In flexcoders@yahoogroups.com, Douglas Knudsen [EMAIL PROTECTED]

Re: [flexcoders] Re: BindingUtils.bindProperty versus mx:Binding

2007-01-20 Thread Ralf Bokelberg
I don't think this is a valid point. Beside the magnificent productivity advantage of binding, every view in classic mvc needs to access the model to update itself. I know, it is hard to accept in the beginning, but now i think, mxml is really extremely helpful to do agile development. Cheers,

Re: [flexcoders] BindingUtils.bindProperty versus mx:Binding

2007-01-20 Thread Xavi Beumala
On 1/20/07, Alex Uhlmann [EMAIL PROTECTED] wrote: I'd question why you would want to replace all our MXML bindings when it's working like a charm for you? ;) Aren't MXML bindings (curly braces, function bindings, mx:Binding/Observe) easier to write and maintain? AFAIK Not aplicable to

Re: [flexcoders] Re: flex and j2ee session

2007-01-20 Thread Douglas Knudsen
interesting, have not heard this before. Is Tomcat such a container? If so, why is it finding the UserPrincipal, but not the roles? I'm going to put together a 'Hello World' sample testing this. DK On 1/20/07, esaltelli [EMAIL PROTECTED] wrote: Several web containers require more than just

Re: [flexcoders] AS3 code obfuscators

2007-01-20 Thread Daniel Wabyick
Thanks for the info I agree that that code obfuscation is of low worth, especially if you keep sensitive code to the server. Nevertheless the client asked for it, so I thought I would investigate a bit. Best, -Daniel Jim Cheng wrote: Daniel Wabyick wrote: Does anyone know of any

[flexcoders] Windows Media Player 11 : Vista Theme

2007-01-20 Thread potentialunfounded
In case anyone is interested, I finished and posted a Windows Media Player 11 : Vista Theme for Flex 2. You can check it out at http://www.scalenine.com. Juan

RE: [flexcoders] BindingUtils.bindProperty versus mx:Binding

2007-01-20 Thread Mike Anderson
So with that said, is it safe to say that using the bindProperty method in AS, DOES release the memory it uses whenever the control gets destroyed? If this is in fact the case, that would be another huge deciding factor for me - since my Flex App is a HUGE Master/Detail type application, in

RE: [flexcoders] BindingUtils.bindProperty versus mx:Binding

2007-01-20 Thread Mike Anderson
Thanks Alex, I will give that a try, and see if that fixes my binding problems... And to answer your question, Libby hit it on the head - I am trying to separate my Code from my Views as much as possible. In fact, all of my Controls use the Code Behind method of programming - and it's really

Re: [flexcoders] HTTPService Vs PHP

2007-01-20 Thread Patrick Mineault
You should look into amfphp for this kind of thing. Basically instead of using HTTPService, you use RemoteObject, and you don't have to worry at all about serializing your data on the PHP side. You should read this tutorial here: http://sephiroth.it/tutorials/flashPHP/flex_remoteobject/

[flexcoders] ActionScript Mozilla

2007-01-20 Thread graysonpierce
Hello, I read somewhere that Adobe was donating the source for ActionScript to the Mozilla Foundation. Would anyone care to comment on what this will mean to Flex Apollo in the future? GP

RE: [flexcoders] ActionScript Mozilla

2007-01-20 Thread David Mendels
Hi, http://www.mozilla.org/projects/tamarin/faq.html HTH, David From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of graysonpierce Sent: Saturday, January 20, 2007 5:30 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] ActionScript

Re: [flexcoders] Re: Modules :: percentWidth and percentHeight seemingly not honored

2007-01-20 Thread Michael Schmalle
Irina, :) Thanks, I didn't even think about those properties in the mxml. For those who are reading this in the future, this workaround does work. Use the percentWidth and percentHeight in your mxml that extends Module if you want percentage width and height to work when the module is loaded

Re: [flexcoders] AMFPHP Service Browser SVN

2007-01-20 Thread Patrick Mineault
Could you expand on what your setup is like? The Apache htdocs folder vs. the SVN location (on the same machine? elsewhere?) vs. the service browser being loaded locally or from the server, etc. Patrick Kevin a écrit : I am trying to figure out how to use the AMFPHP service browser with my

Re: [flexcoders] Re:An internal build error has occurred. Please check the Error Log.

2007-01-20 Thread Igor Costa
In Fact Robi Isn't a Bug in the IDE, the problem happens with some of us in some short time of our development cycle. Let me detail you what really happens when this occurs. When you create a new Project in Flex the Eclipse Engine, uses the ANT script build to create the entire project folder

Re: [flexcoders] Re: FDS Application takes a while to load

2007-01-20 Thread Igor Costa
Let a try switching arround both and see what's really depends on seconds loads against each other. and take a look on what could really happens. On my view I just dramp those and try to figure out testing each. Best On 1/18/07, Alexander Tsoukias [EMAIL PROTECTED] wrote: I am using the

Re: [flexcoders] Flex compiler error

2007-01-20 Thread Igor Costa
You are right. When I said that you could re-install the flex builder it was to do excatlly that, because the Flex Builder installation will helps you on that directly and automatcly. the JRE file were not found because of that, the virtual machine java was out of bound. But anyway you're

Re: [flexcoders] video on flex

2007-01-20 Thread Igor Costa
Sekar. You could use video very easy as you use into Flash. I suggest you to check out the mx:VideoDisplay source=/ into the help topics at your Flex Builder installation or I just point you out at the Flex Livedocs right here:

[flexcoders] Re: using autocomplete component with external data??

2007-01-20 Thread mthielman11
Thanks we will give this a try. I believe what my other programmer said the issues was, is that the data is not present when flex wants to show the drop down, as there is a slight delay, so the drop down list never appears. We will try again, thanks.

Re: [flexcoders] Using Flash For Authoring Flex 2 Content -- A Definitive Guide?

2007-01-20 Thread JesterXL
I know it's my blog, but this particular entry wasn't cited here, so just in case: http://www.jessewarden.com/archives/2006/12/integrating_a_f.html On Jan 19, 2007, at 5:22 PM, Russell Sprague wrote: Greg, you are right, there doesn't seem to be much about using Flash and Flex together. I