Re: [flexcoders] Equivalent to Java's Class.isInstance(Object) instance method?

2008-10-27 Thread Mark Carter
Oops, sorry. Thanks, you're right! FlexBuilder code completion wasn't giving me the chance to put a variable after is - so I just assumed it wasn't possible (like in Java). andrii_olefirenko wrote: obj is cls - it works for me, no compile error (Flex SDK 3). -- View this message in

Re: [flexcoders] Equivalent to Java's Class.isInstance(Object) instance method?

2008-10-27 Thread Josh McDonald
Yeah, builder's not so smart when you're trying to do anything out of the ordinary :) On Mon, Oct 27, 2008 at 4:01 PM, Mark Carter [EMAIL PROTECTED] wrote: Oops, sorry. Thanks, you're right! FlexBuilder code completion wasn't giving me the chance to put a variable after is - so I just

[flexcoders] Re: Equivalent to Java's Class.isInstance(Object) instance method?

2008-10-27 Thread florian.salihovic
Then i got the problem right? Thought i had to get back to school for some english lessons... --- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: Yeah, builder's not so smart when you're trying to do anything out of the ordinary :) On Mon, Oct 27, 2008 at 4:01 PM,

Re: [flexcoders] Re: Equivalent to Java's Class.isInstance(Object) instance method?

2008-10-27 Thread Josh McDonald
Nah, you were on the money Florian :) On Mon, Oct 27, 2008 at 4:15 PM, florian.salihovic [EMAIL PROTECTED] wrote: Then i got the problem right? Thought i had to get back to school for some english lessons... --- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote:

[flexcoders] Re: utterly frustrated where is the debugger or host applicaton

2008-10-27 Thread maximecowez
Just go to your bin-debug folder, right-click the .swf and choose 'Open With'. Then click 'Choose Program...' and point it to the place where your debug player is. You downloaded the Flash Player 10 zip file, right? Then the path should be something like

[flexcoders] Programmatically Determine if FlexEvent.CREATION_COMPLETE has been dispatched

2008-10-27 Thread cwicky99
I need to programmatically determine if a component has dispatched FlexEvent.CREATION_COMPLETE so that I know it has finished being created as well as all of it's children. I don't see a creationCompleted property, is there some other way to tell? I know I can listen for the event I am wondering

[flexcoders] AIR HTML control - clicking a link that wants to open in a new window

2008-10-27 Thread arieljake
How are people handling the situation when a link clicked inside an HTML control is set to open in a new window. The HTML control does nothing, and I am wondering how we can handle this. It's been a while since I worked with javascript...is there an object we can add an event listener to so that

[flexcoders] Re: Programmatically Determine if FlexEvent.CREATION_COMPLETE has been dispatche

2008-10-27 Thread florian.salihovic
One way to do so: private var dictionaty:Dictionary = new Dictionary(); private var button:Button = new Button(); protected function initializeComponent():void { this.button.addEventListener(FlexEvent.CREATION_COMPLETE, onCreationComplete); this.dictionary[this.button] = false; } function

[flexcoders] Re: AIR HTML control - clicking a link that wants to open in a new window

2008-10-27 Thread arieljake
just needed the right search term in google: see http://soenkerohde.com/2008/09/air-html-with-_blank-links/ --- In flexcoders@yahoogroups.com, arieljake [EMAIL PROTECTED] wrote: How are people handling the situation when a link clicked inside an HTML control is set to open in a new window.

Re: [flexcoders] Re: Programmatically Determine if FlexEvent.CREATION_COMPLETE has been dispatche

2008-10-27 Thread Josh McDonald
Any time you're going to create a Dictionary to keep track of things like this, make sure to use weak references, by calling new Dictionary(true) or your app is likely to leak memory like a sieve :) And you might be able to get away with UIComponent.initialized, depending on what it is you're

Re: [flexcoders] Re: mouse wheel behaviour mxml and actionscript based components

2008-10-27 Thread Michael Schmalle
Hi Sorry I didn't get back to you but I couldn't answer this question. The problems are on Firefox 3.0.3 - windows - XP... That is why, I still didn't have confidence to upgrade, I'm still using 2 so I can't see your bug. Mike On Thu, Oct 23, 2008 at 2:32 PM, fotis.chatzinikos [EMAIL

