RE: [flexcoders] Re: (Flex 1.5 using Cairngorm Framework) MenuBars in PopUps not Working

2005-10-26 Thread Mercer, Dustin
my AS function inside of mx:Script![CDATA[ ]/mx:Script tags. -- Thank you both. =) --- In flexcoders@yahoogroups.com, Mercer, Dustin [EMAIL PROTECTED] wrote: This doesn't sound like a cairngorm issue, but a flex depth issue. Try this... Try making the window height about 50 pixels

RE: [flexcoders] RES: (Flex 1.5 using Cairngorm Framework) MenuBars in PopUps not Working

2005-10-26 Thread Mercer, Dustin
To: flexcoders@yahoogroups.com Subject: [flexcoders] RES: (Flex 1.5 using Cairngorm Framework) MenuBars in PopUps not Working That was it! I set modal to false and now the menu shows up. Thanks for your help, Dustin. --- In flexcoders@yahoogroups.com, Mercer, Dustin [EMAIL PROTECTED] wrote: When you

RE: [flexcoders] create-compile-report not creating report

2005-10-26 Thread Mercer, Dustin
I hate to ask this, but did you restart the server? Any changes to the flex-config.xml require a server restart to update If you did that, then try deleting the cache.dep and all the folders under the generated folders in the web-inf\flex dir. Then restart your server and access your

RE: [flexcoders] Re: (Flex 1.5 using Cairngorm Framework) MenuBars in PopUps not Working

