[flexcoders] Vertical separator in MenuBar

2010-02-25 Thread creativepragmatic
Hello Everyone, My client has requested that a MenuBar be separated by vertical lines in the way that is enabled by default in the LinkBar. It does not look like this is possible using MenuBar styles. Does anyone know another way to do it? Thank you for any guidance, Orville

[flexcoders] Re: Vertical separator in MenuBar

2010-02-25 Thread creativepragmatic
Thanks Alex. I am still on Flex 3 so I wound up splitting each MenuBar item into its own MenuBar, enclosed them in an HBox and placed a VRule between each item. Orville

[flexcoders] Re: Vertical separator in MenuBar

2010-02-25 Thread creativepragmatic
Your solution was a nice, proper method in contrast to my quick and dirty shortcut. Thank you for your help James. Orville

[flexcoders] Re: Assigning arrays...

2010-02-05 Thread creativepragmatic
I think using com.adobe.utils.ArrayUtil in as3corelib might also work. --- In flexcoders@yahoogroups.com, Laurence lmacne...@... wrote: Well, it appears they both work... But my ItemRenderer (see my other post) is still not working correctly. I had assumed it wasn't working because I was

[flexcoders] Error: Repeater is not executing.

2010-02-02 Thread creativepragmatic
Hello Everyone, I have been trying to get a Repeater to work since yesterday. It works the first time it has been loaded with data but the second time, it is loaded, the following error results with the debugger higlighting a row with the statement isHandlingEvent = false; in the watcherFired

[flexcoders] Re: RemoteObject question/mystery

2009-11-02 Thread creativepragmatic
I know some of the code may be off, but I am trying to understand how a non called function (resultHandler) can return data to the called function in a different class. The way you are trying to do it, I don't think it can. So my question is, if the index.mxml calls the getAll function

[flexcoders] Accessing DataGridColumn item renderer variable

2009-09-01 Thread creativepragmatic
Hello Everyone, Within a DataGrid, I have a DataGridColumn that uses a custom component as the item renderer. Within the component, I have an ArrayCollection that stores a set of value objects. My problem is that I cannot access the ArrayCollection values from outside of the item renderer

[flexcoders] Client side images

2009-08-26 Thread creativepragmatic
Hello Everyone, I am developing an application that includes JPG and TIFF image size validation. The backend is done is done in PHP. I am wondering if there is anyway to validate the minimum width and height of those images in Flex or if they have to be uploaded to PHP and validated there.

[flexcoders] Tooltip anchoring in Flex

2009-06-15 Thread creativepragmatic
Hello Everyone, I want to create a notification icon like the the red one in the bottom right-hand corner of Facebook. I tried using a ToolTipManager to create a tooltip but since Tooltips appear in their own layer in Flex and, as far as I am able to figure, cannot be anchored to any part of

[flexcoders] URL pound sign questions

