Re: [flexcoders] Large application strategy - Flex or Flash?

2008-04-28 Thread Ralf Bokelberg
I think, both of them are equally valid. Flex ist a bit faster in development, wheres Flash gives you total flexibility. Cheers Ralf. -- Ralf Bokelberg [EMAIL PROTECTED] Flex Flash Consultant based in Cologne/Germany On Mon, Apr 28, 2008 at 2:22 AM, bick [EMAIL PROTECTED] wrote: I

Re: [flexcoders] Large application strategy - Flex or Flash?

2008-04-28 Thread Mike Chabot
None of the factors you mention seem highly relevant to making the decision. Are the developers already comfortable using Flash? Flex? Do the developers have design backgrounds or programming backgrounds? If you have designers that already know Flash, do the developers need to do anything other

Re: [flexcoders] number and string validator

2008-04-28 Thread Luke Vanderfluit
Hi Josh. Josh McDonald wrote: Just use a number validator and check it's 999 and 1? That's great! Thanks. minLength=1000 maxLength= Kr. Luke. On Mon, Apr 28, 2008 at 3:54 PM, Luke Vanderfluit [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi. I have a

Re: [flexcoders] number and string validator

2008-04-28 Thread shaun
Hi, You can also restrict the type of characters entered by the user with the restrict property. mx:TextInput restrict=0-9 .../ Luke Vanderfluit wrote: Hi Josh. Josh McDonald wrote: Just use a number validator and check it's 999 and 1? That's great! Thanks. minLength=1000

Re: [flexcoders] Re: TypeError: Error #2007: The parameter listener must not be NULL + Cairngorm

2008-04-28 Thread Jon Santos
For sure the function loaderCompleteHandler exists. Any other suggestions? I have one similar example.and i get the result succesfully. Here is the soruce. ?xml version=1.0 encoding=utf-8?mx:Canvas creationComplete=doInit() width= height=xmlns:mx=http://www.adobe.com/2006/mxml; 100%438

[flexcoders] Re: Large application strategy - Flex or Flash?

2008-04-28 Thread Bjorn Schultheiss
No current requirement for Flex components That seems like a relevant factor in the decision.. --- In flexcoders@yahoogroups.com, Mike Chabot [EMAIL PROTECTED] wrote: None of the factors you mention seem highly relevant to making the decision. Are the developers already comfortable using

Re: [flexcoders] Re: Large application strategy - Flex or Flash?

2008-04-28 Thread Doug McCune
No current requirement for Flex components That seems like a relevant factor in the decision.. I'd argue that the lack of a need for any Flex controls is an argument for not using the Flex framework, but not necessarily for not using Flex Builder as the development tool. Even if you are

[flexcoders] Re: Large application strategy - Flex or Flash?

2008-04-28 Thread Bjorn Schultheiss
From what I've seen FDT looks like a nice tool. Although no IDE for Mac means I haven't used it in anger. I think an interesting Flex 4 feature would be, to be able to use Flex components within Flash (outside of a Flex project). --- In flexcoders@yahoogroups.com, Doug McCune [EMAIL PROTECTED]

[flexcoders] Re: Large application strategy - Flex or Flash?

2008-04-28 Thread Bjorn Schultheiss
Sorry it was Flash Develop I had used.. Not FDT. --- In flexcoders@yahoogroups.com, Bjorn Schultheiss [EMAIL PROTECTED] wrote: From what I've seen FDT looks like a nice tool. Although no IDE for Mac means I haven't used it in anger. I think an interesting Flex 4 feature would be, to be able

Re: [flexcoders] Re: Best way to secure a ColdFusion web service

2008-04-28 Thread Tom Chiverton
On Friday 25 Apr 2008, valdhor wrote: True. But they would need to know the location (It is not in the WSDL), the username and the password. All of which are sent over the wire. -- Tom Chiverton Helping to widespreadedly exploit scalable interfaces on: http://thefalken.livejournal.com

Re: [flexcoders] Re: Flex 4: Text Performance Research

2008-04-28 Thread Tom Chiverton
On Friday 25 Apr 2008, ahmad_eldardiry wrote: If it can't be resolved for the current versions of Flex, then I wish it can for the next releases. Player v10 will have native bidi text support, so I would expect this to be in Flex 4. -- Tom Chiverton Helping to efficiently orchestrate

Re: [flexcoders] Re: Best way to secure a ColdFusion web service

2008-04-28 Thread Tom Chiverton
On Friday 25 Apr 2008, Randy Martin wrote: I've never actually done this, but can't you encrypt the credentials in Flex, send them to the webservice, and decrypt them in the service? Yes, you could. But I can write my own client that just does the same thing. -- Tom Chiverton Helping to

[flexcoders] Linkbar Selectedindex without index. Bug is acknowledged, but any workaround?

2008-04-28 Thread bnsmeets
I've hit a bug in the Linkbar control which seems to be known already (https://bugs.adobe.com/jira/browse/SDK-9773). To keep it short, the bug is that you cannot bind the selectedIndex of the linkbar to something (returning an int) because the enabled state will not be updated. I was wondering if

[flexcoders] Flash/Flex integration

2008-04-28 Thread whistler3210
I am trying to use a Flash SWC in a Flex Builder 3 ActionScript project. In Flex I choose Run/Debug and the swc contents appear. After a few more runs the swc doesn't appear, but you can still step through it's constructor class code. Taking the SWC and its Class.as file out of the project and

Re: [flexcoders] Re: Large application strategy - Flex or Flash?

2008-04-28 Thread Mike Chabot
I think that the no current requirement detail would need further explanation and shouldn't be interpreted exactly as it is written. The use of Flex is almost never a requirement since you can generally accomplish the same result using other technologies, yet people still use Flex because of

Re: [flexcoders] Large application strategy - Flex or Flash?

2008-04-28 Thread Muzak
None of the factors you mention seem highly relevant to making the decision. How about: Uses webservices No webservice API in Flash AS3. Multiple remote developers SVN - Subclipse - FlexBuilder/Eclipse Intending to use automated builds (thinking Maven) Ant - FlexBuilder/Eclipse regards,

[flexcoders] Event Calendar component

2008-04-28 Thread txakin
Hi guys! I have checked some examples in internet...about how to create an event calendar component. i love a lot one of themhere is the link : http://www.flex-flex.net/flex/Calendar/Calendar.html The component is just what i was looking for, but the unique problem to me is

Re: [flexcoders] Re: Flex 4: Text Performance Research

2008-04-28 Thread Paul Hastings
Tom Chiverton wrote: Player v10 will have native bidi text support, so I would expect this to be in Flex 4. ...and let's keep prodding adobe about this ;-)

[flexcoders] EmptyString

2008-04-28 Thread reflexactions
I have an if statement that is supposed to catch nulls and empty strings: if(strValue). The problem I am having is in one situation with strValue having a value of the if statement executes.. actually in the debugger !strValue is true and strValue is true I am more interested in why

Re: [flexcoders] Event Calendar component

2008-04-28 Thread Scott Melby
That calendar was originally developed by Eli Greenfield and posted on his blog http://www.quietlyscheming.com/blog/components/interactive-calendar/. As he mentioned in that post, the version he put up had a few bugs. I subsequently resolved quite a few of them (enough to make it useful in

[flexcoders] Cairngorm - reload wsdl file

2008-04-28 Thread Robin Burrer
Hi all, I'm creating an app using Cairngorm and Swf Studio. (The app runs form CD) While the application initializes i need to talk to a webservice. The problem is that the service locator class loads the wsdl file automatically. If the user is not online the wsdl can obviously not be

[flexcoders] Re: how to show datatip manually in a chart?

2008-04-28 Thread prashant194
Ya, i do want to have a control over the visibility of the dataTip by some event other than onhover. But my problem is i made a cartesian chart on the basis of two cartesian points. The code is shown below: ?xml version=1.0? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute

Re: [flexcoders] Guidance for Java API integration needed

2008-04-28 Thread Robert Cadena
check out project artemis. it may do what you need: http://artemis.effectiveui.com/ /r On Sat, Apr 26, 2008 at 10:23 PM, dnii303 [EMAIL PROTECTED] wrote: Hi there, I am very new to the Flex development environment but have bin able to develop a nice web application that makes extensive

[flexcoders] Multi Windowed Application in one application

2008-04-28 Thread Jean Szabo
Hello, I have an application, with a main windowed application, but I need 2 small windowed application for some services. Is-it possible to générate multi .exe ? In Flex builder, my small application start correctly, but I haven't .exe in my package ? Thanks Jean

[flexcoders] Confusion about Tree component

2008-04-28 Thread Piero Campanelli
I have a bit of confusion about the Tree control usage. It seems I have three different APIs that I can use for manipulating nodes and childrens. From what I have understood I can use: 1) Data structure method (for example ArrayCollection). I can manipulate the source dataProvider and than send

