[flexcoders] Re: How to display the Image

2007-05-18 Thread Praveen Saxena
Hi, I tried this but didnt got any success mx:DataGrid dataProvider={_xlDayData} height=180 mx:columns mx:DataGridColumn labelFunction=lfDayData headerText=Day width=200 / mx:DataGridColumn labelFunction=lfDayData headerText=High width=100 / mx:DataGridColumn

RE: [flexcoders] Override failing.... between MXML base class and AS3 subclass

2007-05-18 Thread Alex Harui
Can you show us some code? How are things set up in MXML and in the subclass? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matthew OMeara Sent: Thursday, May 17, 2007 6:16 PM To: flexcoders@yahoogroups.com Subject: [flexcoders]

RE: [flexcoders] Does Drag Drop Only Update the DataProvider?

2007-05-18 Thread Alex Harui
How do you know it didn't update __employees? Can you post a mini-example in a couple of screenfuls of text? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Geoffrey Sent: Thursday, May 17, 2007 6:11 PM To:

RE: [flexcoders] Re: How to display the Image

2007-05-18 Thread Alex Harui
I think it would look more like: mx:DataGridColumn headerText=Image dataField=image mx:itemRenderer mx:Component mx:Image / /mx:Component /mx:itemRenderer /mx:DataGridColumn From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Praveen

[flexcoders] Sound Security Errors

2007-05-18 Thread Bjorn Schultheiss
When loading sound files from a remote domain without a policyfile how do I catch security errors. I cant find any help in the documentation. Regards, Bjorn Schultheiss

Re: {Disarmed} Re: [flexcoders] Flex on Mac

2007-05-18 Thread Tom Chiverton
On Thursday 17 May 2007, fuad_kamal wrote: main window. Sure, you could size the main eclipse window across all three of your monitors, but that's not what we're talking about, here. Open a new Eclipse window, you can then drag the tabs to that one. -- Tom Chiverton Helping to appropriately

Re: [flexcoders] Re: Resize Effect for Auto

2007-05-18 Thread Tom Chiverton
On Thursday 17 May 2007, Matt wrote: Thanks for the response. That has many potential problems though. First of, that would expand to the maximum available space, whereas I only want it to take up the area it needs. So add up all your component widths. -- Tom Chiverton Helping to

Re: [flexcoders] Flex cookbook article: Flex2 XML Reader Can Create UIComponents

2007-05-18 Thread Tom Chiverton
On Friday 18 May 2007, Austin Kottke wrote: more scaleable and integration with the server end would be a lot more feasible. (As in doing HTTPRequests where serverside MXML could be generated through Velocity/JSP and then given back to the ui) I think you'd be a lot better off returning a

[flexcoders] DataGrid dynamic toolTips or dataTips

2007-05-18 Thread James
Hi all, my name is James Wilson, I am a flex programmer in the atlanta area, new to the list. On a datagrid, I'd like to display more information about the item the user is hovering over in a tooltip, but I want to get this information (a fair bit) dynamically based on a case number/id from the

[flexcoders] using custom components

2007-05-18 Thread bill.fogarty17
Hi folks, I'm trying to use a MVC model for buildin my application. I have built 2 custom components placed them in my components folder. My components are: - Appliction Layout component, similiar to a VDivided box - Custom panel component with minimise, maximise, close button. In my

[flexcoders] Events not firing from swf imported with SwfLoader

