Re: [flexcoders] Re: Chart itemRenderers - how to get origional data values?

2007-09-06 Thread shaun
Hi Barry, barry.beattie wrote: rats! didn't work _label.text = _chartItem.item[BarSeries(_chartItem.element).xField]; Call to a possibly undefined method BarSeries var bs:BarSeries = _chartItem.element as BarSeries; if (bs) ... cheers, shaun

[flexcoders] Re: Tree collapses when dataProvider for tree changes

2007-09-06 Thread Baljeet singh
Hi, Thanks for suggestion. But dataProvider has to be changed, accordingly tree changes. Considering XML as tree of nodes, I am retrieving that particular node when dataProvider changes on the basis of id attribute . Each node is going to have unique value for id atribute in XML

[flexcoders] Selected Text Color for Accordion

2007-09-06 Thread Jaganathan.K
Hi, I want to change the text color for the selected accordion. I am not able to find any styles to do the same. I tried the selectedTextColor option, it applies only when i click on the accordion, but then it changes back to its own color. Any help would be appreciated. Thanks Regards Jaga

RE: [flexcoders] Re: Tree collapses when dataProvider for tree changes

2007-09-06 Thread Alex Harui
You said that last time, and I still don't know what it means to change on the basis of an id attribute. I am recommending you not use {} to assign the dataprovider if possible. If you are changing the xml, you may need to cal validateNow before calling expandItem.

RE: [flexcoders] using Modules Problem

2007-09-06 Thread Alex Harui
Please do not hijack threads. Apparently nobody has a ticker to share or they are too busy or on vacation to answer you. This is a volunteer group so no-one is obligated to respond and they won't unless they have good news for you. I thought there was a ticker out there, but if not, you'll

RE: [flexcoders] customize busy cursor permanently

2007-09-06 Thread Alex Harui
busyCursor is a style. See defaults.css From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ary Sent: Wednesday, September 05, 2007 10:23 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] customize busy cursor permanently Hi :) i'm

[flexcoders] How do I get a property from a custom component?

2007-09-06 Thread Paul Steven
I have a repeated custom component as follows: mx:Repeater id=productsRepeater dataProvider={this.category1} local:ComFolderItem mouseOver=CFSMouseOver_Folder(event) click=CFSClick_Folder(event) studentName='{productsRepeater.currentItem.productName + ( +

[flexcoders] Re: Memory Allocation Error - Garbage Collection Hack

2007-09-06 Thread marcel.panse
Nobody want to give it a shot? --- In flexcoders@yahoogroups.com, marcel.panse [EMAIL PROTECTED] wrote: Check out the source code at: http://base.google.com/base/a/2685374/D9044196074378539154 --- In flexcoders@yahoogroups.com, marcel.panse marcel.panse@ wrote: Hi, I'm working on

RE: [flexcoders] customize busy cursor permanently

2007-09-06 Thread Ary
ahh i see..i did missed that thanks alex! --- Alex Harui [EMAIL PROTECTED] wrote: busyCursor is a style. See defaults.css From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ary Sent: Wednesday, September 05, 2007 10:23 PM To:

Re: [flexcoders] Flex canvas more then 4300px?

2007-09-06 Thread Tom Chiverton
On Wednesday 05 Sep 2007, [EMAIL PROTECTED] wrote: My SFW file height is 5000px, and it works just fine, but the canvas component stops expanding at 4300px, anyone knows why? Text components work. There are player-built-in limits. -- Tom Chiverton Helping to autoschediastically build

Re: [flexcoders] please help itemrenderer accessing

2007-09-06 Thread Tom Chiverton
On Thursday 06 Sep 2007, [EMAIL PROTECTED] wrote: ItemRenderers are tricky because they are recycled. Even resizing the internal image might cause a reĀ­renderer and change which renderer is displaying the image. Once you know the way to do things, it's very easy though (like most Flexy

RE: [flexcoders] newbie

