[flexcoders] form not filling parent Canvas

2007-05-04 Thread arieljake
I have this code: var categoryCanvas:Canvas = new Canvas(); categoryCanvas.label = [EMAIL PROTECTED]; categoryCanvas.percentHeight = 100; categoryCanvas.percentWidth = 100; var categoryForm:Form = new Form(); categoryForm.percentHeight = 100; var vbox:VBox = new

[flexcoders] Re: Is this a bug? 1195 - Attempted access of inaccessible method name ...

2007-05-04 Thread mattjshannon
RTFM tst.name = XXX Sorry for the email spam. --- In flexcoders@yahoogroups.com, mattjshannon [EMAIL PROTECTED] wrote: Hi, I'm new to flex and actionscript - having a java background. I keep getting a 1195 compiler error when trying to invoke what i believe is a public non-static

[flexcoders] Re: Formattin dates in DataGrid with itemRenderer

2007-05-04 Thread kkinaru
Thankyou very much... I managed to solve it. At the end, I used labelFunction, cleaner than all other ways I tried. Thanks a lot.

RE: [flexcoders] Re: Grid columns of fixed and equal width

2007-05-04 Thread cooper_martin
Again, my sincere apologies for disappearing for an extended period. This looks like a handy tip, and I will keep it in my back pocket for when I'm working with datagrids. Thanks for that. The problem I've been having, though, is with Grid rather than DataGrid. A bit of a different beast. ;-)

[flexcoders] Masks, Filters, Soft Wipes

2007-05-04 Thread Lachlan Cotter
Hi, Can anybody help shed some light on an odd problem with filters? I want to create soft edge wipe effects. I've got a pretty good proof of concept that works like so: target.cachePolicy = 'on' mask.filters = [new BlurFilter(20,20)] Sure enough, that creates a nice feather

RE: [flexcoders] Force a screen refresh

2007-05-04 Thread Alex Harui
try stage.invalidate() From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Lucas Pereira Sent: Thursday, May 03, 2007 5:27 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Force a screen refresh Hi all. I was wondering if it is

Re: [flexcoders] Using SVN (tortoise) with Flex Builder

2007-05-04 Thread Tom Chiverton
On Thursday 03 May 2007, Troy Gilbert wrote: I just mean that Subclipse will not automatically check-in your bin folder... Does here. -- Tom Chiverton Helping to centrally deliver leading-edge schemas on: http://thefalken.livejournal.com

[flexcoders] Re: WSDLParser Error #1009 when calling a web service

2007-05-04 Thread Cosma
--- In flexcoders@yahoogroups.com, Peter Farland [EMAIL PROTECTED] wrote: The issue might be that your WSDL operation only declares an input message but does not declare an output message. Flex only supports WebService operations that are request/response style. Yes Pete, this was the main

[flexcoders] Re: WSDLParser Error #1009 when calling a web service

2007-05-04 Thread Cosma
You're right, my problem was caused by both things: 1) WSDL was lacking an output definition 2) The call syntax was not right for this w.s. style By the way, now it's working :) Thank you Cosma

[flexcoders] DataGrid and complex objects..

2007-05-04 Thread Cosma
Hey Adobe, is there any plan for DataGrid to support complex objects? (e.g. dataField=address.city)? :) It's an *horrible* thing having to cycle over my viewobjects to create a flat arraycollection, or to create a labelFunction for each field (with all the sort problem). Bye Cosma

Re: [flexcoders] REMOTE_USER

2007-05-04 Thread Tom Chiverton
On Thursday 03 May 2007, Brian Holmes wrote: Is there any way to get info about the remote user from flex? Specifically I'm looking for the cgi.REMOTE_USER as it comes through in Cold Fusion. Use CF to write your HTML wrapper, and pass in the variable as a FlashVar. You may want to encrypt it

Re: [flexcoders] getQualifiedClassName is PERFECT ...

2007-05-04 Thread Tom Chiverton
On Thursday 03 May 2007, helihobby wrote: Now does anyone know how to get the function name ? The function name of what ? -- Tom Chiverton Helping to efficiently incentivize network bandwidth on: http://thefalken.livejournal.com This email

[flexcoders] Accessing Trace / Log Information at the server or at the client