[flexcoders] Re: Programmatically Determine if FlexEvent.CREATION_COMPLETE has been dispatche

2008-10-27 Thread florian.salihovic
Ah forgot to tell about that one. Or delete the reference manually. There have been some discussion about weakReferences when registering eventlisteners.But that's another topic... Best regards. --- In flexcoders@yahoogroups.com, Josh McDonald [EMAIL PROTECTED] wrote: Any time you're going

Re: [flexcoders] Re: mouse wheel behaviour mxml and actionscript based components

2008-10-27 Thread Fotis Chatzinikos
Hello, adobe's examples (component explorer for example) works ok (with mouse wheel support) even in firefox 3... Maybe it has to do with the way the flex/flash wrapperis implemented inside the container html page... I will investigate as soon as i find some time and let you knowof the

Re: [flexcoders] Re: Help: filterFunction and Dates

2008-10-27 Thread Blair Cox
Tim, thanks again for you help. I¹m still learning to use AMFPHP and understand what you are saying. My application is rather simple in terms of showing/hiding certain elements from the user at defined times. However this appears to work perfectly! return item.Date_Collected ==

[flexcoders] Custom [Bindable] declarerd accessors.

2008-10-27 Thread florian.salihovic
The simple approach for classes to offer databinding enabled properties is to simply declard the whole class as [Bindable]. To make full use of the feature instances/references to objects must be declared as [Bindable] as well. Well, since it is said in the documentation to use custom

Re: [flexcoders] Flex to html/javascript translator

2008-10-27 Thread Fotis Chatzinikos
Openlaszlo is very similar to flex, and can output both flash and html/javascript ... It is not based on flex but similar, google for openlaszlo if you are interested. On Sat, Oct 25, 2008 at 5:40 PM, BENABDALLAH Abdelaziz [EMAIL PROTECTED] wrote: hello everyone, I am a javascript/html

Re: Re[flexcoders] versing an ArrayCollection

2008-10-27 Thread Fotis Chatzinikos
if you cannot revert the arraycollection (even via its source as Paul suggested) why do not you do it manually? On Fri, Oct 24, 2008 at 5:47 PM, jer_ela [EMAIL PROTECTED] wrote: I'm guessing that these aren't just random values that you want in the opposite order of how you got them, but

[flexcoders] Re: Updating row of datagrid

2008-10-27 Thread oneworld95
I'm still desperately seeking answers on this... anybody? Help! --- In flexcoders@yahoogroups.com, oneworld95 [EMAIL PROTECTED] wrote: I've got a datagrid which displays an image (if one has been uploaded) for each record. The user can upload a new image file from within that row. I'm losing

[flexcoders] Re: Modal without popup

2008-10-27 Thread rrullo
--- In flexcoders@yahoogroups.com, jkasham [EMAIL PROTECTED] wrote: how can i make the app modal without a popup? I usually place a transparent component (canvas) over the entire app then place my modal component above it. The transparent component captures all mouse clicks etc and

[flexcoders] flex builder interface

2008-10-27 Thread elliotwilliams77
does anyone know how to change the flex builder interface? .. i noticed that some have this blue wavy tabs in their interface... mine is just box how do i change it? its blue and wavy like in the flex navigator tab, outline tab, help tab and so forth would really appreciate any help

Re: [flexcoders] flex builder interface

2008-10-27 Thread Michael Schmalle
Hi, That is the Flex Builder Plugin that gets installed into the Eclipse version. You are using the stand alone version of Flex Builder which uses Adobe's look and feel. Mike On Mon, Oct 27, 2008 at 4:58 AM, elliotwilliams77 [EMAIL PROTECTED] wrote: does anyone know how to change the flex

[flexcoders] Re: FB: Extracting a folder contents into output folder while compiling

2008-10-27 Thread m_koks
Does anyone have answer please? Thanks --- In flexcoders@yahoogroups.com, m_koks [EMAIL PROTECTED] wrote: Hi All, I have few additional html files in my project that I want them to be get copied into the output folder while compiling the application using Flex builder. Presently, I

[flexcoders] Re: Error : Flex integration With Jsp

2008-10-27 Thread valdhor
A few things I would look at... 1. Check that you have the crossdomain.xml file available and that it has the correct settings. 2. Add your bin-debug folder to the Global Security Settings panel (Use http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html)