2007-09-06 Thread Mathe Maema
I am sorry but I am slow. By applying the filter in the main instance variable, are you suggesting that I put it somewhere within this function? private function accommodationLocatorResultHandler(event:ResultEvent):void { var lodgings:ArrayCollection =

[flexcoders] Text display in a ComboBox

2007-09-06 Thread kramus0
Hi, I have a simple question concerning the text display in a (closed) ComboBox. Is it possible to reduce the offset of the displayed text from the upper left corner? My ComboBox seems to be large enough for the text but by default I have an offset of 6 pixels to the top and around 4 pixels to

[flexcoders] Re: Tree collapses when dataProvider for tree changes

2007-09-06 Thread Baljeet singh
Hi, Lets consider an XML as tree of nodes. Let me explain u the meaning of id. My sample XML string look like: node!--First Level -- node id=1 name=A code=1!--Second Level -- node id=2 name=A-1 code=1-1/ !--Third Level --

[flexcoders] Re: Chart itemRenderers - how to get origional data values?

2007-09-06 Thread barry.beattie
awww ... woe ... 1180: Call to a possibly undefined method BarSeries. 1120: Access of undefined property BarSeries. 1046: Type was not found or was not a compile-time constant: BarSeries. import mx.charts.series.items.BarSeriesItem; import mx.charts.series.items.*; //eh,whynot ...

[flexcoders] Editable tab titles

2007-09-06 Thread Roy Tang
Hi all, Say I wanted to provide a tabbar with a certain functionality...I want the user to be able to double-click the tab header to edit the tab title. What would be the best way to go about it? Trap the double click event on the tab and dynamically create a TextInput control at that

[flexcoders] skins of buttons in ToggleButtonBar

2007-09-06 Thread shemeshkale
HI, how do i set the skins for each button in a ToggleButtonBar? each button in this ToggleButtonBar should get its own skin. what i m tying to do is to set the upSkin, downSkin, overSkin, selectedUpSkin, selectedOverSkin, selectedDownSkin for each one of them buttons. this ToggleButtonBar is

[flexcoders] Flex Fonts: How to implement the Bitmap text (no anti-alias) effect in Flex

2007-09-06 Thread polestar11
Hi there Flash 8 and up provide an option in the property panel for textfields, Bitmap text (no anti-alias). I can use this with embedded fonts to get clear text without depending on the user having the font installed. How do I do this with the Flex compiler? From what I can see, I can only set

[flexcoders] Re: skins of buttons in ToggleButtonBar

2007-09-06 Thread shemeshkale
reply to myself: i have succeeded doing so like this: private function btnsComplete():void{ Button(btnBar.getChildAt(0)).setStyle(upSkin, i1a); Button(btnBar.getChildAt(0)).setStyle(overSkin, i1a); Button(btnBar.getChildAt(0)).setStyle(downSkin, i1a);

[flexcoders] web services

2007-09-06 Thread manjunathg88
Hi guys...i m manju here new to this group.even new to flex technology. from my past one month experience i came to know that its awesome...superbmorever i hav learnt little,it made me to feel incredible technologyits rocking evrywhere...

Re: [flexcoders] ManureMail.com

2007-09-06 Thread Appan Parige
Hi, i am seeing except some text and next button which is showing contactinfo. Appan. On 9/6/07, Dave [EMAIL PROTECTED] wrote: Am I missing something? All I see is an image with one 'Next' button that actually does a pop-up of contact info? Dave *Brendan Meutzner [EMAIL PROTECTED]*

[flexcoders] Remoting issue (.net fluorine framework)

2007-09-06 Thread Appan Parige
Hi All, I am developing a flex application using .net fluorine framework. Earlier i used web services written in c#. I used the code in this manner: Webservice mx:WebService id=smHttp wsdl= http://localhost/SM.WebSrv/default.asmx?WSDL; fault=Alert.show( event.fault.faultString) useProxy=false

[flexcoders] Help needed in drag and drop of Flex tree

2007-09-06 Thread Sujatha Malik
Hi, We have an application which allows drag and drop between multiple trees and lists. Here are the steps I follow to refresh on drag and drop: 1. Dispatch a custom event which calls server. 2. On successful response from server I change the model which is data provider for the tree. 3.

[flexcoders] Re: Disable scrolling via mouse wheel

2007-09-06 Thread Jayson
no luck.. heres what i did.. public function wheelStop():void{ myTextArea.addEventListener(MouseEvent.MOUSE_WHEEL, mouseWheelHandler); } public function mouseWheelHandler(event:MouseEvent):void{ event.stopImmediatePropagation(); } and I called wheelStop() in the creationComplete function and

[flexcoders] Data binding not displaying anything on subesquent visits to screen

2007-09-06 Thread Paul Steven
I could really do with some help on this one. I have a screen (State) in my application that displays some custom mxml components using a repeater. The first time I come to this screen, all the data appears correctly. However if I navigate away from this screen to another screen (State), then

RE: [flexcoders] stock ticker: was using Modules Problem

2007-09-06 Thread Matt Horn
The first hit on a google search of Flex stock ticker comes up with an example by Peter Ent: http://weblogs.macromedia.com/eanderson/archives/2004/12/stock_ticker_in .cfm -matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Alex Harui

RE: [flexcoders] ResourceBundle - Problem with ActionScript code

2007-09-06 Thread Matt Horn
So, rather than methods like getString() on ResourceBundle, you use methods like getString() on ResourceManager, like this: var s:String = resourceManager.getString(bundle_name, key); -matt -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

[flexcoders] Load MXML at run time?

2007-09-06 Thread M@ Sheppard
I'm designing what is in essence a custom registration form, so clients of our flex app can design their own registration information. I'd like to try to store MXML somewhere on the server or perhaps the database and render it at runtime based on what client is using the application. For

Re: [flexcoders] Load MXML at run time?

2007-09-06 Thread Sheriff
i think livecycle does that, not sure if thats what u mean, it compiles the app on the server and sends it to the user - Original Message From: M@ Sheppard [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Thursday, September 6, 2007 9:45:41 AM Subject: [flexcoders] Load MXML at

[flexcoders] Re: NEW FLEX WEBSITE: ManureMail.com

2007-09-06 Thread Randy Cooper
Ah my friend - ancient Chinese secret. Actually, neither ancient or Chinese Just just spaces in your text (yeah there's a little trial and error involved) and then plop down the link button. --- In flexcoders@yahoogroups.com, grimmwerks [EMAIL PROTECTED] wrote: Think it looks great - but

RE: [flexcoders] Load MXML at run time?

2007-09-06 Thread Brian Holmes
We attempted this but found it much easier to manage by using mx:States but if you must, look at the isapi plugins on adobe labs, or livecycle, store the mxml strings in the db, then compile and serve the resulting swf with your web server. brian..

[flexcoders] Re: NEW FLEX WEBSITE: ManureMail.com

2007-09-06 Thread Randy Cooper
Brendan, DARN good question!!! 1) I wanted to build an entire site in Flex. Why? Same reason the guy climbed Everest - because it was there. 2) I had originally started the project in PHP and AJAX using a freebie template I'd found. Between getting bogged down in a mire of DIV tags and all kinds

[flexcoders] Re: NEW FLEX WEBSITE: ManureMail.com

2007-09-06 Thread Randy Cooper
--- In flexcoders@yahoogroups.com, Jayson [EMAIL PROTECTED] wrote: I see that you have digg and reddit and all those, do you have a method for handling url requests? How does the site your sending it to (digg for example) know which page it is being sent? or are you just sending

RE: [flexcoders] Re: loading images at runtime

2007-09-06 Thread Brian Holmes
look into using a runtime shared libraries ( RSL ) or use the url to your image somebody smarter than me may have another option. somebody? brian.. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sk_acura Sent: Thursday,

[flexcoders] Re: ManureMail.com

2007-09-06 Thread Randy Cooper
It's manuremail.com not randycooper.net --- In flexcoders@yahoogroups.com, Appan Parige [EMAIL PROTECTED] wrote: Hi, i am seeing except some text and next button which is showing contactinfo. Appan. On 9/6/07, Dave [EMAIL PROTECTED] wrote: Am I missing something? All I see is an

[flexcoders] Re: ManureMail.com

2007-09-06 Thread Randy Cooper
Yes, you're missing something - the right URL. You went to my randycooper.net site vs. ManureMail.com --- In flexcoders@yahoogroups.com, Dave [EMAIL PROTECTED] wrote: Am I missing something? All I see is an image with one 'Next' button that actually does a pop-up of contact info? Dave

Re: [flexcoders] Re: NEW FLEX WEBSITE: ManureMail.com

2007-09-06 Thread Tony Alves
Randy, I second that sentiment! Flex kicks ass! I am still struggling with the 100% Flex site structure. Will it be too much out of the gate? Will users get turned off everytime they see a site using flash/flex, because so many developers are going to use it when there was no need for it?

[flexcoders] [Embed] path

2007-09-06 Thread Richard Rodseth
I'm afraid after reading the docs and flexcoders archive, I'm still confused by this unable to resolve for transcoding error. My library project is laid out as follows: assets ..images myimage.png src ..com foo ..MyClass.as MyClass.as contains one of:

[flexcoders] Populating XMLListCollection and sending it to a Datagrid

2007-09-06 Thread its_llpj
Hello, I'm trying to populate a datagrid. Here is my code. Everything works, but when I use the dataProvider dg2data within my datagrid it comes back empty. I know there is data there, but not sure if I'm missing something. public function onSelectFirstGrid(event:Event):void {

[flexcoders] Re: Problem with Content spilling over beyond it's container's bounds

2007-09-06 Thread Ryan Stawarz
I'm having a very similar issue. Did you ever come up with a good resolution or at least an understanding as to what was going on? --- In flexcoders@yahoogroups.com, Mike Anderson [EMAIL PROTECTED] wrote: Hello All, I have an irritating problem with a draggable TitleWindow, that houses a

[flexcoders] DataGrid Scrolling Weirdness

2007-09-06 Thread cjsutherland
Hi y'all, I'm having a problem with my DataGrid. I'm using a custom component as an ItemRenderer in one of the cells. It generates two buttons. The buttons are colored differently depending on the data. It looks like this: mx:HBox xmlns:mx=http://www.adobe.com/2006/mxml;

[flexcoders] Multiple Drag and Drop handlers

2007-09-06 Thread Daniel
Hi coders, I'm trying to implement multiple dragdrop components in the same view, each with a different drop container. The problem is that every container have an dropHandler, and when I'm dragging the first component over the second component's container the drop action is enabled. Of course I

[flexcoders] playing videos from s3

2007-09-06 Thread grimmwerks
We're trying to play some videos from an amazon s3 bucket, but we keep getting a security error. I've tried putting a crossdomain.xml up there, but that's not working. What's the correct way to deal with this? Thanks

[flexcoders] Re: Is there a way to debug Flex without Flex Builder?

2007-09-06 Thread Mike Morearty
Yes, there is: the free Flex SDK includes fdb, a fully functional command-line debugger. The command set of fdb is modeled after that of gdb, so if you have used gdb, its commands will be familiar. For basic instructions, run fdb, then type help at the prompt. - Mike Morearty Flex Builder

RE: [flexcoders] DataGrid Scrolling Weirdness

2007-09-06 Thread Alex Harui
creationComplete only gets called once. You need to react to dataChange. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of cjsutherland Sent: Thursday, September 06, 2007 9:19 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] DataGrid

RE: [flexcoders] Populating XMLListCollection and sending it to a Datagrid

2007-09-06 Thread Brian Holmes
if you know the name of the child you want to loop over you can access it like dataprovider={myXmlListCollection.myChildElement} otherwise, you can usually use something like dataprovider={dg2data.getChildern()} which returns an XMLList brian..

RE: [flexcoders] Re: Problem with Content spilling over beyond it's container's bounds

2007-09-06 Thread Alex Harui
Are you reporting a measured or explicit widht/height in measure() and matching that in updateDisplayList()? If you base it on the SWF size, keep in mind that the SWF's size may change and measure incorrectly. From: flexcoders@yahoogroups.com [mailto:[EMAIL

Re: [flexcoders] ManureMail.com

2007-09-06 Thread Jeffry Houser
Go to the URL in the subject ( manuremail.com ) not the URL in Randy's sig ( http://www.randycooper.net ) Appan Parige wrote: Hi, i am seeing except some text and next button which is showing contactinfo. Appan. On 9/6/07, *Dave* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:

Re: [flexcoders] Re: NEW FLEX WEBSITE: ManureMail.com

2007-09-06 Thread Michael Schmalle
Yeah, That struggle was evident from the transition of MS DOS to Windows... Application centric internet/desktop IS the future, just depends on the road we take to get there. Peace, Mike On 9/6/07, Tony Alves [EMAIL PROTECTED] wrote: Randy, I second that sentiment! Flex kicks ass! I am

RE: [flexcoders] Re: Problem with Content spilling over beyond it's container's bounds

2007-09-06 Thread Ely Greenfield
Given Alex's point, that SWF size can change dynamically, getting your measure/updateDisplayList functionality right might be difficult. An easy solution, in my mind, would be: 1) Set the width/height of your custom class to 100%, so it fills your title window (or do whatever you

[flexcoders] DataGrid Speed

2007-09-06 Thread j_lentzz
Hi, I have an app where it uses a datagrid to display screen data. The grid is 25 columns wide with 3 columns of comboboxes, 5 columns of checkboxes and the rest are textinputs. The number of rows varies, but can be as high as 40. What I'm seeing is that after all the server results have been

RE: [flexcoders] Re: Chart itemRenderers - how to get origional data values?

2007-09-06 Thread Ely Greenfield
You probably need an import statement. import mx.charts.series.BarSeries; Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of shaun Sent: Wednesday, September 05, 2007 11:06 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Chart

RE: [flexcoders] How do I get a property from a custom component?

2007-09-06 Thread Tracy Spratt
Yes, the evt_obj target or currentTarget has a reference to the custom component. Have a getter function in the component return the name. I also advise passing in the entire item. It cleans up the code and provides flexibility when you decide you need some other bit of item data in the

[flexcoders] file not included in bin

2007-09-06 Thread Ben Marchbanks
I have a project that for some reason stopped including a file in the bin folder when debugging or doing a clean build. In particular the style.css. Now I have to manually add it to the 'bin' folder each time I update the web server. here is a snippet of my project folder Project assets

Re: [flexcoders] DataGrid Speed

2007-09-06 Thread Scott - FastLane
John - I am guessing that it is the large number of complex controls (particularly combo box) you are using as renderers that is slowing you down. I had a similar situation and had to change my app such that the data rendered for combo boxes and text inputs is rendered using mx:Label or

Re: [flexcoders] Flex Fonts: How to implement the Bitmap text (no anti-alias) effect in Flex

2007-09-06 Thread Sebastian Zarzycki
polestar11 wrote: Hi there Flash 8 and up provide an option in the property panel for textfields, Bitmap text (no anti-alias). I can use this with embedded fonts to get clear text without depending on the user having the font installed. How do I do this with the Flex compiler? From what I

RE: [flexcoders] Populating XMLListCollection and sending it to a Datagrid

2007-09-06 Thread Tracy Spratt
Are you sure onResult is getting called? If so, trace out dg2data.toXMLString() to make sure you have what you expect. You should see readable xml. Make sure name is a first generation child node name in the item node. Tracy From:

RE: [flexcoders] Re: Tree collapses when dataProvider for tree changes

2007-09-06 Thread Tracy Spratt
A few things to consider. 1) How are you adding nodes?. If you use XML as the dataProvider and use the XML API to add the nodes, the tree will not collapse. 2) After you programatically change a dataProvider, you need to use callLater to defer any interaction with the Tree

