[flexcoders] How do I set a TitleWindow closeButton to disabled?

2008-03-24 Thread myasandy2
I figured out how to change the skin on the button, but I don't understand how to keep it visable and set it to disabled. My goal is that the user can see there is a close button on the window but it appears disabled until they do a task and I enable it. Any help would be appreciated. Sandy

[flexcoders] Re: Intialize nested accordion children components on load

2008-01-23 Thread myasandy2
check Msg number 98509. It is a work around if creationPolicy=all isn't enough. Sandy

[flexcoders] Re: content appearing in an Accordian container -WORK AROUND SOLUTION

2008-01-10 Thread myasandy2
I resolved this by making the container not visible. On creation complete, I jump to a function that: sets the openDurartion to 001 and starts a timer. On each .1 sec, I select a new index until they are all selected. Then I select the first index again. When the timer is complete, I set the

[flexcoders] content appearing in an Accordian container

2008-01-07 Thread myasandy2
I have an Accordian container with creationPolicy=all containing swfs. From trace statements, I can see all the swfs are loaded and the vboxes created before I click on the Accordian container the first time. The first time I select each section of the accordian, it opens with a white

[flexcoders] multiline button on button bar

2007-11-26 Thread myasandy2
Using some examples I found on line, I have made a button with a multiline label, but I am lost on how to apply this to a button in a button bar. Any help would be greatly appreciated. TIA Sandy

[flexcoders] Re: multiline button on button bar

2007-11-26 Thread myasandy2
Alex - Thanks for the help. I am still stuck. I'm newbie at extending classes. NavBar.as has this note: /** * @private * The factory that generates the instances of the navigation items. * It generates instances of ButtonBarButton for ButtonBar and *

[flexcoders] Re: multiline button on button bar

2007-11-26 Thread myasandy2
You rock!! It works like a charm. Thanks for sharing your expertise. Sandy --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: import mx.core.mx_internal; use namespace mx_internal; Note that this API is not officially supported.

[flexcoders] TextEvent.LINK scope problems (I think)

2007-11-05 Thread myasandy2
I am trying to use TextEvent.LINK in an itemRenderer in a DataGrid to return live XML data via a link in htmlText. I get: *** Security Sandbox Violation *** Connection to 'event:http://clark/flexmap/data/programs.php? fullText=nullschoolID=nullclusterCode=nullawardClass=null halted - not

[flexcoders] Re: ArrayCollection of Objects as data provider for DataGrid

2007-10-15 Thread myasandy2
That trace statement does work - the problem is getting that in the datagrid. What shows in the datagrid is: SchoolsAC. How do I get inside that to the property of the School? Thanks Sandy --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: If for (var i:int = 0; i

[flexcoders] Re: ArrayCollection of Objects as data provider for DataGrid

2007-10-15 Thread myasandy2
I have re-done a few things trying to follow what has been said. Below is the code to make the object, put it in an array (needed for another part of the project) and put it in and ArrayCollection. the class (School), array (Schools), and ArrayCollection (SchoolsAC) are all public and

[flexcoders] Re: ArrayCollection of Objects as data provider for DataGrid

2007-10-15 Thread myasandy2
Thanks - now it works like a charm!!! --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: You're not using binding syntax mx:DataGrid x=48 y=10 width=576 dataProvider={SchoolsAC}

[flexcoders] PieSeries labelPosition

2007-05-11 Thread myasandy2
I know how to set this style with MXML, but I am stuck with how to set it with Actionscript for a pie chart built with Actionscript. The pie chart works as I expect, I just can't get the label to display. TIA, Sandy

[flexcoders] determining debugging mode vs live

2007-05-11 Thread myasandy2
In my final piece, I am getting data via FlashVars which works. However it doesn't work when I am debugging the application. I have to hardcode values for testing. Is there a boolean variable (like NetConnected in Authorware) that lets you know if you are running in debugging mode or live? I

[flexcoders] calling PieSeries labelFunction in ActionScript

2007-05-11 Thread myasandy2
This is the code I am using to make the series (working): var localSeries:PieSeries = new PieSeries(); localSeries.dataProvider = questionData; localSeries.field = value; localSeries.nameField = generation; localSeries.explodeRadius = .1; localSeries.setStyle(labelPosition, inside); When I add

[flexcoders] column chart - XML data display problem

2007-04-19 Thread myasandy2
I am new to charting and am stuck with how to display data in a column chart. I am trying to have the results for each question grouped together. I can't begin to count the variations I have tried for the data provider. At least the Legend is working (I think)! Any help or explaination would

[flexcoders] Legend for Pie Chart

2007-04-11 Thread myasandy2
Is there a way to control the legend so I can show zero values? Situation: I am trying to display several pie charts with slices being Generation 0 through Generation 4. If Generation 2 value is 0 (zero), I still want Generation 2 in the Legend. I would also like the slices for each generation

[flexcoders] charting and predefined axis styles

2007-04-04 Thread myasandy2
I have been working through the Flex 1.5 charting tutorial (http://www.adobe.com/devnet/flex/articles/charting.html). Page 5 (Using CSS to Style Subcomponents - 2) says: Flex ships with a number of predefined axis styles; for this tutorial, use the linedNumericAxis and hangingCategoryAxis