[flexcoders] Re: Equivalent to Java's Class.isInstance(Object) instance method?

2008-10-27 Thread Amy
--- In flexcoders@yahoogroups.com, Mark Carter [EMAIL PROTECTED] wrote: I don't think that works when I have a variable of Class type. public static function isObjectInstanceOfClass(obj:Object, cls:Class):Boolean { return obj is cls; // compile error } By definition, a variable of

[flexcoders] filterFunction and selecting a Date Range

2008-10-27 Thread Blair Cox
Hi everyone, just thought I would run this by you. With the help of others on this list, we were able to find a way to sort dates returned from a database in a hacked sort of way. What I need to now is to be able to select a range, so this date and this date. Perhaps I¹m over simplifying this,

[flexcoders] Re: flex builder interface

2008-10-27 Thread maximecowez
You can still change the look and feel though. In the menu, get into 'Window' 'Preferences...'. Then in the Preferences Window click 'General' and then 'Appearance'. Here you can alter the presentation and the theme and if you want your wavy tabs back, uncheck the checkbox that says 'Show

[flexcoders] Re: flex builder interface

2008-10-27 Thread elliotwilliams77
Hi thank you for your reply. but quite oddly i did notice that the blue wavy tabs on flex builder. let me show you http://onflash.org/ted/2008/10/360flex-sj-2008-encrypting-flex.php if you watch andrew's flex builder it shows adobe flex builder. you can jump to 10min58sec mark to see the

Re: [flexcoders] Do you use a Mac?

2008-10-27 Thread Weyert de Boer
Then there's the free(as in beer) Apple Developer Tools, which you need to install, but include: XCode and all the other good stuff it brings, including WebObjects, IPhone SDK, general Cocoa SDK tools, various profilers etc etc. the list just goes on an on.. In my experience IDEs like

Re: [flexcoders] Re: Equivalent to Java's Class.isInstance(Object) instance method?

2008-10-27 Thread Michael Schmalle
Adding to the insight, if you wanted to use the 'is' operator with those two arguments, you need to create an instance of the Class and then use the 'is' operator. This would let you know if it is an instance of the object passed. public static function isObjectInstanceOfClass(obj:Object,

[flexcoders] Re: flex builder interface

2008-10-27 Thread elliotwilliams77
Dear mike, Thank you so much!! ... how could i have been so stupid as to not at least check the preference...i know i did look at it , but i guess i didnt look at it properly. thank you!!! --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, That is the Flex

[flexcoders] Using ampersand character in contextmenuitem label

2008-10-27 Thread flexcoders . list
Does anyone know if it's possible to use the ampersand () character in a contextmenuitem label? (i.e. as an entry in a custom right-click flash menu) It appears that the underlying GUI framework interprets the character in various ways depending on OS, most of the time causing the following

[flexcoders] Re: flex builder 3 and ganymede

2008-10-27 Thread Durres76
strange, i've done this a few times and it doesn't work for me

[flexcoders] Re: Programmatically Determine if FlexEvent.CREATION_COMPLETE has been dispatche

2008-10-27 Thread cwicky99
So, say I missed the creation_complete eventor I can't listen for it. there is no programmatic way to ask a component if it is complete right? I know UIComponent ( or something like that ) has the initialized property. --- In flexcoders@yahoogroups.com, florian.salihovic [EMAIL PROTECTED]

[flexcoders] Re: Updating row of datagrid

2008-10-27 Thread Amy
--- In flexcoders@yahoogroups.com, oneworld95 [EMAIL PROTECTED] wrote: I'm still desperately seeking answers on this... anybody? Help! --- In flexcoders@yahoogroups.com, oneworld95 oneworld95@ wrote: I've got a datagrid which displays an image (if one has been uploaded) for each

Re: [flexcoders] filterFunction and selecting a Date Range

2008-10-27 Thread Blair Cox
Yup, that was a totally newbie question... private function processFilter(item:Object):Boolean {return item.Date_Collected dfconv.format(getdate.text).toString() item.Date_Collected dfconv.format(getdateEnd.text).toString(); } For future newbie¹s :) -- Blair From: Blair

[flexcoders] Combo box changes selected Item when dp refreshes