[flexcoders] Best DataProvider for Combo Box

2007-09-06 Thread Michael Sumner
I am using CF remote objects I want to populate a Combo Box from the result of the CFC method - TermsList which will be a query with two fields TermDesc, and TermCode. Should this be an ArrayCollection or just an Array or something else? I want to display the TermDesc and use TermCode

Re: [flexcoders] playing videos from s3

2007-09-06 Thread grimmwerks
Extremely frustrating; I'm now trying to deal with any possible crossdomain.xml or even putting the flash up on the s3 bucket; but the video won't load.

[flexcoders] Re: DataGrid Speed

2007-09-06 Thread j_lentzz
I was wondering about using labels and text as renderers and then making the editor the combobox. I'm already using ArrayCollections for providers. Do you have a feel for how much a speed improvement getting rid of combobox renderers was? Another thought is how did you indicate to the user that

[flexcoders] Why will Debug show all my datagrid results

2007-09-06 Thread Michael Sumner
I have an application that has two datagrids if I view/test the app with just the browser only one datagrid populates, if I view/test with debug both datagrids populate? I do receive this warning in the Flash tracer window of firefox, though I am able to insert data to the db. The warning shows

RE: [flexcoders] newbie

2007-09-06 Thread Tracy Spratt
Get your filtering code working without the event and custom event object. I think you need to have a better understanding how filtering works. Review the docs if needed. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mathe

