[flexcoders] Re: Flex II Stand-alone Builder and SVN?

2006-12-06 Thread jer_ela
I've used it with no trouble with svn. Rather than creating a project that points to an existing svn directory, you may have to create a new empty project and then import from svn. --- In flexcoders@yahoogroups.com, discollective [EMAIL PROTECTED] wrote: Can anyone tell me if the Flex II

[flexcoders] Re: How to chage BarChart to Stacked BarChart dynamically?

2006-12-11 Thread jer_ela
That only happens it you are explicitly setting the scale for the charts. So if you just let flex adjust the scale to the data you'll be fine. If you need to control the scale, you'll have to recalc the max value based on the height of the largest stack. --- In flexcoders@yahoogroups.com,

[flexcoders] can effect target selected item form list or repeater?

2007-01-27 Thread jer_ela
I have a photo gallery application. The initial view is of the first image in each gallery arranged in a grid via a repeater inside a tile layout. When you click on an image you get another view with a much larger image that runs as a slide show. I've got that working fine, but what I'd like

[flexcoders] ASDoc ignoring [Bindable] properties in mxml files

2007-02-01 Thread jer_ela
I am finding that ASDoc (2.01) is ignoring bindable properties in mxml files public var myProperty:String gets documented [Bindable] public var myBindableProperty:String does not set/get pairs are also affected

[flexcoders] Re: any interest in an alternative to QTP to automate Flex apps?

2007-02-07 Thread jer_ela
I just had a discussion this morning about the limits of unit testing relative to ui issues, so I would definately be interested in a tool like this --- In flexcoders@yahoogroups.com, brian.knorr [EMAIL PROTECTED] wrote: Automating functional tests is critical to the way we develop software

[flexcoders] Re: Flex Coding Guidelines

2007-02-10 Thread jer_ela
Fabio, great work. --- In flexcoders@yahoogroups.com, Fabio Terracini [EMAIL PROTECTED] wrote: Folks, As my commitment to community I'm releasing, with DClick support, our Adobe Flex Coding Guidelines, a document about Flex (MXML and ActionScript) coding conventions that we use on a

[flexcoders] how to clear datatip

2007-02-15 Thread jer_ela
I have a column chart with drill down functionality. When you click on a column, it displays a more detailed chart for that item. The more detailed chart is in a view stack with the drill down chart so the main thing I do to get it to display is to change the selected index of the view stack.

[flexcoders] Re: how to clear datatip

2007-02-15 Thread jer_ela
an unfortunate bug. If you set showDataTips to false, it should clear it immediately. Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jer_ela Sent: Thursday, February 15, 2007 11:16 AM To: flexcoders@yahoogroups.com Subject

[flexcoders] bug with showDataEffect and stacked columns

2007-02-20 Thread jer_ela
There appears to be a bug with using a showDataEffect with a stacked column chart. I have a column chart with a showDataEffect set to SeriesInterpolate. It works fine with a single data series or if clustered, but if I changed the type to stacked or 100%, it fails while rendering the effect.

[flexcoders] Re: How to get the real X Y of a repeater item

2007-02-22 Thread jer_ela
The following code gets the x and y positions of an image that has been clicked on that was generated by a repeater. Getting the coords for a button should be pretty much the same. stageX and Y are the x and y coords of the mouse position relative to the application stage. mainCanvas is a

[flexcoders] Help - users having problem I can't reproduce

2007-08-28 Thread jer_ela
I have a simple flex app: riaction.com that is the website of the Capital District Flex Developer Network. It works fine for me on various PCs and browsers, but for at least one user it isn't working correctly. What should happen is that when the app launches you get a welcome message on a dark

[flexcoders] Re: Help - users having problem I can't reproduce

2007-08-29 Thread jer_ela
::Timer/flash.utils:Timer::_timerDispatch() at flash.utils::Timer/flash.utils:Timer::tick() This might account for what is happening with your user. Hope this helps. Claude --- In flexcoders@yahoogroups.com, jer_ela gela@ wrote: I have a simple flex app: riaction.com