2005-10-25 Thread Mercer, Dustin
This doesnt sound like a cairngorm issue, but a flex depth issue. Try this Try making the window height about 50 pixels, and add a bunch of menu items to the menubars dataProvider, then try. See if the menu is showing up under the window (you will be able to see that because the menus

RE: [flexcoders] Remote Object not found in Flex config

2005-10-25 Thread Mercer, Dustin
Title: Remote Object not found in Flex config And make sure you are not running Flash Player 8.5.  I had issues with Flash player 8.5 and Named remote objects.  It was giving me a different error, but there were problems none the less.  After uninstall of 8.5, my app worked fine.  Very

RE: [flexcoders] Flex2: Popup Error

2005-10-20 Thread Mercer, Dustin
I believe the removePopUp method is being called twice You will find if you click anywhere in the header of the titlewindow, the window will fire the click event (Which is set to close the window) and if you click on the close button, it fires the event twice. You get the null error

RE: [flexcoders] Re: Flex2: Popup Error

2005-10-20 Thread Mercer, Dustin
To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Flex2: Popup Error Ah. Very interesting. I just gave up on the X and did a close button, which effectively did the same thing as figureing out how to get it not to do that double click. --- In flexcoders@yahoogroups.com, Mercer, Dustin

RE: [flexcoders] Popping up the same window more than once

2005-10-02 Thread Mercer, Dustin
Just Curious, are you using the cairngorm framework and is there a viewhelper used in this window??? If so, the problem may be with the same viewhelper trying to be instantiated twice (Once in widow A, then again in window B). If you try to instantiate more than one viewhelper with the

RE: [flexcoders] Flex DataGrid with large recordset

2005-09-29 Thread Mercer, Dustin
Try adding liveScrolling=false to the datagrid. That will make the datagrid scroll without redrawing as it is scrolling. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of sergei_tsoganov Sent: Thursday, September 29, 2005 2:24 AM To:

RE: [flexcoders] Flex with EJB3

2005-09-28 Thread Mercer, Dustin
This almost sounds like it could be related to actionscript not having the correct Java mappings.  This can cause these types of headaches. Try creating dummy variables for all the classes used in the transaction at Flex application layer. I.E. var dummyObject : DummyObject (Where

RE: [flexcoders] Confusing error message

2005-09-28 Thread Mercer, Dustin
I have also heard adding more code can help Strange but true. If adding more code does not work, then yes, refactoring your mxml file should solve the problem. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday,

RE: [flexcoders] prevent drag

2005-09-26 Thread Mercer, Dustin
One way that works, but you will sacrifice your close button on the upper right is: In your popup mxml, make it a Panel instead of a TitleWindow. Other than that, you would probably have to do a centerPopUp in the stopDragging event (of the TitleWindow) to re-center the popup.

RE: [flexcoders] prevent drag

2005-09-26 Thread Mercer, Dustin
Subject: Re: [flexcoders] prevent drag Hack: popup = mx.managers.PopUpManager.createPopUp(this, Title, false); popup.back_mc.> - Original Message - From: Mercer, Dustin To: flexcoders@yahoogroups.com Sent: Monday, September 26, 2005 1:45

RE: [flexcoders] height=100% layout problem

2005-09-22 Thread Mercer, Dustin
Try setting minHeight=0 and minWidth=0 on vBxContent. I had the same problem with some of my layouts and that fixed J From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Christoph Diefenthal Sent: Thursday, September 22, 2005 3:01 AM To:

RE: [flexcoders] height=100% layout problem

2005-09-22 Thread Mercer, Dustin
Unbelievable! That works!!! Thanks very much! How did you get that fancy idea? Does not look right this way, does it? -Ursprüngliche Nachricht- Von: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von Mercer, Dustin Gesendet: Donnerstag, 22. September 2005 16:35

RE: [flexcoders] Cairgorn Bug?

2005-09-16 Thread Mercer, Dustin
Just curious, do you use any viewhelpers within your command? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Omar Ramos Sent: Friday, September 16, 2005 5:54 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Cairgorn Bug? I

RE: [flexcoders] Cairgorn Bug?

2005-09-16 Thread Mercer, Dustin
and only has a if and a switch statement on execute thats it. On 9/16/05, Mercer, Dustin [EMAIL PROTECTED] wrote: Just curious, do you use any viewhelpers within your command? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Omar

RE: [flexcoders] Re: How to create a binding from within an actionscript class file - Impossible?

2005-09-13 Thread Mercer, Dustin
Libby, The approach you described is impossible. Actionscript does not work this way. Once that class has finished executing it code, it is disposed so no binding would be possible. Looks like you are going to have to find a way to do this that fits in with the event model. Please

RE: [flexcoders] Including files.

2005-09-01 Thread Mercer, Dustin
You have to set the namespace property (xmlns:xxx) on either the app or the instantiated control. I.E. Option 1: mx:Application xmlns:mx=http://www.macromedia.com/2003/mxml xmlns:addsale=panels.status.* addsale:AddSale / /mx:Application Option 2 mx:Application

RE: [flexcoders] ModelLocator

2005-08-23 Thread Mercer, Dustin
Title: ModelLocator Exactly. I found after implementing the ModelLocator, I pretty much wiped out the need for ViewHelpers. The only thing I use the ViewHelpers for now is setting focus on fields! It makes things a lot more organized and simplified. You are right though. Just initialize

RE: [flexcoders] ModelLocator

2005-08-23 Thread Mercer, Dustin
[mailto:flexcoders@yahoogroups.com] On Behalf Of Mercer, Dustin Sent: Tuesday, August 23, 2005 11:56 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] ModelLocator Exactly. I found after implementing the ModelLocator, I pretty much wiped out the need for ViewHelpers. The only thing I use

RE: [flexcoders] help.. passing arguments to a method using remoteobject

2005-08-11 Thread Mercer, Dustin
Usually that error is a result of one of the parameters being of the wrong type. What does your Remote Object method sig look like? From your example, your remote object method (func1) should look like this: public void func1(int param1, String param2){ //some code} Let me know if

RE: [flexcoders] help.. passing arguments to a method using remoteobject

2005-08-11 Thread Mercer, Dustin
) { ... } regards Amit -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]On Behalf Of Mercer, Dustin Sent: Thursday, August 11, 2005 11:42 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] help.. passing arguments to a method using remoteobject Usually

