Re: [flexcoders] Tutorial zoom in a linechart

2007-02-07 Thread Mikhail Shevchuk
I suppose that it is not difficult to implement. During zooming, just store smaller (zoomed area, relatively to the whole chart) array collection and change a dataprovider for the component. 2007/2/7, bcncgn3 [EMAIL PROTECTED]: I have linechart and i want that the user can zoom in in the

Re: [flexcoders] Tutorial zoom in a linechart

2007-02-07 Thread Brendan Meutzner
As Mikhail pointed out, if by zoom you mean changing the range shown along the horizontal axis, this example should help. Just right click to view the source: http://examples.adobe.com/flex2/inproduct/sdk/dashboard/dashboard.html Brendan On 2/7/07, Mikhail Shevchuk [EMAIL PROTECTED] wrote:

Re: [flexcoders] enabled={Boolean(myDataProvider.length)}

2007-02-07 Thread Roman Protsiuk
Well, technically Boolean(-1) == true. Though, it's probably not your case but... R. On 2/6/07, Ralf Bokelberg [EMAIL PROTECTED] wrote: I would prefer the following: *enabled={ myDataProvider.length 0} * It's shorter and communicates the intention better imho Cheers, Ralf. On 2/6/07,

[flexcoders] Poor man's PUSH technology (aka reload data using timer)

2007-02-07 Thread oneproofdk
I am building a internal app for my company, where we would eventually pursue FDS for it's push capabilities - updating the users view when backend data changes. Until then, I'm thinking about making a function that will get triggered by a timer, e.g. every 60 seconds, it should retrieve data

RE: [flexcoders] Alex's Distortion effects

2007-02-07 Thread Alex Uhlmann
Hi there, SimpleFlip is just an MXML component, which contains the setup code for the effects. There are various examples provided in the download like that. Check out the Creating and Extending Flex 2 Components documentation, chapter Creating MXML components for more information. Best, Alex

[flexcoders] Re: Filters with DataGrid - Excel

2007-02-07 Thread sanjaypmg
Hi, I have started this functionality and even I got success but upto an extent and now I am stucked. I have rendered the header and placed a comboBox using testCombo.mxml. Here I have a few queries like: 1. How can I get rendered header's column Index so that I can the unique value of that

Re: [flexcoders] Semi-noobie architectural style question

2007-02-07 Thread Ralf Bokelberg
You could store it as a member of your Application. Then you are able to access it by parentApplication.controller Cheers, Ralf. On 2/7/07, rumpleminzeflickr [EMAIL PROTECTED] wrote: Hi there, I have a main app, with a lot of sub custom components. I've created a singleton class that i'm

[flexcoders] Re: Tutorial zoom in a linechart

2007-02-07 Thread g_odds
Everywhere seems to use the slicing the data set style approach. Why would one not set the minimum and maximum of an axis to do this? Graham --- In flexcoders@yahoogroups.com, Brendan Meutzner [EMAIL PROTECTED] wrote: As Mikhail pointed out, if by zoom you mean changing the range shown along

Re: [flexcoders] Re: Tutorial zoom in a linechart

2007-02-07 Thread Brendan Meutzner
I would guess that performance on rendering the chart would be faster passing it a smaller dataset to work with... setting the minimum and maximum would still require that the chart filter out non-visible data... just a guess though... Brendan On 2/7/07, g_odds [EMAIL PROTECTED] wrote:

Re: [flexcoders] Returning 'this' from an overridden method?