2008-10-27 Thread nehavyas13
Hi, I am using a combo box and its dataprovider is an arrayCollection (dp1.arr1, dp1 is a actionscript class and arr1 is a global arraycollection for class). The data is refreshed every minute. Hence, in the dp1 class, refreshData() method gets called every minute and populates a new

[flexcoders] AIR app does not deploy

2008-10-27 Thread hworke
Hi Devs, I was trying to deploy the AIR app that I developed with my Flex builder 3.0 and it is giving this error message: This application requires a version of Adobe AIR which is no longer supported. Please contact the application author for an updated version. How

Re: [flexcoders] Question about html embed (AC_FL_RunContent)

2008-10-27 Thread Kevin Newman
You can also try looking at the NET tab in Firebug - very helpful for determining when swf files are loading and not (red entries are 404, or other errors). www.getfirebug.com Kevin N. Guy Morton wrote: what web server are you using? can you check the web server logs to see what url is

Re: Re: [flexcoders] Equivalent to Java's Class.isInstance(Object) instance method?

2008-10-27 Thread Mark Carter
Hi Mike - sorry, you've lost me there... The few tests I've done show that obj is cls is what I need. Are you saying that does not work? Michael Schmalle wrote: Adding to the insight, if you wanted to use the 'is' operator with those two arguments, you need to create an instance of the

Re: [flexcoders] Equivalent to Java's Class.isInstance(Object) instance method?

2008-10-27 Thread Eric Cooper
The question has been answered (yes, it is possible to use is as part of isInstanceOf() method. Here's an example of my use of this mechanism (for determining if geometric shapes share an instance of a particular class of constraint, e.g. are these two line segments perpendicular to each

Re: [flexcoders] Equivalent to Java's Class.isInstance(Object) instance method?

2008-10-27 Thread Michael Schmalle
I messed up, what I said does not work, to early in the morning for me. :) 'is' tests an instance to a class reference. I was thinking in the opposite direction when I gave that example. Eric shows you. Mike On Mon, Oct 27, 2008 at 11:41 AM, Eric Cooper [EMAIL PROTECTED] wrote: The question

Re: [flexcoders] Re: Help: filterFunction and Dates

2008-10-27 Thread Maciek Sakrejda
My point is that it's not necessary to set the filterFunction to null. Filter functions are not composed (do not stack). Try your code with the following filterArrayColl: private function filterArrayColl():void { foo.filterFunction = fileterFunction; foo.refresh(); trace(foo);

[flexcoders] Re: Combo box changes selected Item when dp refreshes

2008-10-27 Thread valdhor
Create a variable to hold the current selection index private var comboCurrentSelectedIndex:int = -1; add a change event to the comboBox mx:ComboBox id=myComboBox change=myComboBoxChanged()/ keep the selected index current private function myComboBoxChanged():void {

[flexcoders] Re: Help: filterFunction and Dates

2008-10-27 Thread Cato Paus
Ah yes your rigth!, I only do it by old habit, just making sure :) I started with Flex 1.0 --- In flexcoders@yahoogroups.com, Maciek Sakrejda [EMAIL PROTECTED] wrote: My point is that it's not necessary to set the filterFunction to null. Filter functions are not composed (do not stack). Try

RE: [flexcoders] Re: Programmatically Determine if FlexEvent.CREATION_COMPLETE has been dispatche

2008-10-27 Thread Alex Harui
So what's wrong with using the initialized property? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of cwicky99 Sent: Monday, October 27, 2008 7:37 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Programmatically Determine if FlexEvent.CREATION_COMPLETE has been

[flexcoders] Re: Combo box changes selected Item when dp refreshes

2008-10-27 Thread nehavyas13
Thanks for your reply. But I guess setting selectedIndex would not work, as it is quite possible for an extra item to be added in the data and hence the text that was selected might now be 4th instead of 3rd. I think I might have to use selectedlabel and store it and then compare that text value

RE: [flexcoders] Re: FB: Extracting a folder contents into output folder while compiling

2008-10-27 Thread Ryan Graham
Sure, you can create another folder in your flex project at the same level as src, then in Project Properties Build Path Source Path click Add Folder and point to the folder you just created. It will be treated the same as src when compiling. Just make sure you have Copy non-embedded files to

RE: [flexcoders] Re: Combo box changes selected Item when dp refreshes