RE: [flexcoders] Changing a modal popup to non-modal

2005-08-11 Thread Mercer, Dustin
Kim, Just curious, when you are creating the popup, what are you using as the first param to the createPopUp method? This is what defines the parent of the window being created. If you are passing application or _root, you may run into some of these focusing issues. Try passing this

RE: [flexcoders] Catching effect end on composite effect.

2005-08-09 Thread Mercer, Dustin
Clint, from my experience with effects and effectEnd this is what is supposed to happen. The effectEnd fires evertime an effect is done playing, whether it a standalone effect, a part parallel effect, or part of a sequence effect. I havent yet found a good way to handle the effectEnd

[flexcoders] Flex 1.5 file upload

2005-08-08 Thread Mercer, Dustin
Title: Flex 1.5 file upload Has anyone gotten the Flex 1.5 file upload example (http://www.macromedia.com/devnet/flex/articles/fp8_features.html) working with a JSP upload page? I am getting a Processing of multipart/form-data request failed. Stream ended unexpectedly Exception. I have

RE: [flexcoders] Flex 1.5 file upload

2005-08-08 Thread Mercer, Dustin
. I'll see if I can dig up a jsp example somewhere. Joan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mercer, Dustin Sent: Monday, August 08, 2005 11:25 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex 1.5 file upload Has anyone gotten the Flex 1.5

RE: [flexcoders] setFocus is evil

2005-08-02 Thread Mercer, Dustin
setFocus, not before. - Original Message - From: Mercer, Dustin To: flexcoders@yahoogroups.com Sent: Monday, August 01, 2005 11:03 PM Subject: RE: [flexcoders] setFocus is evil Ok got it. You have to use the selection object. Here is the code

RE: [flexcoders] setFocus is evil

2005-08-01 Thread Mercer, Dustin
Title: Loading mxml Components Stacy, I have had this problem as well L I am sad to say, I hate the focus manager. Ok that was a little harsh but none the less, it has its issues. There is a way to set the position of the caret though (Set the start index of the caret as well as the

RE: [flexcoders] setFocus is evil

2005-08-01 Thread Mercer, Dustin
) : this.createTextField(myText_txt, 99, 10, 10, 200, 30); myText_txt.text = this is my text; Selection.setFocus(myText_txt); Selection.setSelection(0, 3); Hope this helps J From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mercer, Dustin Sent: Monday, August 01, 2005 7:54 PM

RE: [flexcoders] AS Array vs. MXML Array

2005-06-17 Thread Mercer, Dustin
You may want to try this instead. I didnt test this, but I think I have used it before. mx:Array mx:Object mx:Stringd4/mx:String mx:Numberd4/mx:Number mx:Booleand4/mx:Boolean /mx:Object /mx:Array From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On

RE: [flexcoders] AS Array vs. MXML Array

2005-06-17 Thread Mercer, Dustin
? mx:Array mx:Object labelmx:Stringd4/mx:String/label datamx:Number4/mx:Number/data boolmx:Booleantrue/mx:Boolean/bool /mx:Object /mx:Array From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mercer, Dustin Sent: Friday, June 17, 2005 1:33 PM To: flexcoders

RE: [flexcoders] AS Array vs. MXML Array

2005-06-17 Thread Mercer, Dustin
: Mercer, Dustin To: flexcoders@yahoogroups.com Sent: Friday, June 17, 2005 4:32 PM Subject: RE: [flexcoders] AS Array vs. MXML Array You may want to try this instead. I didnt test this, but I think I have used it before. mx:Array mx:Object mx:Stringd4/mx:String

RE: [flexcoders] AS Array vs. MXML Array

2005-06-17 Thread Mercer, Dustin
@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Mercer, Dustin Sent: Saturday, June 18, 2005 2:10 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] AS Array vs. MXML Array Oops, that wont work at all L I am not sure if this will work either, but it doesnt throw any

RE: [flexcoders] Re: okay, so I can't beleive that......