RE: [flexcoders] Best DataProvider for Combo Box

2007-09-06 Thread Tracy Spratt
Array is fine if you do not plan to programatically update parts of the data. If you do, use ArrayCollection, because its API dispatches the events necessary to sync the visual control with the changed data. There is no problem calling multiple functions. However, remember that all the

[flexcoders] How to update UI during long operations

2007-09-06 Thread Robert Stehwien
I've got a long operation that is updating the UI through data binding, but the UI doesn't update until the operation finishes. How can I relinquish enough control to the UI to update during long operations? Thanks, Robert

RE: [flexcoders] Why will Debug show all my datagrid results

2007-09-06 Thread Tracy Spratt
Flex Builder runs in a trusted sandbox and has no restrictions on calling for data from other domains. If you are running from a browser outside FB, you will have security issues. A warning but not an error, now that is curious. Tracy From:

[flexcoders] Re: Populating XMLListCollection and sending it to a Datagrid

2007-09-06 Thread its_llpj
I'll try tracing it, but I did have alerts all around both functions to make sure things are getting called. I tried the dg2data.getChildren() within the dataProvider, but I get an error: Error: Call to a possibly undefined method getChildren through a reference with static type

Re: [flexcoders] Re: DataGrid Speed

2007-09-06 Thread Scott - FastLane
John - I had four columns that were displaying mx:List and 3 that were displaying mx:ComboBox, additionally I was binding directly to e4x and generating labels on the fly (labelFunction). My client likes 1600x1200 and small fonts, so I had quite a few rows on the screen. Rendering was