2007-05-18 Thread beecee1977
Hi, I'm not a flash expert so you'll have to bear with me on this. I'm not creating the swf's myself. I've recieved animations in swf's before and used them in image controls and they work fine. (movie clips generated in Flash MX 2004) If however the swf has a button on it (just an animation

[flexcoders] TileList skinning help

2007-05-18 Thread Jon Bradley
I'm trying to skin up the TileList component and am not having the best of luck - aside from just changing colors and whatnot. Has anyone succeeded in using skins through CSS to style the TileList component? Specifically, I have a background skin that I'm trying to use for the normal

[flexcoders] zoom for buttons in ButtonBar

2007-05-18 Thread chen_saraf
Hi, I'm kind of new to Flex :) What would be the way to show zoom effect on buttons contains withing ButtonBar? Thanks, Ken

Re: [flexcoders] Flex cookbook article: Flex2 XML Reader Can Create UIComponents

2007-05-18 Thread Austin Kottke
Ely, I find runtime MXML something that would be invaluable. It is something that if implemented could make developing in flex a lot more scaleable and integration with the server end would be a lot more feasible. (As in doing HTTPRequests where serverside MXML could be generated

RE: [flexcoders] Flex cookbook article: Flex2 XML Reader Can Create UIComponents

2007-05-18 Thread Dimitrios Gianninas
I'm not to keen on this personally for security reasons. My company just got some security training recently and I saw the effects of XSS (cross side scripting attacks). One plus for Flex is that it is not affected by this, however implementing runtime MXML execution would make it prone to

[flexcoders] WebService in AS

2007-05-18 Thread hugocorept
Hello you flexers Well, i have created an WebService in AS, because in the mxml tag way, the WSDL derived from an TextInput does NOT WORK.. :( sad... so i create this simple AS but i cant get the lastResult successful, Always give me null in the beginning, click again, and then the result,

[flexcoders] Re: Flex cookbook article: Flex2 XML Reader Can Create UIComponents

2007-05-18 Thread Ed Smith
I find runtime MXML something that would be invaluable. I'm not too sure about this. Wouldn't every swf have to link to every mx library (just in case it's used)? That would mean that every time you load from a URL you'd download the whole of MX, not just the components that are actually

Re: [flexcoders] Flex cookbook article: Flex2 XML Reader Can Create UIComponents

2007-05-18 Thread Austin Kottke
Yea, I get it. It sounds really cool though -- I'd love to be able to see dynamically created MXML and not have it to be server side (Apache IIS mod). This would make flex's value a lot higher. I suppose that there is some class in the flex framework which does this however, converts MXML to

[flexcoders] Getting 500 error on uploading

2007-05-18 Thread kumarpal jain
Hi All, I am getting HTTP status 500 when I am trying to upload a file more then 3 MB on server from my machine. I want that there should not be any restriction on file size limit. It is giving me following error message 'IOErrorEvent type=ioError bubbles=false cancelable=false

RE: [flexcoders] Re: Cairngorm 2.2 incompatible with AS-based ServiceLocator?

2007-05-18 Thread Alistair McLeod
Hi Ben, I can't think of anything that's changed between 2.1 and 2.2 that would cause this. I'm guessing that the web services your defining dynamically aren't getting registered with the service locator, so its probably a timing thing. Have you moved to Flex 2.0.1 at the same time, though I

[flexcoders] TextArea: Show selection even when focus lost

2007-05-18 Thread Mark Ingram
Hi, I have a TextArea that shows a dialog when the user makes a selection. The only trouble is, when the dialog displays, the focus is lost from the text area, and now it appears as if there is no selection. Is there a setting I can change somewhere to get the selection to always draw (or to draw

[flexcoders] Re: Difference between getChild and getAtomationChild

2007-05-18 Thread pmotzfeldt
I understand that it is a method of the IAutomationObject. But there is still something that I do not figure out. I have created an adapter that enables me to take advantage of the automation package and replay events on a Flex application I have created. With this application all the display

Re: [flexcoders] WebService in AS

2007-05-18 Thread Daniel Freiman
Actually, I may have screwed this up because loadWSDL is also asynchronous. Remove the first line of wsHelloWorld (initHelloWorld()) and just make sure to call initHelloWorld well before you call wsHelloWorld. Really you should add an eventListener to webService for LoadEvent.LOAD and not call

[flexcoders] Setting dataTipCalloutStroke={null} when dataTipMode=multiple?

2007-05-18 Thread Peter Demling
Hello, I have a CartesianChart where I don't want the calloutStroke to be drawn (and thereby offset the positioning of the dataTips from their data point), so I've set dataTipCalloutStroke={null}. This works fine when dataTipMode=single, but it does not work when I set dataTipMode=multiple: the

Re: [flexcoders] Re: Flex is Broken

2007-05-18 Thread Matt Wicks
I had a similar problem .. never really got to the bottom of it but I found that addChildAt worked while addChild didn't ? On 18 May 2007, at 15:03, Matt wrote: The exact error message I'm currently getting is as follows: RangeError: Error #2006: The supplied index is out of bounds. at

[flexcoders] Re: Flex is Broken

2007-05-18 Thread Matt
The exact error message I'm currently getting is as follows: RangeError: Error #2006: The supplied index is out of bounds. at flash.display::DisplayObjectContainer/addChildAt() at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::$addChildAt() at

[flexcoders] Re: Cairngorm 2.2 incompatible with AS-based ServiceLocator?

2007-05-18 Thread ben.clinkinbeard
Hi Alistair, _webServices is empty, but we already knew that. Looking at ServiceLocator in the debugger shows all of my WebService objects properly constructed and present, they're just not registered for whatever reason. As far as I can tell, getWebService() does not get called before the first

RE: [flexcoders] Getting 500 error on uploading

2007-05-18 Thread Dimitrios Gianninas
Something is wrong on the server-side... check your application logs to see if there is some kind of exception happening. Dimitrios Gianninas Developer Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of kumarpal

RE: [flexcoders] Flex cookbook article: Flex2 XML Reader Can Create UIComponents

2007-05-18 Thread Giles Taylor
Would this be what you are looking for? http://labs.adobe.com/wiki/index.php/Flex_Module_for_Apache_and_IIS Giles From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Austin Kottke Sent: 17 May 2007 21:09 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Flex

RE: [flexcoders] Events not firing from swf imported with SwfLoader

2007-05-18 Thread Ravi Kumar Gummadi
Flex strips off all actionscript unless it is generated by Flash 9 ! So therez no way u can monitor the events from flex From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of beecee1977 Sent: Friday, May 18, 2007 4:07 PM To:

[flexcoders] Flex is Broken

2007-05-18 Thread Matt
I have been using Flex for quite a while now and I've found quite a few moderate to serious bugs, but the one that keeps slapping my face when I approach something close to stability is this error: RangeError: Error #2006: The supplied index is out of bounds. This seems to occur due to

Re: [flexcoders] WebService in AS

2007-05-18 Thread Daniel Freiman
Hello world is an asynchronous call so the trace function will be called before HelloWorld is completed. Instead try this: [Bindable] public var webService:WebService; public function wsHelloWorld():void{ initHelloWorld(); webService.HelloWorld(myInput.text); // call web service function }

Re: [flexcoders] TextArea: Show selection even when focus lost

2007-05-18 Thread Daniel Freiman
TextField (which displays the text in TextArea) has a property alwaysShowSelection. If you don't know how to access the textField of a TextArea, check out my post on it: http://nondocs.blogspot.com/2007/05/faqtext.html. Dan Freiman nondocs http://nondocs.blogspot.com On 5/18/07, Mark Ingram

Re: [flexcoders] Flex is Broken

2007-05-18 Thread Jeffry Houser
Why not check the number of children in the container before trying to access them? And/or if you already have a variable pointed to the child, check to see that it isn't null before accessing it. If you were to provide some code it might be easier to suggest options. At 09:58 AM

RE: [flexcoders] Re: Flex is Broken

2007-05-18 Thread Andrew Trice
I noticed that you are using removeEffects on the components. That is the root of your problem. I bet it you took those off, you wouldn't get the error anymore. In my experience with Flex, I've noticed that the child indexes change when an item is actually removed (when the effect has

[flexcoders] e4x, nested elements tree data provider

2007-05-18 Thread Richard Rodseth
I'm whipping up a mock-up of a UI much like a mail client (folder tree + data grid), using XML dummy data. I've got the rows of the data grid populating with an e4x predicate, and I have the tree populating with data like this: mx:Tree x=0 y=0 width=100% height=100% dataProvider={folders}

[flexcoders] TextArea: Halo skin draws over top of child controls!

2007-05-18 Thread Mark Ingram
Hi, I have a Text Area with a child control embedded in it. Even though the child control was added last, the halo skin still gets drawn on top of everything. Which looks odd! Is there any way I can stop this? Thanks, Mark

RE: [flexcoders] Flexbuilder2 bug: line number setting not remembered

2007-05-18 Thread Petro Bochan
Hi, If you will, Eclipse doesn't have this kind of 'bug'. I think you should opt for using the plugin versus the native Flex Builder environment. Cheers, Petro From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Bruce Hopkins Sent:

Re: [flexcoders] Flexbuilder2 bug: line number setting not remembered

2007-05-18 Thread Bruce Hopkins
No, I'd would argue that it definitely is a bug. It occurs inconsistently -- sometimes I get line numbers, and sometimes I don't. On 5/17/07, Petro Bochan [EMAIL PROTECTED] wrote: Hi, This is definitely not a bug, happens from time to time. Cheers, Petro

Re: [flexcoders] e4x, nested elements tree data provider

2007-05-18 Thread Jon Bradley
Not sure what you're really asking, how to do a nested tree? You need to use XMLList instead of XML (I don't think it dynamically casts the dataProvider to a XMLList if you provide it just XML). You can swap out label with name and use the same labelField convention. good luck, - jon

[flexcoders] Re: doPrint and ViewStack

2007-05-18 Thread tkacyndra
anyone? :(

Re: [flexcoders] tree event using cairngorm

2007-05-18 Thread Tom Chiverton
On Thursday 17 May 2007, achegedus wrote: How do I call a method for a flex tree from a cairngorm command? We pass the tree into the Event, and save a copy of this in the Command before calling the Delegate. When it returns, you've got the tree to hand then. -- Tom Chiverton Helping to

Re: [flexcoders] doPrint and ViewStack

2007-05-18 Thread Tom Chiverton
On Thursday 17 May 2007, tkacyndra wrote: by half of my text is getting cut off (anything beyong the scroll bar) What scaling mode are you using for the print job ? Can you post your code ? -- Tom Chiverton Helping to paradigmatically syndicate transparent content on:

RE: [flexcoders] Re: Cairngorm 2.2 incompatible with AS-based ServiceLocator?

2007-05-18 Thread Alistair McLeod
Hi Ben, It does sound like something to do with describeType(), though I can't see Cairngorm 2.2 could have changed what it returns. Can you compare the describeType() output in the two versions. Have you debugged the application and stepped through the getWebService() call to see whats happening

RE: [flexcoders] Setting dataTipCalloutStroke={null} when dataTipMode=multiple?

2007-05-18 Thread Ely Greenfield
Set it to a stroke with an alpha of 0. dataTipCalloutStroke Stroke alpha=0 / / Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Peter Demling Sent: Friday, May 18, 2007 7:19 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Setting

[flexcoders] Re: Flex Builder - built in help ..

2007-05-18 Thread jrunrandy
That's the first time I've heard of this problem. Please check the Flex 2 Developer's Guide to see if there is a Modules chapter. If so, it's the 2.0.1 help. Another quick way to check is to look for Macintosh information in the Using Flex Builder help. And finally, if you click the LiveDocs

RE: [flexcoders] Setting dataTipCalloutStroke={null} when dataTipMode=multiple?

2007-05-18 Thread Ely Greenfield
Peter - Took a peek at the code, and that looks to be an unfortunately bug on my part. Use 'calloutStroke' instead of 'dataTipCalloutStroke' style. You might have to set it programmatically: myChart.setStyle(calloutStroke,null); That should solve the problem (and in a more

Re: [flexcoders] Flex cookbook article: Flex2 XML Reader Can Create UIComponents

2007-05-18 Thread Austin Kottke
Not exactly as it only works for Apache and IIS - no support for other servers such as tomcat, resin, etc. It's definitely in the ball park, but needs to be supported on other servers. If that could be worked out then runtime mxml wouldn't be a problem (depending on compile speed). The main

RE: [flexcoders] Re: Communication of data between parent and child movie.

2007-05-18 Thread Tracy Spratt
mySWFLoader.content.myProperty = myValue; Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ivansebastiansurya Sent: Thursday, May 17, 2007 5:55 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Communication of data

Re: [flexcoders] e4x, nested elements tree data provider

2007-05-18 Thread Richard Rodseth
Thanks, Jon. Your example works for me, but I also need to add message leaf elements, and exclude those from the tree. i.e. mx:XMLList id=folders folders folder name=account1 folder name=Inbox message name=Greetings /message /folder /folder /folders /mx:XMLList

[flexcoders] Re: Does Drag Drop Only Update the DataProvider?

2007-05-18 Thread Geoffrey
I don't have the code in front of me right now, but to be more precise, dgEmployees is not broadcasting a change event upon a DD action. I want dgEmployees to broadcast an event every time there is a change to the DataGrid. The dgEmployees DataGrid has a change event method defined,

[flexcoders] Re: Setting dataTipCalloutStroke={null} when dataTipMode=multiple?

2007-05-18 Thread Peter Demling
Thanks for the reply, Ely! I really appreciate your input. myChart.setStyle(calloutStroke,null); This works to hide the calloutStroke... ...but the positions of the dataTip boxes still get offset from the chartItems (in my case, far away from the DiamondItemRenderers of my plotSeries). In

Re: [flexcoders] e4x, nested elements tree data provider

2007-05-18 Thread Jon Bradley
Ah, I see what you mean. Tracy - yea, i realized my goof on that one after I sent the message (XML and XMLList are interchangeable for Tree). Thanks for keeping me in check. :) Try the isBranch attribute for folders that you do not want the tree to display. Then you can write a custom

[flexcoders] Re: Flex is Broken

2007-05-18 Thread Matt
That actually does fix it...shouldn't I be able to add and remove without having to write work-arounds for bugs in Flex though? If I wanted that kind of development experience I'd go back to writing HTML and JavaScript. ;) --- In flexcoders@yahoogroups.com, Andrew Trice [EMAIL PROTECTED] wrote:

[flexcoders] A couple questions on Tree controls

2007-05-18 Thread Dan Dobbs
Hi folks, I've just started playing around with a Tree control and was wondering if it's possible to NOT display the arrow graphic (that identifies that an item has children) or to replace it with another image/symbol? I've tweaked the opening/closing functionality to open/close upon clicking

RE: [flexcoders] e4x, nested elements tree data provider

2007-05-18 Thread Tracy Spratt
XML works fine with tree. The xml methods dispatch the necessary events to sync the display with the xml changes. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jon Bradley Sent: Friday, May 18, 2007 11:32 AM To:

RE: [flexcoders] Re: Setting dataTipCalloutStroke={null} when dataTipMode=multiple?

2007-05-18 Thread Ely Greenfield
DataTips were really written to be interactive tips, while a lot of people have asked for functionality that allows you to treat them more like labels. We hear the request, and are considering ways to update it for a future release. If I wanted to put labels on the plot items, I'd

[flexcoders] Flex help

2007-05-18 Thread sunitaleena
Hi, I am having this problem . I am trying to call this function from a button' s click event. The function is like this: public function Insert():void { myResult.deleteorder(orderid); for (var i:int = 0; i myData.length; i++ ) {

Re: [flexcoders] Re: Flex is Broken

2007-05-18 Thread hank williams
On 5/18/07, Matt [EMAIL PROTECTED] wrote: That actually does fix it...shouldn't I be able to add and remove without having to write work-arounds for bugs in Flex though? Of course... we should outlaw bugs :) Hank If I wanted that kind of development experience I'd go back to writing

RE: [flexcoders] TileList skinning help

2007-05-18 Thread Alex Harui
All List controls rip off the background of the renderers by blocking the CSS background styles in the main component. We do this so the selection and rollover highlights show through. You can modify the renderer to pick up the appropriate background styles, but then you may block viewing of the

[flexcoders] star (*) data type vs. Object

2007-05-18 Thread Adam Pasztory
Can anyone tell me what the difference is between setting a generic variable's data type to Object and setting it to *. Are they equivalent? I tried to search for the answer, but it's hard to do a search for *. :) thanks, Adam

RE: [flexcoders] DataGrid dynamic toolTips or dataTips

2007-05-18 Thread Alex Harui
dataTipFunction should be the answer, but I don't get what you are doing in the loop. Can you give more detail of what you are trying to accomplish? -Alex From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of James Sent: Thursday, May

[flexcoders] Re: Setting dataTipCalloutStroke={null} when dataTipMode=multiple?

2007-05-18 Thread Peter Demling
Thanks for the details on the options, especially #3. 1) Use the data graphics drawing API (see the post on my blog). Excellent; I'll start with this (I need to demo a proof-of-concept this weekend). QuietlyScheming is still refusing my connection, though (it must know I want to do unsavory

RE: [flexcoders] Flex help

2007-05-18 Thread Alex Harui
Flex/Flash is single-threaded. The loop has to complete before moving on to the URLVariables code. I'd double check to see if the data.length is what you expect From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sunitaleena Sent: Friday,

Re: [flexcoders] Re: Flex is Broken

2007-05-18 Thread Michael Schmalle
Maybe things like trying to shift into another gear without the clutch in factors into this equation as well. You didn't show any code, so I don't know if you are trying to brute force something that in the design of the framework was not a bug to begin with but an implementation. Peace, Mike

RE: [flexcoders] Flex help

2007-05-18 Thread Tracy Spratt
Data service calls are asynchronous and do not block code execution. Use the AsyncToken to track the data service calls, and a result handler function to invoke rest of the code when all of the calls have returned. Tracy From:

RE: [flexcoders] Re: Does Drag Drop Only Update the DataProvider?

2007-05-18 Thread Alex Harui
Mx:DataGrid's change event is for when selection changes, not when the collection changes. Could that be the issue? collectionChange may be what you want. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Geoffrey Sent: Friday, May 18,

RE: [flexcoders] TextArea: Halo skin draws over top of child controls!

2007-05-18 Thread Alex Harui
TextArea doesn't really expect children other than its border and scrollbars. If you add another child, you have to figure out when and how to set the z-order by using setChildIndex or getting the index right on addChildAt, and correctly report the measured width/height including the child.

RE: [flexcoders] Re: Setting dataTipCalloutStroke={null} when dataTipMode=multiple?

2007-05-18 Thread Ely Greenfield
Hmmm...seems to be down right now. I'll send you're the code directly. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Peter Demling Sent: Friday, May 18, 2007 11:43 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Setting

RE: [flexcoders] star (*) data type vs. Object

2007-05-18 Thread Peter Farland
See: http://livedocs.adobe.com/flex/2/langref/specialTypes.html#* The type * is just like Object but it can also store values that are undefined. Object can only store null. It's useful to determine whether a dynamic property actually exists on a type and just happens to be null, or whether it

Re: [flexcoders] TileList skinning help

2007-05-18 Thread Jon Bradley
Woa... great overview you have on itemRenderers on your blog. Unfortunately, I couldn't figure out what demo you were referring to that solves these problems. Could you post a direct link (or email it to me)? thanks a ton! - jon On May 18, 2007, at 2:33 PM, Alex Harui wrote: All List

Re: [flexcoders] zoom for buttons in ButtonBar

2007-05-18 Thread Joan Tan
The individual buttons on a ButtonBar are children of the ButtonBar. Therefore, you would play a Zoom effect specifying a child as the target. Here is an example: mx:Zoom id=myZoom / mx:ButtonBar id=bb horizontalGap=5 itemClick=clickHandler(event); mx:dataProvidermx:Array

Re: [flexcoders] Hide scrollbar on Horizontal List in Flex2

2007-05-18 Thread Joan Tan
Set horizontalScrollPolicy=²off² on your HorizontalList. Joan On 5/17/07 3:12 PM, mondainx [EMAIL PROTECTED] wrote: I have a horizontal list and I want to hide the scrollbar, since I use buttons/images to scroll left or right. How do I go about doing this? Paul

Re: [flexcoders] Flex cookbook article: Flex2 XML Reader Can Create UIComponents

2007-05-18 Thread John Robinson
For the archives, compile times can be greatly reduced using fcsh, though I'm not sure how you'd go about using it in a server-side environment. http://labs.adobe.com/wiki/index.php/Flex_Compiler_Shell John On May 17, 2007, at 8:30 PM, Paul J DeCoursey wrote: You can easily integrate a

[flexcoders] Re: Flex is Broken

2007-05-18 Thread Matt
It's pretty straight-forward to reproduce. Just do something like: container.removeChild(c1); container.removeChild(c2); container.removeChild(c3); container.addChild(c4); container.addChild(c5); container.addChild(c6); Just make sure that the components have addedEffects and removedEffects on

[flexcoders] TileList itemRenderer resize

2007-05-18 Thread Daniel Grace
I am using a mostly default (some options, no subclassing) TileList with a custom itemRenderer. I have been using the same itemRenderer for a while with no problems. I made a change to where one of the UI elements inside of this itemRenderer sets its visible and includeInLayout to false depending

RE: [flexcoders] Re: Flex is Broken

2007-05-18 Thread Andrew Trice
If you can, just reverse that. Add the new items, and then remove the old ones. You *should* see nearly identical visual effects, and shouldn't get that error. Without seeing the full code, I can't guarantee that it will solve your problems, but I'm pretty sure that this would help you.

Re: [flexcoders] e4x, nested elements tree data provider

2007-05-18 Thread Richard Rodseth
Thanks! That's good for now. I don't need a custom renderer because I set the defaultLeafIcon. defaultLeafIcon=@Embed(source='Assets.swf', symbol='TreeFolderClosed') On 5/18/07, Jon Bradley [EMAIL PROTECTED] wrote: Try the isBranch attribute for folders that you do not want the tree to

RE: [flexcoders] TileList skinning help

2007-05-18 Thread Alex Harui
The background color demo shows how to determine when to remove the background so the selection and highlight can show. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jon Bradley Sent: Friday, May 18, 2007 12:10 PM To:

[flexcoders] Re: selectedIndices are Strings???

2007-05-18 Thread Jason
Now, now No need for chastising. Consider how illogical ActionScript (and coding) tend to be in general. I mean we'd think a banker counting money by going 1,10,11...19,2,20,21,...3 and so on would think the banker had gone nuts. *LOL*

RE: [flexcoders] TileList itemRenderer resize

2007-05-18 Thread Alex Harui
Try setting itemsNeedMeasurement=true and calling invalidateProperties(). From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Grace Sent: Friday, May 18, 2007 12:26 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] TileList

[flexcoders] Re: DataGrid dynamic toolTips or dataTips

2007-05-18 Thread James
I want to get information about the item that is being hovered over. I don't have this information in memory, I need to get it from the web server, that requires waiting for a result event from HTTPService before returning the data I need. Thanks! --- In flexcoders@yahoogroups.com, Alex Harui

Re: [flexcoders] TileList itemRenderer resize

2007-05-18 Thread Daniel Grace
I added the following code to the TileList: public override function set dataProvider(o: Object): void { if (this.dataProvider) { this.dataProvider.removeEventListener(collectionChange, this.cc); } super.dataProvider =

[flexcoders] Printing from Flex

2007-05-18 Thread simonjpalmer
Anyone tried to do much printing from Flex? Any words of wisdom before I dive headlong into the docs and scour the message boards? Any good examples? How about Charts, anyone managed to print them successfully? And PDF generation? Anyone found a good way of doing that containing charts?

[flexcoders] Error 2152 with RTMP streams

2007-05-18 Thread Mondain
Does anyone else get this error when viewing and then attempting full screen on RTMP based FLV streams? Error #2152: Full screen mode is not allowed. And if so do you know how to fix it, in Flex2? Paul -- It is difficult to free fools from the chains they revere. - Voltaire

RE: [flexcoders] Re: DataGrid dynamic toolTips or dataTips

2007-05-18 Thread Alex Harui
Hmm. The request to the server could take a long time. What would you want to show in the interim? Waiting too long for lastResult will cause the UI to appear stuck. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of James Sent: Friday,

[flexcoders] Automatic reply

2007-05-18 Thread ilya . devers
Notice: this automatic message was sent on behalf of [EMAIL PROTECTED] Hi, I am enjoying a vacation this week. If you have an urgent matter you would like to discuss with me: ++ 31 (0)646 150 820 Or send an E-mail to Eelco Voogd, [EMAIL PROTECTED]

Re: {Disarmed} Re: [flexcoders] Flex on Mac

2007-05-18 Thread Arleston Lueders
You guys think that I have to wait for the Leopard OS to buy a MacBook? Or the Tiger OS is good too? I'll use two operacional systems... or maybe tree. Windows, Mac, Linux. Thanks 2007/5/18, Tom Chiverton [EMAIL PROTECTED]: On Thursday 17 May 2007, fuad_kamal wrote: main window. Sure, you

[flexcoders] Gradient Fill in ChartArea

2007-05-18 Thread Patrick Lemiuex
Is it possible to apply a fill to chart with a gradient without having to make a custom Renderer? Also, does anyone have any good examples of custom toot tip renderers? Thanks, Patrick

RE: [flexcoders] Re: selectedIndices are Strings???

2007-05-18 Thread Alex Harui
The look like ints to me. Did you do for..in instead of for (; length)? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason Sent: Friday, May 18, 2007 12:05 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: selectedIndices

[flexcoders] Re: Flex: Remote Objects

2007-05-18 Thread Oliver Merk
For Java: YES, you *do* need FDS For ColdFusion: No For HTTP: No, but there's a proxy in FDS you *could* use For WebServices: No, but there's a proxy in FDS you also *could* use Hope this helps, Oliver --- In flexcoders@yahoogroups.com, Scott Hoff [EMAIL PROTECTED] wrote: Do I have to have

[flexcoders] AS/Flex equivilent of getElementById() ??

2007-05-18 Thread carl_steinhilber
Given a string that represents the id of a given component, is there a way to get a handle to that component? Something like: var myCheckboxName:String = checkbox1; var myActualCheckbox:CheckBox = getElementById(myCheckboxName); myActualCheckbox.selected = true; I figured if nothing

Re: [flexcoders] Printing from Flex

2007-05-18 Thread André Rodrigues Pena
http://examples.adobe.com/flex2/inproduct/sdk/explorer/explorer.html take a look at Print Controls On 5/18/07, simonjpalmer [EMAIL PROTECTED] wrote: Anyone tried to do much printing from Flex? Any words of wisdom before I dive headlong into the docs and scour the message boards? Any good

RE: [flexcoders] AS/Flex equivilent of getElementById() ??

2007-05-18 Thread Alex Harui
mx:CheckBox id=checkbox1 ... / is referred to in the mx:Script block as: checkbox1 this.checkbox1 this[checkbox1] as in: trace(checkbox1.selected) // get the selected property There is no function since they are actually properties on the document. Subdocuments use

Re: [flexcoders] AS/Flex equivilent of getElementById() ??

2007-05-18 Thread Patrick Lemiuex
something like: var myCheckBox:CheckBox = new CheckBox(); myCheckBox.id = myCheckBoxID; Works like this: myCheckBox.selected = true; On May 18, 2007, at 4:46 PM, carl_steinhilber wrote: Given a string that represents the id of a given component, is there a way to get a handle to that

[flexcoders] Vertial Scroll Issue with Using Date Field ItemRenderer in a DataGrid

2007-05-18 Thread Troy A. Binford
Hi folks, This is a weird bug and I hope someone can help me with it. In my example code (DateRendererWTF.mxml being the main app and OMGRenderer.mxml being the renderer), everything initially scrolls fine. Then choose a date for any one of the datefields. Now move your mouse down and up so that

[flexcoders] Having really tough time with Data Services [EMAIL PROTECTED]!!

2007-05-18 Thread asherritt9
Finally figured out how to get dataservice.getItem() to work. I've bound it's result to a textInput, but changes to the interface are not affecting the DataService on commit. Does any one have a sample work flow for getting then updating data? Thanks -A

[flexcoders] WSDLError Element not resolvable with WebService using creationComplete

2007-05-18 Thread Peter Connolly
I've encountered something that looks like a timing issue within Flex2. When I try to access a WebService operation in the 'creationComplete' param of mx:Application: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute

[flexcoders] WSDLError Element not resolvable with WebService using creationComplete

2007-05-18 Thread Peter Connolly
When I include a creationComplete .send() to a WebService in my app: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=wsWidgetQueries.GetWidgetsByType.send() mx:WebService id=wsWidgetQueries

[flexcoders] Re: WebService sending dynamic XML - problem

2007-05-18 Thread discipl4
It just doesn't seem 'right' to do that, you know? :) With all of the great XML constructs in Flex, to have to do a sloppy translation of gt; into on the webservice side.. I cant sleep at night :) It seems like such a hack hehehe. - - Dan --- In flexcoders@yahoogroups.com, Tracy Spratt

  1   2   >