2007-05-04 Thread mark_j_ellul
Hi, I was wondering, if there was a way to access the trace information at the server or the client. I am about to roll out a Flex application, and I want to know whats happening in the case of error. I am wondering if there was a way I could say open a window on the Client side with all the

[flexcoders] Setting ByteArray to a specific string value ?

2007-05-04 Thread jamiebadman
Ok, I'm not even sure if the topic is right... here's what I'm trying to do... I need to call a webservice which has as a parameter a base 64 binary field. This needs to contain a password field in an encrypted (string) form. This has been provided to me as a string and it is this exact value

[flexcoders] Problem using getDefinitionByName in a ClassFactory

2007-05-04 Thread Tom Chiverton
I have a componet I want to pass a dynamic renderer into: coreView:MonthCalendar date={ thisMonth } dataProvider={foo} dayRenderer=com.halliwells.flex.bma.view.HearingDay/ It's a TileList type control, so at some stage in the component I do: var c:ClassFactory=new

RE: [flexcoders] Conor Marnane

2007-05-04 Thread Dimitrios Gianninas
I have updated the account for now, I will monitor. Dimitrios Gianninas Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Schmalle Sent: Tuesday, May 01, 2007 6:09 PM To:

Re: [flexcoders] Re: global variable vs passing parameters to the cus tom components

2007-05-04 Thread Guido
I'm sorry n_n I'm just so used to Smalltalk's way of implementing numbers that it got to my head. My mistake! On 5/1/07, beecee1977 [EMAIL PROTECTED] wrote: As you say yourself, your other example is a lot clearer. For example in the context of this question, a=1; b=5; a = b; a = a+5;

Re: [flexcoders] Using SVN (tortoise) with Flex Builder

2007-05-04 Thread Johannes Nel
you put them on the svn ignore list along with the bin folder On 5/2/07, Mark Ingram [EMAIL PROTECTED] wrote: So you're using SVN with Flex Builder? What do you do with the .actionScriptProperties / .flexProperties / .project files? Are they under source control?

RE: [flexcoders] Using SVN (tortoise) with Flex Builder

2007-05-04 Thread Mark Ingram
Are your project files under SVN control? Do all your developers have the same output and output URL settings? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Troy Gilbert Sent: 03 May 2007 16:11 To: flexcoders@yahoogroups.com

Re: [flexcoders] File Upload I/O error only on Mac

2007-05-04 Thread Paul J DeCoursey
I've seen this as well. But it has not been a priority yet to investigate it, so I don't really know what is going on there. I was thinking it may be sandbox issues. Or perhaps a bug in the player. Let me know if you discover anything. Unfortunately it will be weeks before I get around to

RE: [flexcoders] How to display Chart datatip at a specific data point ?

2007-05-04 Thread Dirk Eismann
Take a look at my reply to your original message - maybe this works for you. Dirk. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Claude Hussenet Sent: Tuesday, May 01, 2007 10:32 PM To:

[flexcoders] Re: Howto dynamicly bind XML element to a TextInput component using BindingUtils?

2007-05-04 Thread sreeni_r
Try using private function init(): void { new Binding(this, function():String { return xml.label }, function(value:String):void { txtDemo.text = value }, txtDemo.text); } It worked for me. -Sreenivas --- In flexcoders@yahoogroups.com, xyjaws [EMAIL PROTECTED] wrote: The question

[flexcoders] Re: Using Application Domain