2005-06-09 Thread Mercer, Dustin
.. thanks, Craig Mercer, Dustin [EMAIL PROTECTED] wrote: Ok sorry, I thought he was going to Java not CFC. A method signature is just what the method is expecting and what it is returning. Basically how you typed the function. I.E. a java method signature looks like this : private

RE: [flexcoders] Wha kinds of object are in this Array?

2005-04-18 Thread Mercer, Dustin
This array contains plain objects. You can access any of the properties like this zingerManufacturingData[0].Month, zingerManufacturingData[1].Widget, etc. To change the variable names, do this, var zingerManufacturingData = [ {differentVar: January '03, anotherVar:885202,

RE: [flexcoders] Wha kinds of object are in this Array?

2005-04-18 Thread Mercer, Dustin
[mailto:[EMAIL PROTECTED] On Behalf Of Mercer, Dustin Sent: Monday, April 18, 2005 3:30 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Wha kinds of object are in this Array? This array contains plain objects. You can access any of the properties like this zingerManufacturingData[0

[flexcoders] Advantages / Disadvantages of web-inf/flex/user_classes directory

2005-03-22 Thread Mercer, Dustin
Title: Advantages / Disadvantages of web-inf/flex/user_classes directory Are there any advantages / disadvantages of putting your custom classes inside of web-inf/flex/user_classes directory? I have seen some articles stating we should put our custom AS classes there, but have not seen any

RE: [flexcoders] RemoteObjects and UI within UI problem

2005-03-18 Thread Mercer, Dustin
I had hit some of the same problems. A possible solution may be because you are referencing mx.core.Application.application from within your result handler of the remote object. When using a loader, if you reference mx.core.Application.application from within nighthawk.mxml (Child

RE: [flexcoders] Background Color of Disabled Button

2005-03-09 Thread Mercer, Dustin
1:53 AM To: [EMAIL PROTECTED] Subject: Re: [flexcoders] Background Color of Disabled Button On Tue, 8 Mar 2005 17:43:07 -0800, Mercer, Dustin [EMAIL PROTECTED] wrote: I have been trying to find out a way to change the background color of a disabled button. Has anyone triedthis or does

RE: [flexcoders] Re: Cairngorm namspace bug

2005-03-07 Thread Mercer, Dustin
I think I answered your question wrong earlier. Looking over it again, it looks as though you have a problemto solve before you can even get to the problem I posted a solution for earlier J. Ok, so hereis how you fix the problem you are having currently: Go to the manage sites screen.

RE: [flexcoders] Re: Cairngorm namspace bug

2005-03-06 Thread Mercer, Dustin
Another thing you can do is: Debug the app. Check to see the architecture is raising any exceptions (you can see this in the output window in flex builder). I have had the same type of thing happen to me. It isbecause when flex raises and exception, it may stop the processing of the app

Flex memory issues.

2005-02-25 Thread Mercer, Dustin
Title: Flex memory issues. I have avery large flex app I am running into some random crashes and heavy memory consumption. Memory consumption on Standard Flash Player (not Flash Debug Player) has been reaching 150 to 170 megs. I need to know what I can do to manage this. I have seen some

RE: [flexcoders] Flex memory issues.

2005-02-25 Thread Mercer, Dustin
to see what kind of memory results I get with that. I remember seeing an article like this, just cant seem to find it. Thanks! Dustin Mercer From: Mercer, Dustin Sent: Thursday, February 24,2005 4:11 PM To: [EMAIL PROTECTED] Subject: [flexcoders] Flex memory issues. I have

RE: [flexcoders] Flex memory issues.

2005-02-25 Thread Mercer, Dustin
information, but you could see if something is happening more than expectedat least. Matt From: Mercer, Dustin [mailto:[EMAIL PROTECTED] Sent: Thursday, February 24,2005 4:11 PM To: [EMAIL PROTECTED] Subject: [flexcoders] Flex memory issues. I have a very large flex app I am