RE: [flexcoders] Re: DataGrid Speed

2007-09-06 Thread Alex Harui
You will save even more time if you can use subclasses of DataGridItemRenderer instead of Text and Label. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of j_lentzz Sent: Thursday, September 06, 2007 10:26 AM To: flexcoders@yahoogroups.com

RE: [flexcoders] newbie

2007-09-06 Thread Mathe Maema
Thank you. will do that and see what happens. Tracy Spratt [EMAIL PROTECTED] wrote: Get your filtering code working without the event and custom event object. I think you need to have a better understanding how filtering works. Review the docs if needed. Tracy

RE: [flexcoders] Re: Tree collapses when dataProvider for tree changes

2007-09-06 Thread Alex Harui
Again, I would recommend not using a binding expression to assign the XML to the dataProvider. Otherwise, I can't see why it would get reassigned unless your code is doing so. A call to validateNow() may be required after assigning the dataprovider before calling expandItem. Or use callLater.

RE: [flexcoders] How to update UI during long operations

2007-09-06 Thread Tracy Spratt
You need to break the operation up into parts which is fairly straight forward if you process is/has a loop. Create an iterator function that processes a set number of items in the loop, starting from the value you keep in an instance variable. At the end of that function, update the instance

RE: [flexcoders] Populating XMLListCollection and sending it to a Datagrid