[flexcoders] Re: Multiple Model Locators in Cairngorm

2007-09-02 Thread jer_ela
You can have multiple modelLocators and frontControlers but only one serviceLocator. Your use case is one where multiple modelLocators make sense. ModelLocators are just a way of making a single instance of the model data available throughout the application. As long as you understand that and

[flexcoders] Re: How to check to see if an XML element exists

2007-09-12 Thread jer_ela
this should work if (node.ItemSource.(hasOwnProperty(Media)) --- In flexcoders@yahoogroups.com, kc7cia [EMAIL PROTECTED] wrote: Hi, I was hoping someone could tell me how to check to see if an XML element exists in AS3. I have an XML structure that looks like this: ItemSource

[flexcoders] event metadata syntax bug?

2007-09-12 Thread jer_ela
In the Creating and extending Flex components manual, the event metadata tag syntax to be: [Event(name=eventName, type=package.EventType)] If I use that syntax with the quotes around the package name within a metadata tag in and mxml file in FB3, it breaks code hinting. If I remove the quotes,

[flexcoders] Re: Variable used before it's defined without compile errors

2007-09-20 Thread jer_ela
Flex requires variables to be declared somewhere in a function, but doesn't care where it just rolls all variable definitions to the top of the function, so there is a phantom var val:String; at the top of the function. At the point where you call validateRequired val exists, but hasn't had a

[flexcoders] Re: can change pie chart color at runtime,please help

2007-09-26 Thread jer_ela
This is how to set fills programatically: fills:Array = []; var fill:RadialGradient = new RadialGradient(); var entries:Array = []; entries.push( new GradientEntry(color, ratio, alpha)) entries.push( new GradientEntry(color2, ratio2, alpha2)) //additional entries as needed fill.entries = entries;

[flexcoders] Re: Cairngorm and basic events

2007-09-27 Thread jer_ela
Flex Applications generally have 3 levels of events. Those you don't care about. You just let the flash player and flex framework deal with these. Those that only matter to the current view. Just listen for and handle these events with addEventListener at the appropriate place in the view.

[flexcoders] Re: Populate one object based on content of other objects. Best practice?

2007-12-06 Thread jer_ela
I had to do something similar and used an approach that looks something like this public function CustomObject(argsObject:Object) { for (var arg:String in argsObject) { switch (arg) { case somePropName: //code for a property that needs special handling

[flexcoders] Re: Data binding in a function call

2007-12-10 Thread jer_ela
Binding is designed so that components can react when data changes. But you don't really care if extLinkURL changes. What you care about is what its value is when the linkButton is clicked. So what you need in the click attribute is just a normal function call with a normal variable as the

[flexcoders] Re: A way to Timer

2007-12-12 Thread jer_ela
var timeLeft:int = 300 - minuteTimer.currentCount; this method turns seconds into minutes + fractional minutes or hours plus fractional hours, but doing hours minutes seconds will be the same idea. private function formatTime(seconds:int):String { var timeLabel:String = seconds.toString()

[flexcoders] Re: Different DataTips for multiple series in one chart.

2007-12-26 Thread jer_ela
dataTipFunction is a property of the chart, not the series, so you will have to have a single function that looks at the hitData to determine which series the mouse is over. The hitData.element property will give you access to the properties of the series that the mouse is over. If you give the

[flexcoders] Re: Best Way To Implement tabnavigator switching

2007-12-26 Thread jer_ela
There is no correct way of doing this. However it would make for better encapsulation if you instead called the getData method in each component's show method. That way the tabnavigator would need to know less about its children. --- In flexcoders@yahoogroups.com, iilsley [EMAIL PROTECTED]

[flexcoders] Re: Cairngorm Overview Question

2007-12-28 Thread jer_ela
You're stuck with having a single ServiceLocator because of how it is located, but you can have seperate ModelLocators and FrontControllers for each module. The FrontControllers all use the singleton CairngormEventDispathcer so your event types have to be globally unique even though you are

[flexcoders] Re: Darken a hexadecimal color

2008-01-09 Thread jer_ela
Flex has a couple of built in methods to do that. The ColorUtil class has 2 methods adjustBrightness and adjustBrightness2 newColor = ColorUtil.adjustBrightness2(0xffddaa, -25) will reduce the brightness of the r g and b values by 25% each. --- In flexcoders@yahoogroups.com, Webdevotion [EMAIL

[flexcoders] Re: Dynamic Variable Naming

2008-01-26 Thread jer_ela
I think the following will do what what your want var R:Object = {}; for (var gridRows:int=15; gridRows 2895;gridRows += 20){ var R[gridRows] = (gridRows / 5); } you can't dynamically generate var names, but you can dynamically generate object keys. since gridRows is a number it can be the

[flexcoders] Re: How do I test if a variable is defined?

2008-01-31 Thread jer_ela
if (property in object) { // do stuff with property } --- In flexcoders@yahoogroups.com, Clinton D. Judy [EMAIL PROTECTED] wrote: No other explanation needed, really. How do I see if an object/variable exists before I test other conditions of it? Unnecessary explanation: I use two

[flexcoders] Re: Embedding String Variable in dataprovider name

2008-02-01 Thread jer_ela
If you use the square brackets then you don't use the dot so it should be: dataProvider={chartXML2.lastResult[month].day} --- In flexcoders@yahoogroups.com, Maciek Sakrejda [EMAIL PROTECTED] wrote: I'm no e4xpert, but dataProvider={chartXML2.lastResult.[month].day} should do it. --

[flexcoders] Re: Embedding String Variable in dataprovider name

2008-02-04 Thread jer_ela
- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jer_ela Sent: Friday, February 01, 2008 3:01 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Embedding String Variable in dataprovider name If you use the square brackets then you don't use the dot so

[flexcoders] Re: ActionScript multidimensional Associative array question

2008-02-04 Thread jer_ela
ActionScript doesn't have multi-dimentional arrays, but you can get the equivelent by having arrays where each element is and array to arbitrary depth. Also for associative arrays you should use generic objects. So you can do the following: var my3DArray:Object = {}; //this creates a new empty

[flexcoders] Re: Embedding String Variable in dataprovider name

2008-02-06 Thread jer_ela
waring but then the chart itself blows up saying its getting null objects. brad -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jer_ela Sent: Monday, February 04, 2008 4:01 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re

[flexcoders] Re: Accordion customization

2008-02-11 Thread jer_ela
Take a look at the windowshade component on FlexLib http://code.google.com/p/flexlib/wiki/ComponentList --- In flexcoders@yahoogroups.com, YOGESH JADHAV [EMAIL PROTECTED] wrote: ya, exactly . Initially i was totally unaware that that flex3 now comes with accordian source. I searched

[flexcoders] Re: moving from localhost to production server...

2008-02-13 Thread jer_ela
What I do is get the url the flex app was loaded from with application.url, parse out the protocol, serverName and port with URLUtil, build the gateway url from these and then set the RemoteObject endpoints to this value. It seems like kind of a kludge but I haven't found anything cleaner. ---

[flexcoders] Re: AreaChart bug when changing 'type' property

2008-02-13 Thread jer_ela
I had the same thing. I believe it is due to the interpolate effect not liking stacked or 100% charts. When you change the type, the effect runs and that is what is blowing up. I had this problem with both area and column charts. I added code to remove the effect before changing to a stack or

[flexcoders] Re: Moving Screen Control back and forth between components

2008-02-14 Thread jer_ela
If have a similar application. For drill downs I just filter the data without changing the display. To switch between different types of charts I use viewstacks. --- In flexcoders@yahoogroups.com, Brad Bueche [EMAIL PROTECTED] wrote: I'm doing a charting application that allows the user

[flexcoders] Re: FB word search in files

2008-02-14 Thread jer_ela
You can use a regular expression. \b matches the transition between word and nonword characters. So \bword\b will only match word if it is a whole word. --- In flexcoders@yahoogroups.com, reflexactions [EMAIL PROTECTED] wrote: In FB Ctrl+H does nothing. Ctrl+Shift+F will open the file

[flexcoders] Re: Help with RegEx

2008-02-14 Thread jer_ela
While there are ways to work around nesting to a known depth, it gets ugly quickly, and nesting to an arbitrary depth is beyond the ability of regexes to match directly. What you can do is write a parser that uses regular expression and additional code to find the substring you are searching for.

[flexcoders] bug with AdvancedDataGridColumn formatter property and DateFormatter

2008-03-03 Thread jer_ela
There appears to be a bug with the formatter property of AdvancedDataGridColumn. It seems to display my GMT offset where it should be displaying the year. A format string of MM/DD/ is displaying as 03/03/500, while a format string of MM/DD/YY is displaying as 03/03/0. Using the same

[flexcoders] Re: Render BarChart items from top to bottom?

2008-03-24 Thread jer_ela
Just build a wrapper component that reverses the order of the dataprovider before giving it to the chart. --- In flexcoders@yahoogroups.com, scott.royston [EMAIL PROTECTED] wrote: Is there an easy way to get a BarChart to render items from top to bottom rather than bottom to top? (i.e. the

[flexcoders] Re: create looping component programmatically

2008-03-24 Thread jer_ela
create an array property textInputs to hold the references to the dynamically create TextInputs. Then use code like this: for(var o:uint = 0; o NumText; o++) { textInputs[o] = new TextInput(); textInputs[o].width=356, textInputs[o].text=Text Goes Here;

[flexcoders] Re: Accessing XML attribute through ArrayCollection

2008-03-25 Thread jer_ela
its not clear where board comes from, but assuming it exists and is an xml var that has an id attrib one of the following should work trace(board.attribute(id)); trace([EMAIL PROTECTED]); --- In flexcoders@yahoogroups.com, Tony Armstrong [EMAIL PROTECTED] wrote: Hello all, I am using an

[flexcoders] Re: Naming objects dynamically

2008-04-18 Thread jer_ela
since the names you are trying to create are just based on the position in the mData array, why not just stick the assetProxys in an array with the same index. var startUpProxies:Array = [] for(var i:Number=0; imData.length; i++){ startUpProxies.push(new AssetProxy( mData[i] )); } -- In

[flexcoders] Re: Flex 3 / AIR: using timers and binding data to text

2008-04-24 Thread jer_ela
you made callID bindable but don't use it in for binding, but you didn't make callStatus bindable and it needs to be. That's what your warning is about. Make your timer a class property, rather than a local var. The local var should cease to exist as soon as the method finishes. --- In

[flexcoders] Re: Cairngorm Model Locator

2008-04-29 Thread jer_ela
I assume that when a new window is opened you have an event that causes the data it needs to be loaded into the model locator. And you will probably have a check to see if the data is already loaded so you don't load it twice. Just keep track in the model of how many users there are for that

[flexcoders] Re: AIR Persistance mechanisims?

2008-05-14 Thread jer_ela
Here is one I have been working on. It serializes the object with AMF so it only needs one table. Note that your classes need to have a [RemoteClass] metadata tag ( no alias needed) in order for them to be deserialized correctly. Note that the static initialize method needs to be called before

[flexcoders] Re: No of Lines of Code

2008-06-26 Thread jer_ela
Simpleist case, use extended search in FlexBuilder and search for \n that will give you number of literal lines of text in your project. To get a little more complex you can search for \)$|\):\w+$|;$ as a regex and get most logical lines in .as code. If you consider each tag to be a line of code

[flexcoders] Re: Bindable Classes

2008-09-03 Thread jer_ela
Mike Labriola did a very good in depth presentation on how binding works at 360 Flex which was recorded and is available online. It runs about an hour and 20 minutes and is well worth the time if you want to understand how bindings work. Diving in the Data Binding Waters with Michael Labriola

[flexcoders] Re: Using Tree

2008-10-26 Thread jer_ela
try itemClick --- In flexcoders@yahoogroups.com, markgoldin_2000 [EMAIL PROTECTED] wrote: I am using Tree control for my navigation needs. I have implemented a change event handler that would show a form when a node is clicked. Now I am adding another Tree control that does the same: show

Re: Re[flexcoders] versing an ArrayCollection

2008-10-26 Thread jer_ela
I'm guessing that these aren't just random values that you want in the opposite order of how you got them, but are sorted, but in the wrong direction. If that is the case you can apply a sort to the array collection that puts them in the order you want them. --- In flexcoders@yahoogroups.com,

[flexcoders] Re: Auto expand TreeView on open - How?

2008-12-08 Thread jer_ela
I tried menuTree.openItems = menuData..node; but the tree doesn't expand. What does work for me is callLater(menuTree.expandChildrenOf, [menuTree.dataProvider[0], true]); --- In flexcoders@yahoogroups.com, Paul Kukiel [EMAIL PROTECTED] wrote: I was stuck with this aswell a while ago this

[flexcoders] Re: How to set the endpoint address in Coldfusion side?

2009-02-11 Thread jer_ela
just set the endpoint in your air code myRemoteObject.endpoint = http://192.168.0.181/flex2gateway;; --- In flexcoders@yahoogroups.com, markflex2007 markflex2...@... wrote: Hi I am doing an AIR application and the coldfusion server in a network pc(192.168.0.181).the application need use

[flexcoders] Re: How to set the endpoint address in Coldfusion side?

2009-02-12 Thread jer_ela
That's the default. I'm not sure how or even if you can change it. It's worked for every CF server I've worked with. It looked like you were going against a specific server, in which case see if it works and if so don't worry about cases where it won't. If you need to be able to talk to

[flexcoders] Re: Drawing graphics on an image

2009-02-12 Thread jer_ela
The graphics object for the image or the container it is in, is below the content so it is hidden behind the image. Stick a display object such as a sprite on top or it and draw on its graphics object. --- In flexcoders@yahoogroups.com, christophe_jacquelin christophe_jacque...@... wrote:

[flexcoders] Re: event passing when source/destination are on different parent bubbling chains?

2009-02-20 Thread jer_ela
You need a loggedIn property somewhere in your model. It is initially set to false and when the user successfully logs in your controller code sets it to true. Any views that need to react to the log in have that property bound to a set method which fires off whatever code is appropriate when

[flexcoders] Re: Flashing new row in a datagrid

2009-02-25 Thread jer_ela
If the new rows have a timestamp of when they were added, you can use the AdvancedDataGrid styleFunction to change the style of a cell based on that timestamp. Both AdvancedDataGrid and AdvancedDataGridColumn have the property. Here is a style function I used that made the text bright red for

[flexcoders] Re: Gumbo trial expired

2009-04-27 Thread jer_ela
It tells you the the serial number is invalid. You'll have to wait for the public beta release, to get a working FlexBuilder 4 again. --- In flexcoders@yahoogroups.com, endrone endrone endr...@... wrote: Hello, does anyone know what happens when I enter my Flex Builder 3 serial for the

[flexcoders] AIR app crashes and burns on Mac

2009-05-12 Thread jer_ela
adl, the development runtime for AIR is crashing on me. This seems to be related to using SQL lite. It had been crashing at one place in the code intemittently, then was stable for a while. Now it is crashing consistantly at another place in the code. Changing the sdk from 3.2 to 3.3 didn;t

[flexcoders] AMF, IE, and a non-trusted certificate

2009-07-10 Thread jer_ela
All of our applications have to run over SSL. On the dev and eval servers we use internally generated certificates. With firefox once you install the certificate everything is fine. But with IE, if you just tell it to proceed to the website, all http calls to the the server work including

[flexcoders] Re: create class on the fly

2009-07-15 Thread jer_ela
Just have your cfc return the results as a query, or as an array of structs. The first will be converted into an ArrayCollection of generic objects in Flex, and the second into an Array of objects. Each of these objects will have a property for each column in the record. Flex will be quite

[flexcoders] Re: look for a actionscript function?

2009-07-16 Thread jer_ela
I assume that what you want to do is round to to decimal places. If all you want to do is display the rounded number, you can use the NumberFormatter class. This can give you a string representation of the number rounded as you want it, which is fine for display. If you need to actually round

[flexcoders] Re: Line and area chart on the same coordinate system?

2009-08-27 Thread jer_ela
You can add line series to an area chart, but you are better off using a cartesian chart as it doesn't have any functionalities are are chart type specific that can cause problems. Be aware that if the area series are going to be stacked, that you need to put them in an AreaSet, or they will

[flexcoders] Re: Complex shape selection

2009-09-16 Thread jer_ela
Check out the ImageMap component in FlexLib http://flexlib.googlecode.com/svn/trunk/docs/flexlib/controls/ImageMap.html It works the same way in imagemap works in html, and you can use any of the tools used to define imagemap coords for html, to define the coords. Fireworks for example. ---

[flexcoders] Flash Player on HTC Hero

2009-10-21 Thread jer_ela
The HTC Hero has a flash player that appears to be version 9. And it does play some flash content. But it is also unable to play a lot including even a hello world written in flex. Is there any documentation available at to what this player does and doesn't support? Why is it labeled flash

[flexcoders] Re: Casting down an object

2009-11-02 Thread jer_ela
Do you need A class objects (ie ones w/o the C property) in your app? If not just add the C property to the A class. It should still be converted correctly. If you still need the A class, add an exportAsB method to create a B class equivelent. --- In flexcoders@yahoogroups.com, bnsmeets

[flexcoders] Re: RemoteObject question/mystery

2009-11-02 Thread jer_ela
how do I actually get the data back to a caller function? you can't. The request is async. The caller has long since finished executing when the result comes back. Have the resultHandler do whatever needs to be done with the result. --- In flexcoders@yahoogroups.com, Wally Kolcz wko...@...

[flexcoders] Re: How can I sort ADGColumn with icons as data?

2009-12-04 Thread jer_ela
ADG columns have a sortCompareFunction property. The function will get 2 objects representing 2 of the datagrid rows. The function decides how to compare the object for sorting purposes. So whatever data you have that determines which icon to display can be used to determine how the column

[flexcoders] Re: Mate board?

2009-12-21 Thread jer_ela
http://mate.asfusion.com/forums/ --- In flexcoders@yahoogroups.com, Dan Pride danielpr...@... wrote: Is there a board specifically for Mate? Thanks Dan

[flexcoders] Re: Issue with packages and folders - ui

2010-01-15 Thread jer_ela
A better workaround is to drag it into gauge and then use move to put it into controls which will get expanded and you will be able to drag stuff to it thereafter. I like the way they roll up the empty packages, as it saves a lot of clicks if you have a deep package structure. That does

[flexcoders] Re: How to use Flex Unit 4 with Mate

2010-02-16 Thread jer_ela
You shouldn't create an instance of the event map for a unit test. There shouldn't be enough code in your event map to test. It should just wire the rest of the app together. The rest of the app shouldn't even know it is a mate app and so should be testable without any need for the event

[flexcoders] Re: FlexUnit or fluint ?? which the best ???

2010-03-10 Thread jer_ela
The flexUnit and fluint projects have merged into FlexUnit4, so which was better no longer matters. You can get FlexUnit4 at flexunit.org. --- In flexcoders@yahoogroups.com, Nini7016 Nini7016 nahloulaha...@... wrote: Hello :) I 'm currently doing units test for my application

[flexcoders] Re: How to create Flex 4 Library Project with custom namespace please ?

2010-03-17 Thread jer_ela
I have found that selecting Include all classes, doesn't actually include all classes. Selecting Select classes to include in library and then checking the checkbox next to the src directory seems to work get all the classes included. --- In flexcoders@yahoogroups.com, Adnan Doric

[flexcoders] Re: Exceeding Flash's Capabilities?

2010-04-21 Thread jer_ela
I've never tried to display more than 20 or so series, but I do have an app that has 5692 records with 4 series each for a total of 17076 data points. It is displayed in a bar chart. Well it isn't actually displayed since that's about 17 bars per pixel, but the bars are actually there and you