Re: [flexcoders] Highlighting a day in DateChooser

2009-09-20 Thread David Harris
their choice in the second one. Cheers, David On Sun, Sep 20, 2009 at 4:47 AM, Angelo Anolin angelo_ano...@yahoo.comwrote: Datefield2.selectedDate = Datefield1.selectedDate -- *From:* David Harris djohnsma...@gmail.com *To:* flexcoders@yahoogroups.com *Sent

[flexcoders] Highlighting a day in DateChooser

2009-09-18 Thread David Harris
Hi Everyone, Is it possible with a DateField/DateChooser to highlight a specific day? EG: I have 2 DateChoosers. The user selectes a date in the first one, and then when they open the second one I would like the selected date from the first one to be highlighted. I see there is the ability to

[flexcoders] How to tell if something is a Date

2009-09-13 Thread David Harris
Hi everyone, I have a situation where I want to tell a value is of type date or not. Consider this: var b : Date; var s : String = describeType( b )@name.tostring(); Alert.show( ( b is

Re: [flexcoders] How to tell if something is a Date

2009-09-13 Thread David Harris
for null objects. Ryan On Sep 13, 2009 8:26 AM, Paul Andrews p...@ipauland.com wrote: David Harris wrote: Hi everyone, I have a situation where I want to tell a value is of type ... No, and it doesn't make any sense to do so. var b: Date; Tells the compiler that variable b is to be used

Re: [flexcoders] FilterFunction is throwing an error #1069

2008-09-11 Thread David Harris
Hi, I came across this error not long ago, and when I search about it I found something like this is logged in the Flex issue tracker (Jira) The work round provided is something like: Before you call the filter function on the dataprovider for the Combo box, set the selected index for the combo

Re: [flexcoders] Trace log not working

2007-02-06 Thread David Harris
%40yahoogroups.com] On Behalf Of David Harris Sent: Saturday, February 03, 2007 10:44 PM To: flexcoders@yahoogroups.com flexcoders%40yahoogroups.com Subject: [flexcoders] Trace log not working Hi. I have an issue where my trace log is not working... I am sure I have the debug player

[flexcoders] Trace log not working

2007-02-03 Thread David Harris
Hi. I have an issue where my trace log is not working... I am sure I have the debug player installed, as I have used the uninstaller and then installed the players located in Flex Builder 2\Player\debug In my mm.cfg contains: TraceOutPutFileName=C:\flashlog.txt ErrorReportingEnable=1

Re: [flexcoders] multiple Selection in DataGrid?

2007-01-18 Thread David Harris
you'd be after the 'allowMultipleSelection=true ' attribute I'd be guessing... On 1/19/07, sanjaypmg [EMAIL PROTECTED] wrote: Hi Dude.. Is it possible to selected multiple rows in DataGrid? How can I do that? Regards, Sanjay Sharma

[flexcoders] TextInput change evevnt and databinding: Is this a bug?

2007-01-11 Thread David Harris
Hi, Has any else found this? The TextInput has a change event, which according to the docs Dispatched when text in the TextInput control changes through user input or data binding. This event does not occur if you use ActionScript code to change the text. The bit that seems broken is that it is

Re: [flexcoders] Is it possible to have an invisible component?

2007-01-08 Thread David Harris
the standard containers will not be set up to allow it as a child. Tracy -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *David Harris *Sent:* Sunday, January 07, 2007 8:41 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders

[flexcoders] Is it possible to have an invisible component?

2007-01-07 Thread David Harris
Does anyone know if the is a simple way to have a namespace:Tag / that has no visible state? I have an AS class that I would like to call namespace:MyASClass /... Cheers, David

Re: [flexcoders] Who's your ISP?

2006-12-28 Thread David Harris
Hi Jeff, I replied to this just before, but I think I sent the response only to Shannon! My understanding is that all ISPs would support Flex2, as Flex compiles to a .SWF movie, which is downloaded and run on the client machine... So if a ISP supports Flash, they would support Flex2... What

[flexcoders] my List is playing up

2006-12-28 Thread David Harris
Hi Guys, Here is an odd one... I have a situation where I have a custom MXML component (in it's own name space) called List.mxml When I use it, the backgroud is solid white. EG: mynamespace:List width=500 height=500 / but if I rename it to SomeList.mxml, the background is inherited as

Re: [flexcoders] Making objects vs extending objects and their properties

2006-12-18 Thread David Harris
believe you need to use the describeType() or getClassInfo() methods. See 'performing object introspection' in the docs for details on this. Cheers, Lach On 18/12/2006, at 9:20 AM, David Harris wrote: Hi Guys, Anyone know how I loop over properties of a Class that extends Obejct Here

[flexcoders] Making objects vs extending objects and their properties

2006-12-17 Thread David Harris
Hi Guys, Anyone know how I loop over properties of a Class that extends Obejct Here is an example of what I mean... if I go: var oThisObject:Object = {one:one,two:two,three:Three}; I can do this: for(var s:String in oThisObject){ trace(s); } and will trace out one,two,three If I create a

Re: [flexcoders] MXML editing in Eclipse (not Flex Builder2)

2006-12-02 Thread David Harris
Thanks guys! @Tom: the picture on the link you sent me makes my eyes water! On 12/1/06, Tom Chiverton [EMAIL PROTECTED] wrote: On Thursday 30 November 2006 18:16, David Harris wrote: I am using eclipse and was wondering if anyone had managed to get Eclipse to provide MXML insite

[flexcoders] MXML editing in Eclipse (not Flex Builder2)

2006-11-30 Thread David Harris
Hi Guys, I am using eclipse and was wondering if anyone had managed to get Eclipse to provide MXML insite to the standard MXML tags by providing a DTD or some type of definition doc? I am attempting to use XMLBuddy (free version) which you can provide a DTD etc, but I can't find this for MXML I

[flexcoders] Re: States create all their children

2006-11-16 Thread David Harris
I guess about now I start logging a bug... Anyone know how to do this? On 11/13/06, David Harris [EMAIL PROTECTED] wrote: I have a situation where my states in my application are very complex. Each state has a lot in them, and each view in the state has events of data retrieval tied

[flexcoders] Having a new Object as a default argument in a function

2006-11-07 Thread David Harris
Consider this code: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ public

[flexcoders] adding events to a new ClassFactory button

2006-10-14 Thread David Harris
I have a situtation where I am adding a button to a dataGridColumn using a ClassFactory. I know how to set properties to my buttons, but I want to add an event, either by and event listener or assigning a value to the click property. I've attempted a coupled of ways, but with no luck. Any one

[flexcoders] my event isn't sufficiently loaded to provide this information.

2006-10-12 Thread David Harris
This is a bit weird. (Every other time I have said this it's been me but...) I have a custom event that I am broadcasting on a button click. The Button is clicked, which then calls a function. When I put a trace of the event.target I get the The loading object is not sufficiently loaded to

Re: [flexcoders] my setter is calling my getter....

2006-10-11 Thread David Harris
, David Harris [EMAIL PROTECTED] wrote: private var _someVar:Object; [Bindable] public function set someObject(thisWhatsit:Object):void { _someVar = thisWhatsit; } public function get product():Object { return _someVar; } -- Flexcoders Mailing List

[flexcoders] my setter is calling my getter....

2006-10-10 Thread David Harris
I'm sure I must be doing some thing wierd, but every time I call my setter function is calls my getter function. Here's a snippet of code: mx:Canvas [...etc etc...] mx:Script [...imports here...] private var _someVar:Object; [Bindable] public function set someObject(thisWhatsit:Object):void

Re: [flexcoders] Lots of images and 403 errors

2006-09-27 Thread David Harris
too and that worked...If only I had checked my email earlier!Thanks again On 9/27/06, Clint Modien [EMAIL PROTECTED] wrote: What was the subcode for the 403 error? On 9/26/06, David Harris [EMAIL PROTECTED] wrote: HI Guys.Thanks for the reponses.@Clint: I

Re: [flexcoders] Lots of images and 403 errors

2006-09-27 Thread David Harris
I asked Mr Google, and found this:quoteQ: What limits are on the XP Pro version of IIS (IIS 5.1)? A: There are several. The most significant is that you cannot create more than one website and it is limited to 10 connections./quoteOn 9/27/06, David Harris [EMAIL PROTECTED

[flexcoders] setStyle weirdness

2006-09-27 Thread David Harris
I am in the process of making some form of Image Gallery. I get the information from the server, then loop over the results and add them to a display panel using addChild As I am creating each image, I assign the showEffect so that when it show it look nice. Then I am also assigning the

Re: [flexcoders] adding effects in action script

2006-09-26 Thread David Harris
[EMAIL PROTECTED] wrote: A showEffect is actually a style whose value is an Effect, so you'd do imgNewImage.setStyle(showEffect, fadeIn); - Gordon From: [EMAIL PROTECTED] ups.com [mailto:[EMAIL PROTECTED] ups.com] On Behalf Of David Harris

Re: [flexcoders] Lots of images and 403 errors

2006-09-26 Thread David Harris
, but I suspect again that IIS is chocking... Cheers!On 9/27/06, Clint Modien [EMAIL PROTECTED] wrote: 403 is a security error. Check the ntfs permissions on the files. On 9/25/06, David Harris [EMAIL PROTECTED] wrote: I'm not sure if this is a Flex issue or maybe

Re: [flexcoders] Overriding functions that you can't override

2006-09-25 Thread David Harris
The other Christmas I got a 2 new keys for my computer keyboard...one was Panic and the other one was duh...I think I'll be pressing the duh key now :-sThanks Eric for your help! On 9/25/06, EECOLOR [EMAIL PROTECTED] wrote: Haha, yeah, its quite

[flexcoders] adding effects in action script

2006-09-25 Thread David Harris
Hi I am creating an Image in Script and then adding it to a tile. I have added an event listner to the complete event of the image that switches visible to true I would like to add a showEffect to the image, but can't see how to do it... Here is a snippet of code:

[flexcoders] Overriding functions that you can't override

2006-09-24 Thread David Harris
I'm sure this is possible, but can't rebemer the exact syntax... I have a component that extends the Image class. the image class has the source property. when I attempt to over override the source property with my set source function I get the following issue: Overriding a function that is

[flexcoders] masks, tweens and linkbars

2006-06-06 Thread David Harris
Hi guys, I am in the process of working with a linkbar that is populated dynamically. When the information gets to wide to display, I want to be able to scroll it. If you set the width attribute of the linkbar, it truncates the information. I suspect a mask and tween are in order, but can't find

Re: [flexcoders] masks, tweens and linkbars

2006-06-06 Thread David Harris
if you have problems... I just looked at the code real quick, might have missed something. Peace, Mike On 6/6/06, David Harris [EMAIL PROTECTED] wrote: Hi guys, I am in the process of working with a linkbar that is populated dynamically. When the information gets

Re: [flexcoders] Catching a key press [Flex Beta2]

2006-06-05 Thread David Harris
{ event.stopPropagation();//this didn't work event.stopImmediatePropagation();//and this didn't either... _tmKeyUp.reset(); _tmKeyUp.start(); //remove the eventlistener removeEventListener(keyUp,handleKeyUp); } On 6/2/06, David Harris [EMAIL PROTECTED] wrote: That's awesome thanks Sonja!I'll get

Re: [flexcoders] Catching a key press [Flex Beta2]

2006-06-05 Thread David Harris
(keyUp,handleKeyUp); } On 6/2/06, David Harris [EMAIL PROTECTED] wrote: That's awesome thanks Sonja!I'll get that working today! On 6/2/06, Sonja Duijvesteijn [EMAIL PROTECTED] wrote: Sorry, it send the mail too early: private var timeSinceKeyPress:Timer;private

[flexcoders] How long should a remote call take?

2006-06-01 Thread David Harris
I am sure this can't me right, but my remote call using RemoteObject to a CFC to return 1 record is taking 11 seconds. I have put debugging code in the Actions script and the call takes less than 10ms I have put debugging code in the CFC and it takes less than 1500ms to run (there is more

[flexcoders] Catching a key press [Flex Beta2]

2006-06-01 Thread David Harris
Hi Guys, Does anyone have an example like this: I have a text input box and the user types in information. When they have finished typing I would like to fire off an event. The approach I would like is that once they have stopped typeing for 500ms, the event gets fired. Has any done

[flexcoders] Number of records in a Datagrid

2006-05-15 Thread David Harris
Hi, Does anyone have an idea of how many records in a datagrid are to many? I have a situation when the Flex2 SWF loads, the it hits the DB and retrives records. If I am retriving 100 records it takes about 2 seconds. If I am retriving 15000 records it takes more than 3 mins, even though the

Re: [flexcoders] Number of records in a Datagrid

2006-05-15 Thread David Harris
slow, while doing 5, with page-up, page-down is blazing. Tracy -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of David Harris Sent: Monday, May 15, 2006 6:07 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Number of records

Re: [flexcoders] Number of records in a Datagrid

2006-05-15 Thread David Harris
. This is just my opinion. --Kelly -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of David Harris Sent: Monday, May 15, 2006 3:07 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Number of records in a Datagrid Hi, Does anyone

Re: [flexcoders] Inline Design View Rich Text Editing - where?

2006-05-15 Thread David Harris
Hi, there is a mx:RichTextEditor Is this what you mean? On 5/16/06, judah [EMAIL PROTECTED] wrote: Hi Adobe, I'm not sure if I missed it or not but I do not see any rich text editing tools in the Flex Builder 2.0 IDE. If there aren't any at this time are there any plans to put something

[flexcoders] Stalling the upload of a file

2006-05-10 Thread David Harris
hi Guys, I am working with the upload of a file in Flex (beta3) I would like the user to file out a form, and pick the file, and the file not uploaded until the form is saved. EG: form with 5 fields, and one of them is a file (image) The user files in the form, selects a picture on their

[flexcoders] Tree get each node as required

2006-05-08 Thread David Harris
Hi guys, I am in the process of creating a tree that may end up with ALOT of nodes, so would like to get the nodes back as the user expands a node. I am guessing this is quite a common thing to require, so can anyone point me to an exmaple I can grab and look at? Cheers -- Flexcoders

Re: [flexcoders] Flex 2:Having a major problem with what should be very simple.

2005-11-16 Thread David Harris
One thing to check is what the CFC is return from the function call by writing a .cfm to call the function the same way. Another test is to check what the CFC is recieving in it's arguments. EG: After all your VARed variables, do something like this cfset var foo = cfsavecontent

Re: [flexcoders] Re: Forcing Recompile in production mode

2005-11-03 Thread David Harris
PROTECTED] Office: 866-CYNERGY --- In flexcoders@yahoogroups.com, David Harris [EMAIL PROTECTED] wrote: Hi, I have seached docs, but havn't turn up an answer yet, so thought I'ld ask you guys... We have a Developement Flex, and a Live Flex server. The live server

[flexcoders] CF cgi.remote_user and Flex woes

2005-11-03 Thread David Harris
We have developed a Flex app that access the cgi.remote_user. What we are finding is that when the Flex app accesses this CFC via a remote object, it is inconsistent in return a value. The results happen like this: The user browses to the MXML file for the first time. Clicks the Check CGI user,

Re: [flexcoders] Popup Issue

2005-10-27 Thread David Harris
>From what I see... you code: function testTable(){var cReports:TitleWindow = TitleWindow(popupWindow (MyTest,false));} The third argument is a flag to indicate if the PopUp is Modal or not. You have false in there, so if you change that to true, it will be Modal EG: function

Re: [flexcoders] Application frameRate???

2005-10-13 Thread David Harris
From What I understand, the frameRate is a limiter value. EG: if you set it to 120, the maximum it will go if 120. The Framerate depends largely on the clients machine, and how good it is. You can't force the Flash runtime (aka Flash player) to do 120 framerate (frames per second) on a 486 with

[flexcoders] Args in functions

2005-10-13 Thread David Harris
Hi, Is there any way to handle undeclared Arguments passed in to function? eg: function myFunction(oneArg:String,twoArg:Boolean[,...other args]) I think you can do this sort of thing in Java and Javascript. I think they are avalible in an array called args. so args[0] refers to oneArg. Any

Re: [flexcoders] how do i select a single datagrid cell not the whole row

2005-10-05 Thread David Harris
[your datagrid].focusedCell = {itemIndex:[your row number],columnIndex:[your coulmn number]};On 10/5/05, bhaq1972 [EMAIL PROTECTED] wrote: Everyone I want to be able to to select and highlight a single cell in a non editable datagrid. i'm thinking, on a DataGrid.cellPress, color the cell

Re: [flexcoders] Re: getURL Problem

2005-10-03 Thread David Harris
Would somthing like this work(untested, and off the top of my head...) getURL(_root._url.split(.))[0] + .mxml?mynewparam=+value); cause I thought getURL(?mynewparam=+value); would be the same request as a a href=?mynewparam=samevalue Maybe firefox is a bit smarted than IE in this regard?

Re: [flexcoders] mouse-right-click-event?

2005-09-29 Thread David Harris
The other thing to remember... The right click can only be used on the Main MXML file, and not any nested views. Limitations in the flash player has this changed for flash 8, any one know?On 9/30/05, Tracy Spratt [EMAIL PROTECTED] wrote: Here is a solution from Manish:

Re: [flexcoders] Confusing error message

2005-09-28 Thread David Harris
We had this problem, and I asked Mr Google, and he told em this... http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_19520 HTH On 9/28/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I would post the code on this but as the code is too large I will just post the error. First I

Re: [flexcoders] Calls to CFCs

2005-09-28 Thread David Harris
There are a couple of ways I have used to debug calls to CFCs... Create a CFM template and call the methods on the CFC the same way you want your Flex app to. This will let you know if it is the CFC having a problem. When you call the method, dump out and write the dump to file using

Re: [flexcoders] Calls to CFCs

2005-09-28 Thread David Harris
Did you test every thing from the CFC side of things to? Making sure the CFC is getting the correct arguments? I would put some code like this at the beginning of your function in the CFC... {all cfarguments and vared variables here} cfset var myArgs = cfsavecontent variable=myArgs cfdump

Re: [flexcoders] Confusing error message

2005-09-28 Thread David Harris
I just talked to the guy here who had the problem, and it was just one function he had to re-factor...in to the same file even. Do you have a big function? If so, try making it smaller On 9/29/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I read the faq thanks I have more than one .as

[flexcoders] Validating input on a datagrid

2005-09-28 Thread David Harris
Has anyone done validation on a datagrid cell? What I am after this something like this: A user enters the cell, and edits it's contents. They are able to enter waht they like. They leave the cell, and the validation fires. If the cell content is invalid, an Alert is displayed with a message

[flexcoders] my private vars are NOT private....

2005-09-22 Thread David Harris
Hey Guys, I have a class with something like this in it private var _myVar:String = bob; My Class is an MXML file that has a mx:Box as its base. When I create one, and try to reference myInstacne._myVar, I get bob I thought making a variable private meant it was ONLY avalible inside

Re: [flexcoders] Remote objects and when they exist

2005-09-20 Thread David Harris
true that was a typo in my example. I seem to have got it going by doing an init() on bob I *think* this may be something to do with that my root MXML element is mx:Box What do use for the root element if you are writing a MXML file as a class? On 9/21/05, Peter Farland [EMAIL PROTECTED]