[flexcoders] apply effect to datagrid row on data change

2007-05-09 Thread Steve Gilchrist

Hi,

I'm wondering if anyone has applied an effect such as Glow on all cells of a
datagrid row when any of those cells change value.

I have an app which displays about 50 rows which are updated at least every
30 seconds from a feed. I would like to apply a brief glow (or other effect)
to draw the users eye to the fact the row has changed.

Is this possible and are there any gotchas? I'm thinking performance could
be an issue. If someone could point me to an example that would be
excellent.

Thanks
Steve


[flexcoders] Re: pushing a database update/data management services

2007-04-08 Thread Steve Gilchrist

anyone?

I just don't see how I can get the coldfusion instance to ping flex that it
needs to refresh it's fills. Am I going to have to have both coldfusion and
FDS run under the same instance to use DataServiceTransaction? Surely I am
not the only one wanting to do this.

I should add that this is for coldfusion standard and not enterprise so I
cannot have a solution revolving around event gateways.

TIA

Steve


On 4/7/07, Steve Gilchrist <[EMAIL PROTECTED]> wrote:


bump...

Ok the only thing I've been able to find to push changes made server side
by coldfusion to flex clients is one page in the Flex docs talking about the
DataServiceTransaction java class.

Has anyone attempted this with coldfusion? Can I instantiate that java
class in some coldfusion code and it link with the Flex server instance?

I'm hoping that I can call DataServiceTransaction.refreshfill() and all
the client fills will refresh. Possible?

If someone could tell me if this is possible or a dead end would be much
appreciated.

Thank you
Steve





On 4/2/07, Steve Gilchrist <[EMAIL PROTECTED]> wrote:
>
> Hey guys,
>
> I'm a bit lost with Flex Data Management Services with Coldfusion.
>
> I understand client set up with fill() to pull data down from the server
> using assemblers and dao's. I think :)
>
> What happens if I have a separate scheduled coldfusion process that
> updates the database on the server side. This is a process that updates
> records every 5 minutes from other servers. After this process has completed
> what do I have to do to update flex / datamanagement services and
> consequently the clients.
>
> How do I refresh all my client fills? I've been through the examples and
> none show this scenario. If someone could point me in the right direction
> I'd be grateful
>
> Thanks
> Steve
>
>
>



[flexcoders] Re: pushing a database update/data management services

2007-04-06 Thread Steve Gilchrist

bump...

Ok the only thing I've been able to find to push changes made server side by
coldfusion to flex clients is one page in the Flex docs talking about the
DataServiceTransaction java class.

Has anyone attempted this with coldfusion? Can I instantiate that java class
in some coldfusion code and it link with the Flex server instance?

I'm hoping that I can call DataServiceTransaction.refreshfill() and all the
client fills will refresh. Possible?

If someone could tell me if this is possible or a dead end would be much
appreciated.

Thank you
Steve





On 4/2/07, Steve Gilchrist <[EMAIL PROTECTED]> wrote:


Hey guys,

I'm a bit lost with Flex Data Management Services with Coldfusion.

I understand client set up with fill() to pull data down from the server
using assemblers and dao's. I think :)

What happens if I have a separate scheduled coldfusion process that
updates the database on the server side. This is a process that updates
records every 5 minutes from other servers. After this process has completed
what do I have to do to update flex / datamanagement services and
consequently the clients.

How do I refresh all my client fills? I've been through the examples and
none show this scenario. If someone could point me in the right direction
I'd be grateful

Thanks
Steve





[flexcoders] FDS / Apache server images not caching

2007-04-05 Thread Steve Gilchrist

Hi all,

I have an application that displays around 50 images (many repeating) in a
datagrid. These images are dynamically loaded. When I run our remote object
version of the application the images (as well as the main swf) are cached
in the browser. This version runs over Apache port 80.

My problem is when running my FDS version none of the images are cached in
the browser. The application swf is not cached, nor are the dynamic images.
This adds alot of overhead to the application. I've changed the Apache
virtual host to point to the flex application
directory...c:\fds2\jrun4\servers\default\myapp.

I've been using service capture to look at what is being cached and there is
definitely something going on with the FDS version.

Does anyone have any ideas why? Is there something else I need to be doing
with apache and FDS maybe??

Thanks
Steve


[flexcoders] pushing a database update/data management services

2007-04-01 Thread Steve Gilchrist

Hey guys,

I'm a bit lost with Flex Data Management Services with Coldfusion.

I understand client set up with fill() to pull data down from the server
using assemblers and dao's. I think :)

What happens if I have a separate scheduled coldfusion process that updates
the database on the server side. This is a process that updates records
every 5 minutes from other servers. After this process has completed what do
I have to do to update flex / datamanagement services and consequently the
clients.

How do I refresh all my client fills? I've been through the examples and
none show this scenario. If someone could point me in the right direction
I'd be grateful

Thanks
Steve


[flexcoders] debug compile and trace statements

2007-03-29 Thread Steve Gilchrist

Hi,

I like to pepper my code with a heap of trace statements so I can see
execution flow.

When I go to deploy to production I compile with debug=false. Are the trace
statements stripped out / ignored or do they still execute?

Also is there any way to get trace to output the function it is running in
automagically. I'm wondering if there is a short cut for the below:

public function myMethod():void
{
trace(this+".myMethod"+"some variables");
}

