[flexcoders] How to remove labels from a chart with ActionScript

2009-01-12 Thread Julien BALMONT
Hello, i'm trying to remove the labels from the horizontal axis of a column chart (and a line chart) when clicking on a button (and also add it if removed). For this, i have to use ActionScript, but i'm unable to find the correct syntax and Object. Can anyone help me? I've tried

[flexcoders] Re: geting info of a user who has loged in

2009-01-12 Thread johndoematrix
am sorry for sounding naive and inexperienced, but i am stack. i have read thru all the solutions suggested but have failed. please can someone help with a small tutorial on how to do this. i know am asking for too much but please help. thanks

[flexcoders] Status Bar on firefox

2009-01-12 Thread al-al :D
Hi, I'm working on a flex web app where I connect to a blazeDS server to get some data. I notice that even when I finished loading the data through 1 of my datagrids, I see that the Firefox Status Bar still displays Transferring data from.. url instead of Done. I researched that I could have a

[flexcoders] How to test flash apps in the normal (non-debug) player with the debug player in installed?

2009-01-12 Thread tom s
Hi All, I have the flash debug player installed for FireFox and IE. What is the best way to test flash apps in the normal (non-debug) player on the *same machine*? (I don't have access to a spare machine right now). I want to do this test because I have read that the error thrown by

[flexcoders] Multiple selection in dataGrid by dragging Mouse with left mouse key

2009-01-12 Thread Dharmendra Chauhan
Is it possible to select multiple rows in data grid by just dragging mouse over It. I know this can we achieved with combination of sift key and mouse. This need has arisen because we are migrating .DOT Net data grid with flex data grid and user want to have same ease of multiple selection.

[flexcoders] DataGrid MultipleSelectio with mouse only

2009-01-12 Thread Dharmendra Chauhan
I want to provide functionality where in user can select multiple rows in dg by holding left mouse key and dragging over the dg. I have also designed a sample app for this but Only issue with approach is that It(mOver.target.listData.rowIndex) does not consistently return rowIndex

[flexcoders] get rowIndex in datagird's mouseOver Function

2009-01-12 Thread Dharmendra Chauhan
My requiremnt is to get rowIndex in mouseover Function in DataGird so that I can use that index to select perticuler row of datagrid.ItemRollover Function does not get called when I hold left mouse key and drag it over dg. I want to provide functionality where in user can select multiple rows

[flexcoders] Flex 3 Dialog Boxes ...

2009-01-12 Thread SJF
Hello All, I'm using Flex 3 and working on pure actionscript projects (i.e: File New ActionScript Project). I often have issues with numerous dialog boxes and parts of the interface within Flex (see images below): http://img339.imageshack.us/img339/512/60793305bx2.gif

[flexcoders] Anti-aliasing of device fonts in Flash player 10

2009-01-12 Thread Sreejith P
Hi, I am now working with Localization and Internationalization of our application.Currently we are embeding the fonts with the application which provide us the ability of anti-aliasing of fonts. Since embedding the fonts is not a practical solution while doing L10n and I18n, we lost the ability

[flexcoders] Anti-aliasing of device fonts in Flash player 10

2009-01-12 Thread Sreejith P
Hi Guys, I am now working with Localization and Internationalization of our application.Currently we are embedding the fonts with the application which provide us the ability of anti-aliasing of fonts. Since embedding the fonts is not a practical solution while doing L10n and I18n, we lost the

[flexcoders] the tilelist will be winking when the data is refreshing.

2009-01-12 Thread Scarlet.H
I have a item component that include label, progressbar and image inside VBox. the progresss bar of each image in tilelist will be updated in time if the user select some photo or videos to upload. I don't know how to resolve the wink issue when the data be updated. any suggestion for it?

[flexcoders] Data Grid with dynamic columns ignoring % width or right style.

2009-01-12 Thread wesley.acheson
Hi All, I've a problem with the DataGrid ignoring the % width, while using Canvas as the parent. When I dynamically create columns it stretches to beyond the origional area. This behaviour has been reported as a bug. http://bugs.adobe.com/jira/browse/SDK-14390. The workarround described in the

[flexcoders] E4X with RegExp

2009-01-12 Thread plugsymmv
I'm having trouble parsing some XML. This works var xL0:XMLList=inputXML..node.(/^Gear[0-9]{2}W$/.(test(@name))); This is apparently should work with a compiler warning public static const GEARDEF1:RegExp=new RegExp(/^Gear[0-9]{2}$/,i); var

[flexcoders] how to achieve Apple Spotlight effect

2009-01-12 Thread kaushal.shah05
How can I modify the current Adobe autocomplete component to act more like Apple Spotlight where the results that display as you type are categorized?

[flexcoders] Re: Nested DataGrid!

2009-01-12 Thread nateross83
Glad to hear it helped Brian. Please let me know if you have any questions. Happy Flexing! - Nate Ross

[flexcoders] Super class as RemoteClass: Type Coercion failed

2009-01-12 Thread Vital Lobachevsky
Hi, all I'm a newbie in Flex. Could you help me to understand what's going wrong here? My Flex sample app uses RemoteObject to call a method of Java class. This method returns an instance of some ClassA that extends some ClassB. public class MyRemoteJavaClass { public ClassB

[flexcoders] Flex MenuBar rolling over HTML Page.

2009-01-12 Thread sachin kothe
Hi All,    I have an use case where any HTML page e.g. google.com is embedded inside Flex Application using IFrame and i have a Flex Menu Bar over the IFrame. Requirnment is when i select a Flex menu, menu items should roll over the HTML Page.  Is it Feasible and how we can do that?     I

[flexcoders] Re: How to test flash apps in the normal (non-debug) player with the debug player in installed?

2009-01-12 Thread Michael VanDaniker
Check out the Flash Switcher Firefox extension. --- In flexcoders@yahoogroups.com, tom s tcs2...@... wrote: Hi All, I have the flash debug player installed for FireFox and IE. What is the best way to test flash apps in the normal (non-debug) player on the *same machine*? (I don't have

[flexcoders] Re: Namespace declaration problem

2009-01-12 Thread valdhor
It is not uncommon for someone to code something that requires someone else's code but they can't (or won't) include that code because they don't want to go through any licensing. They should have told you that it was required and where to go and get it. Was there ANY documentation to that effect?

Re: [flexcoders] Multiple selection in dataGrid by dragging Mouse with left mouse key

2009-01-12 Thread Manish Jethani
On Sat, Jan 10, 2009 at 11:55 PM, Dharmendra Chauhan chauhan_i...@yahoo.com wrote: Is it possible to select multiple rows in data grid by just dragging mouse over It. I know this can we achieved with combination of sift key and mouse. [...] Please let me know whether it is possible in flex

Re: [flexcoders] Using dispatchEvent ?

2009-01-12 Thread Manish Jethani
On Mon, Jan 12, 2009 at 11:42 AM, biosmonkey biosmon...@yahoo.com wrote: In my main app, I instantiate an instance of this class. I also create an event listener at the application level. Here's the problem: * If I use dispatchEvent(...) inside MyClass, the event listener in the main app

[flexcoders] get selected datagrid dynamically

2009-01-12 Thread Jason B
Im trying to get the selected item value from the parent app but i cannot seem to put the name as a variable? var fieldname:String = columnData.field; create_text = new TextInput(); create_text.percentWidth = 80; create_text.id =

[flexcoders] Re: Flash Remoting Options

2009-01-12 Thread valdhor
A shot in the dark: WebORB for .NET --- In flexcoders@yahoogroups.com, Amy amyblankens...@... wrote: Hi, all; I built a great little example file using AMFPHP. It works great on my local installation of WampServer, but when I uploaded it to my web host, the Service Browser for AMFPHP

[flexcoders] Lazy Loading Tree example posted

2009-01-12 Thread Amy
Several people on here have asked for example code for lazy loading data intended for a Tree component. I've posted the example here: http://flexdiary.blogspot.com/2009/01/lazy-loading-tree-example-file- posted.html Hope this helps someone :-) -Amy

[flexcoders] Re: get selected datagrid dynamically

2009-01-12 Thread Jason B
also tried create_test.text = parentApplication.reftables_grid.selecteditem.this[fieldname];

[flexcoders] Re: Using dispatchEvent ?

2009-01-12 Thread biosmonkey
Actually, I did think about that and tried changing from EventDispatcher to extending UIComponent but it still does not work. I even tried Canvas and it still does not catch it. As an experiment, though, I tried dispatching the same event from one of my components elsewhere in the application

[flexcoders] Re: Using dispatchEvent ?

2009-01-12 Thread biosmonkey
The dispatched event needs to be heard by any component, anywhere, by setting an event listener for it at the application level. So bubbling up to the app is critical. --- In flexcoders@yahoogroups.com, Manish Jethani manish.jeth...@... wrote: On Mon, Jan 12, 2009 at 11:42 AM, biosmonkey

[flexcoders] Re: Styling Alert box default button

2009-01-12 Thread valdhor
Checkout graphical skinning. A couple of places to start: http://livedocs.adobe.com/flex/3/html/help.html?content=skinning_4.html http://userflex.wordpress.com/2008/03/13/button-image-skinning/ --- In flexcoders@yahoogroups.com, achegedus achege...@... wrote: I have a custom styled alert box

Re: [flexcoders] Re: Using dispatchEvent ?

2009-01-12 Thread Sam Lai
The event listener attached to the Application is not reacting to the event fired from your custom class because your custom class instance is not attached to the Application DisplayList. It is just an object in memory. If you want the event from your custom class instance to bubble up to the

[flexcoders] Re: CategoryAxis category order

2009-01-12 Thread Amy
--- In flexcoders@yahoogroups.com, Maciek Sakrejda msakre...@... wrote: Ok, so it looks like a (reasonably simple) way to do this is to set the dataProvider of the CategoryAxis to originalDataProvider.toArray ().reverse() on every update of originalDataProvider. A ListCollectionView to wrap

[flexcoders] Re: Flash Remoting Options

2009-01-12 Thread Amy
--- In flexcoders@yahoogroups.com, Alan K ultr...@... wrote: Resonably - there are no options regarding AMFPHP. PHP 4 is really old. Your host should offer an upgrade to at least PHP 5. I think it has to do with the framework they use to provide PHP on Windows accounts. I'm thinking

Re: [flexcoders] How to remove labels from a chart with ActionScript

2009-01-12 Thread Sam Lai
AxisRenderer(myBarChart.horizontalAxisRenderers[0]).setStyle(showLabels, false); should work. How have you defined your chart in MXML? Did you explicitly define a horizontal axis renderer, or are you using the internal one? Maybe try defining one explicitly, and that way you can set an ID and

Re: [flexcoders] How to remove labels from a chart with ActionScript

2009-01-12 Thread Julien BALMONT
You're a chief!!! I had forgotten the [0] ;( Thanks for your help, now it works Julien On Mon, Jan 12, 2009 at 4:54 PM, Sam Lai samuel@gmail.com wrote: AxisRenderer(myBarChart.horizontalAxisRenderers[0]).setStyle(showLabels, false); should work. How have you defined your chart in

Re: [flexcoders] How to remove labels from a chart with ActionScript

2009-01-12 Thread Julien BALMONT
And FYI, the Axis Renderer was defined explicitly. Thanks again On Mon, Jan 12, 2009 at 4:57 PM, Julien BALMONT jul...@zong.com wrote: You're a chief!!! I had forgotten the [0] ;( Thanks for your help, now it works Julien On Mon, Jan 12, 2009 at 4:54 PM, Sam Lai samuel@gmail.com

[flexcoders] Browser and embeded Flex scrolling together

2009-01-12 Thread bffoley
Currently I'm working on a Flex app for a client that has a VBox with a vertical scrollbar on it. Inside of the VBox is a long list of custom components (based on HBox) that can be viewed by scrolling up and down on the scrollbar. The issue is this application is embeded within a HTML page that

[flexcoders] ExternalInterface erros

2009-01-12 Thread flexaustin
Anyone know why I am getting this error when making an externalinterface call? missing ) after argument list [Break on this error] try { __flash__toXML(Glide.onSelect(43,4... bYOU/b $ 'FBar'\,\connection\:0

RE: [flexcoders] VO and LabelField Problem

2009-01-12 Thread Alex Harui
What happens when you use labelField=”courseName”? From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Berkay Unal Sent: Sunday, January 11, 2009 9:24 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] VO and LabelField Problem Hi, When trying have

RE: [flexcoders] Re: Wierd error 1067 on extended DefaultDataDescriptor

2009-01-12 Thread Alex Harui
Worthy of a bug if you have the time. I agree it is inconsistent From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Amy Sent: Sunday, January 11, 2009 5:47 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Wierd error 1067 on extended

[flexcoders] Re: recompiling framework shared library?

2009-01-12 Thread Darrell Loverin
The reason you are having a problem is because of the first in wins rule that applies to loading classes. Your monkey patched VideoPlayer class is in your swf file, but in frame 2. The framework swz file is loaded in frame 1, so its definition of VideoPlayer wins. The way to work around this

RE: [flexcoders] Re: Make Enter work as Tab in Flex DataGrid

2009-01-12 Thread Alex Harui
DataGrid disables focusmanager when passing tab through the cells. You could override DG, trap the keyDown for ENTER, call stopImmediatePropagation so the DG doesn't see it, and dispatch a fake keyFocusChange event instead From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On

RE: [flexcoders] Error: Access of undefined property

2009-01-12 Thread Alex Harui
Change the class name, maybe it is colliding with mx.utils.StringUtils From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of freak182 Sent: Saturday, January 10, 2009 6:14 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Error: Access of undefined property

RE: [flexcoders] DataGrid selectAll problem

2009-01-12 Thread Alex Harui
I would not set both selectedItems and selectedIndices. Probably just selectedIndices because it should be faster. I don't think selectItem will be called if the item is already selected. Due to the way invalidation works, maybe it hasn't been de-selected yet. Sometimes, callLater can help

[flexcoders] Re: Using dispatchEvent ?

2009-01-12 Thread biosmonkey
I see. I think the part I was missing was the fact that the class object needed to be a child of the application to be in its display list, instead of instantiated to a variable. I could convert my class to a component I suppose, and place it in my MXML but frankly I don't mind dispatching from

[flexcoders] Re: Styling Alert box default button

2009-01-12 Thread Jason B
--- In flexcoders@yahoogroups.com, achegedus achege...@... wrote: I have a custom styled alert box with two buttons (ok and cancel), I'm trying to make the default button look slightly different, but I can't figure out how to do this. Does anyone know? The default style can achieve this.

[flexcoders] Tweening VBox or List IndexChangedEvent

2009-01-12 Thread kylewburke
I've implemented a ButtonSkin for CheckBox. I have several of them in a VBox. I'm trying to tween during the IndexChangedEvent via the childIndexChange event, to move the selected CheckBox up to the top. I'm wondering if VBox is the right way to go or is a subclass of List better? Also not

[flexcoders] Re: ExternalInterface erros

2009-01-12 Thread Anthony DeBonis
-What browser are you using - or does it happen in all browsers - Can you get something simple to work like this ExternalInterface.call(alert('TEST')); -Can you post the code?

Re: [flexcoders] Tweening VBox or List IndexChangedEvent

2009-01-12 Thread Manish Jethani
On Mon, Jan 12, 2009 at 10:03 PM, kylewburke monk...@monkeyden.com wrote: I've implemented a ButtonSkin for CheckBox. I have several of them in a VBox. I'm trying to tween during the IndexChangedEvent via the childIndexChange event, to move the selected CheckBox up to the top. Well,

Re: [flexcoders] DataGrid selectAll problem

2009-01-12 Thread Glenn Jones
I've tried setting just selectedIndices - same result In my CheckBoxDataGrid.selectAll() method, I tried calling invalidateProperties/invalidateList/validateNow - same result. In my CheckBoxHeaderRenderer.clickHandler, I tried using callLater to execute CheckBoxDataGrid.selectAll() - same

Re: [flexcoders] Re: Using dispatchEvent ?

2009-01-12 Thread Manish Jethani
On Mon, Jan 12, 2009 at 8:59 PM, biosmonkey biosmon...@yahoo.com wrote: The dispatched event needs to be heard by any component, anywhere, by setting an event listener for it at the application level. So bubbling up to the app is critical. Since your component has nothing to do with UI,

RE: [flexcoders] Re: get selected datagrid dynamically

2009-01-12 Thread Tracy Spratt
Bracket notation replaces dot notation, so try: create_test.text = parentApplication.reftables_grid.selectedItem[fieldname]; Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com

RE: [flexcoders] E4X with RegExp

2009-01-12 Thread Tracy Spratt
Put that logic in a function that returns a Boolean, so you can debug it. Then use the function in the e4x expression. Tracy Spratt Lariat Services Flex development bandwidth available From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com]

RE: [flexcoders] Re: geting info of a user who has loged in

2009-01-12 Thread Tracy Spratt
We will not write your application for you. Well I will, at my hourly rate, contact me off list if you want to hire me. If you want any more help from me you will need to show what you are doing. To start with, post your login HTTPService declaration code and your result handler code.

[flexcoders] Re: get selected datagrid dynamically

2009-01-12 Thread Jason B
It's funny after i posted i tried that but then it still threw an error, it wasn't until you posted the same thing i went back and seen i had a lowercase I in selecteditem instead of selectedItem :( i need some coffee --- In flexcoders@yahoogroups.com, Tracy Spratt tspr...@... wrote: Bracket

[flexcoders] How to create universal event handler?

2009-01-12 Thread Dan
I have class MyEvent extends flash.events.Event. I also have a second class MyEventChild extends MyEvent. Both classes define string constants that are used as event type. How can I add event listener to handle any of MyEvent or MyChildEvent events? If I do addEventListener(MyEvent.Evt1,

Re: [flexcoders] How to create universal event handler?

2009-01-12 Thread Howard Fore
Create a custom event that uses your current event type string as a variable. Then your handler can look at the variable value to decide what to do. On Mon, Jan 12, 2009 at 1:24 PM, Dan danijel.arsenov...@gmail.com wrote: I have class MyEvent extends flash.events.Event. I also have a second

Re: [flexcoders] Data Grid with dynamic columns ignoring % width or right style.

2009-01-12 Thread Manish Jethani
On Sun, Jan 11, 2009 at 3:51 AM, wesley.acheson wesley.ache...@gmail.com wrote: I've a problem with the DataGrid ignoring the % width, while using Canvas as the parent. When I dynamically create columns it stretches to beyond the origional area. This behaviour has been reported as a bug.

Re: [flexcoders] How to create universal event handler?

2009-01-12 Thread Manish Jethani
On Mon, Jan 12, 2009 at 11:54 PM, Dan danijel.arsenov...@gmail.com wrote: If I do addEventListener(MyEvent.Evt1, handleEvt), I will handle only that specific MyEvent.Evt1 event. I need to be able to handle MyEvent.Evt2 and MyChildEvent.Evt1 and my FutureChildEvent.EvtX. How can this be

Re: [flexcoders] Timer Solution

2009-01-12 Thread Manish Jethani
On Mon, Jan 12, 2009 at 11:09 AM, vinod kumar coolvinu1...@ymail.com wrote: I want an urgent help. From metadata information i got the frame rate as 15. So between every second i want to display the values 1 to 15 using timer. You can listen for the enterFrame event and do it there. Manish

[flexcoders] Re: ExternalInterface erros

2009-01-12 Thread flexaustin
I can't really post the code. The issue is either I think is either one of two things, but I can't seem to resolve either of them. #1. I am passing data to a javascript function in json format, which contains escaped \. #2. This is the issue.

Re: [flexcoders] Loading Images Using CSS

2009-01-12 Thread Manish Jethani
On Mon, Jan 12, 2009 at 1:31 AM, Dan Vega danv...@gmail.com wrote: main.mxml mx:Image id=logo initialize=logo.source = StyleManager.getStyleDeclaration('logo').getStyle('source')/ stylesheet .logo { source: assets/images/robp/rocketfm_logosmall.png; } TypeError: Error #1009: Cannot

[flexcoders] How to register a dynamicEvent in an Actionscript class

2009-01-12 Thread flexcoder2008
I have seen numerous examples of registering a dynamicEvent in a component's mxml such as: [Event (name=rowSelected, type=mx.events.DynamicEvent)] If I have an actionscript class that dispatches a dynamicEvent, what is the syntax for this? I want to dispatch a dynamicEvent from an actionscript

[flexcoders] Re: How to create universal event handler?

2009-01-12 Thread Dan
Create a custom event that uses your current event type string as a variable. Then your handler can look at the variable value to decide what to do. You mean when I do dispatchEvent, I always use the same type string, like this? dispatchEvent(new MyEvent(MyEvent.MY_EVENT) dispatchEvent(new

Re: [flexcoders] Re: Cairngorm and ChangeWatcher

2009-01-12 Thread claudiu ursica
I don't know if that is indeed the best practice but for now if it suit your needs just do it. The main idea is that the model drives the view, and at the same time it represent the current state of the up. Having a view bound to that model makes the view display the current state for the app.

[flexcoders] Re: Expanding size of panel, and its contained objects.

2009-01-12 Thread aceoohay
Hello? Is anyone out there? Any ideas? Paul --- In flexcoders@yahoogroups.com, aceoohay pa...@... wrote: The systems that I write are traditional data entry types of systems. I do everything within panels within modules. I have had users ask if they could expand the size of the panel

RE: [flexcoders] Re: Release a child .... again

2009-01-12 Thread Gordon Smith
Did I understand correctly that you create child2 dynamically? If so, I would use the following pattern in the parent's script: // Create and add child2: child2 = new Whatever(); addEventListener(...); addChild(child2); --- // Remove child2: removeEventListener(...); removeChild(child2);

Re: [flexcoders] Re: ExternalInterface erros

2009-01-12 Thread Ralf Bokelberg
Why do you want to use JSON? You can pass in plain objects instead, e.g. ExternalInterface.call(someJSMethod, { a: 1, b: { c: true, d: hello} } ); Ralf. On Mon, Jan 12, 2009 at 7:55 PM, flexaustin flexaus...@yahoo.com wrote: I can't really post the code. The issue is either I think is either

Re: [flexcoders] How to register a dynamicEvent in an Actionscript class

2009-01-12 Thread Nate Beck
It's exactly the same as a standard Event. As you can see in the Language Reference ( http://livedocs.adobe.com/flex/3/langref/mx/events/DynamicEvent.html): var event:DynamicEvent = new DynamicEvent(credentialsChanged); event.name = name; event.passsword = password; // misspelling won't be

Re: [flexcoders] Re: Expanding size of panel, and its contained objects.

2009-01-12 Thread Nate Beck
Doing a quick google search for, flex maximize, minimize panel Returns loads of examples of what you're trying to do I think... http://www.comtaste.com/DashboardExample/DashboardExample.html and http://blog.comtaste.com/2008/12/how_to_use_the_flex_dashboard_1.html Right? On Mon, Jan 12, 2009

[flexcoders] Re: How to register a dynamicEvent in an Actionscript class

2009-01-12 Thread flexcoder2008
Hmmm, this is the way I have done it - but my event handler is not firing. I am dispatching my DynamicEvent from a Cairngorm command - in the execute method I have: var evt:DynamicEvent = new DynamicEvent(initCompleted); dispatchEvent(evt); in my module's creationComplete handler I have this

[flexcoders] Re: How to register a dynamicEvent in an Actionscript class

2009-01-12 Thread kylewburke
What do you mean by register? Do you want to listen for that event or dispatch one? --- In flexcoders@yahoogroups.com, flexcoder2008 djohnso...@... wrote: I have seen numerous examples of registering a dynamicEvent in a component's mxml such as: [Event (name=rowSelected,

[flexcoders] Re: How to register a dynamicEvent in an Actionscript class

2009-01-12 Thread flexcoder2008
Well, I want to dispatch the dynamicEvent from the actionscript class (which is a Cairngorm command) and I want my module to listen for that event. Since the module event handler code is not being hit, I thought I might need to register this event with the compiler (perhaps my terminology is

Re: [flexcoders] Re: How to register a dynamicEvent in an Actionscript class

2009-01-12 Thread Nate Beck
Events don't bubble by default. So if you're depending on the Cairngorm Front Controller to pick them up, and the object dispatching the event isn't directly below the Application, you need to enable event bubbling. new DynamicEvent(myType, true); Cheers, Nate On Mon, Jan 12, 2009 at 11:48 AM,

[flexcoders] Stupid Question - Flex width and height

2009-01-12 Thread Wally Kolcz
This is probably a dumb question but... I am trying to do a Flex app primarily in AS. In the constuctor I am trying to create an ApplicationControlBar that is the same as this: mx:ApplicationControlBar right=5 left=5 top=55 id=mainACB / I am having a problem with trying to

Re: [flexcoders] Stupid Question - Flex width and height

2009-01-12 Thread Alan K
It would seem to me that Application.application.stage.width only exists when using the Flex framework. Without Flex your just dealing with the 'default' Flash display list. Alan On Jan 12, 2009, at 3:48 PM, Wally Kolcz wrote: Application.application.stage.width

Re: [flexcoders] VO and LabelField Problem

2009-01-12 Thread Berkay Unal
Nothing happens. I got it working if i cast the evt.result to ArrayCollection but when i cast it, in the flex debugger i see the result.events as an nativeObject not VO Objects. Best, Berkay UNAL berkayu...@gmail.com On Mon, Jan 12, 2009 at 18:06, Alex Harui aha...@adobe.com wrote: What

[flexcoders] Re: ExternalInterface erros

2009-01-12 Thread flexaustin
Here is the string being passed. The JSONEncoder encodes the object into a string (data var in this case) then passes it over using externalInterface. data:String = {error:0,requests:0,group:true,model:userdefined,count:0,name:\\\error\\Something\ bYOU/b $

[flexcoders] Re: How to register a dynamicEvent in an Actionscript class

2009-01-12 Thread flexcoder2008
Thanks Nate, Tried that but it still doesn't work. I'm basically trying to dispatch a dynamicEvent from a Cairngorm event and then trying to get a module to listen for that event. I don't want this event to be a CiarngormEvent to be handled by the FrontController and the Command object. In

[flexcoders] How to avoid red borders created by validators at page loading

2009-01-12 Thread b.kotireddy
Hi, In my page i have textInput's and Combo Box fields. When my page loads Text Input fields are not having any red borders, but all Combo Boxes are with red borders with This Field is required. I think these because of Validations. Is their any way that i can avoid that red borders with text.

[flexcoders] Re: Expanding size of panel, and its contained objects.

2009-01-12 Thread aceoohay
While that example does allow you to maximize a panel, it does not expand the contained objects. If it did what I need the buttons set video visible and set video enable would become much larger than they were originally when the maximize button was clicked. I should have mentioned that I

Re: [flexcoders] Re: How to create universal event handler?

2009-01-12 Thread Howard Fore
Nope, I meant the process described here: http://livedocs.adobe.com/flex/3/html/help.html?content=createevents_3.html But I think Manish's answer is the easier approach. On Mon, Jan 12, 2009 at 1:55 PM, Dan danijel.arsenov...@gmail.com wrote: Create a custom event that uses your current event

[flexcoders] Re: geting info of a user who has loged in

2009-01-12 Thread valdhor
I use PHP and WebORb for PHP so anything I show will use that. Please do not ask for a tutorial using something else. There should be enough here for you to extrapolate for use with any language. This is a quick and dirty example that hard codes things. In a real application I would loosely

Re: [flexcoders] Re: Expanding size of panel, and its contained objects.

2009-01-12 Thread Nate Beck
... If you're using constraint based layout... how is there a problem? A component taking 100% of the width of it's container will always scale to fit that container. On Mon, Jan 12, 2009 at 1:27 PM, aceoohay pa...@compuace.com wrote: While that example does allow you to maximize a panel, it

Re: [flexcoders] Re: Expanding size of panel, and its contained objects.

2009-01-12 Thread Nate Beck
After thinking about it for a minute... now I'm understanding what you're saying. You want to actually ZOOM in, make them larger. Have you tried taking the easy way out and telling the people to change their monitor resolution? :D On Mon, Jan 12, 2009 at 1:47 PM, Nate Beck n...@tldstudio.com

Re: [flexcoders] Data Grid with dynamic columns ignoring % width or right style.

2009-01-12 Thread Wesley Acheson
On Mon, Jan 12, 2009 at 7:45 PM, Manish Jethani manish.jeth...@gmail.comwrote: On Sun, Jan 11, 2009 at 3:51 AM, wesley.acheson wesley.ache...@gmail.com wrote: I've a problem with the DataGrid ignoring the % width, while using Canvas as the parent. When I dynamically create columns it

Re: [flexcoders] Flex 3 Dialog Boxes ...

2009-01-12 Thread Wesley Acheson
Looks like an issue with Java SWT to me. Do you have a recient JDK installed? On Sat, Jan 10, 2009 at 8:22 AM, SJF sjf...@gmail.com wrote: Hello All, I'm using Flex 3 and working on pure actionscript projects (i.e: File New ActionScript Project). I often have issues with numerous

[flexcoders] Re: Expanding size of panel, and its contained objects.

2009-01-12 Thread aceoohay
Actually, I have. Unfortunately the system they are coming from is a unix character based system where an 80 character by 24 line screen takes up their entire monitor. A number of the users are complaining that they can't read the default font sizes, and while I told them that's all I can do,

RE: [flexcoders] Re: Expanding size of panel, and its contained objects.

2009-01-12 Thread Tim Rowe
It won't run in 40 column mode? I feel evil suggesting this when 1280x1024 is the norm these days. --Tim From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of aceoohay Sent: Tuesday, 13 January 2009 8:59 AM To:

[flexcoders] Re: Expanding size of panel, and its contained objects.

2009-01-12 Thread aceoohay
Tim: I am not sure I understand? What I need is the ability to expand a panel, and all of its contained objects such as textinputs, labels, comboboxes and the like. Paul --- In flexcoders@yahoogroups.com, Tim Rowe tim.r...@... wrote: It won't run in 40 column mode? I feel evil

Re: [flexcoders] Stupid Question - Flex width and height

2009-01-12 Thread Wesley Acheson
On Mon, Jan 12, 2009 at 9:48 PM, Wally Kolcz wko...@isavepets.com wrote: This is probably a dumb question but... I am trying to do a Flex app primarily in AS. In the constuctor I am trying to create an ApplicationControlBar that is the same as this: mx:ApplicationControlBar right=5 left=5

Re: [flexcoders] Re: Expanding size of panel, and its contained objects.

2009-01-12 Thread Wesley Acheson
For all the children try using percentage widths and heights, I don't really know about the font of things. Maybe you could increase the font size by giving everything a font size attached to a variable. Or try using CSS to benefit from Cascading rules? Regards, Wesley Acheson On Mon, Jan

RE: [flexcoders] Re: Expanding size of panel, and its contained objects.

2009-01-12 Thread Tim Rowe
Sorry, it sounds like I've misunderstood what you were saying - I thought they were saying the 80 column display they already had wasn't large enough and that was the reason for your re-write. Nevermind :) From: flexcoders@yahoogroups.com

Re: [flexcoders] Re: Expanding size of panel, and its contained objects.

2009-01-12 Thread Nate Beck
What Wesley is saying seems like a good starting point. I haven't heard of this type of behavior before. But a uniform scaling of all components and all of their text at the same time will be a challenge... sidenote: I'm on a mac, so if I can't read something, I just use the Command+Option+8

Re: [flexcoders] How to create universal event handler?

2009-01-12 Thread Paul Andrews
- Original Message - From: Dan danijel.arsenov...@gmail.com To: flexcoders@yahoogroups.com Sent: Monday, January 12, 2009 6:24 PM Subject: [flexcoders] How to create universal event handler? I have class MyEvent extends flash.events.Event. I also have a second class MyEventChild

[flexcoders] Re: How to register a dynamicEvent in an Actionscript class

2009-01-12 Thread flexcoder2008
In case this helps anyone else - I got this to work. Had to reference the moduleLoader through the application - so when I dispatch the dynamicEvent from inside the CairgormCommand's execute method it looks like this: initCompleteEvent = new DynamicEvent(initCompleted,true);

RE: [flexcoders] Re: Styling Alert box default button

2009-01-12 Thread Alex Harui
And note that the default button has emphasized=true From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of valdhor Sent: Monday, January 12, 2009 7:39 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Styling Alert box default button Checkout graphical

RE: [flexcoders] Re: Expanding size of panel, and its contained objects.

2009-01-12 Thread Alex Harui
xscale = yscale = someScaleFactorGreaterThanOne? From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Nate Beck Sent: Monday, January 12, 2009 2:15 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Expanding size of panel, and its contained objects.

Re: [flexcoders] Stupid Question - Flex width and height

2009-01-12 Thread Wally Kolcz
Thanks, didn't know that! From: Wesley Acheson wesley.ache...@gmail.com Sent: Monday, January 12, 2009 2:08 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Stupid Question - Flex width and height On Mon, Jan 12, 2009 at 9:48 PM, Wally Kolcz

RE: [flexcoders] DataGrid selectAll problem

2009-01-12 Thread Alex Harui
How small a test case can you build? I think it is time to see how you're trying to wire this up. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Glenn Jones Sent: Monday, January 12, 2009 9:21 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders]

[flexcoders] Re: Generating random colors, excluding others

2009-01-12 Thread gr33neye501
Thankyou Sunil for replying to my question. your example uses flash player 10, i can not view the example or the code for it. as it breaks my Flex builder, (still using Flex 3.0) I'm at a delicate stage of my project and can't afford Flex builder breaking and having to reinstall it all! Do

RE: [flexcoders] Anti-aliasing of device fonts in Flash player 10

2009-01-12 Thread Alex Harui
Hmm. I thought it always anti-aliased, even in FP9. It might be better in FP10 with the new text engine. Flex doesn't support that right now. You could grab a Gumbo build and see if it is any different. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of

  1   2   >