2007-09-06 Thread Alex Harui
e.result may be XML and not XMLListCollection. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Thursday, September 06, 2007 10:28 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Populating XMLListCollection

RE: [flexcoders] Populating XMLListCollection and sending it to a Datagrid

2007-09-06 Thread Tracy Spratt
Ah, yes of course, it almost certainly is. I suggest, in verbose style: var xmlResult:XML = e.result as XML; trace(xmlResult.toXMLString()); //is that the xml you expected? var xlResult:XMLList = xmlResult.children(); //or other expression trace(xlResult.length()); //is that the

[flexcoders] Re: Trigger DataTips - Event Injection?

2007-09-06 Thread Abyss Knight
I'm taking a wild guess this is going to require diving into the core files then. I'll see how long my superiors will let me twiddle with it, and post if I get it working. In the meantime, if anyone has a hint just let me know! - William

[flexcoders] Re: DataGrid Speed

2007-09-06 Thread j_lentzz
Thanks for all the ideas. I'll give them a try and see what performance gains I get. John --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: You will save even more time if you can use subclasses of DataGridItemRenderer instead of Text and Label.

[flexcoders] How to do a Scrolling Display?

2007-09-06 Thread Amit Gupta
Hello, I'm trying to implement a stock market ticker tape like scrolling display for my application. Is there something available out of the box in Flex implement this type of feature? I didn't find any. I'm also playing with DisplayObject class and mx.effects package. I was wondering if