2007-02-07 Thread Paul Andrews
- Original Message - From: David_Stafford [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, February 07, 2007 2:12 AM Subject: [flexcoders] Returning 'this' from an overridden method? Please pardon this simple-minded question from an AS3 novice. My base class often

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

2007-02-07 Thread Tom Chiverton
On Tuesday 06 Feb 2007, Paul Andrews wrote: I saw rather a neat powerbook the other day and the idea of using a powerbook appealed until I realised I wouldn't be able to have flex on my main PC and on a Mac Powerbook with the same licence. There's always Parllel / VMWare to run Windows on

Re: [flexcoders] Open web-service in Flex application

2007-02-07 Thread Tom Chiverton
On Monday 05 Feb 2007, umumpaul wrote: Can I have a Flex Application which contain several methods with can open as web-service and let other to call the service to change the state of Flex application? Are you asking if a Flex app can act as a web service server ? If so, no. If no, can I

[flexcoders] Re: Tutorial zoom in a linechart

2007-02-07 Thread g_odds
That seems like a reasonable answer, yeah. I'm doing it using the min-max setting and it seems to work fine with big datasets. Admittedly it all starts to get a bit slow when there are 3 or more series (each has thousands of data points) but it has other side-effects that are desirable in my

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

2007-02-07 Thread Paul Andrews
- Original Message - From: Tom Chiverton [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Wednesday, February 07, 2007 9:37 AM Subject: Re: [flexcoders] More Mac licensing issues: [WAS:: Max OS X Flex Builder 2.01 License Issue - still waiting On Tuesday 06 Feb 2007, Paul

[flexcoders] Re: Open web-service in Flex application

2007-02-07 Thread umumpaul
Thanks for the answer. to my 2nd question, if it is possible can u name some related library name or method name? --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Monday 05 Feb 2007, umumpaul wrote: Can I have a Flex Application which contain several methods with

[flexcoders] Re: RIADEV-FLEXCHINAGROUP

2007-02-07 Thread Tim Hoff
Hello Ju, I'm a developer in America. As a semi-regular subscriber/contributer to this list, I greatly appreciate hearing about life and Flex experiences from everyone on this planet. It warms my heart, that perhaps Flex could be a small building block to help us all realize our

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

2007-02-07 Thread barry.beattie
I think that Adobe should seriously consider revising their licensing to work on multiple platforms. one would think so, yes, especially since what we're talking about is just a plug-in to a cross-platform (and free) IDE. There are plenty of people that own Mac laptops and Windows desktops

Re: [flexcoders] Poor man's PUSH technology (aka reload data using timer)

2007-02-07 Thread Adam Royle
Hi Mark, Although I have no experience with this process, the following came to my mind when pondering the same issue as yours. My plan was to keep a history table which tracks all of the updates and additions to data (would be simply recording row ids - not the entire row), and records a

[flexcoders] Re: FDS DataService.commit() doesn't trigger responder result()...?

2007-02-07 Thread simonjpalmer
Thanks Jeff, you're a star. I'll have a go at this. For debugging I have been looking at the Eclipse wtp all-in-one package which claims to be the dev environment for App Server code. I just downloaded it from Eclipse and was planning on rebuilding today. If I turn anything useful up I'll

[flexcoders] Re: Poor man's PUSH technology (aka reload data using timer)

2007-02-07 Thread oneproofdk
Hi Adam. Thanks for your reply - I like your idea about keeping the pushed data to a minimum. My original idea was to get the entire dataset and then loop through it and compare - your idea is way better. I'm really in need of some examples of a timer function, and perhaps some code to make the

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

2007-02-07 Thread Shannon Hicks
And you can't run the same license of Flex Builder on two windows computers, either... One license per computer, what does it matter that one's a PC and the other's a Mac? Shan Paul Andrews wrote: I saw rather a neat powerbook the other day and the idea of using a powerbook appealed until

RE: [flexcoders] Text Character Spacing

2007-02-07 Thread Jack Caldwell
Peter: Sometimes things are right in front of you or should I say me. Thanks, Jack _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Peter Baird Sent: Tuesday, February 06, 2007 4:26 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Text

RE: [flexcoders] detect XML node on click in Tree

2007-02-07 Thread Cashorali, Tanya M.
Thank you! Worked like a charm. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Tuesday, February 06, 2007 1:57 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] detect XML node on click in Tree

[flexcoders] help with scrollTipFunction on List

2007-02-07 Thread Mark
on this board I found someone that created the scrollTipFunction like this: public function myLabelFunc(dir:String, pos:Number):String { this.selectedIndex = pos + 7; return this.selectedItem.data; } It works but at the same time it's selecting that index. Is there another way to show

[flexcoders] is there a way to run Applet in Flash

2007-02-07 Thread huangnankun
As the subject implies.. I'm trying to find a way to embed a java applet within a flex application. I know that java can take over a rectangular area within a HTML page, but is there a way to have embed an applet within flash?

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

2007-02-07 Thread Matt Chotin
We definitely appreciate the desire for a dual-license, unfortunately it's just something we can't offer at this time. We continue to examine licensing options and will keep things like this in mind for the future. Matt From: flexcoders@yahoogroups.com

[flexcoders] Tree XMLListCollection woes

2007-02-07 Thread durnelln
Hi all, I am trying to dynamically build and display a sorted tree, i.e. create branches/leaves purely in actionscript. I *thought* that using XML would make this easy due to its hierarchical nature and Flex's e4x extensions (which should allow me to easily locate nodes in the tree etc

RE: [flexcoders] Text Character Spacing

2007-02-07 Thread Jack Caldwell
Peter: Sometimes things are right in front of you or should I say me. Thanks, Jack _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Peter Baird Sent: Tuesday, February 06, 2007 4:26 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Text

RE: [flexcoders] Intellectual property or licensing of posted/blogged work

2007-02-07 Thread Matt Chotin
I believe most of Ely's examples he includes a license or says on his blog that it's Creative Commons. I don't know what the law states, but I believe most people when posting will specify rules if they especially don't want you to incorporate. Full-blown components should include a license,

Re: [flexcoders] Returning 'this' from an overridden method?

2007-02-07 Thread shaun
Hi David, I to am an AS3 novice. Wrote my first(trivial) action script file about an hour ago. :) A couple of ideas. Not sure if they will be of much help to you, but incase you hadnt considered them already.. . you could return the value returned by the call to super. ie) Camera c =