[flexcoders] Re: Send DataProvider or datagrid to php

2008-04-28 Thread tugadot
How can i send the datagrid information to AMFPHP? mx:HTTPService id=emailService url=http://...email.php; method=POST resultFormat=xml result=emailResult() useProxy=false/ mx:Form id=emailForm width=100% height=100% mx:FormItem label=Nome width=100%

[flexcoders] Flex WS client and Weblogic 8.1 web service

2008-04-28 Thread abdul.basit
Hi All, I am getting an exception while calling the weblogic web service from flex swf file. How Ever i am able to call the methods on Java class through RPC. Here what i am doing: Create a simple web-application or portal-application in weblogic 8.1. - create a swf file from the

Re: [flexcoders] Re: Large application strategy - Flex or Flash?

2008-04-28 Thread Hervé Crespel
Bjorn Schultheiss a écrit : Sorry it was Flash Develop I had used.. Not FDT. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com, Bjorn Schultheiss [EMAIL PROTECTED] wrote: From what I've seen FDT looks like a nice tool. Although no IDE for Mac means I haven't used

Re: [flexcoders] EmptyString

2008-04-28 Thread Scott Melby
When dealing with use input I usually use the following... which will evaluate to true only if strValue has more than one non-space character. i.e. a string with only spaces will be treated as no input. if (strValue != null StringUtil.trim(strValue).length 0) { //your code here } if you

[flexcoders] Fwd: Problem to extend HTTPService

2008-04-28 Thread doodoonn2000
Hello all ! I got the same compilation resolution error. in the same context (HTTPService extension.) How could i figure out this *namespace* (or dynamic property) issue ? i wrote : ... xmlns:me=com.foo.flex.components.* ... me:HTTPServiceCustom id=loginRequest

[flexcoders] GIF image doesn't blinking in Flex App

2008-04-28 Thread Nirav Upadhyay
Hi, I have put one GIF image of blinking star in my Flex Application but image doesn't blink at all. It looks like simple JPEG image although it is a GIF image. What to do? Thanks, Nirav

Re: [flexcoders] GIF image doesn't blinking in Flex App

2008-04-28 Thread Jon Bradley
On Apr 28, 2008, at 8:13 AM, Nirav Upadhyay wrote: Hi, I have put one GIF image of blinking star in my Flex Application but image doesn't blink at all. It looks like simple JPEG image although it is a GIF image. What to do? Because animated GIF images are not supported? Check this

Re: [flexcoders] GIF image doesn't blinking in Flex App

2008-04-28 Thread Nirav Upadhyay
Hi Jon, Thanks for reply. So you mean that animated GIF images are not supported by any version of Flex (2.0/3.0? Thanks, Nirav On Mon, Apr 28, 2008 at 5:53 PM, Jon Bradley [EMAIL PROTECTED] wrote: On Apr 28, 2008, at 8:13 AM, Nirav Upadhyay wrote: Hi, I have put one GIF image of

[flexcoders] sent datetime to Jboss

2008-04-28 Thread Szabo Jean
Hello, I try to send a XML to a Jboss server, my XML seems to be correct : info orderDate2008-04-28T09:33:55+00:00/orderDate userAKS/user /info but when we check the datas receive by Jbose, the order date is null : info orderDate xsi:nil=true/ /info How send a datetime via a

[flexcoders] Re: Select All functionality for List with Checkboxes

2008-04-28 Thread varuag83
Hi, I looked into this further. When I click a checkbox there is a list change event that is being called due to this line. this.listOwner.addEventListener(Event.CHANGE, test, false, 0, true) Once this happens the Mouse click event that is associated with the checkbox is not called. I tried

Re: [flexcoders] GIF image doesn't blinking in Flex App

2008-04-28 Thread Jon Bradley
On Apr 28, 2008, at 8:37 AM, Nirav Upadhyay wrote: Thanks for reply. So you mean that animated GIF images are not supported by any version of Flex (2.0/3.0? I don't think this is a Flex issue. Rather, it's the fact that animated GIF is not supported by the Flash Player. cheers, jon

Re: [flexcoders] GIF image doesn't blinking in Flex App

2008-04-28 Thread Flap Flap
Flash Player doesn't support animated GIF natively but Thibault Imbert has developp a library for that : http://www.bytearray.org/?p=95 ;)

Re: [flexcoders] GIF image doesn't blinking in Flex App

2008-04-28 Thread Flap Flap
Arf allready sent sorry... 2008/4/28 Flap Flap [EMAIL PROTECTED]: Flash Player doesn't support animated GIF natively but Thibault Imbert has developp a library for that : http://www.bytearray.org/?p=95 ;) -- Benoît Milgram / Flapflap http://www.kilooctet.net I'm also a music mashup /

[flexcoders] Re: TypeError: Error #2007: The parameter listener must not be NULL + Cairngorm

2008-04-28 Thread valdhor
I am afraid that I don't use Cairngorm. Could it be a Cairngorm bug? Unlikely but still a possibility. Does it work without the Cairngorm framework? --- In flexcoders@yahoogroups.com, Jon Santos [EMAIL PROTECTED] wrote: For sure the function loaderCompleteHandler exists. Any other

Re: [flexcoders] GIF image doesn't blinking in Flex App

2008-04-28 Thread Andrew Westberg
Doug McCune also has a commercial component for $50 to do this. http://dougmccune.com/blog/2007/05/24/animated-gif-loader-flex-component-updated/ -Andrew On Mon, Apr 28, 2008 at 9:12 AM, Flap Flap [EMAIL PROTECTED] wrote: Arf allready sent sorry... 2008/4/28 Flap Flap [EMAIL PROTECTED]:

[flexcoders] Re: Best way to secure a ColdFusion web service

2008-04-28 Thread valdhor
Tom Are we on the same page here? We use SSL Encryption of the username and password as well as the data going over the wire. Are you saying that it is trivial for someone to find out the source and destination of the encrypted SSL stream, grab this data off the wire and decrypt it? --- In

Re: [flexcoders] Re: TypeError: Error #2007: The parameter listener must not be NULL + Cairngorm

2008-04-28 Thread Ralf Bokelberg
Repeated UIComponents can be accessed using Array notation. mx:Script ![CDATA[ private function traceButtons() : void { for( var i : int; i 3; i++ ) {

Re: [flexcoders] Re: TypeError: Error #2007: The parameter listener must not be NULL + Cairngorm

2008-04-28 Thread Ralf Bokelberg
I would pass a ui component reference to the command and directly manipulate it in the result handler. You can use an interface instead of the concrete type to make it loosely coupled. Cheers Ralf. On Mon, Apr 28, 2008 at 4:12 PM, Ralf Bokelberg [EMAIL PROTECTED] wrote: Repeated UIComponents

Re: [flexcoders] Multi Windowed Application in one application

2008-04-28 Thread shrikant.patil
hi, There is no such builtIn method for multi windows in flex. for that u need to use a framework called FlexMDI. which is free open source.u can get the source from google code :) Nitrobear wrote: Hello, I have an application, with a main windowed application, but I need 2

Re: [flexcoders] How to prevent tab change

2008-04-28 Thread shrikant.patil
I Think you can do this by using tabControl.selectedIndex property each time when tab index get changed . you can check and test the conditions,. :) Subhadeep Chatterjee wrote: Hi, I need to prevent a tab from being changed when user changes tab. This is a typical form

Re: [flexcoders] Re: Best way to secure a ColdFusion web service

2008-04-28 Thread Tom Chiverton
On Monday 28 Apr 2008, valdhor wrote: We use SSL Encryption of the username and password as well as the data going over the wire. Uh huh. Are you saying that it is trivial for someone to find out the source and destination of the encrypted SSL stream, grab this data off the wire and decrypt

[flexcoders] how do you return an XML fault from HTTPService?

2008-04-28 Thread Jason B
how do you return an XML fault from HTTPService? while i got it working just cannot figure out the xml that would be returned to trigger this? no examples for this exist under google

Re: [flexcoders] newbie question - multipage apps - best approach?

2008-04-28 Thread Tom Chiverton
On Saturday 26 Apr 2008, hoytlee2000 wrote: Should each page of the UI be it's own MXML file and inluded in as a component? I would say 'at a minimum'. It'll look a lot more organised. You may start spotting common/reusable parts too. And what are the draw backs? You'll have to be a bit

RE: [flexcoders] Combobox And Datagrid

2008-04-28 Thread Tracy Spratt
Renderers are recycled. You cannot do the display work in the creationComplete event handler, but must instead override the set data() method, and ideally, use the invalidation system to defer the work until the framework is ready to do it. Search the archives or google for examples.

RE: [flexcoders] How to get the reference to an item renderer given item index in dataProvider?

2008-04-28 Thread Tracy Spratt
You cannot do that. Item renderers are recycled. Only the visible rows are instantiated(plus a few buffers) So if row 5 is not visible, it does not exist, and you cannot reference it. In almost all cases, work should be done on the underlying dataProvider. Search archives or google

[flexcoders] UIComponent's updateDisplayList()

2008-04-28 Thread tchredeemed
does a UIComponent have the a property that contains states, such as 'upSkin', 'overSkin', 'downSkin', etc (and is this property accessible during updateDisplayList()? In other words, can I simulate mouseOvers with this, so that I can draw the button?

Re: [flexcoders] Re: [Bindable] - Can I specify many vars Bindable in one block?

2008-04-28 Thread Daniel Gold
Just be sure to use it wisely. If you have a class with 25 variables and only 4 variables that really need to be Bindable, you're going to be generating a lot of wasted code. Binding is great when you need it, but I see a lot of classes where the [Bindable] tag is thrown at the top out of laziness

RE: [flexcoders] trying to select a value in combo box based on a query

2008-04-28 Thread Tracy Spratt
For Loop over the items in the dataProvider until you match values. Break, then set selected index to the loop index. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rubeel Sent: Monday, April 28, 2008 10:05 AM To:

[flexcoders] trying to select a value in combo box based on a query

2008-04-28 Thread Rubeel
I am running a query and returning some records which contains an ID (table 2) value from Table 1. i am running another query on the same page to select the values from the Table 2 and putting all of it in a combobox. I want to change the combobox selected index value based on the id values i get

[flexcoders] Re: Best way to secure a ColdFusion web service

2008-04-28 Thread valdhor
Hmmm - I will have to check out WebScarab. --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Monday 28 Apr 2008, valdhor wrote: We use SSL Encryption of the username and password as well as the data going over the wire. Uh huh. Are you saying that it is

[flexcoders] Re: Using 100% width on canvas? getting scrollbars?

2008-04-28 Thread Jason B
Im not fully understanding your answer, are you stating that the container cant use Percent since the children do? --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Flex uses % differently than HTML. When you use %, the children are measured and their sizes and positions

[flexcoders] Re: how do you return an XML fault from HTTPService?

2008-04-28 Thread valdhor
Not really a Flex question but what are you trying to do? Is this just for testing purposes to see what your Flex app will do with a SoapFault? If so, the easiest way is to invoke a method that does not exist. --- In flexcoders@yahoogroups.com, Jason B [EMAIL PROTECTED] wrote: how do you

[flexcoders] Re: ERROR #1010 datagrid getting lastrequest per search box

2008-04-28 Thread Jason B
its here mx:HTTPService id=stations_info_request url=http://web2/massmc/xml.php; useProxy=false method=POST showBusyCursor=true result=mx.controls.Alert.show(stations_info_request.lastResult.stationinfo.stations_formalname); fault=defaultFault(event) --- In flexcoders@yahoogroups.com, Alex

[flexcoders] Just 3 weeks until FlexManiacs 2008 in Washington, DC

2008-04-28 Thread Steve Drucker
Only THREE WEEKS Left Until The Ultimate Event for Flex and AIR! Hurry, seats are filling up fast! Register Now https://www.webmaniacsconference.com/registration/ blocked::https://www.webmaniacsconference.com/registration/

[flexcoders] Re: how do you return an XML fault from HTTPService?

2008-04-28 Thread Jason B
sorry but im not using Soap im just using HTTPService and on php side returning my own made xml data as the book instructs? yea i do need to test this to verify how a fault will look in flex? How is this not a flex question? --- In flexcoders@yahoogroups.com, valdhor [EMAIL PROTECTED] wrote:

RE: [flexcoders] Re: how do you return an XML fault from HTTPService?

2008-04-28 Thread Tracy Spratt
Have your data leave off a closing tag. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason B Sent: Monday, April 28, 2008 11:19 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: how do you return an XML fault from

Re: [flexcoders] Re: Best way to secure a ColdFusion web service

2008-04-28 Thread Douglas Knudsen
this is similar to ServiceCapture, Charles, Wireshark, etc, eh? They are 'man-in-the-middle' tools. They have to be installed and running on the PC to intercept/view any http/https requests. Tom, you are merely suggesting that it is possible that a user could have a man-in-the-middle

[flexcoders] Re: Combobox And Datagrid

2008-04-28 Thread dougco2000
I found success in these cases using dataChange, see http://blog.dougco.com/coding/flex/datagrid-with-multiple-pulldowns/ for more details. -d --- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote: Hi Friends .. I am writting a simple code in which i have one datagrid with two

[flexcoders] Re: how do you return an XML fault from HTTPService?

2008-04-28 Thread valdhor
Sorry - Early Monday morning. I read Web Service when in actuality it was HTTPService. AFAIK there is no prescribed way of generating a fault. In the past I have created faults by accident. Things like forgetting the return statement so that the Flex request times out; Or returning improperly

[flexcoders] Browser lockup with remote object

2008-04-28 Thread netdeep
The code I have uses a Java Remote Object to receive results from the server and plot them in a chart. This code previously has worked with datasets as large as 180K. Recently, I began querying results from a different database with data in the same format and the code no longer works.

Re: [flexcoders] Re: Best way to secure a ColdFusion web service

2008-04-28 Thread Tom Chiverton
On Monday 28 Apr 2008, Douglas Knudsen wrote: Tom, you are merely suggesting that it is possible that a user could have a man-in-the-middle virus/proggy running unbeknownst to them? I belive the original problem was that end users might try and write their own client, using the same services

[flexcoders] Re: how do you return an XML fault from HTTPService?

2008-04-28 Thread Jason B
ok maybe i missed something? i now know this can trigger a fault but how do you handle it if a user wants to just send back something other then the binded info? like say i am requesting all data for a form but that user doesnt exist? How will i tell this to the user? I thought i had to use a

[flexcoders] Re: Browser lockup with remote object

2008-04-28 Thread netdeep
By the way, the only difference I can see in the data is the precision of milliseconds in the date objects: OLD data: 2008-04-14 15:51:02.31 vs. NEW data: 2008-04-15 02:41:14.675756 --- In flexcoders@yahoogroups.com, netdeep [EMAIL PROTECTED] wrote: The code I have uses

[flexcoders] Re: Long running remoting request: Channel.Call.Failed

2008-04-28 Thread Cameron Childress
Anyone? I also tried setting my requestTimeout=0 on the RemoteObject, but it's still failing after about 30 seconds. I just need my RemoteObject call to stay open for 120 seconds, but it refuses to. Bueller? Am I asking the wrong question here? -Cameron On Sun, Apr 27, 2008 at 11:42 PM,

RE: [flexcoders] Re: how do you return an XML fault from HTTPService?

2008-04-28 Thread Tracy Spratt
Ah, no. In fact you might avoid using faults because the browser does not pass the flash player any detail about the fault. Do not bind directly to last result. Use a result handler, and in that handler, inspect your result and decide how to handle it. Tracy

[flexcoders] Re: how do you return an XML fault from HTTPService?

2008-04-28 Thread caffeinewabbit
I'd suggest using some sort of generalized wrapper around your xml response that your client can inspect to determine if there was an error on the server side or not. As a basic example, create a base xml structure that contains three children: errorCode, errorText, and data. If everything on the

[flexcoders] Re: Cache memory Issue (Strange)

2008-04-28 Thread Anthony DeBonis
Yes – we have seen this issue mainly in IE not Firefox. The browser cache would need to be cleared for it to pick up the new swf file. We ended up adding in a version check to be sure the user is running the latest swf Also see:

[flexcoders] Best Practices with Generated Code

2008-04-28 Thread Nate Pearson
I'm using weborb's generated code. It handles some of my remote object calls and puts the info into an array. I then need to do some things to this array when it's done. I could just add the code inside the generated code but it would get wiped out if I ever re-generate it. What's the best

Re: [flexcoders] Stop Scaling scrollThumb - skinning

2008-04-28 Thread Ethan Miller
Here's another hackish approach, but from a different angle. Good enough for me though. I copied the appropriate Scroll class (ScrollThumbSkin) from the framework into my local source tree and then referenced it (and the other scroll classes I was modifying) using CSS, like this: ScrollBar {

[flexcoders] Re: How to get the reference to an item renderer given item index in dataProvide

2008-04-28 Thread Marcin Glowacki
OK, thanks for your input. However, I would appreciate any hints on how I could write a method in MyDataGrid that will return reference to itemRenderer or itemEditor or null at any given point in time. If a given row is not displayed on the screen this method should return null, otherwise

[flexcoders] Setting properties of UIComponents with actionscript

2008-04-28 Thread Josh Millstein
Hello, How can I set paddingTop etc. when creating an HBox in actionscript. I can't do hBox:HBox = new HBox(); hBox.paddingTop = 10; Also, how can I set a HBox width to a percentage. I can't do hBox.width = 100%; Thanks for any help

[flexcoders] Get id of what called the event.

2008-04-28 Thread timgerr
How can I get from an event the id of a flex item, mx:Form mx:FormItem label=User Name required=true mx:TextInput name=User Name id=userName/ /mx:FormItem mx:FormItem label=Password required=true

[flexcoders] Customizing the label's frequency (adding sub-divisions)

2008-04-28 Thread Joy
Hi Can anyone please help me regarding: 1. I want the divisions of the horizontal-axis labels (bar-chart) to be more, eg. in the example, I want the labels to come as 0.1, 0.2, 0.3 ... rather than the default 0.2, 0.4, 0.6 ... 2. I want the vertical-axis-labels to appear next to the tickmark,

RE: [flexcoders] Re: ERROR #1010 datagrid getting lastrequest per search box

2008-04-28 Thread Alex Harui
Probably means that stationInfo is not in lastResult From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason B Sent: Monday, April 28, 2008 8:18 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: ERROR #1010 datagrid getting

RE: [flexcoders] Re: Using 100% width on canvas? getting scrollbars?

2008-04-28 Thread Alex Harui
You can use % anywhere. % means what you think it does when there's plenty of room, but if there isn't enough room, you will get scrollbars. Try setting mnWidth/Height on the children of the canvas so they can be small enough to fit into the canvas. From:

RE: [flexcoders] UIComponent's updateDisplayList()

2008-04-28 Thread Alex Harui
Not sure I understand the question. There is a .states property in UIComponent. Button doesn't use it right now. So you can subclass Button, or simulate Button in UIComponent with states. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf

Re: [flexcoders] Get id of what called the event.

2008-04-28 Thread Scott Melby
try event.currentTarget property... that will be the Button in this case. I usually do something like the following. private function handleClick(event:Event):void { //we know it was a button in this case var myButton:Button = Button(event.currentTarget); Alert.show(ID: +

[flexcoders] Re: Setting properties of UIComponents with actionscript

2008-04-28 Thread Nate Pearson
Any style needs to be set with setstyle, i know it's kinda weird. So... hBox.setStyle(paddingTop, 10) blamo! It works! --- In flexcoders@yahoogroups.com, Josh Millstein [EMAIL PROTECTED] wrote: Hello, How can I set paddingTop etc. when creating an HBox in actionscript. I can't do

Re: [flexcoders] Stop Scaling scrollThumb - skinning

2008-04-28 Thread Bob Wohl
Well this could definitely work in a solo dev environment. Unfortunately I'm not on a solo mission :( Thanks for the info on this Gabriel. I'm sure this will come in handy! B. On Sat, Apr 26, 2008 at 8:42 AM, gabriel montagné [EMAIL PROTECTED] wrote: On Fri, Apr 25, 2008 at 2:34 PM, Bob

RE: [flexcoders] Re: Select All functionality for List with Checkboxes

2008-04-28 Thread Alex Harui
Turning off mouseEnabled when you want click may not be a good idea. I have two checkbox selection posts. The older one does what you want. You can click on the check or anywhere on the row. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

Re: [flexcoders] Setting properties of UIComponents with actionscript

2008-04-28 Thread Maciek Sakrejda
And to set width (or height) to a percentage value, use hBox.percentWidth (or hBox.percentHeight). -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: Josh Millstein [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com

RE: [flexcoders] Confusion about Tree component

2008-04-28 Thread Alex Harui
There are no data manipulation APIs on Tree. Typically, you would use ICollectionView APIs to change the data set, and ITreeDataDescriptor APIs to manipulate how the data set is interpreted to be hierarchical. From: flexcoders@yahoogroups.com

Re: [flexcoders] Stop Scaling scrollThumb - skinning

2008-04-28 Thread Bob Wohl
I contemplated doing this but the designer would have a fit so no go :( Another route I went was to extend the ProgrammaticSkin class and attaching it to the scrollThumb style but I dont think it handles bitmaps. Or at least I couldn't get one to show up. Ah well, I talked the designer into

[flexcoders] Re: Customizing the label's frequency (adding sub-divisions)

2008-04-28 Thread EddieBerman
I've got to run out for a bit, but here's at least one area to look into for #1, and perhaps #2. Play with the interval and minorInterval properties to try to get the result you need. Here's an example - it's close, but not exactly what you want (I've inserted three lines below your

RE: [flexcoders] Re: How to get the reference to an item renderer given item index in dataProvide

2008-04-28 Thread Tracy Spratt
You are probably making a mistake, but, from the docs: indexToItemRenderer () method public function indexToItemRenderer(index:int http://127.0.0.1:58469/help/topic/com.adobe.flexbuilder.help/langref/in t.html ):IListItemRenderer

Re: [flexcoders] Re: Cache memory Issue (Strange)

2008-04-28 Thread Ralf Bokelberg
To avoid cacheing you can add the creation or change date of the swf to the url ike so: myApp.swf?created=200804281835 Good luck, Ralf. -- Ralf Bokelberg [EMAIL PROTECTED] Flex Flash Consultant based in Cologne/Germany On Mon, Apr 28, 2008 at 6:27 PM, Anthony DeBonis [EMAIL PROTECTED] wrote:

[flexcoders] Bindable Metatag

2008-04-28 Thread reflexactions
In the help file all the examples have [Bindable(event=change)] While the source files with FB3 have [Bindable(change)] Which is correct? Both?

[flexcoders] Re: how do you return an XML fault from HTTPService?

2008-04-28 Thread Jason B
Thanks Tracy I just attempted to do this i tried do this in a function but i couldnt properly get it to pass the data to my function? if(stations_info_request.lastResult.serverResponse.errorText!=) mx.controls.Alert.show(stations_info_request.lastResult.serverResponse.errorText) example

[flexcoders] Re: how do you return an XML fault from HTTPService?

2008-04-28 Thread Jason B
sorry no i did this function import mx.rpc.events.ResultEvent; import mx.rpc.events.FaultEvent; import mx.controls.Alert; public function defaultResult(infopassed){ Alert.show(infopassed, Error); }

Re: [flexcoders] trying to select a value in combo box based on a query

2008-04-28 Thread Abu Hamdan
i am still lost i think The query that returns the id is as follows Select app_admins.app_admin_Last_name, app_admins.app_admin_First_name, app_admins.app_admin_email, service.service_id, service.service_poc,

[flexcoders] Resizing an Image loaded at runtime

2008-04-28 Thread fumeng5
Hi - I'm trying to resize an image when a user resizes a TitleWindow component (I'm using a custom Sizeable TitleWindow component). I don't have a width or height set on my custom component but all containers (children) have width and height set to 100%. I also have scaleContent and

[flexcoders] Re: how do you return an XML fault from HTTPService?

2008-04-28 Thread Jason B
Nevermind got it import mx.rpc.events.ResultEvent; import mx.rpc.events.FaultEvent; import mx.controls.Alert; public function resultHandler(event:Event):void{

[flexcoders] Re: Long running remoting request: Channel.Call.Failed

2008-04-28 Thread Cameron Childress
FYI - I found my answer. Looks like the requesttimeout property of certain service calls in AIR is broken. https://bugs.adobe.com/jira/browse/SDK-15403 -Cameron On Mon, Apr 28, 2008 at 12:10 PM, Cameron Childress [EMAIL PROTECTED] wrote: Anyone? I also tried setting my requestTimeout=0 on

[flexcoders] Re: how do you return an XML fault from HTTPService?

2008-04-28 Thread caffeinewabbit
That way works, but a better way is to process the event instead of referencing lastResult on your HTTPService. The event itself is of type ResultEvent, and you'd process is similar to the following: mx:Script ![CDATA[ import mx.controls.Alert;

[flexcoders] Datagrid selected value disappears on data refresh

2008-04-28 Thread flexuser1
Is there a way to keep the selected row selected when data is refreshed? The refreshed data has at least 1 column constant, the rowID assigned by the database. Is there an inbuilt property or do I have to write my own code on refresh which checks each row for the rowID and selects that row?

  1   2   >