RE: [flexcoders]Setting DataGrid header to transparent

2008-04-23 Thread Alex Harui
Dude, that was four months ago! You could've asked again sooner. Another approach may be to subclass, get the .header, getChildByName(headerBG) and set its alpha=0 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of dorkie dork from

Re: [flexcoders] Cairngorm ServiceLocator

2008-04-23 Thread Christophe Herreman
Hi Vivian, we have recently been talking about this with the development team. I agree with you that video tutorials would be a great aid, so I'll try to put something together. regards, Christophe -- Christophe Herreman http://www.herrodius.com http://www.pranaframework.org 2008/4/23 Vivian

[flexcoders] OT: Possible recruiting scam??

2008-04-23 Thread Giles Roadnight
Hi All Just wanted some feedback on this. A few days ago I was sent an e-mail saying the following: Thank you for your interest in company name. After our first round of resume reviews, we are interested in moving you forward to our next round of evaluations. This is a significant

[flexcoders] Re: how do I loop thru dynamically created UI components?

2008-04-23 Thread hoytlee2000
Hello Lee, Yes I did, if you mean by using the statement import mx.containers.*; I think the problem is that the getChildAt() method returns a DisplayObject, but I don't know how to cast it as an HBox or any other UIComponent. The DisplayObject doesn't even have a getChildAt() method. If

[flexcoders] what's the difference between the name prop. and the id prop for a UI component?

2008-04-23 Thread hoytlee2000
When should I use one over the other? Are there any differences? Can I set a dynamically created UIComponent's id with the id property like this: UIObject.id = my_id; and then call that component using the id? Thanks, Hoyt

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

2008-04-23 Thread txakin
Nobody can help me? I have more than 2 days trying to fix itbut i can not Maybe i have explained in wrong way my problem. Thanks in advance. --- In flexcoders@yahoogroups.com, txakin [EMAIL PROTECTED] wrote: Hi all I´m trying to display an image from database in my

Re: [flexcoders] How do I repaint?

2008-04-23 Thread Peeyush Tuli
A wild guess but I think the updateDisplaylist method is called by flex to redraw the icon when you mouseover. You might have to call this method explicitly. ~Peeyush On Tue, Apr 22, 2008 at 11:05 PM, Matt [EMAIL PROTECTED] wrote: I am dynamically setting the 'icon' to a LinkButton using

[flexcoders] Re: how do I loop thru dynamically created UI components?

2008-04-23 Thread hoytlee2000
Hello Lee, Thanks! that typecasting line worked perfectly! It's interesting I tried to import just the HBox specifically and I still got the error message in the IDE as: Implicit coercion of a value with static type flash.display:DisplayObject to a possibly unrelated type

[flexcoders] Secure Login

2008-04-23 Thread timgerr
I was wondering how people create a secure login system. Do you use a php back end or what? How do you handle sessions and or cookies? Thanks for the info, timgerr

Re: [flexcoders] detecting ModuleEvent.READY from anywhere in application

2008-04-23 Thread Sebastien Pastor
Thanks Alex! i ll try the dictionary way. On Mon, 21 Apr 2008 08:24:02 +0200, Alex Harui [EMAIL PROTECTED] wrote: moduleInfo is not a display list object and therefore there is no hierarchy to have a capture phase. You'll have to implement some way of tracking loaded modules. A

[flexcoders] Re: TextInput with a corner radius

2008-04-23 Thread bhaq1972
Don't know about scale9 but if you have a solid borderstyle then you can have rounded corners. ie mx:TextInput borderStyle=solid cornerRadius=10/ --- In flexcoders@yahoogroups.com, Nate Pearson [EMAIL PROTECTED] wrote: I want to have a text input with nice rounded corners. You can't do

Re: [flexcoders] How do I call the correct web services server in Flex

2008-04-23 Thread Scott Melby
If your swf is embedded on a page that is loaded from the web server, then relative URLs will get you want you want. If you must use absolute URLs, then you will probably need to pass the hostname/port information over to the application via flashvars or in the result of an initial request

Re: [flexcoders] MXML, visual/non-visual classes and the id property