2008-10-27 Thread Tracy Spratt
Yes this is standard behavior. ComboBox has no way of knowing whether the currently selected item exists in the new dataProvider. Yor proposed solution is the correct one. Store the data value of the Combo box, then when the dataProvider changes, loop over it and compare the item property

[flexcoders] Re: Programmatically Determine if FlexEvent.CREATION_COMPLETE has been dispatche

2008-10-27 Thread cwicky99
I didn't think that necessarily meant 'creation complete' according to the doc's, maybe I misunderstood? --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: So what's wrong with using the initialized property? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

[flexcoders] Re: Combo box changes selected Item when dp refreshes

2008-10-27 Thread valdhor
Yes, I was going to do it with selectedLabel and selectedItem but you specifically talked about the index so I thought that was what you wanted. --- In flexcoders@yahoogroups.com, nehavyas13 [EMAIL PROTECTED] wrote: Thanks for your reply. But I guess setting selectedIndex would not work, as

[flexcoders] Multiple Project deployment

2008-10-27 Thread cyianite
Hi flex masters, I have a little question for my project, We have a big application in flex and we will have two version for our application (two different country). Every country version has different functionality and Look-and-Feel . These two version will be using one framework source

[flexcoders] Re: Updating row of datagrid

2008-10-27 Thread oneworld95
Found a solution: - Changed the Java servlet to concatenate the time in milliseconds to the filename, ensuring it will be unique. Earlier, the filename for that record was the same as its ID; this increased the likelihood of caching. - Modified the Flex app to refresh the dataProvider for the

[flexcoders] Re: WANTED: code examples (or explanations) of *NON-PopUp* Tab loops

2008-10-27 Thread jim.abbott45
Thanks AGAIN, to Alex! Sadly, not what I was hoping to hear (the TileList does not support focus in its renderers. part, at least). But important to have clarified, and the information about the FocusManager is very useful too . . . a good start for my own implementation. Thanks, Jim --- In

[flexcoders] binding execution on Tree nodes

