Re: [flexcoders] Re: Memory leaks

2007-08-29 Thread Xavi Beumala
es the children. But if I provoke the GC some memory is freed. The initial increase of memory usage I suspect is due to some singletons and managers first time initialization process. Being a singleton implies the class is kept in memory and never freed because some references are kept. HTH Xavi Beumala

Re: [flexcoders] More Mac licensing issues: [WAS:: Max OS X Flex Builder 2.01 License Issue - still waiting

2007-02-05 Thread Xavi Beumala
I'm having the same problems here! It's incredible but I've been trying to transfer my win license to mac for the last 3 weeks, and today my trial has finally expired! I won't get my license in less than a week so... this means I can't work! really bad X. On 2/3/07, Matt Chotin <[EMAIL PROTECTED

Re: [flexcoders] Where is CalendarLayout?

2007-01-31 Thread Xavi Beumala
The CalendarLayout class is itself marked with the [ExcludeClass] metadata, so you won't be able to import it :( Don't know if it will allow compilation. Best X. On 1/31/07, Carlos Rovira <[EMAIL PROTECTED]> wrote: Trying to do this import mx.controls.CalendarLayout; but Flex

Re: [flexcoders] BindingUtils.bindProperty versus

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 cu

[flexcoders] Memory leak when using Bindings

2006-11-07 Thread Xavi Beumala
Hi there,I'm experiencing some weird behaviour when using Bindings. In short, when I remove some object from the DisplayList which has declared any Binding, the garbage doesn't destroy this object from memory causing unwanted binding triggers and an innecesary increase of memory usage. Here's an

Re: [flexcoders] Re: Structuring a collection of Flex apps in a tomcat webapps folder

2006-11-05 Thread Xavi Beumala
Hi there,What I usually do is create a virtual folder on my project which points to the tomcat webapp folder. Then I change the ouput folder through the compile settings screen: right click on the project -> properties -> Flex Build path. Then to force eclipse to launch for example http://localh

Re: [flexcoders] Using CDATA in XML objects in Flex 2

2006-11-01 Thread Xavi Beumala
Hi Andrew,today I've just sent the same question... Right now I've solved it in a similar way, but I think should be a better way...Here's a copy of my previous post:For example if I want to get an XML like this: I've tried things like:var node:XML = But this way I receive:< because {choice.tex

[flexcoders] adding CDATA to an XML node

2006-11-01 Thread Xavi Beumala
Hi there,How could I append a CDATA statement in an XML object?For example if I want to get an XML like this: I've tried things like:var node:XML = But this way I receive:< because {choice.text} is not being processed.How could I do it?Thanks in advance!X. __._,_.___ -- Flexcoders Mailing

[flexcoders] Re: weakReferences on Binded properties

2006-10-30 Thread Xavi Beumala
some light on this?Thanks a lot X.On 10/27/06, Xavi Beumala <[EMAIL PROTECTED]> wrote: Hi all,I'm experiencing some weird behaviours when using Bindings. AFAIK, when we use [Bindable] a strong reference is created when the addEventListener is performed. The problem is that I hav

[flexcoders] RichTextEditor modifications

2006-10-30 Thread Xavi Beumala
Hi all,I've been working on an application which needed to deal with a richTextEditor. The problem with the flex one is that it only can manage one textArea and this didn't fit to much to requirements.I've built an adapted RTE from the RTE flex code, for sure arround 80% or above of the code is

[flexcoders] weakReferences on Binded properties

2006-10-27 Thread Xavi Beumala
Hi all,I'm experiencing some weird behaviours when using Bindings. AFAIK, when we use [Bindable] a strong reference is created when the addEventListener is performed. The problem is that I have an screen ( myScreen.mxml) which is loaded through PopUpManager inside a TitleWindow. On the other han

[flexcoders] weird behaviour when D&D on a filtered ArrayCollection

2006-10-24 Thread Xavi Beumala
Hi there,I've a datagrid with dragMoveEnabled=true. The idea is that the user can change the order of the items on the datagrid by drag&drop.The dataProvider of this dataGrid is an ArrayCollection, but it has a filterFunction. When the filterFunction is enabled the Drag&Drop starts failing, the

Re: [flexcoders] e4x and namespaces

2006-10-13 Thread Xavi Beumala
Hi Diego,you should declare the namespaces:var SOAP_NS:Namespace = new Namespace ("http://schemas.xmlsoap.org /soap/envelope/");var XSD_NS:Namespace = new Namespace ("http://www.w3.org/2001/XMLSche ma");etc.Then you could access the nodes using e4x this way: yourXml.SOAP::channel (if channel is

Re: [flexcoders] ASDoc problems with embeded resources

2006-10-09 Thread Xavi Beumala
in the same directory or a relative directory to the source.  It can't handle the full filepath I think.   Matt   From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Xavi Beumala Sent: Friday, October 06, 2006 1:37 AM To: flexcoders@yahoogroups.

Re: [flexcoders] continuous run

2006-10-09 Thread Xavi Beumala
You can use the enterFrame event from the MovieClip class. Application class also dispatches flash.events.Event.ENTER_FRAME event.X.On 10/9/06, Greg Morphis <[EMAIL PROTECTED]> wrote:Is there a way to get a app to continuously run? In flash, there's the onEnterFrame (event?), is there anything

Re: [flexcoders] creating an image and placing it in the middle...

2006-10-09 Thread Xavi Beumala
The problem is that flex is asynchronous. At the time you invoke the move method, flex doesn't still know the image size. Trying using a listener for the Complete event of the Image. There you'll be able to invoke the move method. BestX.On 10/9/06, Greg Morphis <[EMAIL PROTECTED]> wrote: Why is

[flexcoders] ASDoc problems with embeded resources

2006-10-06 Thread Xavi Beumala
Hi there,I'm experiencing some annoying problems with ASDoc. The problem is in classes which use Embed metadata tag, when asdoc parses these classes it throws an error complaining about it is unable to resolve the path for transcoding. When compiling with compc.exe we have a compiler parameter (

Re: [flexcoders] Error Help Type 1009

2006-09-03 Thread Xavi Beumala
Hi,make sure that when your programs flow reachs to:  Alert.show("No users found. Create a new one?", "ProgramAlert", 3, this, alertClickHandler);                 userDG.dataProvider.removeAll ();userDG and userDG.dataProvider must exists and has to be instantiated. The error you're getting mean

[flexcoders] InputText + StyleSheet

2006-08-31 Thread Xavi Beumala
Hi all,I'm developing a kind of markup editor. It has to allow the user to select text and apply some xml tags to it as well as write new text in the textfield. The problem I'm having is that when you apply a styleSheet to the inputText field to render this custom tags, this field stops being an

Re: [flexcoders] Avoiding Multiple Browser Windows/Tags -I s it possible?

2006-07-30 Thread Xavi Beumala
Hi yaagcur,you can set it up in Firefox. Go to Tools -> Options -> Tabs and then check the radiobutton "open links from other applications" to "the most recent tab/window".Hope that helps X.On 7/30/06, yaagcur <[EMAIL PROTECTED]> wrote: Each time I run a project it opens a new tab in Firefox. Af

Re: [flexcoders] Re: feature or security hole on flash sandBox?

2006-07-28 Thread Xavi Beumala
s@yahoogroups.com> [mailto:flexcoders@yahoogroups.com] On Behalf Of Xavi Beumala> Sent: Thursday, July 27, 2006 9:17 AM> To: flexcoders@yahoogroups.com> Subject: Re: [flexcoders] Re: feature or security hole on> flash sandBox?>> Sorrry,>> the quotation was taken from> http://www.adob

Re: [flexcoders] Re: feature or security hole on flash sandBox?

2006-07-27 Thread Xavi Beumala
ust assumed it was that way since earlier versions were. One thingI did notice though was that you said you're reading from the securitywhitepaper for FP8. You should be reading about FP9 since that is what Flex and AS3 target.HTH,Benhttp://www.returnundefined.com/--- In flexcoders@yahoogroups.co

Re: [flexcoders] Re: feature or security hole on flash sandBox?

2006-07-27 Thread Xavi Beumala
7/27/06, ben.clinkinbeard <[EMAIL PROTECTED]> wrote: There are no restrictions when running the file on your local system.Access it through a web server and your calls will fail.HTH,Benhttp://www.returnundefined.com/ --- In flexcoders@yahoogroups.com, "Xavi Beumala" <[EMAIL PROTEC

[flexcoders] feature or security hole on flash sandBox?

2006-07-27 Thread Xavi Beumala
Hi,Today I've noticed that I can load images from diferent domains (which doesn't have a crossdomain file) without getting a security sandbox violation error.For example, when running the following application from my fileSystem I'm not receiving any error eventhough the domains don't have de cr

Re: [flexcoders] [Flex2 final release] FlexBuilder 2 install Flash Player 9.0.15??

2006-06-28 Thread Xavi Beumala
I'm having probles here with AMF0. I'm not able to cast custom Objects sent from Java. The behaviour is quite strange so if I only launch one request it behaves as expected. But if I launch several parallel requests only the last response is getting a correct serialized result. I'll try to isola

Re: [flexcoders] Re: mxmlc - context root - any root

2006-06-24 Thread Xavi Beumala
You can use flashVars in your html object/embed tag. By using Application.application you can access this values. If you set up a var named contextRoot in your flashVars then you can concat your url's.BestX. On 6/24/06, ssundke <[EMAIL PROTECTED]> wrote: Hey Is there no way to do this?- Saba---

[flexcoders] F2B3 bug in serialization of XML in AMF0

2006-06-20 Thread Xavi Beumala
Hi there,I'm trying to receive an org.w3c.dom.Document Object from OpenAMF using AMF0 in F2B3. It works great on Flash8 but on F2B3 it's not receiving anything. It seems like the XML serialization is not working correctly. Couls someone confirm it please?BestX. __._,_.___ -- Flexcoders Mai

Re: [flexcoders] Flex2b3 Drawing API

2006-06-05 Thread Xavi Beumala
This should work:http://www.adobe.com/2006/mxml" xmlns="*" creationComplete="drawIt()">   CheersX. On 6/5/06, Tom Chiverton <[EMAIL PROTECTED]> wrote: As there are no examples of this in the docs, can anyone shed some light ?I have a basic MXML file: http://www.adobe.com/2006/mxml" xmlns="*

Re: [flexcoders] Accessing data in a Model

2006-06-04 Thread Xavi Beumala
The following code is working for me. Note the "resultFormat" attribute in HTTPService tag, as well as the "@" in front of name to access an xml node attribute. http://www.adobe.com/2006/mxml" layout="absolute">                            {srv.lastResult}                            BestX.On 6/

Re: [flexcoders] NEED: simple mxml component & class that utilize the getInstance methods for Flex 2.0...

2006-06-01 Thread Xavi Beumala
I think there's an error on your code:if(_self = null) _self = new Blah();should be:if(_self == null) _self = new Blah();X.On 6/1/06, Doug Arthur <[EMAIL PROTECTED]> wrote: I need to find a simple tutorial or example of implementing a getInstance method in a class, and then invoking it.   He

Re: [flexcoders] displaying embedded image in as app

2006-05-29 Thread Xavi Beumala
This is working for me:package {    import flash.display.Bitmap;    import flash.display.Sprite;    import flash.display.StageAlign;    import flash.display.StageScaleMode;    public class Zuki extends Sprite {     [Embed(source="myImg.png")]     private var appBg:Class;        private v

Re: [flexcoders] Re: debug of as app not updating changes to swf

2006-05-29 Thread Xavi Beumala
Here I've had the same problem. But I think it's due to browser cache. What I've done to solve it is configure my Firefox cache to 0kb. That has solved lots of hedaches :SBestX. On 5/29/06, Bjorn Schultheiss <[EMAIL PROTECTED]> wrote: It seems the 'launch' command now completely fails to compile

Re: [flexcoders] Console output on web

2006-05-29 Thread Xavi Beumala
Try using the new Logger Api. There you'll be able to use miniDebug class or a custom LocalConnection based logger.bestX.On 5/29/06, Shahabudeen <[EMAIL PROTECTED]> wrote:Hi All, I am very new to Flex. I want to display all the log contents going tothe flashlog.txt to the live screen dynamicall

Re: [flexcoders] Re: Loading one cairngorm into another cairngorm

2006-05-27 Thread Xavi Beumala
Maybe the new LoaderContext (similar to classLoader in Java) can help you on this.BestX.On 5/27/06, Darren Houle < [EMAIL PROTECTED]> wrote:If that was the case then you'd have to worry about singletons and object names every time you used a SWFLoader to load any other SWF.  Any SWF youload migh

[flexcoders] Combobox bad behaviour in RichText component

2006-05-25 Thread Xavi Beumala
Hi all,I've noticed what seems to be a bad behaviour in richText comboboxes. Try to open font size combo and then, without closing the font size combo, open the font type combo. Both will close.BestX. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcoder

[flexcoders] -use-network compiler param not working

2006-05-25 Thread Xavi Beumala
I'm trying to compile a F2B3 application which I want to load only file system files and running it from file:// in the navigator.Eventhough I've added -use-network=false param in the Flex Compiler properties panel, I'm receiving a sandbox security exception. Is this a bug or I'm doing something

[flexcoders] [F2B3] About generated swf FileSize

2006-05-25 Thread Xavi Beumala
Hi all,I've notice that an "empty" flex application weights arround 125Kb and it's really easy to reach 300Kb (just drop a datagrid, rich text editor and a date chooser).Is this size going to be the same on the final release? Or does generated swf still contains debug and removable info? BestX.

Re: [flexcoders] Re: Loading assets of one swf into another container swf[F2B3]

2006-05-24 Thread Xavi Beumala
I've been able to solve it by using borderStyle="none". But I don't understand the different behaviours and why by default isn't getting "none"...Thanks Carlos ;-)X. On 5/24/06, Xavi Beumala <[EMAIL PROTECTED]> wrote: The code is at: http://www.code4n

Re: [flexcoders] Re: Loading assets of one swf into another container swf[F2B3]

2006-05-24 Thread Xavi Beumala
The code is at: http://www.code4net.com/crossLibrary right click and "view source"BestX.On 5/24/06, rama satoskar <[EMAIL PROTECTED]> wrote: I would want to see the source code for ur minimized application. icould not get it.--- In flexcoders@yahoogroups.com, "Xavi Beuma

[flexcoders] Loading assets of one swf into another container swf[F2B3]

2006-05-24 Thread Xavi Beumala
Hi all,I have 2 swf. SWF1 loads SWF2 by using an SWFLoader component.When loaded SWF2, I add its contents inside a canvas. Also swf1 contains a button which gets, casting to an interface, a reference to an instantiable an visible component. The instantiation is working really fine, but I'm getti

Re: [flexcoders] swf (loadMovie) from an external swf deosn't work ?

2006-05-23 Thread Xavi Beumala
Which flex version are you running?X.On 5/23/06, Antoine Malpel <[EMAIL PROTECTED]> wrote: I use a swf in a popup in my application, everything's fine aboutinteractity except that swfs that should be loaded in this swf are not loaded from flex application like they are when I play the swf in fla

[flexcoders] dragMoveEnabled in Tree component

2006-05-23 Thread Xavi Beumala
I think there's an error on the Tree component documentation. I read on it that dragMoveEnabled default value is 'false' but I think it's default value it's true: http://www.adobe.com/2006/mxml" layout="vertical"                creationComplete="init()">                                       

Re: [flexcoders] Event not bubbling when using PopUpManager

2006-05-22 Thread Xavi Beumala
Hi Carlos,that was it!! Thanks so muchX.On 5/22/06, Carlos Rovira <[EMAIL PROTECTED] > wrote: Hi Xavi,I don't know if this could be of help to you:http://www.darronschall.com/weblog/archives/000224.cfm Please tell me if is related to your problem Best,C.2006/5/22, Xavi Beum

[flexcoders] Event not bubbling when using PopUpManager

2006-05-22 Thread Xavi Beumala
Hi all,I'm launching a popUp with a custom component inside through PopUpManager. This custom component has a button that when pressed dispatches an event. The launcher application is subscribed to this event but the event never gets to the listener. Here's the code:FILE: Launcher.mxmlhttp://www

[flexcoders] Logging API issue

2006-05-19 Thread Xavi Beumala
Hi all,I'm playing with f2b3 new logging api and trying to use it in a similar way I'd use java.util.logHowever if the category of the logger contains the ":" character an exception is thrown. Reviewing the code, I've seen in the Log class a function called hasIllegalCharacters() which explicitl

Re: [flexcoders] Re: Using amf0 in f2b3

2006-05-19 Thread Xavi Beumala
into the methodcall.  I have made the updates to the RemoteObjectAMF0 and the source has been uploaded for download.Thanks again,Renaun--- In flexcoders@yahoogroups.com , "hank williams" <[EMAIL PROTECTED]> wrote:> > Thanks. This is very much needed and appreciated.>>

[flexcoders] Using amf0 in f2b3

2006-05-18 Thread Xavi Beumala
Hi there,I've thought some of you would also be interested on this topic, so I've published a lass which allows you to work with amf0 through f2b3.You can get it at http://www.code4net.com/archives/000119.htmlHope it helpsX. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/fl

Re: [flexcoders] Re: xml framework

2006-05-15 Thread Xavi Beumala
I'm also interested on some kind of library like this. Today I've been looking at how digester (http://jakarta.apache.org/commons/digester/)  could be implemented on AS3 Cheersx.On 5/15/06, Suzy Lawson <[EMAIL PROTECTED]> wrote: Sorry, for clarification, I'm very familar with the Cairngormframew

[flexcoders] dataTipField on Lists not working. Maybe a bug?

2006-05-14 Thread Xavi Beumala
Hi all, I'm trying to fill a List component with an array wich doesn't have a 'label' field so I'm using dataTipField property to set which is the attribute to use. Here's the code: http://www.adobe.com/2006/mxml" layout="absolute"   creationComplete="init()">        

Re: [flexcoders] Install Flex2 Beta2 in tomcat

2006-04-18 Thread Xavi Beumala
Are you running a flash player previous to beta 2 release? I think this happened to me and was due to I was compiling with beta2 and running with a previous player (beta 1 in my case)...X. On 4/18/06, sinacapho <[EMAIL PROTECTED]> wrote: Dear all,   My tomcat version is 5.0.28 and i am try t

Re: [flexcoders] Re: Flex2/EJB3 integration: problems mapping Java/AS3 classes

2006-04-17 Thread Xavi Beumala
Is there any planned date for beta 3 release? Is it near?Thanks a lotX.On 4/17/06, Xavi Beumala <[EMAIL PROTECTED] > wrote:Is there any planned date for beta 3 release? Is it near? Thanks a lotX.On 4/17/06, Peter Farland < [EMAIL PROTECTED]> wrote: It might simply be a pr

Re: [flexcoders] Custom authentication in a destination

2006-04-17 Thread Xavi Beumala
What can be wrong?Thanks so much!X. Matt   From: flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com] On Behalf Of Xavi Beumala Sent: Sunday, April 16, 2006 3:30 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Custom authentication in a destination   Hi all, I'm try

Re: [flexcoders] Re: Flex2/EJB3 integration: problems mapping Java/AS3 classes

2006-04-17 Thread Xavi Beumala
Hi,I'm having the same problem with plain and simple Java classes with amf0. Serialization works like a charm from as3 to java, but it's not working from java to as3. The java class I'm using is what follows: package com.code4net.vos;public class PhotoVO {    private String title;    private Str

[flexcoders] Custom authentication in a destination

2006-04-16 Thread Xavi Beumala
Hi all,I'm trying to secure a remoting destination with a custom class as stated at http://livedocs.macromedia.com/labs/1/flex20beta2/1546.html The steps I've followed are:   · Create a custom class which implements flex.messaging.security.LoginCommand with the methods start, stop, doAuthent

[flexcoders] Getting custom objects from OpenAMF

2006-04-16 Thread Xavi Beumala
Hi all,I'm playing with FES beta 2 and openAMF trying to send and receive custom objects both from java to flex and from flex to java. I've managed to correctly send objects from flex to Java, but I'm having problems when receiving a custom objects from Java. I'm receiving a plain Object instead

[flexcoders] Just a test

2006-02-13 Thread Xavi Beumala
It seems I'm not receiving mails nor mine are being delivered This is just a test mail... X. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To vis

Re: [flexcoders] AS3 class constructors can't be private? Abstract classes?

2006-02-13 Thread Xavi Beumala
classes approach needs also this strangea and tricky implementations. Wouldn't it be better to implement all this needed things instead of other new functionalities? I think it's better to have one working thing than several things working without all they power :-( Just my thoughts. Che

Re: [flexcoders] AS3 class constructors can't be private? Abstract classes?

2006-02-12 Thread Xavi Beumala
Hi there, I also completely agree with you. If it's a fact of architecture why not let us (programmers) decide what to use (internal vs private) ?? All new features on AS3 and FES are really amazing, but I think two main things are being forgotten as has been said: abstract classes and private

Re: [flexcoders] Annpuncing Log4x

2005-12-02 Thread Xavi Beumala
Hi Dave, I've tried to subscribe and download log4X and I've noticed the form isn't working in player 8.5. When I focus textInputs I can't write in them. However player 8.0 works fine. Maybe it's an incompatibility between players or maybe a bug... Thanks for your great work! X. Dave Wolf wr

Re: [flexcoders] [Flex 2.0 - AS3] E4X problem when parsing tags with hyphen

2005-11-18 Thread Xavi Beumala
If someone is interested on the response: http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=587&threadid=1083145&enterthread=y Cheers X. Xavi Beumala wrote: > Hi there, > I'm trying to parse xslt files from within as3. When parsing composed > xs

[flexcoders] [Flex 2.0 - AS3] E4X problem when parsing tags with hyphen

2005-11-18 Thread Xavi Beumala
XMLSchema"; xmlns:fn="http://www.w3.org/2004/07/xpath-functions"; xmlns:xdt="http://www.w3.org/2004/07/xpath-datatypes";> myDoc.xml 2 Is this a bug? is there any workarround? Thanks in advance! Xavi Beumala -

Re: [flexcoders] Can you put an Adobe Acrobat file on a flex page

2005-11-17 Thread Xavi Beumala
Also another aproach: http://www.code4net.com/archives/000114.html JesterXL wrote: > Well, you could do it internally via BlazePDF. It renders a PDF in > Flash. However, hurricane Katrina fubarred Gregg Wygonik's website, and > I reckon he doesn't want to utilize his Red Cross check on his s

Re: [flexcoders] [FLEX1.5] flex + fcs + cfc + oracle realtime question

2005-11-09 Thread Xavi Beumala
FCS isn't an application server so it can't directly access to a DB. Instead you can use remoting to communicate with an application server and this will be the responsible to access DB. For example: FCS --|remoting|--> Tomcat --> DB | FCS <--|remoting

Re: [flexcoders] Flash Player - Desktop integration... SDK?

2005-11-08 Thread Xavi Beumala
By the way it seem that Macromedia is working on a official extended projector to develop desktop applications code name: Apollo. Have a look at this post on the alpha forums: http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=585&threadid=1077420 Cheers Xavi Beumala

[flexcoders] Creating custom v3 components

2005-11-03 Thread Xavi Beumala
Sorry if this mail arribes twice, I've sent it before but I haven't received a copy... For what I've seen v3 components are based on a template method pattern like did v2. If I'm not wrong this is the method invocation workflow : Constructor Initialize createChildren childrenCreated measure upd

[flexcoders] Creating custom v3 components

2005-11-03 Thread Xavi Beumala
For what I've seen v3 components are based on a template method pattern like did v2. If I'm not wrong this is the method invocation workflow : Constructor Initialize createChildren childrenCreated measure updateDisplayList Instead of calling invalidate() like in v2, now, if I'm not wrong, we ca