[flexcoders] Re: Flex 4 layout documentation for spark ActionScript components

2010-06-03 Thread Florian
Hi Alex, i coded a short example. http://www.box.net/shared/knmjmazcvv The zip file contains 3 files: HelloWorld.mxml (the application), MyComponent.as and MySkin.mxml. If you remove the comment in line 42 in MySkin.mxml, you'll notice that the measuring is done correctly, as far as i

[flexcoders] How to upload a file with FileReference ?? Any help please :( :(

2010-06-03 Thread Nini7016 Nini7016
Hello In my application, i have to upload a local file and send it to a server. There is my code : private const FILE_UPLOAD_URL:String = http://www.YOUR-WEBSITE-HERE.com/fileref/uploader.cfm;; private function init():void {

Re: [flexcoders] How to upload a file with FileReference ?? Any help please :( :(

2010-06-03 Thread claudiu ursica
I might be reading this the wrong way but in FILE_UPLOAD_ URL you should put the path to the server script that will save your file on the server. C From: Nini7016 Nini7016 nahloulaha...@hotmail.com To: flexcoders@yahoogroups.com Sent: Thu, June 3, 2010

RE: [flexcoders] How to upload a file with FileReference ?? Any help please :( :(

2010-06-03 Thread Nini7016 Nini7016
First of all, thank you very very much to answer me :) So, here i must create a class Java which uplod the file ?? isn't it ?? To: flexcoders@yahoogroups.com From: the_bran...@yahoo.com Date: Thu, 3 Jun 2010 01:59:51 -0700 Subject: Re: [flexcoders] How to upload a file with FileReference ??

Re: [flexcoders] Blocking

2010-06-03 Thread Oleg Sivokon
You can load it with JavaScript synchronously, ExternalInterface is also synchronous, however, it is possible that you will run out of time and the application will crash because of that. Because, even though you can try-catch timeout error, if the function that produced the error won't exit, you

[flexcoders] Re: Binding checkbox item renderer with XMLList item

2010-06-03 Thread Amy
In answer to question 3, check out the comments here http://livedocs.adobe.com/flex/3/html/help.html?content=celleditor_4.html to see how to fix CheckBox so it works properly as a DropInListItemRenderer. --- In flexcoders@yahoogroups.com, Asif Nawaz aasif...@... wrote: Let we have following

[flexcoders] flex SSL facebook graph api and IE

2010-06-03 Thread fotis.chatzinikos
Hello all ... Anybody playing with Facebook's new graph api? I have an application that uses: https://graph.facebook.com/me?access_token=...token here... To get the logged in user's data (name, surname ,...) Firefox, chrome it works perfectly in IE i get an IOError without any descriptive

[flexcoders] When is there an update to flexbuilder that fixes these bugs on OSX

2010-06-03 Thread Patrick
1. De-selecting build automatically, still builds automatically 2. Refactoring - it's total crap. Sorry, but it screws up my project and misses all kinds of files while eclipse using java does this perfectly and fast, flex never gets this right 3. Copying and pasting multiple files into the

[flexcoders] DateField problem

2010-06-03 Thread Goutham
Hi I have a date stored in the database along with other details. have a datagrid that shows all the details, clicking on a row pops up a titlewindow showing all the details of that row which can be editable as in a form. the problem is, I am not able to fill the datefield from the value in

[flexcoders] Need a cairngorm sample app with source code

2010-06-03 Thread K~SATHYAN~M
Hi flexers, I am new to cairngorm.. i have using php and mysql as backend for flex + cairngorm framework.. But i didn't get anything as code to pass data as follows.. Flex + Cairngorm -- XML -- PHP + MYSQL Is it possible..? It is possible i think.. But i didn't get a sample code yet..

[flexcoders] Combobox in ItemEditor

2010-06-03 Thread Goutham
Hi, I have a combobox in item editor in a datagrid. the combobox is populated with a dataprovider. All this works fine until I place this combobox inside a gird working code mxml code - datagridcolumn itemeditor component combobox dataprovider={outerDocument.data}

Re: [flexcoders] Re: Comobox/DataGrid does not display data

2010-06-03 Thread Akshar Kaul
can you share the whole code or some sample code. Akshar Kaul On Tue, Jun 1, 2010 at 22:31, md_ars mdar...@gmail.com wrote: Thanks Ashkar for the reply, I had already tried but it didn't work --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Akshar Kaul akshar.k...@...

[flexcoders] question on validation

2010-06-03 Thread satish k
Hi, I was trying to implement the below thing but i could not get it can you please help me out with this xxx will pre-populate the text box with the customer name and the CLf associated with the PNG using the following format: customer name_CLF • Spaces in the customer name shall be

Re: [flexcoders] Re: Showing tooltip on the line

2010-06-03 Thread Akshar Kaul
i got a solution to this problem. Make few changes in the drawtheline component. Code : ?xml version=1.0 encoding=utf-8? mx:Box xmlns:mx=http://www.adobe.com/2006/mxmlhttp://www.google.com/url?sa=Dq=http://www.adobe.com/2006/mxmlusg=AFQjCNEtcLsIWFCjy8rhxFxIJ8W2RHUpyw width=400 height=300

Re: [flexcoders] Re: Showing tooltip on the line

2010-06-03 Thread Akshar Kaul
i am creating the line using graphics methods. i dont think they support event listeners. Akshar Kaul On Tue, Jun 1, 2010 at 19:09, valdhor valdhorli...@embarqmail.com wrote: If it were me, I would create a custom tooltip; add a mouseover event listener to your line; check the color

[flexcoders] spark Panel titleBar equivalent

2010-06-03 Thread bhaq1972
In flex 3 I used do add buttons to MyPanel (extends mx.containers.Panel) titleBar. var button:Button = new Button(); this.titleBar.addChild(button); whats the equivalent to this in Spark? one way i'm thinking of is using a basic layout, and positioning the buttons where I want. Just wanted

[flexcoders] Re: Comobox/DataGrid does not display data

2010-06-03 Thread md_ars
Hi Ashkar, It was happening due to sequence of Events in MATE framework. ComboBox issue is resolved. Though working but I am still not figure out how to handle sequencing of events in MATE. Thanks anyway for the follow up. Arshad --- In flexcoders@yahoogroups.com, Akshar Kaul akshar.k...@...

Re: [flexcoders] Blocking

2010-06-03 Thread Richard Rodseth
I was able to make an adjustment to the surrounding code, so this is no longer an issue for me, but thanks for the information. On Thu, Jun 3, 2010 at 3:55 AM, Oleg Sivokon olegsivo...@gmail.com wrote: You can load it with JavaScript synchronously, ExternalInterface is also synchronous,

Re: [flexcoders] spark Panel titleBar equivalent

2010-06-03 Thread Alex Harui
Use a Custom skin for the Panel On 6/3/10 8:13 AM, bhaq1972 mbha...@hotmail.com wrote: In flex 3 I used do add buttons to MyPanel (extends mx.containers.Panel) titleBar. var button:Button = new Button(); this.titleBar.addChild(button); whats the equivalent to this in Spark? one way i'm

Re: [flexcoders] Combobox in ItemEditor

2010-06-03 Thread Alex Harui
One way is to set an id=”foo” on the ComboBox, then use object.data = ComboBox(Grid(event.currentTarget.itemEditorInstance).foo).text; On 6/2/10 1:00 PM, Goutham goldensu...@yahoo.co.in wrote: Hi, I have a combobox in item editor in a datagrid. the combobox is populated with a

Re: [flexcoders] DateField problem

2010-06-03 Thread Alex Harui
Set selectedDate, not text? On 6/2/10 1:08 PM, Goutham goldensu...@yahoo.co.in wrote: Hi I have a date stored in the database along with other details. have a datagrid that shows all the details, clicking on a row pops up a titlewindow showing all the details of that row which can be

[flexcoders] Re: DateField problem

2010-06-03 Thread Goutham
thank you I actually tried it first, the problem is the date is not set in a method call, dont know why, I tried to set it in the creation complete and it works fine. Thank you --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: Set selectedDate, not text? On 6/2/10 1:08 PM,

[flexcoders] horizontal scrolling using keyboard

2010-06-03 Thread nhid
Hello, Does anyone has an idea how to implement horizontal scrolling on a datagrid using the keyboard? Thank you...

[flexcoders] Event before preinitialize

2010-06-03 Thread dorkie dork from dorktown
Is there an event before application preinitialize that I can listen for in the application? JP

[flexcoders] Modify Flex ComboBox DataProvider

2010-06-03 Thread Angelo Anolin
I am finding some issues when I am trying to change a combobox's data provider. I have a checkbox that would trigger whether a combobox would use an xmlListCollection of all Locations (xmllcAll) or an XMLListCollection of just a subset of locations (xmllcSubset). In the change event of my

[flexcoders] Best practice - remote calls from a flex library

2010-06-03 Thread gareth_arch
I'm trying to figure out best practice for making remote calls to my server from components that are in a flex library. e.g. I have a postal code lookup component. This component will make require a user to enter a state, which will get all cities for that state (or counties, or metro areas,

Re: [flexcoders] Best practice - remote calls from a flex library

2010-06-03 Thread Oleg Sivokon
I'm afraid you won't find a solution that covers all cases. We at some point decided to not have any business / value objects and return the SQL data unparsed parse it on the client, of course not the other way, when sending the data. This may be really controversially to the best practices, but

Re: [flexcoders] Best practice - remote calls from a flex library

2010-06-03 Thread Angelo Anolin
Looks more like you are trying to achieve inversion of control principle. Instead of the component calling invoking a method of an object, the object is *smart* enough to know when to invoke the call and provide data to the calling component. i think your application should do just fine

[flexcoders] DataGrid error when scrolling to last row and starting item edit

2010-06-03 Thread technusiast
Hi, I have a subclass of the DataGrid, with two columns, each with its own renderer. One renderer has a button, which when clicked, starts item edit (consisting of a TextInput). Consistently, when there are too many rows for one pageful, scrolling down to the last row and starting item edit,

[flexcoders] Re: Combobox in ItemEditor

2010-06-03 Thread Goutham
Hi Alex, thank you, I tried it using an id for the combobox, gives me an error Access of possibly undefined property foo through a reference with static type mx.containers:Grid and there is also another problem, when I click on the column in the datagrid, the itemeditor changes to a combobox

RE: [flexcoders] Event before preinitialize

2010-06-03 Thread Gordon Smith
I don't think so. How early do you need it? Why isn't preinitialize early enough? - Gordon From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of dorkie dork from dorktown Sent: Thursday, June 03, 2010 12:59 PM To: flexcoders@yahoogroups.com Subject: [flexcoders]

[flexcoders] Re: Best practice - remote calls from a flex library

2010-06-03 Thread gareth_arch
I guess it's a little bit of IOC. It's really based on environment as well, so we get the data from different places based upon where the code is deployed (dev, stg, prod, qa, etc). In some of our other apps, we have the application set up to get postal codes, but that then starts assuming

[flexcoders] Re: Best practice - remote calls from a flex library

2010-06-03 Thread gareth_arch
Yeah, I'm not really concerned about VOs vs queries, as that all depends on the situation. I'm really just trying to figure out how to get that information into the library without coupling the component to an app or if there's even anything bad about putting the service calls for getting the

Re: [flexcoders] Event before preinitialize

2010-06-03 Thread dorkie dork from dorktown
it's taking a couple of seconds to reach the preinitialize event. according to this slideshow http://www.slideshare.net/michael.labriola/dense-and-hot-360-flex slide 24, 25 etc there are a couple things going on that i don't need early on. so i'd like to check the contents of a shared object or

Re: [flexcoders] Event before preinitialize

2010-06-03 Thread Kerry Thompson
it's taking a couple of seconds to reach the preinitialize event. according to this slideshow http://www.slideshare.net/michael.labriola/dense-and-hot-360-flex slide 24, 25 etc there are a couple things going on that i don't need early on. so i'd like to check the contents of a shared

Re: [flexcoders] Event before preinitialize

2010-06-03 Thread dorkie dork from dorktown
That's what I'd like to do. So I added an event listener to the application preinitialized event like so: s:Application preinitialize=myHandler() / the problem is, in my application it takes a while to get to that event. so that's why I'm trying to find another event that happens sooner than

Re: [flexcoders] Event before preinitialize

2010-06-03 Thread Andriy Panas
Hi Judah, AFAIK, you have 2 approaches to execute the code before preinitialize event is fired. 1) Mark you class with metadata [Mixin] and put the code in need into method public static function init(systemManager:ISystemManager): See HowTo create your developer ToolBox with Mixins blog

Re: [flexcoders] DataGrid error when scrolling to last row and starting item edit

2010-06-03 Thread Alex Harui
Can you reproduce the problem with a generic two-column DataGrid? On 6/3/10 3:48 PM, technusiast technusi...@yahoo.com wrote: Hi, I have a subclass of the DataGrid, with two columns, each with its own renderer. One renderer has a button, which when clicked, starts item edit (consisting

Re: [flexcoders] Modify Flex ComboBox DataProvider

2010-06-03 Thread Alex Harui
There’s a bug like that in Flex 3.5. Older and newer versions don’t have that problem. On 6/3/10 1:56 PM, Angelo Anolin angelo_ano...@yahoo.com wrote: I am finding some issues when I am trying to change a combobox's data provider. I have a checkbox that would trigger whether a combobox