2009-06-09 Thread creativepragmatic
Hello Everyone, I have 2 questions about the url pound sign: 1. Flex includes the pound symbol at the end of every URL (http://www.mysite.com/folder/#). Is it possible to remove the pound symbol (http://www.mysite.com/folder/)? 2. In a social networking site, could 'user' in the URL,

[flexcoders] Re: URL pound sign questions

2009-06-09 Thread creativepragmatic
Thank you Jake. That definitely helps. --- In flexcoders@yahoogroups.com, Jake Churchill j...@... wrote: Why not use some kind of SES URL parser like Ionic or apache's mod_rewrite and strip that off. Or you could set up a 404 page that attempts to look up the user based on whatever is after

[flexcoders] Prevent Tooltip From Scrolling

2009-05-19 Thread creativepragmatic
I am using a Tooltip to display the number of Inbox messages. I do this by setting the errorString property of a component and then dispatching a mouseOver event on the component to get the number of messages to show for 60 seconds. The problem I have is how to get the Tooltip to stay next to

[flexcoders] Query String Parameters in Flex Builder

2009-05-19 Thread creativepragmatic
Is there any way to get Flex Builder to add query string parameters in debug mode? For example, F:\MyProject\bin-debug\myproject.html#param=1. Orville

[flexcoders] Re: Query String Parameters in Flex Builder

2009-05-19 Thread creativepragmatic
Thank you Jonathon. When I tried this, I got a File not found error. Open up your project properties, and go to the Run/Debug Settings menu. Select your driver application, and click the edit button. Uncheck the Use defaults under URL or path to launch, and set it to whatever you want it

[flexcoders] Actionscript Time Components

2008-12-11 Thread creativepragmatic
Hello Everyone, I just released some simple open source components for entering dates and times. Hopefully, others will find them useful or even find reasons to improve them. I will be documenting them in the coming weeks. Feedback is welcome. Project URL:

[flexcoders] Sourceforge vs. Google Code

2008-11-27 Thread creativepragmatic
Hello Everyone, I want to contribute a Flex/Actionscript component library to the open source community but am not sure whether to use Sourceforge or Google Code. Any insights would be appreciated. Orville

[flexcoders] Re: Sourceforge vs. Google Code

2008-11-27 Thread creativepragmatic
to use, and feels more streamlined. But I imagine it's just a matter of personal taste, really :) On Fri, Nov 28, 2008 at 5:45 AM, creativepragmatic [EMAIL PROTECTED] wrote: Hello Everyone, I want to contribute a Flex/Actionscript component library to the open source community but am

[flexcoders] Unable to capture click on subclassed DateField

2008-11-24 Thread creativepragmatic
Hello Everyone, I have a subclassed DateField with a TextInput below the calendar. After clicking on the button to open the DateChooser, when I click in the TextInput, the DateChooser closes. If I click in the whitespace to the right or left of the TextInput, the DateChooser remains opened.

[flexcoders] Number of viewable rows in datagrid

2008-11-10 Thread creativepragmatic
Hello Everyone, This seems like it should be easy to do. I am trying to get the number of visible rows in a datagrid component. When using the creationComplete event of DataGrid, the number of rows is always 7 after the SWF is loaded. That is incorrect. There are 27 rows. Does anyone

[flexcoders] Re: Number of viewable rows in datagrid

2008-11-10 Thread creativepragmatic
I figured it out. Instead of using creationComplete, I used the render event. --- In flexcoders@yahoogroups.com, creativepragmatic [EMAIL PROTECTED] wrote: Hello Everyone, This seems like it should be easy to do. I am trying to get the number of visible rows in a datagrid component

[flexcoders] unable to open services-config.xml

2008-10-31 Thread creativepragmatic
Hello Everyone, I get the following error: unable to open '/home/demo1/tomcat/webapps/blazeds/WEB- INF/flex/services-config.xml' I understand that this is being caused by the additional compiler argument: -services /home/demo1/tomcat/webapps/blazeds/WEB-INF/flex/services- config.xml -locale

[flexcoders] Re: Cairngorm AMFPHP Problem

2008-10-10 Thread creativepragmatic
@yahoogroups.com, creativepragmatic creativepragmatic@ wrote: It does. Here is the class. [RemoteClass(alias=com.xtremesecurity.security.vo.UserVO)] [Bindable] public class UserVO implements ValueObject { public var id:int; public var email:String

[flexcoders] Cairngorm AMFPHP Problem

2008-10-09 Thread creativepragmatic
Hello, I am trying to convert an existing Flex/AMFPHP app to Cairngorm but am having trouble returning value objects from PHP. public function login($userVO) { $user = new UserVO(); // yada yada yada, user authenticated, logged and full details received

[flexcoders] Re: Cairngorm AMFPHP Problem

2008-10-09 Thread creativepragmatic
; this.password = password; } } --- In flexcoders@yahoogroups.com, actionscript_czar [EMAIL PROTECTED] wrote: Does the UserVO constructor require arguments? If it does can you set defaults? --- In flexcoders@yahoogroups.com, creativepragmatic creativepragmatic@ wrote

[flexcoders] Event Propagation Problem (I think)

2008-09-29 Thread creativepragmatic
Hello everyone, I am currently working on a set of time entry components that I hope to share with the open source community when finished. The components are a time masking field that extends TextInput, a TimeStepper extends NumericStepper, a DateTimeChooser extends DateChooser and

[flexcoders] Re: Event Propagation Problem (I think)

2008-09-29 Thread creativepragmatic
where it's focus using event.preventDefault() to see what's happen behind the scenes. Regards Igor Costa On Sun, Sep 28, 2008 at 11:46 PM, creativepragmatic [EMAIL PROTECTED] wrote: Hello everyone, I am currently working on a set of time entry components that I hope

[flexcoders] Masked time input

2008-05-20 Thread creativepragmatic
Hello everyone, I plan to develop a masked time input control and accompanying field validator for an employee timesheet app that I am working on. Before I start, does anybody know of an existing open control that I can use and build on? Thank you for any help, Orville

[flexcoders] Re: I need some light math and ActionScript help please

2008-05-11 Thread creativepragmatic
You could use the NumberFormatter class like this: var myRoundedNumber:NumberFormatter = new NumberFormatter(); myRoundedNumber.precision = 1; myRoundedNumber.rounding = nearest; myRoundedNumber.format(medianOfArrayVariable); --- In flexcoders@yahoogroups.com, Mark [EMAIL PROTECTED] wrote: I'm

[flexcoders] Populating a Combobox from RemoteObject

2008-02-05 Thread creativepragmatic
Hi Guys, This should be a simple task so I'm hoping the answer will be painfully obvious to someone. I'm trying to populate a combobox from the results of a remote object using the following method: mx:ArrayCollection id=acCategories

[flexcoders] Re: Populating a Combobox from RemoteObject

2008-02-05 Thread creativepragmatic
--- In flexcoders@yahoogroups.com, creativepragmatic [EMAIL PROTECTED] wrote: I solved my own problem by changing the backend query to the following: SELECT cid AS data, category AS label FROM... Hi Guys, This should be a simple task so I'm hoping the answer will be painfully obvious