[flexcoders] Re: Filters with DataGrid - Excel

2007-02-07 Thread ben.clinkinbeard
Regarding #2, this should help: http://www.returnundefined.com/2006/11/creating-truly-reusable-renderers-with-classfactory/ Most of your other questions should be pretty simple to find in the documentation for DataGrid and DataGridColumn. HTH, Ben --- In flexcoders@yahoogroups.com, sanjaypmg

Re: [flexcoders] Re: Poor man's PUSH technology (aka reload data using timer)

2007-02-07 Thread Adam Royle
This is some code I have written for a similar project... It simply runs through the dataProvider searching for a matched id. If it finds the id, then it replaces the row, otherwise it adds a new row at the end of the dataProvider. Since you want to track add, update and delete, you'll probably

Re: [flexcoders] Semi-noobie architectural style question

2007-02-07 Thread Troy Gilbert
That's usually the point of the singleton pattern, that it provides a global access point for a variable (as well as enforcing a single instance of a class). Essentially, singleton hijacks a language's type system to use it to deliver globals. Of course, in languages like C++ I kinda consider

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

2007-02-07 Thread Troy Gilbert
I'd vote for cross-platform licenses as well, for all of Adobe's products. I've got a MacBookPro and a PC desktop that I develop on. I'd love to be able to run everything natively on my MacBook, but alas, I sometimes *have* to work on the PC so I have to license all of my Adobe products for

[flexcoders] Building the FDS HibernateManager class in Eclipse

2007-02-07 Thread simonjpalmer
Hi, I am trying to debug the FDS HibernateAssembler. I have put the HibernateAssembler HibernateManager HibernateType java files into my own package and adjusted dependencies accordingly. I am unable to build because of the following problem. The HibernateManager.getSession() method

Re: [flexcoders] is there a way to run Applet in Flash

2007-02-07 Thread Troy Gilbert
The only way is to fake it by having the surrounding HTML webpage float an IFRAME over your Flash applet. Same technique folks use for displaying web pages inside of a Flash app. I saw a demonstration somewhere of a Flash app that had transparency. I believe the Flash player allows for a

Re: [flexcoders] Re: Poor man's PUSH technology (aka reload data using timer)

2007-02-07 Thread Johannes Nel
another option you could consider is using red5 (www.osflasg.org/red5) for the remote shared object. On 2/7/07, Adam Royle [EMAIL PROTECTED] wrote: This is some code I have written for a similar project... It simply runs through the dataProvider searching for a matched id. If it finds the

[flexcoders] View State - How to call a function on a custom component???

2007-02-07 Thread paulwelling
Hello, I would like to be able to call a function on a custom component when adding a child to a View State. There is a setProperty tag. Any way of call a function on that component from within the AddChild tag of a View State??? Thanks, Paul

[flexcoders] Resources to Flex Application Architecture articles?