2008-10-27 Thread Aaron Miller
Hello, I have a Tree component where the labelField is a bindable property of the data model: = [Bindable(event='pageTitleChange')] [Bindable(event='propertyChange')] public function get pageTitle(): String { return _pageTitle; } public function set pageTitle( data:String ): void {

[flexcoders] Re: Using ampersand character in contextmenuitem label

2008-10-27 Thread diehlryan
I haven't tried this, but try using the amp; in place of like you would have to do in MXML... menu.customItems.push(new ContextMenuItem('1Test amp; test'));

Re: [flexcoders] Multiple Project deployment

2008-10-27 Thread Howard Fore
The approach I'd try would be to separate the work into three pieces, shared model/view pieces, country one's model/view pieces, and country two's model/view pieces. Create different directories in the src directory for each and reference the shared pieces as appropriate from the country code. The

[flexcoders] Re: Equivalent to Java's Class.isInstance(Object) instance method?

2008-10-27 Thread Amy
--- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Adding to the insight, if you wanted to use the 'is' operator with those two arguments, you need to create an instance of the Class and then use the 'is' operator. This would let you know if it is an instance of

[flexcoders] Flex 2 to Flex 3 - LCDS

2008-10-27 Thread schneiderjim
We purchased Flex 2, which at the time, I believe included LCDS (or whatever it was called at the time). My belief is that we only use LCDS (currently) for remote object calls (I'm honestly not sure we need LCDS for remote object, but I'll assume for now that we do [without changing backend

Re: [flexcoders] Flex 2 to Flex 3 - LCDS

2008-10-27 Thread Ryan Gravener
If your using flex 3, you should switch over to blazeds as well. Ryan Gravener http://ryangravener.com/flex | http://twitter.com/ryangravener On Mon, Oct 27, 2008 at 3:37 PM, schneiderjim [EMAIL PROTECTED]wrote: We purchased Flex 2, which at the time, I believe included LCDS (or whatever

[flexcoders] Re: Usage of showDefaultContextMenu in Application/

2008-10-27 Thread Sam
So if I use this with the Flash 9 player it will correctly give only the two options, with Flash 10 it puts the 'Print' option back, what changed? Sam --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: Glad to help. I agree Claudia. Except for when a cat walks on the

[flexcoders] URL redirection

2008-10-27 Thread brucewhealton
Hello, I was wondering what the best way to redirect someone in Flex would be? Suppose the user clicks on a link and it takes them to a page created in Flex that provides a form. When they finish, I want to return them to the web page where they were or to a home page on the site. How

[flexcoders] Extending the Datagrid to enable paging

2008-10-27 Thread oneworld95
Hi, all. For a current project, I need to extend the DataGrid to enable paging of the data. Can you point me to some examples of how to do this sort of customization? Thank you.

[flexcoders] sailorsea21 - Is it possible to use a value from a variable as a Timer value?

2008-10-27 Thread sailorsea21
Hey everyone, I have a value of 3 stored in a MySQL database. I call this value and import it in flex via HTTPService (PHP XML): mx:HTTPService url=value.php method=POST id=rate useProxy=false result=getRate(event)/ I now have a timer: var myTimer:Timer = new Timer(3); Can I

[flexcoders] row color in advancedDataGrid

2008-10-27 Thread Mark
I have an ADG with about 5 columns and have used AdvancedDataGridRendererProvider to add a SUM at the bottom of a few of the numberd columns that are the last 2 columns. I'd like to color that entire row but I'm having a hard time finding out how to do that. I've found some samples of

RE: [flexcoders] Flex 2 to Flex 3 - LCDS

2008-10-27 Thread Dimitrios Gianninas
Yes you can leave LCDS as is and use Flex 3 for the UI portion, its what we have done here. Dimitrios Gianninas RIA Developer Team Lead Optimal Payments Inc. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of schneiderjim Sent: Monday,

Re: [flexcoders] sailorsea21 - Is it possible to use a value from a variable as a Timer value?

2008-10-27 Thread Mike Chabot
You can definitely use a variable there. You might want to step through the code to make sure that the variable is getting populated with the correct value and that the timer is being created after the getRate function completes. -Mike Chabot On Mon, Oct 27, 2008 at 4:11 PM, sailorsea21 [EMAIL

[flexcoders] Re: sailorsea21 - Is it possible to use a value from a variable as a Timer value?

2008-10-27 Thread Tim Hoff
Hi David, Looks like you're constructing the Timer wth a delay: Timer http://127.0.0.1:52378/help/topic/com.adobe.flexbuilder.help/langref/fl\ ash/utils/Timer.html#Timer() (delay:Number http://127.0.0.1:52378/help/topic/com.adobe.flexbuilder.help/langref/Nu\ mber.html , repeatCount:int

[flexcoders] Re: sailorsea21 - Is it possible to use a value from a variable as a Timer value?

2008-10-27 Thread sailorsea21
Got it working thanks! My problem was that the timer was being created before the getRate function. Thanks again :) --- In flexcoders@yahoogroups.com, Mike Chabot [EMAIL PROTECTED] wrote: You can definitely use a variable there. You might want to step through the code to make sure that the

[flexcoders] Re: sailorsea21 - Is it possible to use a value from a variable as a Timer value?

2008-10-27 Thread Tim Hoff
Well, take that back. Looks like you want the delay for a refresh rate. myTimer.delay = valuesMilliseconds; should work. -TH --- In flexcoders@yahoogroups.com, Tim Hoff [EMAIL PROTECTED] wrote: Hi David, Looks like you're constructing the Timer wth a delay: Timer

[flexcoders] Re: URL redirection

2008-10-27 Thread valdhor
I remember responding to this question a week or so ago. Strangely, the whole thread seems to be gone. Anyway... Alert.show(Do you really want to do this?, Question, Alert.YES | Alert.NO, this, returnToPreviousHandler); private function returnToPreviousHandler(event:CloseEvent):void { if

Re: [flexcoders] Re: Using ampersand character in contextmenuitem label

2008-10-27 Thread flexcoders . list
On Mon, Oct 27, 2008 at 19:05:11 -, diehlryan wrote: I haven't tried this, but try using the amp; in place of like you would have to do in MXML... menu.customItems.push(new ContextMenuItem('1Test amp; test')); Thanks for the suggestion, but unfortunately that doesn't work either. At

Re: [flexcoders] Re: Equivalent to Java's Class.isInstance(Object) instance method?

2008-10-27 Thread Josh McDonald
DescribeType is part of the binding process, so anything that has any bindings will give you a free pass at describetype via the cache. But unless you're doing it inside some complex animation, who gives a toss how long it takes? It's sure as hell not going to be long enough to bother your users

[flexcoders] Re: How to get XML data in before self-configuring custom component needs it?

2008-10-27 Thread Mic
Thanks for the help I followed the suggestion to addChild(component) from the XML result = method and this works perfectly. --- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: While it sometimes causes other timing problems, the framework sets the properties of a

[flexcoders] Annoying charts bug also appears when using modules

2008-10-27 Thread Guy Morton
https://bugs.adobe.com/jira/browse/FLEXDMV-1695 This bug also occurs when you introduce modules into your app. I have no idea why but it is very annoying and seemingly simple to fix. For some reason, rather than fix it someone at Adobe has simply closed this bug. Why? Guy

[flexcoders] Replacing ADG dataProvider

2008-10-27 Thread whatabrain
How do you replace the dataProvider of an AdvancedDataGrid? I'm reorganizing the data, and, for efficiency, I'd like to do so in an ArrayCollection that's not linked to the ADG, and then replace the dataProvider. I've had a lot of trouble getting this to work. First I tried the obvious (the

Re: [flexcoders] Setting the font weight / thickness of a LinkBar

2008-10-27 Thread Brad O'Hearne
Perhaps I asked this question wrong -- does anyone know how to make the font weight / thickness of a Link Bar change? Within Flex Builder, I have the font of the Linkbar set exactly the same as other text objects, but the text is noticeably different -- the LinkBar text looks shorter and

[flexcoders] Re: Combo box changes selected Item when dp refreshes

2008-10-27 Thread Dmitri Girski
--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: Yes this is standard behavior. ComboBox has no way of knowing whether the currently selected item exists in the new dataProvider. It knows, as setter could simply loop through the dataProvider and check the fact of

[flexcoders] Changing MenuBar open and close Transitions

2008-10-27 Thread Tyler Kocheran
How do I implement custom MenuBar opening and closing transitions? I've tried changing the showEffect and hideEffect properties on a MXML MenuBar node, but nothing changes. Does anyone know how to do this? I have scoured the livedocs and reference and couldn't find anything. I've looked at using

[flexcoders] Re: Replacing ADG dataProvider

2008-10-27 Thread greg_lafrance
Are you using data binding? [Bindable] d:ArrayCollection; ... mx:AdvancedDataGrid dataProvider={d}.../ Greg --- In flexcoders@yahoogroups.com, whatabrain [EMAIL PROTECTED] wrote: How do you replace the dataProvider of an AdvancedDataGrid? I'm reorganizing the data, and, for efficiency, I'd

[flexcoders] event bubbling when destination below target?

2008-10-27 Thread Mic
I am using both Cairngorm events and custom actionscript events but cannot work out how either will allow a combobox at the outer app container to communicate with charts within modules within a panel within a canvas within the app etc. Is it true to say that Cairngorm events are mainly for

Re: [flexcoders] Do you use a Mac?

2008-10-27 Thread Cole Joplin
I have made the switch to Mac, and wanted to chime in. I have developed on Windows for most of my career, but I'm moving everything to Mac. I am more than satisfied with FB3 on the Mac. In fact, I've been slowly moving to Mac for practically everything for a year now. Development is better, and

[flexcoders] Line CHart with Data Points

2008-10-27 Thread Diff Gal
Hi, I want to create a line chart with all data points highlighted with some particular shape. Is there an option to do that with Line Chart or do we need to create another plot series. Pls suggest. Thanks, Diffy Did you know? You can CHAT without downloading messenger. Go to

RE: [flexcoders] Annoying charts bug also appears when using modules

2008-10-27 Thread Alex Harui
Ran out of time. It is marked deferred. That usually happens when there appears to be a simple workaround. I notified the DMV manager From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Guy Morton Sent: Monday, October 27, 2008 3:30 PM To: flexcoders@yahoogroups.com

Re: [flexcoders] Line CHart with Data Points

2008-10-27 Thread Brendan Meutzner
Have a look at the itemRenderer property for LIneSeries. Brendan On Mon, Oct 27, 2008 at 11:56 PM, Diff Gal [EMAIL PROTECTED] wrote: Hi, I want to create a line chart with all data points highlighted with some particular shape. Is there an option to do that with Line Chart or do we