'this' gives the object name but I have to hand code the myMethod().

Thanks
S


Re: [flexcoders] Re: match 2 field values validator

2006-09-17 Thread Steve Gilchrist



Hi Børre,Many thanks for sharing the code. Exactly what I was after. Much appreciated!CheersSteveOn 9/17/06, 
bgwessel <[EMAIL PROTECTED]> wrote:













  



Hi

When I read your message I found that I had the same need, so here it
is :)

package com.mycomp.validator
{
	import mx.validators.Validator;
	import mx.validators.ValidationResult;

	public class PasswordValidator extends Validator
	{
		/**
		 *  Constructor.
		 */ 
		public function PasswordValidator()
		{
			super();
		}
		
		/**
		 * The password the check against.
		 */
		public var pwdToCheck:String;
		
		/**
		 * Convenience method for calling the validator from custom classes.
		 */
		public static function validatePassword(validator:PasswordValidator,
		  value:Object,
		  baseField:String = null):Array
	  	{
	  		var results:Array = [];
	  		
	  		var val:String = value != null ? String(value) : "";
	  		
	  		if(val != validator.pwdToCheck)
	  		{
	  			results.push(new ValidationResult(
	  			true, baseField, 
  "notEqual", validator.notEqualError));
return results;
	  		}
	  		return results;
	  	}
	  	
	/**
		 *  Error message when the passwords are not equal. 
		 *
		 *  @default "Too many at characters in your email address."
	 */
		public var notEqualError:String = "Passwords are not equal";

		/**
 		 *  Override of the base class doValidation() method
	 *  to validate two password fields.
		 */
		override protected function doValidation(value:Object):Array
	{
			var results:Array = super.doValidation(value);
			
			// Return if there are errors
			// or if the required property is set to false and length is 0.
			var val:String = value ? String(value) : "";
			if (results.length > 0 || ((val.length == 0) && !required))
return results;
			else
			return PasswordValidator.validatePassword(this, value, null);
	}
	}
}

It can be used in both mxml and AS3, just include the textinput
fields; password and password2:


property="text" pwdToCheck="{password.text}"/>

var pwdValidator:PasswordValidator = new PasswordValidator();
pwdValidator.listener = password2;
pwdValidator.pwdToCheck = password.text;
pwdValidator.validate(password2.text);

Regards
Børre

--- In flexcoders@yahoogroups.com, "Steve Gilchrist" <[EMAIL PROTECTED]> wrote:
>
> Is there a pre-existing validator for checking that two fields match
eg.,
> password and confirmPassword form fields?
> 
> I would prefer not to have an alert popup but the check done in a
consistent
> way with some other validators. Anyone built one of these already?
> 
> Thanks
> Steve
>


  















__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] match 2 field values validator

2006-09-15 Thread Steve Gilchrist



Is there a pre-existing validator for checking that two fields match eg., password and confirmPassword form fields?I would prefer not to have an alert popup but the check done in a consistent way with some other validators. Anyone built one of these already?
ThanksSteve

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] Adobe SystemManager example

2006-09-15 Thread Steve Gilchrist



Hi, Just checking out the adobe systemmanager example (link)
 and there appears to be an error in the code as below. I get a 'local' is an undefined property in the compiler. If I remove local and just have loadedSM.application it then complains about setVarOne not being defined (it's a method in a loaded swf). How do you invoke methods in a loaded swf without the compiler getting cranky?
// Write to the varOne variable in the loaded application
// using the setVarOne() method of the loaded application.
public function updateNestecVarOne():void {
    local(loadedSM.application).setVarOne("Updated varOne!"); }
CheersSteve

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






  
  Your email settings: Individual Email|Traditional 
  Change settings via the Web (Yahoo! ID required) 
  Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured 
   
Visit Your Group 
   |
  
Yahoo! Groups Terms of Use
   |
  
   Unsubscribe 
   
 

  




__,_._,___



[flexcoders] remove effect from component

2006-06-30 Thread Steve Gilchrist



Hi everyone, What is the best way to remove an effect after is has played. In the below example I want each button to glow when clicked but when the other is selected it should revert back to the original state with no effect. I've tried end() and reverse().   I see a filter array property on the button after the effect is applied. Do I have to delete that? 
I'm sure I've missed something and I feel like i am over complicating something simple. Any suggestions?Thanks!!!Stevehttp://www.adobe.com/2006/mxml">                    alphaFrom="0.0" alphaTo="0.5" 
    blurXFrom="0.0" blurXTo="1.0"     blurYFrom="0.0" blurYTo="1.0"     color="0x00FF00"/>        
        

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   



  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] Re: SWFLoader.content not populated

2006-06-09 Thread Steve Gilchrist



anyone? It's driving me nuts.On 6/8/06, Steve Gilchrist <[EMAIL PROTECTED]> wrote:
When I create a SWFLoader class in actionscript (see below) the
content property is null. If I use  tag it is set
with the SystemManager object of the loaded swf. Is there something I
need to be doing in actionscript to have content populated? Thanks Steve                



__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] SWFLoader.content not populated

2006-06-08 Thread Steve Gilchrist



When I create a SWFLoader class in actionscript (see below) the content property is null. If I use  tag it is set with the SystemManager object of the loaded swf. Is there something I need to be doing in actionscript to have content populated? 
Thanks Steve                

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___