2008-04-23 Thread shaun
Hi, Robin Hilliard wrote: Hello all, Just wondering, does anyone know what magic the MXML compiler uses to decide that visual classes declared in MXML get their id properties recorded in component descriptors and set when instantiated, whilst non-visual classes get an empty string if

Re: [flexcoders] Is SWFObject ready for prime time?

2008-04-23 Thread Tom Chiverton
On Tuesday 22 Apr 2008, Richard Rodseth wrote: I'm drawn to SWFObject because the wrapper code looks so much cleaner, but the following does not display at all in Firefox 2.0.0.14 on Mac. We use 1.x a lot, and I'm trying the 2.x beta at home, but it looks like it might have problems resizing

[flexcoders] Re: Question about commitProperties

2008-04-23 Thread markgoldin_2000
I do use measureText(dgc.headerText).width alone with regenerateStyleCache(false) because measureText fails without it. I use this to calculate newly added column's width. Is that critical for performance? --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote:

[flexcoders] Programming an AIR App to accept input from a PALM device...

2008-04-23 Thread bredwards358
As per a suggestion from another member of the forum, I have decided to repost my question with a more descriptive title. Right now I am currently in the midst of designing an Adobe AIR application which is basically a new and improved version of legacy software coded in VB6 (I'm using Flex 3). At

[flexcoders] Re: passing parameters to components

2008-04-23 Thread markgoldin_2000
Speaking about Communicating between Components. In reality everything is custom, specifically custom renderers. What I have been having problem with is to how to populate properties of a custom component and how to execute its methods before the component is added to a parent container,

[flexcoders] Re: Timer questions

2008-04-23 Thread markgoldin_2000
Alright, then that means we cannot use Timer from within the loop? What if you are looping thru some dynamic component creation and a loop should wait for something to happen before it proceeds to next step? --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Flex/Flash is

Re: [flexcoders] OT: Possible recruiting scam??

2008-04-23 Thread Jeffry Houser
Given all the circumstances you describe, it does sound a bit suspect. Wouldn't you be able to check your sent history to see if you contacted them previously (or not)? However, I do not think it is unusual for a company to require a tech / programming test. We do something similar.

Re: [flexcoders] OT: Possible recruiting scam??

2008-04-23 Thread Giles Roadnight
Interesting. This is supposedly from a real company (I found a real company by goggling the name anyway, no way of knowing if the e-mail came from them). On Wed, Apr 23, 2008 at 1:31 PM, Jeffry Houser [EMAIL PROTECTED] wrote: Given all the circumstances you describe, it does sound a bit

[flexcoders] Re: How do I repaint?

2008-04-23 Thread Matt
How can I do that without extending LinkButton? I've tried: validateDisplayList() validateNow() validateProperties() invalidateProperties() invalidateDisplayList() invalidateSize() I've even tried invoking them via callLater, but still it doesn't update. It does work if I remove and re-add, but

[flexcoders] Re: How do I repaint?

2008-04-23 Thread Matt
Actually, I take that back. Removing and re-adding gives me the same result as just calling styleChanged. It still requires a mouse-over before it updates. --- In flexcoders@yahoogroups.com, Peeyush Tuli [EMAIL PROTECTED] wrote: A wild guess but I think the updateDisplaylist method is called

[flexcoders] Re: Flex Builder 3 - RemoteObject connection failure

2008-04-23 Thread valdhor
Glad to hear your problem has been solved. I never thought about the Apache version. We have been running 2.2 for some time now. --- In flexcoders@yahoogroups.com, supertodda [EMAIL PROTECTED] wrote: I've Fixed the problem! Thanks to those who have contributed solutions. To answer your

[flexcoders] Re: Flex 2 to Flex 3 migration problem - can't copy event.result from remote cal

2008-04-23 Thread valdhor
Your code doesn't look right to me (Although I use AMFPHP remoteObject calls). At a guess... mx:method name=getOrder result=showOrder(event) fault=faultHandler(event) / public function showOrder(event:ResultEvent):void { var OrderArrColl:ArrayCollection = new

Re: [flexcoders] Programming an AIR App to accept input from a PALM device...

2008-04-23 Thread Jeffry Houser
I don't have a specific answer. Some input devices, such as a credit card swiper or bar code scanner act just like a keyboard and send the scanned input directly to the open application. If the PALM Device acts in the same manner, then you have to do nothing special. I would suspect

[flexcoders] Re: Import air.net.URLMonitor

2008-04-23 Thread timgerr
--- In flexcoders@yahoogroups.com, Anirudh Sasikumar [EMAIL PROTECTED] wrote: Hi, You can only use URLMonitor in an AIR application.(If by web app you meant a normal Flex application, I'm curious to why you would need such a thing) I would like to test the connection first, if it fails

[flexcoders] Re: How to run a method of itemRenderer

2008-04-23 Thread markgoldin_2000
Custom renderer has to do some things before it can be added to a parent container. For example, if a custom renderer is a dataGrid then it has to build itself first: add columns, set their headers, populate data, and so forth. So, I need to trigger some methods on the custom renderer befor I

Re: [flexcoders] Flex process flow

2008-04-23 Thread Tom Chiverton
On Tuesday 22 Apr 2008, markgoldin_2000 wrote: So, in general, any Flex assignment operation supposed to be aware of data or any other kind of processing that is taking time and an assignment has to wait for it. I would really want to know what other developers do about it. Quick'n'dirty -

[flexcoders] Re: Flex process flow

2008-04-23 Thread markgoldin_2000
callLater does not help because it is a simple assignment: a = b; where b is a calculated value: for (var i=0;isomething;i++) { b = 0; // calculating b b = result from a process being fired in a custom renderer a = b; // and b at this point is simply 0. } --- In

[flexcoders] Segment and Interval Tree implementation for Actionscript?

2008-04-23 Thread mydarkspoon
Hi, I'm implementing a timeline related tracking class, where I have timeline objects with inTime and outTime, and I need the ability to retrieve all objects for time value. I found 2 suitable data structures for this task: Interval tree and Segment tree. Has anyone seen an implementation of

RE: [flexcoders] Programming an AIR App to accept input from a PALM device...

2008-04-23 Thread Kevin Aebig
Though it's unorthodox, perhaps you could post the core aspects of the VB code and some of us can tell you if it's even feasible and if so, than how to move forward. !k _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of bredwards358 Sent: Wednesday, April

[flexcoders] Bind property to data

2008-04-23 Thread markgoldin_2000
Can I bind a column's width to data? so, when that data is changed so is the width? Thanks

[flexcoders] How to communicate Flash SWF with Flex SWF?

2008-04-23 Thread flexawesome
Hi there, There was a simple SWF file created by Flash 9 ( AS3 ), it had a INPUT TEXT field and the instance name was txtField. I am now going to retrieve the text in my Flex 3 project, I use SWFLoader to load the Flash SWF, for example: mx:SWFLoader id =swfHolder source=createdByFlash.swf/

[flexcoders] Measuring the width of text without rendering a control

2008-04-23 Thread Denis
Hi all, I need to measure the size of the number of text fields that come from the XML to display them in a datagrid. The size of datagrid columns depends on the width of the text records that come from the database as the text cannot wrap so the columns should adjust if possible. The logic is a

[flexcoders] Get actual size of a canvas (the internal size)

2008-04-23 Thread dave_defusion
I know I've done this before, but I can't remember where and trawling through the documentation isn't helping me. Basically I want to add something to a Canvas that is a 100% of it's internal size - so as the Canvas grows to add children (as scrolling is enabled) I want my child to still be 100%

[flexcoders] Re: Get actual size of a canvas (the internal size)

2008-04-23 Thread dave_defusion
I had a bit of an epiphany after posting this first message, I still don't think this is right but here's what I'm doing: 1. Add my child with includeInLayout set to false to not cause the parent Canvas to use it in it's layout calculations (otherwise will cause problems in step 2). 2. In

Re: [flexcoders] OT: Possible recruiting scam??

2008-04-23 Thread Matt Chotin
The busycode spam is going to town on my blog too... On 4/23/08 5:31 AM, Jeffry Houser [EMAIL PROTECTED] wrote: Given all the circumstances you describe, it does sound a bit suspect. Wouldn't you be able to check your sent history to see if you contacted them previously (or not)?

Re: [flexcoders] OT: Possible recruiting scam??

2008-04-23 Thread Jeffry Houser
Yep, that's them. Matt Chotin wrote: The busycode spam is going to town on my blog too... On 4/23/08 5:31 AM, Jeffry Houser [EMAIL PROTECTED] mailto:jeff%40farcryfly.com wrote: Given all the circumstances you describe, it does sound a bit suspect. Wouldn't you be able to check

[flexcoders] Re: Tiny components when using callLater()

2008-04-23 Thread Amy
--- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: I'm pretty sure you're not lazy, which is why I'm suggesting that you continue to spend time upgrading your skills at debugging. As your applications reach a certain level of sophistication, good debugging skills are

[flexcoders] free swf conversion tool

2008-04-23 Thread Easow Jacob
Hi, I need some free swt tool were i can convert pdf to swf ...i got one ..but it will convert a pdf to flash 8(ie.AVM 1)..i need something which convert to AVM 2 (flash 9)... swftool.org which provides free kit for only AVM 1 conversion..is any one have an idea -- Mathew Easow Jacob, Bangalore.

[flexcoders] Re: How to communicate Flash SWF with Flex SWF?

2008-04-23 Thread flexawesome
--- In flexcoders@yahoogroups.com, flexawesome [EMAIL PROTECTED] wrote: Hi there, There was a simple SWF file created by Flash 9 ( AS3 ), it had a INPUT TEXT field and the instance name was txtField. I am now going to retrieve the text in my Flex 3 project, I use SWFLoader to load

Re: [flexcoders] Bind property to data

2008-04-23 Thread Scott Melby
Yeah... the following excerpts are the pertinent portions of a sample that allows the user to change a column width via a numeric stepper. [Bindable] private var _surfaceColWidth:int = 80; mx:DataGridColumn headerText=Surface dataField=label showDataTips=true width={this._surfaceColWidth}/

Re: [flexcoders] Measuring the width of text without rendering a control

2008-04-23 Thread Daniel Freiman
uicomponent.measureText() and uicomponent.measureHTMLText(). Look them up in the docs for details. - Daniel Freiman On Wed, Apr 23, 2008 at 11:17 AM, Denis [EMAIL PROTECTED] wrote: Hi all, I need to measure the size of the number of text fields that come from the XML to display them in a

[flexcoders] Re: How do I repaint?

2008-04-23 Thread Eric Cooper
I am not sure if this is best practice - but have you tried calling stage.invalidate() ? -eric --- In flexcoders@yahoogroups.com, Matt [EMAIL PROTECTED] wrote: I am dynamically setting the 'icon' to a LinkButton using Ben Stucki's IconUtility and it works great when the link first gets

Re: [flexcoders] OT: Possible recruiting scam??

2008-04-23 Thread Leif Wells
I hope that busycode folks are spammers and not some unfortunate company getting smacked by a spammer. This looks like an attempt to see if you are monitoring your comments. If you don't remove this comment, expect to get hosed by some spamish comments the next day. At least, that was my busycode

RE: [flexcoders] Measuring the width of text without rendering a control

2008-04-23 Thread Alex Harui
Best way is to use an instance of the control to measure so it will factor in styles and everything. The DG sometimes uses one instance of your renderer to measure several different rows From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of

[flexcoders] Could the Flex Gurus shed some light on this behavior?

2008-04-23 Thread Mike Anderson
Hello All, For the longest time, I've been wondering why 2 Loader Controls, are unable to share the same content. Then again this may be by design, and my lack of knowledge relating to Flex could be why I don't understand this. For example, I have a SWFLoader Control which comprises the

[flexcoders] Regexp matching string between two nodes

2008-04-23 Thread Claudia Barnal
Hi there, I have a string that needs to have some portions extracted through regexp and add them to an array. the string is something like this: fruitsbanana /orange //fruits vehiclessuv /pickup /vehicles fruitsapple /banana //fruits So the regexp should return all that's between all fruits

RE: [flexcoders] Re: Question about commitProperties

2008-04-23 Thread Alex Harui
Measuring text is expensive if you do it a lot. It should be rare to need to call regenerateStyleCache. Typically you make one instance of a renderer, add it to the DG and use it to measure. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

RE: [flexcoders] Why no Adobe Flex Language Reference PDF file

2008-04-23 Thread Matt Horn
The LangRef is not available as a PDF, but you can download a ZIP that includes the HTML files here: http://livedocs.adobe.com/flex/3/flex3_documentation.zip You can request them locally once you extract the HTML. The effort to convert the lang ref to a usable PDF would be

RE: [flexcoders] passing parameters to components

2008-04-23 Thread Tracy Spratt
Thanks, Gordon. I think I knew most of that, and feel the same way about the confusing language (sibling), but I have not had a chance to edit the write up yet. I will try very hard to incorporate your corrections and suggestions before I post it again. Tracy

[Flexcoders] Variable headerheight in an Accordion

2008-04-23 Thread Webdevotion
Hello Coders, How can I set a variable headerheight for my accordion headers? I'm almost there but every time the accordion state toggles ( opens a new child to be displayed), the accordion re-calculates the wrong headerheight. I'm using: - a custom headerclass - a vbox with a textarea as the

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

2008-04-23 Thread Alex Harui
You should use a debug build and post the full stack trace. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of txakin Sent: Wednesday, April 23, 2008 12:16 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: TypeError: Error #2007:

RE: [flexcoders] How do I call the correct web services server in Flex

2008-04-23 Thread Tracy Spratt
I pass the url to the data service in via flashvars as Scott suggests. I find this very useful for debugging, since I can debug my app under FlexBuilder, running against the QA deployment of my dot.net data services, but, if I need to debug the data service, I just change the variable value in the

[flexcoders] Re: Question about commitProperties

2008-04-23 Thread markgoldin_2000
Typically you make one instance of a renderer, add it to the DG and use it to measure. Yeah but all renderers have different width. How can I use one for all columns? -- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: Measuring text is expensive if you do it a lot. It

[flexcoders] Geographic Data Mapping

2008-04-23 Thread imterpsfan2
Apparently Flex does not support geographical mapping out of the box. What I'm looking to create are geographic representations of data. The interface would look similar to CNN's election results web site, where you inititally click on a state within the US, then you are presented with the

Re: [flexcoders] Could the Flex Gurus shed some light on this behavior?

2008-04-23 Thread Daniel Gold
I believe since the content is a DisplayObject, it's just falling under normal Flex parenting rules, a child can only have a single parent, so using the same content actually re-parents the content object to the new SWFLoader. If your navigation window is just a small preview of the total app,

[flexcoders] Using XML attributes with hyphens in a Repeater

2008-04-23 Thread scootr6262
Hi, I have a Repeater control that I am using to display XML data from an HTTPService call. The XML data includes an attribute containing a hyphen. How do I get this value? To assign the value to a label, I've tried something like: text=[EMAIL PROTECTED] But, I get a compilation error when

[flexcoders] Re: how do I loop thru dynamically created UI components?

2008-04-23 Thread Amy
--- In flexcoders@yahoogroups.com, hoytlee2000 [EMAIL PROTECTED] wrote: Hello Lee, Thanks! that typecasting line worked perfectly! It's interesting I tried to import just the HBox specifically and I still got the error message in the IDE as: Implicit coercion of a value with

RE: [flexcoders] Using XML attributes with hyphens in a Repeater

2008-04-23 Thread Tracy Spratt
text={repeater.currentItem.attribute('time-opened')} Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of scootr6262 Sent: Wednesday, April 23, 2008 12:44 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Using XML attributes

[flexcoders] Re: How do I repaint?

2008-04-23 Thread Matt
Even stage.invalidate() does not update it properly. Thanks for trying to help though. --- In flexcoders@yahoogroups.com, Eric Cooper [EMAIL PROTECTED] wrote: I am not sure if this is best practice - but have you tried calling stage.invalidate() ? -eric --- In flexcoders@yahoogroups.com,

[flexcoders] Re: Using XML attributes with hyphens in a Repeater

2008-04-23 Thread scootr6262
Hello, I think I've solved my problem. I changed the code from: text=[EMAIL PROTECTED] - to - text={myModel.header[repeater.currentIndex].attribute('time-opened')} That seems to have solved my issue. Thanks for your time! Scott --- In flexcoders@yahoogroups.com, scootr6262 [EMAIL

[flexcoders] Changing DataProvider on HorizontalList component

2008-04-23 Thread Amy
Hi, all; I have an XMLListCollection I am using as the dataprovider for a HorizontalList. I am not using databinding, so I am setting the dataProvider in AS. When I add an item and refresh the XMLListCollection, I expect to see the additional ItemRenderer on the screen. I can see that the

[flexcoders] Re: Building with ant

2008-04-23 Thread robert_ramirez44
--- In flexcoders@yahoogroups.com, skitj5558 [EMAIL PROTECTED] wrote: Here is the services-config.xml ?xml version=1.0 encoding=UTF-8? services-config services service-include file-path=remoting-config.xml / /services channels channel-definition id=my-amfphp

[flexcoders] newbie question

2008-04-23 Thread Steve Good
Let me start by saying that I am completely new to Flex and obviously the list. I'll apologize upfront for asking the dumb and obvious questions, but I'm still going to ask them :P So here's a description of what I'm doing and my question. I built an Air app with Flex 3 that posts some

RE: [flexcoders] Re: Using XML attributes with hyphens in a Repeater

2008-04-23 Thread Tracy Spratt
I advise against myModel.header[repeater.currentIndex, and suggest using instead currentItem. That is what currentItem is for. If you are getting that confusing XML binding warning, then do: text={XML(repeater.currentItem)[EMAIL PROTECTED] Also, consider creating a custom component

RE: [flexcoders] newbie question

2008-04-23 Thread Tracy Spratt
string in another post method in the same app. If more details are required I can give them, just holler :-) and Thanks in advance. ~Steve http://lanctr.com/ __ Information from ESET NOD32 Antivirus, version of virus signature database 3049 (20080423) __ The message

[flexcoders] Flex decoding soap complex objects in complex objects

2008-04-23 Thread christophertholen
Hi, I am having trouble with the Flex decoding of complex soap objects. The mxml is validated and looks fine, but the object structure is quite complex and Flex seem to have a lot of trouble decoding the objects I send from the server. An example would be a returnobject, containing the status of

RE: [flexcoders] newbie question

2008-04-23 Thread Steve Good
? I want to use the returned string in another post method in the same app. If more details are required I can give them, just holler J and Thanks in advance. ~Steve http://lanctr.com/ __ Information from ESET NOD32 Antivirus, version of virus signature database 3049 (20080423

Re: [flexcoders] newbie question

2008-04-23 Thread Pat Buchanan
in another post method in the same app. If more details are required I can give them, just holler J and Thanks in advance. ~Steve http://lanctr.com/ __ Information from ESET NOD32 Antivirus, version of virus signature database 3049 (20080423) __ The message

[flexcoders] resizing unselected child of a container

2008-04-23 Thread hworke
Hi, how can I resize the unselected children containers when the parent container resizes. Such as accordion: if accordion resizes, with it only the selected child resizes but not the other ones. I guess just need to refresh the other children but I do not know how to do that.

RE: [flexcoders] newbie question

2008-04-23 Thread Tracy Spratt
give them, just holler :-) and Thanks in advance. ~Steve http://lanctr.com/ __ Information from ESET NOD32 Antivirus, version of virus signature database 3049 (20080423) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com http://www.eset.com

[flexcoders] Alert Box changes State of app

2008-04-23 Thread j_lentzz
Hi, I have a screen that has 2 states that I move between. Neither one is the baseState. I have a checkbox that pops up an Alert box for confirmation. When the Alert pops up, the screen goes to a third state (maybe the baseState), instead of staying on the currentState. Has anyone else seen

[flexcoders] Re: Alert Box changes State of app

2008-04-23 Thread j_lentzz
--- In flexcoders@yahoogroups.com, j_lentzz [EMAIL PROTECTED] wrote: Hi, I have a screen that has 2 states that I move between. Neither one is the baseState. I have a checkbox that pops up an Alert box for confirmation. When the Alert pops up, the screen goes to a third state (maybe the

[flexcoders] Re: onclick call not able to access parent doc

2008-04-23 Thread Jason B
awesome that works --- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: I think you want parentDocument, unless your Button is inside an mx:Component tag. Gordon Smith Adobe Flex SDK Team From:

RE: [flexcoders] newbie question

2008-04-23 Thread Steve Good
of virus signature database 3049 (20080423) __ The message was checked by ESET NOD32 Antivirus. http://www.eset.com

RE: [flexcoders] Geographic Data Mapping

2008-04-23 Thread J B
Check out the geovis component at http://code.google.com/p/birdeye/ Although it is a work in progress, it is very close to doing what you are looking for - represent US States with the possibility to drill down (level of detail) to a State and its counties. If it looks like what you are

RE: [flexcoders] Using XML attributes with hyphens in a Repeater

2008-04-23 Thread Gordon Smith
I think {repeater.currentItem[@time-opened]} should also work. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Wednesday, April 23, 2008 10:12 AM To: flexcoders@yahoogroups.com

RE: [flexcoders] Re: passing parameters to components

2008-04-23 Thread Gordon Smith
Setting the itemRenderer property doesn't actually add a renderer to List (or whatever) at that moment. It simply tells the List, when you need to make item renderers, use this IFactory to make the renderer instances. The List is in charge of creating item renderers, not you. If you really

RE: [flexcoders] Re: how do I loop thru dynamically created UI components?

2008-04-23 Thread Gordon Smith
When you cast like this var foo:Foo = Foo(whatever); the syntax looks like a constructor-without-the-'new', but it actually has nothing to do with a constructor. The name of a class can be used in various unrelated ways: new Foo() // constructs an instance of Foo Foo(o)

Re: [flexcoders]Setting DataGrid header to transparent

2008-04-23 Thread Andriy Panas
Hi Judah, If you are on Flex 3 SDK, you can just use your own skin for mx:Datagrid header called headerBackgroundSkin http://livedocs.adobe.com/flex/3/langref/mx/controls/DataGrid.html#styleSummary It is only available in Flex 3 SDK, I learned it from source file of

RE: [flexcoders] what's the difference between the name prop. and the id prop for a UI component?

2008-04-23 Thread Gordon Smith
The 'id' property does magic at compile time. When you write mx:Button id=b/ the MXML compiler autogenerates a reference var inside the class declaration for the component you're defining public var b:Button; (This var gets initialized by framework code based on the

[flexcoders] Re: passing parameters to components

2008-04-23 Thread markgoldin_2000
What I am trying to do is bit different. I am trying to build a dataGrid with one row and about 15-20 columns. Each column would have a custom renderer based on canvas (based UIComponent did not work for me). Then in canvas I will have two dataGrids positioned vertically. Actual usser data is

RE: [flexcoders] OT: Possible recruiting scam??

2008-04-23 Thread Gordon Smith
I'd consider this a scam and certainly wouldn't consider doing any work for free for them. - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Giles Roadnight Sent: Tuesday, April 22, 2008 11:37 PM To:

RE: [flexcoders] Re: passing parameters to components

2008-04-23 Thread Gordon Smith
Why aren't you just using a horizontally-scrolling HBox? - Gordon From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 Sent: Wednesday, April 23, 2008 1:43 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re:

RE: [flexcoders] OT: Possible recruiting scam??

2008-04-23 Thread Clinton D. Judy
Doesn't matter if a company appears 'scammy' or not, don't do free work. Only exception, if you're in an actual interview and they want to see a program to prove you can code. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith Sent: Wednesday, April 23, 2008

[flexcoders] Re: passing parameters to components

2008-04-23 Thread markgoldin_2000
That's is going to be my next step. Loop thru my data and add canvas from left to right. --- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: Why aren't you just using a horizontally-scrolling HBox? - Gordon From:

RE: [flexcoders] Re: passing parameters to components

2008-04-23 Thread Gordon Smith
Why Canvas? Why not a VBox to hold the two DataGrids? Or use a single horizontally-scrolling Canvas and put the DataGrids at the correct locations. Then you don't need any HBoxes or VBoxes. In any case, you probably don't want to create the Canvases/VBoxes/DataGrids based on the data,

[flexcoders] problems with ArrayCollections, Trees and PopUpButtons

2008-04-23 Thread Eric Cooper
I have spent the day trying to understand how to get a dynamically-backed hierarchical popup menu to work (within a ControlBar). I have gone from a fairly complex starting point to a minimal test case - and things are still not working. I am seeing three failures, depending on how I attempt

[flexcoders] Possible bug with Shape (or DisplayObject) when increasing the width (or scaleX)

2008-04-23 Thread alex
Hi I have a custom class that extends Shape object on the CartesianChart with DateTimeAxis . When I increase the width of the object, after certain point it will change its x value by around 10 . For example object with width=1 start at x=500 i can increase it for example until width=420

[flexcoders] Re: passing parameters to components

2008-04-23 Thread markgoldin_2000
Alright, I see. But a bit more detail. 1. Create the internal components in an override of createChildren() In the main container, HBox, right? 2. Write a setter for the data Isn't it supposed to be on internal dataGrid class since same class is used for each internal dataGrid? 3. In an override

[flexcoders] Radio Button Groups In Lists or Tables

2008-04-23 Thread Ethan Miller
Greetings - having problems getting radio button groups to work (ie a mutually exclusive selection across a group of choices) when the radio buttons are not in the same parent container. In my case they're part of an item renderer used by a list or for a column in a dataGrid. Any suggestions?

RE: [flexcoders] Re: passing parameters to components

2008-04-23 Thread Gordon Smith
1. Create the internal components in an override of createChildren() In the main container, HBox, right? Write a component, say MultiDataGrid, that extends HBox (or Canvas, or Container). In MultiDataGrid, override createChildren() to create the internal stuff (DataGrids, VBoxes if necessary,

RE: [flexcoders] Radio Button Groups In Lists or Tables

2008-04-23 Thread Tracy Spratt
Search the archives for this subject: RadioButtons as customItemRenderers/Editors in DataGrids Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ethan Miller Sent: Wednesday, April 23, 2008 5:45 PM To: flexcoders@yahoogroups.com

RE: [flexcoders] Re: how do I loop thru dynamically created UI components?

2008-04-23 Thread Rick Winscot
A. ye forgot - o as Foo //latent type casting Rick Winscot From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gordon Smith Sent: Wednesday, April 23, 2008 4:23 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: how do I loop thru dynamically

RE: [flexcoders] Re: Alert Box changes State of app

2008-04-23 Thread Alex Harui
I would verify that the .state property really has changed. Don't forget that alert is not blocking (there is no blocking in AS3) so the code after Alert.show runs right away. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of j_lentzz

RE: [flexcoders] resizing unselected child of a container

2008-04-23 Thread Alex Harui
You can call getChild to resize, but the others should resize when you switch to them From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hworke Sent: Wednesday, April 23, 2008 11:42 AM To: flexcoders@yahoogroups.com Subject: [flexcoders]

RE: [flexcoders] Re: Question about commitProperties

2008-04-23 Thread Alex Harui
You would use one per-column unless they are all the same. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 Sent: Wednesday, April 23, 2008 9:42 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Question about

RE: [Flexcoders] Variable headerheight in an Accordion

2008-04-23 Thread Alex Harui
The accordion sets all headers to the same height. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Webdevotion Sent: Wednesday, April 23, 2008 9:15 AM To: flexcoders@yahoogroups.com Subject: [Flexcoders] Variable headerheight in an

RE: [flexcoders] Re: how do I loop thru dynamically created UI components?

2008-04-23 Thread Gordon Smith
Thanks. I also forgot o is Foo // type-checking Gordon Smith From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rick Winscot Sent: Wednesday, April 23, 2008 3:44 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re:

  1   2   >