2007-02-07 Thread Private Romeo
Hi everybody, we are looking for (online) resources related to how to best structure (larger) Flex applications. Most of the great training and tutorial material available tends to focus on how to construct more complex controls, how to implement special effects or how to solve

Re: [flexcoders] Semi-noobie architectural style question

2007-02-07 Thread Ralf Bokelberg
The singleton pattern is dangerous, as are global variables. The problem is, you can't reuse any of the singleton's users without using the singleton. I guess, that's the reason why Brett was asking for a poor man's implementation of IoC Cheers, Ralf. On 2/7/07, Troy Gilbert [EMAIL

[flexcoders] Re: RemoteObjects for Flex using AS3

2007-02-07 Thread michael_ramirez44
Shannon, Valid but Bad example. Try this. employeeRO.getOperation(methodName).send (deptComboBox.selectedItem.data); --- In flexcoders@yahoogroups.com, Shannon Jackson [EMAIL PROTECTED] wrote: That is not the line that is failing; that is the line that binds the event listener to the

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

2007-02-07 Thread Paul Andrews
- Original Message - From: Shannon Hicks To: flexcoders@yahoogroups.com Sent: Tuesday, February 06, 2007 5:24 PM Subject: Re: [flexcoders] More Mac licensing issues: [WAS:: Max OS X Flex Builder 2.01 License Issue - still waiting And you can't run the same license of

[flexcoders] Object.addEventListener vs.. adding them inline via MXML

2007-02-07 Thread Mike Anderson
Hello All, I have a problem, and maybe I am overlooking something here... What I need to do, is attach multiple functions, to an Event for a particular Component. Using inline MXML, this is easy - you just separate out each function, with a semi-colon and list them one after another. BUT, I am

Re: [flexcoders] Poor man's PUSH technology (aka reload data using timer)

2007-02-07 Thread Shannon Hicks
You don't necessarily need FDS for push technology. You should read up on the XML Socket. Shan oneproofdk wrote: I am building a internal app for my company, where we would eventually pursue FDS for it's push capabilities - updating the users view when backend data changes. Until then, I'm

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

2007-02-07 Thread Shannon Hicks
Well, I stand corrected. I'd like my dual-OS license now :) Shan Paul Andrews wrote: - Original Message - *From:* Shannon Hicks mailto:[EMAIL PROTECTED] *To:* flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com *Sent:* Tuesday, February 06, 2007 5:24 PM

Re: [flexcoders] Load Flex app (swf) into Flash App

2007-02-07 Thread Greg Hesla
I've thought about this some more - would it be possible to flip this around and build my containers in Flex and load our old Flash SWFs in them? This leads me to another question - how would these dynamically- loaded swf files communicate with their container Flex swf files? In Flash, I

[flexcoders] Secure .Net Web Services and Flex 2

2007-02-07 Thread Nick Collins
I'm looking at communicating with our internal .Net web services with Flex 2 but I need it to be secure. Our .Net developers are saying that I need to be able to pass a username and password to the server for it to do the Windows authentication but I don't see how I would do that with the

[flexcoders] Re: Object.addEventListener vs.. adding them inline via MXML

2007-02-07 Thread dougmccune
You can make as many calls to addEventListener as you want. So you can add 2 or more event listeners that get triggered for the same event. So something like: myButton.addEventListener(MouseEvent.CLICK, myFunction1); myButton.addEventListener(MouseEvent.CLICK, myFunction2);

[flexcoders] Re: Returning 'this' from an overridden method?

2007-02-07 Thread dougmccune
Just from first glance I'd suggest not following the design pattern of returning the object from the function like you're doing. It seems like the only reason you're doing it is to make it so you can write a bunch of statements all on one line. In terms of someone else reading your code, I think

RE: [flexcoders] Load Flex app (swf) into Flash App

2007-02-07 Thread Andrew Trice
Yes, you can do that. You can communicate between the embedded Flash 8 and Flex (Flash 9) swf files using the localConnection object. More info can be found at: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=749eaa47 Hope that helps, -Andy

[flexcoders] Re: java.lang.Runtime complete message?

2007-02-07 Thread Doug Lowder
This is due to the way Runtime.exec() works in Java. There's a good article about it here: http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html I'm not a ColdFusion programmer, so unfortunately I don't have any

RE: [flexcoders] Intellectual property or licensing of posted/blogged work

2007-02-07 Thread Ely Greenfield
Since it was partially some of my code that kicked off this discussion... In general, almost everything published on my blog is published under the MIT open source license, which was included earlier in this thread. Very occasionally, I'll publish something that's not available for use. I

RE: [flexcoders] Re: Object.addEventListener vs.. adding them inline via MXML

2007-02-07 Thread Mike Anderson
Hey Doug, Well, that's simple enough. Probably so simple, that I simply overlooked doing it that way. Real quick, would it be possible to also do it this way? Object.addEventListener( click, [funct1, funct2, funct3] ); I know I could just try it, but from a methodology point of view, it

Re: [flexcoders] Re: Object.addEventListener vs.. adding them inline via MXML

2007-02-07 Thread Michael Schmalle
Object.addEventListener( click, [funct1, funct2, funct3] ); No, 1. as3 is strongly typed which means the method expects a function when it is getting an array. 2. addEventListener wouldn't even know what to do with an array. You could, if you had your own subclass override addEventListener to

Re: [flexcoders] Re: Object.addEventListener vs.. adding them inline via MXML

2007-02-07 Thread Doug McCune
Nope, I think the second parameter must be a function, trying to pass an array of functions should fail. Also, just a note: it's better practice to not use the string of the event listener like click but rather the variable like MouseEvent.CLICK. They really do the exact same thing in

[flexcoders] Validator: disable active validator

2007-02-07 Thread fritzdimmel
Hi! I've a form with many controls (TextInputs, ...) to validate. Everything works fine but I can't figure out, how to accomplish this: I have, let's say, a TextInput, and the validation for this returns false. The textinput gets a red border. Now I want to have a possibility to disable the

RE: [flexcoders] Re: Tutorial zoom in a linechart

2007-02-07 Thread Ely Greenfield
Hi Graham. That would work just fine. It forces the chart to do some extra work, b/c it still has to process those out of bounds data values far enough to decide they're out of bounds. So be alert for performance issues. But other than that, it should work fine. Ely.

[flexcoders] Re: Validator: disable active validator

2007-02-07 Thread maunger
Hey Fritz, what's the 'timing' on this? I mean, under what conditions do you want to disable the validation? Mitch --- In flexcoders@yahoogroups.com, fritzdimmel [EMAIL PROTECTED] wrote: Hi! I've a form with many controls (TextInputs, ...) to validate. Everything works fine but I can't

[flexcoders] Re: Serious Bug in HistoryManager (introduced in latest release?)

2007-02-07 Thread zenwarden
I can't test the fix because I cannot replicate the bug. It has mysteriously vanished...The next time I see it, I will try the suggested fix and report back. Also sorry if I ranted in my last post. Just don't like to see any problems with my new favorite technology. --- In

[flexcoders] design area - no scrollbars

2007-02-07 Thread kovalenkojane
Hello, I have quite a large design that doesn't fit into the the design area. Unfortunetly there are no scrollbars for me to look at the whole area. Doesn anyone have the same problem? How do you fix it? Thanks

Re: [flexcoders] Re: Object.addEventListener vs.. adding them inline via MXML

2007-02-07 Thread Michael Schmalle
could be renamed in a future release to something like mouseClick and then your code wouldn't work. Or even worse, you write cllck, and then for days even months, you think your app isn't working or 'works' a certain way. Come to find out the event wasn't even getting captured. :) This is

RE: [flexcoders] View State - How to call a function on a custom component???

2007-02-07 Thread Sho Kuwamoto
I don't believe there is a way to do this. Is your function something that you could turn into a setter? -Sho From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of paulwelling Sent: Wednesday, February 07, 2007 6:50 AM

[flexcoders] 2nd datagrid - no headers, wrong size

2007-02-07 Thread Mike_Robinson_98
I've been spending a lot of time trying to overcome this issue without any success. Hopefully someone out there has a suggestion. I have datagrid within a vbox in a component. The grid takes up as much space as is available (height='100%'). There is another state which does the following: 1)

RE: [flexcoders] Returning 'this' from an overridden method?

2007-02-07 Thread Sho Kuwamoto
The short answer is that there is no way to do what you want for the time being. What you are looking for is a language feature called covariant return types. In certain languages (C++, Java) you can have your subclass redefine the type that is returned by a method. This would be a great

Re: [flexcoders] Returning 'this' from an overridden method?

2007-02-07 Thread Ralf Bokelberg
Nice to know the name of this feature. Just lately somebody asked me the same question. He also came from a Java background. Any chance we will see it in the future? Cheers, Ralf. On 2/7/07, Sho Kuwamoto [EMAIL PROTECTED] wrote: The short answer is that there is no way to do what you want

Re: [flexcoders] Re: Object.addEventListener vs.. adding them inline via MXML

2007-02-07 Thread Doug McCune
Mike, Looks like you're speaking from personal experience :) From now on I'll make my custom components dispatch click and cilck and cllck and clik etc etc. The google suggest approach to event dispatching. Doug Michael Schmalle wrote: could be renamed in a future release to something

[flexcoders] RemoteObject over HTTPS / SSL

2007-02-07 Thread Piotrowski, John
I have been working on this for a few days and I am stuck. I have an application that is using the Cairngorm Framework and I create 2 RemoteObjects. I got these RemoteObjects to work by relying on the default services-config.xml file on the server (which I don't have access to) and by simply

Re: [flexcoders] Load Flex app (swf) into Flash App

2007-02-07 Thread Greg Hesla
Well, this should do the trick. Thanks much! ~g On Feb 7, 2007, at 11:25 AM, Andrew Trice wrote: Yes, you can do that. You can communicate between the embedded Flash 8 and Flex (Flash 9) swf files using the localConnection object. More info can be found at:

[flexcoders] basic exception handling

2007-02-07 Thread dantmcgowan
All, When I am catching exceptions the catch seems to be ignored and the actionscript error window pops up. For example if I have a simple service like this: mx:HTTPService id=simpleService url=http://example.com/someservice/; useProxy=false

RE: [flexcoders] Returning 'this' from an overridden method?

2007-02-07 Thread Gordon Smith
That's up to the ECMAScxript committee. But since I think an Adobe engineer chairs or co-chairs it, we have some influence. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ralf Bokelberg Sent: Wednesday, February 07, 2007

Re: [flexcoders] basic exception handling

2007-02-07 Thread Clint Tredway
there is a fault attribute of the HTTPService tag that you can set to a function. that will catch any faults from the call. On 2/7/07, dantmcgowan [EMAIL PROTECTED] wrote: All, When I am catching exceptions the catch seems to be ignored and the actionscript error window pops up. For example

[flexcoders] WARNING: css type selectors are not supported in components?

2007-02-07 Thread Brian Holmes
I'm getting this warning message since I upgrade to FB 2.01 and i can't seem to get rid of it. I don't have any inline css, but I do have a reference to a style sheet in my application shell. Anybody else out there experiencing this? B.. *** The information in this e-mail is confidential

[flexcoders] navigateToURL bind to datagrid selecteditem

2007-02-07 Thread nasawebguy
I have a linkbutton called Download The downloaded filename is in a datagrid column called uploadedfile. This uploaded filename varies, but the path stays the same www.mydomain.com/synapse/data/7117/documents/#uploadedfile# When the user selects a row in drivergrid, the driver details appear

RE: [flexcoders] basic exception handling

2007-02-07 Thread Peter Farland
Right, the requests made by HTTPService are asynchronous... so you have to wait for events to be dispatched some time later. Any errors that occur prior to actually sending the request are typically caught and dispatched as fault events too so there shouldn't be a need for a try/catch.

[flexcoders] Flex Form Field Focus

2007-02-07 Thread Jagos, Allan
In Flex, when you have focus on a form field and then switch to another web page and then come back you lose focus on that field. HTML form fields retain their focus but Flex apparently do not. Is there some code or property that will allow this? Thanks, Allan M. Jagos Web Developer

[flexcoders] Re: Validator: disable active validator

2007-02-07 Thread fritzdimmel
Hi. I've a form who's creation time is very long (complete dynamically). With this form I want to edit several datasets. If one dataset doesn't validate correctly and I want to edit another, or, let's say, create a new dataset (with empty values!) I don't want to have that any TextInput has a red

RE: [flexcoders] Returning 'this' from an overridden method?

2007-02-07 Thread Sho Kuwamoto
Well, it really depends on the ECMA working group. I would like to get it in, and I will push for it, and I imagine that others will as well. -Sho From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ralf Bokelberg Sent:

RE: [flexcoders] Load Flex app (swf) into Flash App

2007-02-07 Thread Grant Davies
If you are going flash 8 - 9 and back Flash interface looks a bit better than local connection since it can be synchronous.. http://www.flashextensions.com/products/flashinterface.php ... b l u e t u b e i n t e r a c t i v e. .: grant davies .:

[flexcoders] How do i determine when all rendering is complete for added objects in for loop

2007-02-07 Thread scott_flex
I'm parsing an xml document and adding child objects to a VBox. The child components all have a text component which receives text that is set to the htmlText property. So depending on the text the height of the control varies. However, i need to know the height of each control i'm adding (for

Re: [flexcoders] WARNING: css type selectors are not supported in components?

2007-02-07 Thread Michael Schmalle
Hi, In a custom component you cannot have; Button { ... } You have to specify them in the Application. Peace, Mike On 2/7/07, Brian Holmes [EMAIL PROTECTED] wrote: I'm getting this warning message since I upgrade to FB 2.01 and i can't seem to get rid of it. I don't have any inline css,

[flexcoders] Cant catch mouseClick event in the TreeItemRenderer's buttons

2007-02-07 Thread xvirus001
I created 2 buttons in the ItenRenderer of a tree and cant get the click work on those two buttons. I simply wrote something like this. override protected function createChildren():void{ myEditButton = new Button() myEditButton.addEventListener(MouseEvent.CLICK,editNode)

[flexcoders] any interest in an alternative to QTP to automate Flex apps?

2007-02-07 Thread brian.knorr
Automating functional tests is critical to the way we develop software at my company. And there are two big things that stop us from using QTP. 1) It's record and playback - we want to write test scripts 2) It costs a lot of money - we want a tool that is free and community driven At my

RE: [flexcoders] WARNING: css type selectors are not supported in components?

2007-02-07 Thread Brian Holmes
Yeah, I know, I don't have any of that in any components. The only thing is in my application fine, i have a mx:style src=style.css / reference to my style sheet. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Schmalle Sent:

[flexcoders] Re: basic exception handling

2007-02-07 Thread dantmcgowan
Peter, Clint, Thanks. One last question: so in the event handler do I have any access to the exception that was raised (for trace purposes)? Dan --- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: Right, the requests made by HTTPService are asynchronous... so you have

Re: [flexcoders] Re: basic exception handling

2007-02-07 Thread Clint Tredway
yes, a faultEvent is passed which has the info in it. I dont have the exact syntax at the moment. On 2/7/07, dantmcgowan [EMAIL PROTECTED] wrote: Peter, Clint, Thanks. One last question: so in the event handler do I have any access to the exception that was raised (for trace purposes)? Dan

[flexcoders] Re: Populate Tree with data from a query?

2007-02-07 Thread jensen.axel
Malik, I'm not sure if your xml has to be formatted that way, depending on what your working with(if your getting your xml from a service that is already in place, and other code is already using that formatted xml) then you would be forced to use the xml as is... but if at all possible, try

RE: [flexcoders] WARNING: css type selectors are not supported in components?

2007-02-07 Thread Gordon Smith
Is your mx:Style src=style.css tag inside an mx:Application tag or inside something like mx:ApplicationShell? If it is the latter, I think the MXML compiler thinks mx:ApplicationShell is a component rather than an application. - Gordon From:

[flexcoders] Re: How can I test a UIComponent to see if it is user editable?

2007-02-07 Thread gotgoose09
OK, that'll work, but I'll have to add new components I make to the list each time. Oh well... :/ --- In flexcoders@yahoogroups.com, dougmccune [EMAIL PROTECTED] wrote: I don't think there's a good answer to this question. There's no way to figure out via AS whether a component MIGHT dispatch

[flexcoders] Re: Poor man's PUSH technology (aka reload data using timer)

2007-02-07 Thread Alex MacCaw
You could always use a xmlsocket, and then updates would be instantaneous. Have a look at juggernaut http://juggernaut.rubyforge.org/ for some pointers. King's School Bruton Ltd. is a company limited by guarantee, registered in England, No. 3304693, registered Charity No. 1071997.

Re: [flexcoders] Resources to Flex Application Architecture articles?

2007-02-07 Thread Bjorn Schultheiss
In terms of an architecture framework, Cairngorm is highly recommended http://labs.adobe.com/wiki/index.php/Cairngorm A lot of documentation has been released from adobe on the best practices regarding using Flex 2, check out http://flex.org/ , or in- particularly

[flexcoders] Re: any interest in an alternative to QTP to automate Flex apps?

2007-02-07 Thread ben.clinkinbeard
I would be interested in at least trying it out. --- In flexcoders@yahoogroups.com, brian.knorr [EMAIL PROTECTED] wrote: Automating functional tests is critical to the way we develop software at my company. And there are two big things that stop us from using QTP. 1) It's record and

[flexcoders] Re: 2nd datagrid - no headers, wrong size

2007-02-07 Thread Mike_Robinson_98
--- In flexcoders@yahoogroups.com, Mike_Robinson_98 [EMAIL PROTECTED] wrote: I've been spending a lot of time trying to overcome this issue without any success. Hopefully someone out there has a suggestion. I have datagrid within a vbox in a component. The grid takes up as much space as is

Re: [flexcoders] Re: Serious Bug in HistoryManager (introduced in latest release?)

2007-02-07 Thread Bjorn Schultheiss
Yo Z, Each Manager is registered as a singleton. code excerpt; Singleton.registerClass(mx.managers::ICursorManager, Class (getDefinitionByName(mx.managers::CursorManagerImpl))); Singleton.registerClass(mx.managers::IDragManager, Class

Re: [flexcoders] any interest in an alternative to QTP to automate Flex apps?

2007-02-07 Thread Simeon Bateman
I am interested in this. I had been playing with the thought of using the FA Bridge to allow you to use Selenium to test your applications. Then you could use the Firefox plugin to record our actions and test the movie. Not sure how feasible it is but even that would start with having a

Re: [flexcoders] Re: Serious Bug in HistoryManager (introduced in latest release?)

2007-02-07 Thread Michael Schmalle
Oh yeah one more thing. I know why they did this. At least a perspective. If you have version 2.0 linking in ManagerA and they change the implementation to ManagerB in 2.5, ManagerA will not be linked in unless ManagerA is linked, other wise ManagerB is linked in, in 2.5 and the string

Re: [flexcoders] Re: Serious Bug in HistoryManager (introduced in latest release?)

2007-02-07 Thread Michael Schmalle
Hey, Don't get me wrong here but, what happens when you use getClassDefinition() and you didn't link in your class as a static dependency? Same error as you get here. Is it a flaw or a chicken and egg thing like 'my computer can't entirely think for me' thing. Peace, Mike On 2/7/07, Bjorn

RE: [flexcoders] any interest in an alternative to QTP to automate Flex apps?

2007-02-07 Thread Allen Riddle
I've posted on here before about this topic. I think this is something that lacks in the Flex community. Just curious if you or your company have looked at a product called imacros. I downloaded the demo and it was pretty decent. It's a lot cheaper than QTP. It also lets you script out tests. I've

Re: [flexcoders] any interest in an alternative to QTP to automate Flex apps?

2007-02-07 Thread Chaitanya Mutyala
I am pretty sure there is and will be a lot of interest in opensource automation tools for Flex. QTP works great with the plugin setup for flex and everything, but the price paid for the same is a weaking factor for the product. Its like needing to have FDS for QTP, which albeit having a lot of

[flexcoders] Re: navigateToURL bind to datagrid selecteditem

2007-02-07 Thread Doug Lowder
I would do this in a function rather than in mxml. function doNavigate( ) : void { navigateToURL(new URLRequest(http://www.mydomain.com/synapse/data/7117/documents/; + drivergrid.selectedItem.uploadedfile, Download)); } ... mx:LinkButton label=Download click=doNavigate() ...

[flexcoders] Re: Alex's Distortion effects

2007-02-07 Thread danj520
Thank you Alex, you experts are great! --- In flexcoders@yahoogroups.com, Alex Uhlmann [EMAIL PROTECTED] wrote: Hi there, SimpleFlip is just an MXML component, which contains the setup code for the effects. There are various examples provided in the download like that. Check out the

  1   2   >