[flexcoders] Re: Disable scrolling via mouse wheel

2007-09-06 Thread Jayson
Just tried those out.. still no luck.. I'm beginning to think this isn't going to work. I didn't know about the useCapture and priority for event listeners.. thought that was going to work. I don't really want to have to cut the string so it doesn't extend out of the TextArea because I use it

RE: [flexcoders] Re: Disable scrolling via mouse wheel

2007-09-06 Thread Alex Harui
I just realized that the player takes care of mousewheel over textfields and not the Flex framework which is why event blocking isn't going to work. You can subclass TextArea, get to the underlying textField and set mouseWheelEnabled=false. From:

[flexcoders] Re: Security Error

2007-09-06 Thread Jayson
You need a crossdomain.xml file in the root level on the domain you are trying to access. I happen to have the flex docs open, here is the example they give.. ?xml version=1.0? !-- http://www.foo.com/crossdomain.xml -- cross-domain-policy allow-access-from domain=www.friendOfFoo.com/

Re: [flexcoders] How to update UI during long operations

2007-09-06 Thread Robert Stehwien
Thanks. I was afraid of that. Right now I'm using recursion for the solution. I can refactor my code so the recursive state is saved and control is returned to the UI. --Robert On 9/6/07, Tracy Spratt [EMAIL PROTECTED] wrote: You need to break the operation up into parts which is fairly

[flexcoders] Re: DataGrid Scrolling Weirdness

2007-09-06 Thread cjsutherland
I can't believe it was that simple. I was working for hours on this. Thanks a million Alex. -cj --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: creationComplete only gets called once. You need to react to dataChange. From:

[flexcoders] Re: Disable scrolling via mouse wheel

2007-09-06 Thread Jayson
That makes sense. However, I'm not sure how to go about that.. haha. If you could point me in the right direction, I'd appreciate it. Thanks. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: I just realized that the player takes care of mousewheel over textfields and

RE: [flexcoders] Re: DataGrid Scrolling Weirdness

2007-09-06 Thread Alex Harui
For more info: (blogs.adobe.com/aharui) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of cjsutherland Sent: Thursday, September 06, 2007 11:39 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: DataGrid Scrolling Weirdness I

[flexcoders] Security Error

