[flexcoders] Re: Cache-Control header not working in HTTPService

2007-09-17 Thread dario.drome
The http headers to control (and avoid the cache) come from the server side, that is, it is not useful at all that you set the headers from the client side. In order to avoid cache you need to set the header Pragma with the value no-cache and also set Expires with -1 to give your content an

[flexcoders] Re: Defining a dynamic UI

2007-05-29 Thread dario.drome
Hi, Probably you want something like this: https://www.adobe.com/livedocs/flex/2/langref/mx/core/UIComponentDescri ptor.html#UIComponentDescriptor() Let me know if this is your way Regards.

[flexcoders] Re: Problem with loading xml file using HTTPService or URLLoader

2007-05-29 Thread dario.drome
Hi, Though it sounds to a tipical flash security enforcemente problem, Could you be more specific? have you got any error? Regards

[flexcoders] Re: examples of advanced datagrid functions (paging/filters)

2007-05-29 Thread dario.drome
Hi Derrick, FDS handles that issue very well (I'm not sure if you are willing to use Flex Data Services.) Also you will find a very illustrative set of articles from Matt Chotin blogs: http://weblogs.macromedia.com/mchotin/archives/2004/03/large_data_sets. cfm See if this helps Regards

[flexcoders] Re: How to get the target node in dragEnter()

2007-05-29 Thread dario.drome
Tracy, Possibly, if you implement dragEnter in a tree item renderer, then you can get the data's reference that you are looking for. Let me know if you have success. Regards.

[flexcoders] ByteArray.readMultiByte bug on Macintosh?

2007-05-16 Thread dario.drome
Hi, I have isolated a problem that appears only when a SWF (built using Flex 2.0.1) runs under Macintosh: The flex application reads a binary data package (serialized on a windows server) using an URLLoader In that binary stream the server serialize things like numbers, single bytes and

[flexcoders] Re: Convert ByteArray to Bitmap

2007-01-30 Thread dario.drome
I agree with Franto friend: You need to know something about the bytearray you are receiving, i.e. format, disposition, etc. Most of image formats have a kind of header where you could find its width, height and so on. Once you know the dimensions and the format, you would need to use the

[flexcoders] Application's creationPolicy

2007-01-29 Thread dario.drome
Hi guys, As far as I understand, the Application is a container and containers have a creationPolicy that affect to the moment where container's chidren are instantiated. Moreover, there are many examples showing how to createChildrenFromDescriptor. The problem comes when one (me) need to defer

[flexcoders] Re: e4x - attribute based selector

2007-01-26 Thread dario.drome
It is not possible. You will need to perform that kind of selection by yourself (i.e. transversing the xml tree) --- In flexcoders@yahoogroups.com, Shailesh Mangal [EMAIL PROTECTED] wrote: All, I have a following xml structure retrieved from server root parent name=good

[flexcoders] Re: Posting PNG to server

2007-01-25 Thread dario.drome
Try this bellow, it is working for me (though I do not use PHP in server side, I use an ASP page.) P.S.- Any help on message #61263?... I'm also in deadline function upLoadRemote(endpointURL:String, binData:ByteArray):void { var loader:URLLoader; var request:URLRequest;

[flexcoders] Re: Customizing the index.template.html wrapper

2007-01-12 Thread dario.drome
, dario.drome dario.drome@ wrote: Hello Flexcoders, I'm trying to figure out if there is a way to change the usual behaviour of the flex builder's generated html wrapper: I want that the final html hosting my swf is an html generated by an aspx page on the server. Thus, I would like

[flexcoders] Drawing a custom component in offscreen

2007-01-12 Thread dario.drome
Hello, I would like to know if it is possible to draw a component in a Bitmap. I have a custom component that graphically render some data tha user has input. I do no want to display it on screen but I would need to convert it to bimap data and send it to the server for storing. I am able to do

[flexcoders] Customizing the index.template.html wrapper

2007-01-11 Thread dario.drome
Hello Flexcoders, I'm trying to figure out if there is a way to change the usual behaviour of the flex builder's generated html wrapper: I want that the final html hosting my swf is an html generated by an aspx page on the server. Thus, I would like to configure FlexBuilder in such a way that