2007-05-04 Thread residentevil_64
Hi, I am having the following class: package { public class Controller { private static var singleInstance:Controller; public static function getInstance():Controller { if(singleInstance ==

[flexcoders] date localization

2007-05-04 Thread xho
hi all, till now trying to localize my app has been frustrating (maybe i have a wrong approach). Anyway, I cannot find usefull informations on how to create and build a working italian locale for flex or download a working one: in a default flex installation i can only find one locale in

Re: [flexcoders] Re: Using Application Domain

2007-05-04 Thread Manish Jethani
On 5/4/07, residentevil_64 [EMAIL PROTECTED] wrote: Hi, I am having the following class: public class Controller { private static var singleInstance:Controller; public static function getInstance():Controller { if(singleInstance ==

[flexcoders] simple Tree question

2007-05-04 Thread Mark
I have a Tree that has 2 levels, 1- the folder level, 2- the document level (pretty basic). When the user clicks the document I want to show additional information in a text field. So I binded the text field to the tree. When you click the document level you get the info, but if you click

[flexcoders] Re: simple Tree question

2007-05-04 Thread sreeni_r
You can try using tree.dataDescriptor.isBranch(tree.selectedItem, null); This would return true if it is a folder. -Sreenivas --- In flexcoders@yahoogroups.com, Mark [EMAIL PROTECTED] wrote: I have a Tree that has 2 levels, 1- the folder level, 2- the document level (pretty basic). When

Re: [flexcoders] Setting ByteArray to a specific string value ?

2007-05-04 Thread Manish Jethani
On 5/4/07, jamiebadman [EMAIL PROTECTED] wrote: I need to call a webservice which has as a parameter a base 64 binary field. This needs to contain a password field in an encrypted (string) form. This has been provided to me as a string and it is this exact value I need to send to the

Re: [flexcoders] form not filling parent Canvas

2007-05-04 Thread Manish Jethani
What is the width/height of the outer canvas? What is the width/height of the vbox? What is the width/height of the canvas? What is the width/height of the form? What are the *expected* widths/height of the above? Horizontal scrollbar or vertical scrollbar? If you can provide these answers,

Re: [flexcoders] Box Y adjustment fails when mx:Text/ is child

2007-05-04 Thread Manish Jethani
On 5/4/07, beatportdavem [EMAIL PROTECTED] wrote: I am running into a weird bug. I have a VBox with an id=w1, within w1 there is a mx:Text component. I am attempting to adjusting the y coord. It doesn't work. BUT, when I replace mx:Text with mx:TextArea component in the VBox, I _can_

[flexcoders] w not kerned correctly in Safari

2007-05-04 Thread Roman Protsiuk
Hi, everyone. In Safari 'w' characters (lower-case) always appear to have a space following them. We are using standard Arial font. What can be done to fix the situation? See attached screenshot for an example. Thanks in advance. R. attachment: alphabet.png

Re: [flexcoders] modules with video

2007-05-04 Thread Manish Jethani
On 5/4/07, John Robinson [EMAIL PROTECTED] wrote: I have an app that has a few external modules that it switches my main view between. One of these modules has an externally loaded video (using VideoDisplay, or whatever it's called). It's called VideoDisplay. When I load this module up

Re: [flexcoders] ProgressBar doesn't get updated immediately

2007-05-04 Thread Manish Jethani
On 5/2/07, Pan Troglodytes [EMAIL PROTECTED] wrote: This time, I have the progress bar working in event mode, cranking through sending off progress events. It works fine, except when it gets to one section of the code. I want to send back the progress while this one very long and time

Re: [flexcoders] Page access problem

2007-05-04 Thread Manish Jethani
On 5/2/07, Vinoth [EMAIL PROTECTED] wrote: when button `Load page2 from main' or `Load page1 from main' selected corresponding page will get load in the main How to load page2 when `Load Page2 from page1' button selected ? mx:Button label=Load Page2 from page1

Re: [flexcoders] Problem using getDefinitionByName in a ClassFactory

2007-05-04 Thread Daniel Freiman
It looks like dayRenderer is of type Class, not String. Is this true? If so, then you obviously can't pass it to getDefinitionByName (nor would you need to). - Dan Freiman nondocs http://nondocs.blogspot.com On 5/4/07, Tom Chiverton [EMAIL PROTECTED] wrote: I have a componet I want to

Re: [flexcoders] disabling effects

2007-05-04 Thread Manish Jethani
On 5/1/07, Tom Sobut [EMAIL PROTECTED] wrote: I have hideEffects defined for the child views of a nested viewStack. At some point in my workflow, that viewStack gets hidden. Before I bring it back into view, I'd like to change the selectedIndex without triggering the hideEffects.

[flexcoders] Classloader issue using Flex Data Services with OC4J 10.1.3

2007-05-04 Thread mattjshannon
Hi, As a learning exercise, I have tried to port James Ward's WeBudget RIA Flex 1.5 Cairngorm 0.99 EJB 3 application across to Flex 2.0.1 with FDS using Caigrngorm 2.2 running on Oracle Containers for Java 10.1.3 (deployed as an enterprise application / EAR)

[flexcoders] Actionscript - copy constructor/ assignment operator question

2007-05-04 Thread Sebastian Feher
I need a class that contains one string that has some constrains when is created. package mypackage { public class StringId { private var stringId :String; public function StringId(stringId :Id) { this.guid = stringId; } } } This works fine: var sid1

[flexcoders] DateChooser

2007-05-04 Thread kredding.geo
Is there any way to modify the text color and size of the selectedRanges in the DateChooser? Thanks, Kim

[flexcoders] TextField.getLineOffset Bug?

2007-05-04 Thread Daniel Freiman
I'm using TextField.getLineOffset() and in some cases the return value is incorrect (it's 2 higher than it should be). However, TextField.getLineText() returns the correct value, which I guess implies that there's a disconnect between the internal representation and what I have access to. Has

[flexcoders] xml to e4x Help Please!!!

2007-05-04 Thread emobilecat
Hello everyone, I am trying to select checkboxes in a datagrid where needed. In addition, when the user clicks on the name the checkbox on the side will be selected depending on the xml tag is set to true or false. I am having trouble because I am not familiar with how to handle xml when

[flexcoders] mx.data : type unrecognized in Eclipse

2007-05-04 Thread epithor42
Hi, I'am developping a Flex application with Eclipse and Flex Builder 2 plugin, and I have a compilation problem : = When I'm declaring a DataService, in AS or in a MXML Tag, it generates an error, Eclipse don't know that type. In fact, all types mx.data.* are unknown. The error in French is :

[flexcoders] corrupt compiler?

2007-05-04 Thread bghoward3
i have an issue with trying to use style manager calls to set the .css on my project. i have broken down several examples into the simplest form that i can yet i continue to recieve the error; call to a possibly undefined method loadStyleDelcarations through a reference with static type Class

[flexcoders] How to remove validators created at runtime?

2007-05-04 Thread Cosma
Hi, I have some fields that I want to validate on the fly, so I've bound the following method to a button click: private var validateThisStep():Boolean { var myValidator:Validator = new Validator(); myValidator.source = aTileList; myValidator.property = selectedItem; myValidator.required

Re: [flexcoders] Actionscript - copy constructor/ assignment operator question

2007-05-04 Thread Michael Schmalle
Opps, if (stringid is StringId) This should have been if (stringid is Id) I guess. :) Peace, Mike On 5/4/07, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, var sid2 :StringId = ID_101-102-103; There is no way you can do that. AS3 uses typing and that is all you are doing. The is

Re: [flexcoders] Actionscript - copy constructor/ assignment operator question

2007-05-04 Thread Michael Schmalle
Hi, var sid2 :StringId = ID_101-102-103; There is no way you can do that. AS3 uses typing and that is all you are doing. The is the string constructor and there is no way to change that. If I understand what you are asking there is something you can use so you don't have to use toString().

[flexcoders] filter array collection property.

2007-05-04 Thread Ian Skinner
I have a remote object call that returns an array of elements ['daysAry'] each with several properties, including one ['drawsQry'] that is also an array collection. I want my display that is built showing all the daysAry elements with each drawsQry element to be able to filter which drawsQry

Re: [flexcoders] ProgressBar doesn't get updated immediately

2007-05-04 Thread Pan Troglodytes
I tried validateNow() with no success, unfortunately. On 5/4/07, Manish Jethani [EMAIL PROTECTED] wrote: On 5/2/07, Pan Troglodytes [EMAIL PROTECTED]chimpathetic%40gmail.com wrote: This time, I have the progress bar working in event mode, cranking through sending off progress events. It

[flexcoders] Re: Actionscript - copy constructor/ assignment operator question

2007-05-04 Thread Sebastian Feher
Oh, nooo! Thanks Mike, I was kinda expecting that but hoping some magic trick would come to save my design. Well, easy comes easy goes.. --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Opps, if (stringid is StringId) This should have been if

[flexcoders] Re: disabling effects

2007-05-04 Thread Tom Sobut
Thanks for the response. You got me around that roadblock. Here's how I've implemented it in my Cairngorm-based app in case someone else is looking for a similar solution: In the mxml component containing the viewstack with effects on the children, I added an observe function:

RE: [flexcoders] DataGrid and complex objects..

2007-05-04 Thread Alex Harui
No plans. It slows down everybody. However, I posted a solution on my blog that avoids labelfunction. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Cosma Sent: Friday, May 04, 2007 2:58 AM To: flexcoders@yahoogroups.com Subject:

Re: [flexcoders] Re: Actionscript - copy constructor/ assignment operator question

2007-05-04 Thread Michael Schmalle
I guess we could write a story about they way we wish life would be. ;-) Peace, Mike On 5/4/07, Sebastian Feher [EMAIL PROTECTED] wrote: Oh, nooo! Thanks Mike, I was kinda expecting that but hoping some magic trick would come to save my design. Well, easy comes easy goes.. --- In

[flexcoders] Can a VO have 2 Remote Classes?

2007-05-04 Thread Kevin
I have a FDS project which also uses PHP to retrieve VO's from Web Services. I am wondering if it i possible for a VO on the client side to be mapped to two RemoteClasses? What I would like is to pull the data in from a PHP remoting call (AMFPHP) and then save that VO back to our local

RE: [flexcoders] Can a VO have 2 Remote Classes?

2007-05-04 Thread Peter Farland
I've personally not tried two [RemoteClass] tags on a VO, but if you're not successful in your tests then can you also try the lower level Flash API that mxmlc ends up calling for the [RemoteClass] metadata... http://livedocs.adobe.com/flex/2/langref/flash/net/package.html#register ClassAlias()

[flexcoders] Re: simple Tree question

2007-05-04 Thread Mark
That worked out great, thank you! --- In flexcoders@yahoogroups.com, sreeni_r [EMAIL PROTECTED] wrote: You can try using tree.dataDescriptor.isBranch(tree.selectedItem, null); This would return true if it is a folder. -Sreenivas --- In flexcoders@yahoogroups.com, Mark pusateri02@

[flexcoders] Re: Actionscript - copy constructor/ assignment operator question

2007-05-04 Thread Doug Lowder
The String class does that though, doesn't it? For example, var sid1 :String = new String(ID_101-102-103); var sid2 :String = ID_101-102-103; var sid3 :String = new String(sid1); are all legal. Maybe there is a reason why String can't be extended (I haven't tried it), but it might be worth

RE: [flexcoders] Can a VO have 2 Remote Classes?

2007-05-04 Thread Peter Farland
Just to follow on this, note that obviously the last alias will always be used to send instances of the VO. I'm assuming that you're only retrieving VOs from one source and then sending and potentially receiving them to another source. From:

[flexcoders] Re: filter array collection property.

2007-05-04 Thread simonjpalmer
You appear to have a parent child relationship (or at least a one-to-many) between daysAry and drawsQry. Are you rendering this parent-child in a tree? I can't quite figure out what you are showing where. --- In flexcoders@yahoogroups.com, Ian Skinner [EMAIL PROTECTED] wrote: I have a remote

Re: [flexcoders] Why aren't we allowed to process the event queue? (eg: like DoEvents)

2007-05-04 Thread Troy Gilbert
Comparing threads to assembler is a bit extreme. They can certainly be delivered in a highly abstracted, self-contained way (and you'd probably even call it by something other than threads to get the point across regarding the special nature I described... more like an AsyncObject or

Re: [flexcoders] Using SVN (tortoise) with Flex Builder

2007-05-04 Thread Troy Gilbert
Really? That's weird... do you use Subclipse end-to-end, i.e. bring your project into SVN the first time by sharing the project through SVN? It certainly doesn't check in my bin folder. In fact, we brought on a contractor who was using SVN from the command-line (or perhaps Tortoise) and was just

[flexcoders] LinearAxis - need help with value ordering! (Repost with sample code)

2007-05-04 Thread Peter Demling
Hi All, Any suggestions on how to get a numerical y-axis to start at the maximum value and descend on up? For example, the sample app below starts the y-axis at zero and goes up to 5; I want it to start at 5 and go up to zero: VerticalAxis.reverseDefaultSortOrder() or something. I've tried and

Re: [flexcoders] Re: Actionscript - copy constructor/ assignment operator question

2007-05-04 Thread Troy Gilbert
String is a primitive type, like int/uint/Number (which have operators) and Boolean, which all have special casting rules and operator overloading. Be happy for that, at least... we could be *forced* to call toString() every time we wanted the conversion (fortunately, it happens automatically

[flexcoders] Application close event

2007-05-04 Thread André Rodrigues Pena
Hi all, Is it possible to make a flex application to throw a HTTPService at close event?. I mean, when the user closes de browser? -- André Rodrigues Pena LOCUS www.locus.com.br

[flexcoders] SWF Size Puzzler

2007-05-04 Thread Jim Grinsfelder
I have a pair of applications. Each is relatively form-based with 4-5 forms. They each compile to SWFs around 350-370KB. I was curious so I cut the code from one and pasted it into a copy of the other, effectively combining the two into one SWF when I compiled them. It grew by 12kb. There

[flexcoders] Apollo RELEASE quality?

2007-05-04 Thread Steve Kellogg
Hello, I'm really excited about Apollo, as I'm sure of most of us. I have a question however. Does anyone have a ballpark date as to when Apollo might be ready for PRODUCTION RELEASE? I have a commercial product that we need to deploy as a desktop application, and I'm just not sure that

RE: [flexcoders] ProgressBar doesn't get updated immediately

2007-05-04 Thread Alex Harui
validateNow() does not update the screen. The screen is only updated after actionscript finishes executing. Most folks break things up in some way using callLater. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Pan Troglodytes Sent:

[flexcoders] Re: filter array collection property.

2007-05-04 Thread simonjpalmer
OK, I get it. Do you always show all daysAry instances or are they themselves filtered? --- In flexcoders@yahoogroups.com, Ian Skinner [EMAIL PROTECTED] wrote: You appear to have a parent child relationship (or at least a one-to-many) between daysAry and drawsQry. Are you rendering this

RE: [flexcoders] SWF Size Puzzler

2007-05-04 Thread Alex Harui
The minimum swf is about 135K, as you add components, charts, FDS, etc it starts to build up and you can get to 200K easily. If you stuck in one of everything, you'd be up past 600K. However, you must also note that SWFs are compressed so copying and pasting similar code isn't going to get you

[flexcoders] Re: LinearAxis - need help with value ordering! (Repost with sample code)

2007-05-04 Thread simonjpalmer
I'd look at using a custom renderer for the y-axis labels. I'm not exactly sure how but I am willing to bet that you can do it. Is there a label function or something similar on the LinearAxis? Have you poked around on Ely's blog (quietlyscheming.com) In the extreme case you can always

RE: [flexcoders] Re: filter array collection property.

2007-05-04 Thread Ian Skinner
OK, I get it. Do you always show all daysAry instances or are they themselves filtered? At this iteration, they are always displayed. This should be a fairly solid requirement. Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s)

[flexcoders] Re: Help! Object integrity across DataService.commit()

2007-05-04 Thread simonjpalmer
Thanks for the tip Pete, anything to reduce the noise in the logs is good. Jeff mentioned the TraceTarget tag on the client side and I have been doing some digging there. I'm not completely clear how to use it. Are there any light docs I can read to get me started? I am used to writing trace

[flexcoders] youtube

2007-05-04 Thread André Rodrigues Pena
is there a way to embed a youtube video inside a flex 2 application? -- André Rodrigues Pena LOCUS www.locus.com.br

[flexcoders] Request For Information On Use Of List Classes

2007-05-04 Thread Alex Harui
FlexCoders, We here at Adobe are looking at adding some cool new features to the DataGrid for the next major release. As we look at the implementation issues we've realized that we could get better performance out of the new features if we make some changes to the current implementation that

RE: [flexcoders] Re: Help! Object integrity across DataService.commit()

2007-05-04 Thread Peter Farland
mx:TraceTarget level=0 is the MXML tag that maps to the mx.logging.targets.TraceTarget class. This is just one implementation of the ILoggingTarget API that happens to use the Flash Player trace() API. As you noticed, trace() only works with the debug Flash Player... but you don't have to

[flexcoders] display hand cursor on flex chart

2007-05-04 Thread Raider226
Hi all, Does anyone know how to display the hand cursor over a chart element in flex 2.0? I was able to do this in 1.5 using the method described here: http://www.prismix.com/blog/2005/11/how_do_i_display_a_hand_cursor.cfm but it doesn't seem to work in flex 2.0. any ideas? thanks, chris

[flexcoders] Hoe to Extend the EmailValidator using the Model approach?

2007-05-04 Thread Amine Diab
Hello, I need to customize the EmailValidator class to perform post validation on multiple email fields on a flex form. I am using the mx:model to pass the mulitple email fields to the validator: mx:Model id=client registration email

[flexcoders] Re: LinearAxis - need help with value ordering! (Repost with sample code)

2007-05-04 Thread Peter Demling
Hi Simon, Thanks for the reply. There are custom label functions for the various axes, but I need my datapoints to map to reverse order as well, so I don't think this would work. My best hack solution right now is to force a reverse by transforming the data in my dataProvider before charting

[flexcoders] Re: LinearAxis - need help with value ordering! (Repost with sample code)

2007-05-04 Thread simonjpalmer
That was going to be my next suggestion, create yourself an inverted chart space and plot points in that space. You shouldn't have to change your raw data. In your shoes I would either have a specialised getter for your y value e.g. public function get chartYValue():Number { return

[flexcoders] Re: DataGrid and complex objects..

2007-05-04 Thread paulwelling
Hello Alex, Sorry being such the nob... but couldn't find the mentioned post at http://blogs.adobe.com/aharui/ .. Thank you for all the help! Paul --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: No plans. It slows down everybody. However, I posted a solution on my

Re: [flexcoders] Re: Html Text does NOT print in same format as rendered on scre

2007-05-04 Thread John Robinson
Scott - I didn't notice the loss of quality when I tested it (quickly) yesterday, but I'm noticing it now that you mentioned it. I played with it a bit more but the only thing I found that helped at all (though still not great) was to set smoothing = true for the Bitmap. It looks better

[flexcoders] Acessing stage Height

2007-05-04 Thread patricklemiuex
I have a sprite, it's added to the display... I understand that any display object has access to the stage Object. Can someone clear the confusion for me, what's the deal here, I get a null error trying to access the stage height... I've even tried to call another method after addChild to make

[flexcoders] Re: Help! Object integrity across DataService.commit()

2007-05-04 Thread simonjpalmer
Thanks again Pete. So I have this in my application code which is stolen directly from the docs: mx:TraceTarget mx:filters mx:Array mx:Stringmx.data.DataService/mx:String mx:Stringmx.data.ConflictResolver/mx:String /mx:Array /mx:filters !-- 2

Re: [flexcoders] Re: Actionscript - copy constructor/ assignment operator question

2007-05-04 Thread Paul J DeCoursey
Troy Gilbert wrote: String is a primitive type, like int/uint/Number (which have operators) and Boolean, which all have special casting rules and operator overloading. Be happy for that, at least... we could be *forced* to call toString() every time we wanted the conversion (fortunately,

[flexcoders] Re: filter array collection property.

2007-05-04 Thread simonjpalmer
in that case you want a filter function on a ListView representing your child objects. To bind it to your combo box you could have several functions, one for each state and alter the filter function on the ListView when the combo box contents changes. --- In flexcoders@yahoogroups.com, Ian

[flexcoders] pie chart - changing default orientation of the wedges

2007-05-04 Thread vijay95052
Hello, By default, the wedges are laid out in a counter clockwise direction in a pie chart - I need to get them rendered in a clockwise direction - couldnt find any attribute in the piechart or pieseries tags to help me achieve this. Any ideas? thanks vijay

[flexcoders] fds httpChannel error

2007-05-04 Thread ave8879
I have fds set up on a server using Coenaets test drive settup. If I try to connect to one of the message destinations using the httpChannel protocol It times out. I have httpChannel as the third option in the configureation of that destination because the computer Im using at work to test

RE: [flexcoders] Acessing stage Height

2007-05-04 Thread Alex Harui
There is an evil nasty trick in Flex that your components aren't on the display list until the applicationComplete event. We did that to get a measurable performance gain at app startup. The stage is still available, but as systemManager.stage. -Alex From:

RE: [flexcoders] Re: DataGrid and complex objects..

2007-05-04 Thread Alex Harui
It is the sub-object example in this post: http://blogs.adobe.com/aharui/item_renderers/ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of paulwelling Sent: Friday, May 04, 2007 12:28 PM To: flexcoders@yahoogroups.com Subject: [flexcoders]

Re: [flexcoders] display hand cursor on flex chart

2007-05-04 Thread Michael Wills
I'm not sure about charts, but I just tried this out with a ButtonBar. You set the useHandCursor = true, but you also have to set buttonMode = true as well. You may also need to set mouseChildren = false. Hope that helps, Michael Raider226 wrote: Hi all, Does anyone know how to display

Re: [flexcoders] Acessing stage Height

2007-05-04 Thread Michael Wills
Hmm... sorry newbie here. So it's returning null because this, the _preloader, hasn't actually been instantiated yet? But if this were called after applicationComplete then it would be fine? Michael Alex Harui wrote: There is an evil nasty trick in Flex that your components aren't on the

Re: [flexcoders] Re: Actionscript - copy constructor/ assignment operator question

2007-05-04 Thread Manish Jethani
On 5/4/07, Troy Gilbert [EMAIL PROTECTED] wrote: String is a primitive type, like int/uint/Number (which have operators) and Boolean, which all have special casting rules and operator overloading. There's no special operator overloading in String. For example: var n:int = hello.length;

[flexcoders] Remove white space around list items

2007-05-04 Thread Ian Skinner
I have a list control in a fairly small area, I would like to tighten up the items in the list by removing some of the whitespace around each item, but I'm not getting clear results with what I have tried so far. mx:List id=area height=60 dataProvider={parentApplication.areas}

Re: [flexcoders] Acessing stage Height

2007-05-04 Thread Michael Wills
Do you want the height of the entire stage, i.e. of the whole Flex app? I believe you can get to that through Application.application.height. Have you tried that? Hope that helps, Michael patricklemiuex wrote: I have a sprite, it's added to the display... I understand that any display

Re: [flexcoders] display hand cursor on flex chart

2007-05-04 Thread Manish Jethani
On 5/5/07, Raider226 [EMAIL PROTECTED] wrote: Does anyone know how to display the hand cursor over a chart element in flex 2.0? I was able to do this in 1.5 using the method described here: http://www.prismix.com/blog/2005/11/how_do_i_display_a_hand_cursor.cfm but it doesn't seem to work

RE: [flexcoders] Re: Help! Object integrity across DataService.commit()

2007-05-04 Thread Peter Farland
If the log file does not appear and you have a mm.cfg file, then usually it's because the debug version of the Flash Player is not installed (i.e. the debug version of the Flash Player installers that come with Flex... as you well know). Is there any chance that you updated to 9.0 r45 from the

Re: [flexcoders] youtube

2007-05-04 Thread Manish Jethani
On 5/5/07, André Rodrigues Pena [EMAIL PROTECTED] wrote: is there a way to embed a youtube video inside a flex 2 application? You could either embed the YouTube video player itself (SWF) using SWFLoader, or you could play the FLV directly using VideoDisplay.

Re: [flexcoders] Remove white space around list items

2007-05-04 Thread Manish Jethani
On 5/5/07, Ian Skinner [EMAIL PROTECTED] wrote: I have a list control in a fairly small area, I would like to tighten up the items in the list by removing some of the whitespace around each item, but I'm not getting clear results with what I have tried so far. Did you try setting paddingLeft

Re: [flexcoders] Acessing stage Height

2007-05-04 Thread Manish Jethani
On 5/5/07, Michael Wills [EMAIL PROTECTED] wrote: Hmm... sorry newbie here. So it's returning null because this, the _preloader, hasn't actually been instantiated yet? But if this were called after applicationComplete then it would be fine? It's null because the application has not been

Re: [flexcoders] Application close event

2007-05-04 Thread Manish Jethani
On 5/4/07, André Rodrigues Pena [EMAIL PROTECTED] wrote: Is it possible to make a flex application to throw a HTTPService at close event?. I mean, when the user closes de browser? As far as I know, when the user closes the browser, the Flash Player instance is dead, so is the Flex app -- can't

Re: [flexcoders] How to remove validators created at runtime?

2007-05-04 Thread Manish Jethani
On 5/4/07, Cosma [EMAIL PROTECTED] wrote: I have some fields that I want to validate on the fly, so I've bound the following method to a button click: private var validateThisStep():Boolean { var myValidator:Validator = new Validator(); myValidator.source = aTileList;

  1   2   >