2007-09-06 Thread jen_bonnett
I'm a newbie. I've developed a small dashboard application based upon the Sample Dashboard Application. It works great locally; but, when I upload it to the server, I get a security issue when I try to run the application. (Note: it is pulling XML data from Webservices.) [RPC Fault

RE: [flexcoders] Re: Disable scrolling via mouse wheel

2007-09-06 Thread Alex Harui
package { import mx.controls.TextArea; public class JaysonTextArea extends TextArea { override protected function createChildren():void { super.createChildren(); textField.mouseWheelEnabled = false; } } } - mx:Application

RE: [flexcoders] Re: Populating XMLListCollection and sending it to a Datagrid

2007-09-06 Thread Brian Holmes
dg2data.children(); you might wanna look at http://www.adobe.com/devnet/flex/quickstart/accessing_xml_data/ brian.. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of its_llpj Sent: Thursday, September 06,

[flexcoders] Re: Disable scrolling via mouse wheel

2007-09-06 Thread Jayson
Awesome! Thanks a lot... that did the trick wonderfully. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: package { import mx.controls.TextArea; public class JaysonTextArea extends TextArea { override protected function createChildren():void {

[flexcoders] RTMP works with .mxml but not swf?

2007-09-06 Thread jfujita1
I'm deploying my app to the web server and I have a major problem Say I have a messaging destination called fleet_demo set up and broadcasting messages. Say my app is the following: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute

[flexcoders] Re: Populating XMLListCollection and sending it to a Datagrid

2007-09-06 Thread its_llpj
That's it! Thanks Tracy! Thanks everyone! --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: Ah, yes of course, it almost certainly is. I suggest, in verbose style: var xmlResult:XML = e.result as XML; trace(xmlResult.toXMLString()); //is that the

[flexcoders] Re: Compiling with compc: can't direct the output properly

2007-09-06 Thread Paul Neyman
That's the format for -include-file parameter: -include-file name path --- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: What is the ./src right before -output doing there? - Gordon From: flexcoders@yahoogroups.com

[flexcoders] build.xml/Makefile question

2007-09-06 Thread tudury_david
I've written a Makefile that compcs changed packages into .SWC files. Then it mxmlcs all the .SWC files and Main.AS into a final .SWF. It runs fine but doesn't really seem to be faster than just mxmlcing all the .AS files at the same time. Based on my understanding of the Gary Grossman slide

[flexcoders] custom component as item renderer

2007-09-06 Thread Matthew Ganz
hi. i'm following aral balkan's tutorial on using item renderers: http://www.adobe.com/devnet/flex/quickstart/using_item_renderers/ i'm trying to implement a custom component as my item renderer and i'm going thru the tute and i'm still getting the following error: Definition ImageRenderer

RE: [flexcoders] custom component as item renderer

2007-09-06 Thread Tracy Spratt
import ImageRenderer; Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matthew Ganz Sent: Thursday, September 06, 2007 4:38 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] custom component as item renderer hi.

Re: [flexcoders] custom component as item renderer

2007-09-06 Thread Matthew Ganz
thank you but i'm still getting the same error even when i import my custom component. - Original Message - From: Tracy Spratt To: flexcoders@yahoogroups.com Sent: Thursday, September 06, 2007 4:53 PM Subject: RE: [flexcoders] custom component as item renderer import

RE: [SPAM] RE: [flexcoders] How do I get a property from a custom component?

2007-09-06 Thread Paul Steven
Thanks yet again Tracy for helping me along on my steep learning curve with this Flex malarkey. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: 06 September 2007 18:15 To: flexcoders@yahoogroups.com Subject: [SPAM] RE: [flexcoders] How do I get a

RE: [flexcoders] custom component as item renderer

2007-09-06 Thread Tracy Spratt
Have you declared the default namespace in the root tag of the app? xmlns=* Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Matthew Ganz Sent: Thursday, September 06, 2007 4:51 PM To: flexcoders@yahoogroups.com Subject: Re:

[flexcoders] Flex Builder 2 plugin issue - no more red 'X'

2007-09-06 Thread michael_corbridge
Here's the issue: You all know that Flex Builder does dynamic syntax validation, and places a red 'X' in the left-hand gutter if there is an obvious problem. It is a handy feature, but mine has suddenly stopped working. I reinstalled eclipse / flex builder - and it still will not display the

[flexcoders] Re: Chart itemRenderers - how to get origional data values?

2007-09-06 Thread barry.beattie
yep. that's it - incorrect namespace. but I've hit another problem... performance on drawing it, esp compared to the origional version. *really* noticable. I must be asking a lot from the framework to do this, unless I'm not doing it the _best_ way? BarChart id=chart width=100% height=100%

[flexcoders] Service location and configuration

2007-09-06 Thread Richard Rodseth
I may yet come back to the Cairngorm fold, but right now I'm looking at ServiceLocator alternatives, since that's the only piece of Cairngorm I'm using. How does that class work anyway? It's not obvious to me how the services in the Services.mxml file make their way into the dictionaries in

  1   2   >