Re: [flexcoders] text_mc in flex

2005-11-01 Thread Anatole Tartakovsky
You have to do it if default behavior is not satisfactory for your business 
case - but it is usually better to wrap this kind of functionality in the 
inherited class so you can replace implementation without affecting your app 
code when the base control gets extended. You also protect yourself against 
API changes.

HTH,
Anatole


- Original Message - 
From: "Douglas Knudsen" <[EMAIL PROTECTED]>
To: 
Sent: Monday, October 31, 2005 10:03 PM
Subject: Re: [flexcoders] text_mc in flex


> SO, use of this text_mc is use o fan undocumented feature?  Is this wise?
>
> DK
>
> On 10/31/05, Anatole Tartakovsky <[EMAIL PROTECTED]> wrote:
>> Greg,
>>Place breakpoint on the focusOut="setDateFromText()" line. When in
>> debugger. step in and look at the source of DateField - you should see 
>> the
>> components that make up DateField.
>>
>> HTH,
>> Anatole
>>
>> - Original Message -
>> From: "Greg Morphis" <[EMAIL PROTECTED]>
>> To: 
>> Sent: Monday, October 31, 2005 4:26 PM
>> Subject: [flexcoders] text_mc in flex
>>
>>
>> >I ran across some code:
>> > > > id="daDate"
>> > selectedDate="{_selectedDate}"
>> > change="setDateFromCal(event)"
>> > open="this.dispatchEvent(event)"
>> > close="this.dispatchEvent(event)"
>> > scroll="this.dispatchEvent(event)" />
>> >
>> > > > id="input"
>> > text="{formatter.format(_selectedDate)}"
>> > width="{daDate.text_mc.width}"
>> > focusOut="setDateFromText(event)" />
>> >
>> > 
>> >
>> >
>> > Can someone explain what text_mc is? I don't see it defined anywhere
>> > else and I didnt see it in the flex documentation.
>> >
>> > Thanks!
>> >
>> >
>> > --
>> > Auxilium meum a Domino
>> >
>> >
>> >
>> >
>> >
>> > --
>> > 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
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>> >
>>
>>
>>
>>
>> --
>> 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
>>
>>
>>
>>
>>
>>
>>
>
>
> --
> Douglas Knudsen
> http://www.cubicleman.com
> this is my signature, like it?
>
>
>
> --
> 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
>
>
>
>
>
>
>
> 



 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re[2]: [flexcoders] Re: Cairngorm Sequence Command Example

2005-11-01 Thread Andriy Panas
Hello superabe,

Tuesday, November 1, 2005, 4:04:55 AM, you wrote:

ss> Preferably the commands need to be in a sequence.

  See example of "flexstore" app supplied with distribution of cairngorm 0.99b
package.


-- 
Best regards,
 Andriymailto:[EMAIL PROTECTED]



 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




RE: [flexcoders] Repeater inside TabNavigator, manipulated by class

2005-11-01 Thread Andreas Weber
Thanks for looking into this Matt, it was just the confirmation I needed!

I did not have any luck re-creating the ArrayCollection: Trying out
different syntaxes I either got the same error or no error but also no
update of the TabNavigor.
It seems that due to this bug currently there is no way to get the Repeater
to work inside a TabNavigator when the underlaying Array is updated by a
class.

But there is always the possibility to clear and re-populate the Navigator
without Binding, 'manually' so to speak.
I include the code below, just in case someone else runs into this problem
and looks for a workaround.

Thanks again for your time!

--
Andreas Weber
motiondraw.com





http://www.macromedia.com/2005/mxml";
creationComplete="init()">







--
TestClass.as

package {
  import mx.containers.Canvas;
  import mx.controls.TextArea;

  public class TestClass {
private var app = mx.core.Application.application;

public function TestClass(){
populateTabNavigator('char');
clearChildren(app.tabNav);
populateTabNavigator('num');
}

private function populateTabNavigator(mode:String):Void{
if(mode == 'num'){
  var data_arr:Array =[{fn:"about1", c:"1"},{fn:"about2",
c:"2"},{fn:"about3", c:"3"}];
}else if(mode == 'char'){
  var data_arr:Array =[{fn:"aboutOne", 
c:"One"},{fn:"aboutTwo",
c:"two"},{fn:"aboutThree", c:"Three"}];
}
  for(var i:int=0; imailto:[EMAIL PROTECTED]
Behalf Of Matt Chotin
Sent: Monday, October 31, 2005 8:18 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Repeater inside TabNavigator, manipulated by class


Definitely is a bug.  I’ll go ahead and file it.  I don’t have a workaround
for you right now, maybe try re-creating the ArrayCollection instead of just
the inner array?  myAC = new ArrayCollection(projectFiles) instead of
re-assigning projectFiles.  I don’t have more time to dig on it, sorry.



Matt






 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Flex 2:Package/Class problem

2005-11-01 Thread Greg Johnson
I am tryinig to create a class with functions that I use repeatedly 
so I can just include them in different components/applications.  As 
far as I can tell I have written it correctly, but when I use an 
include, and they try calling one of the functions, it doesn't work.

Here is the package
package mrstd{
// Imported Libraries
import mx.managers.PopUpManager;
import mx.containers.TitleWindow;
import mx.controls.gridclasses.DataGridColumn;
import mx.managers.DragManager;
import mx.events.DragEvent;
import mx.formatters.*
import flash.util.Timer;

// Standard Library Class
public class stdlib {
// Does what it says, used when a function has to be 
called, but you don't actually want to do anything
public function doNothing():Void {} 

// Get Today's Date as a string
public function getToday():String {
var today_date:Date = new Date();
var date_str:String = ((today_date.getMonth()
+1)+"/"+today_date.getDate()+"/"+today_date.getFullYear());
return date_str;
}
}

// Mouse Related Functions
public class mouseHandlers {
// Handles drag and drop events.
public function doDragDrop(event:DragEvent):Void {
private var items:Array = 
event.dragSource.dataForFormat("items");
private var dest:Object = event.currentTarget;
private var dropLoc:int = dest.getDropLocation
();
dest.hideDropFeedback(event);
items.reverse();
var l:int = items.length;
for(var i:int = 0; i < l; i++) {
dest.dataProvider.addItemAt(items[i], 
dropLoc);
}
event.preventDefault();
}   

// Variables used for detectDoubleClick function
private var lastClick:int = 0;
private var lastObject:Object = new Object();;
private var lastIndex:int = 0;
private var maxTicks:int = 300;

// Detect if a double click was made and if so, call 
a function
public function detectDoubleClick(event:Object, 
functionToCall:Function, ... args):Void {
var currentClick:int;
var currentObject:Object;
var currentIndex:int;
var clickDif:int;
currentClick = getTimer();
currentObject = event.target;
currentIndex = event.index;
clickDif = currentClick - lastClick;
if( clickDif <= maxTicks && currentObject == 
lastObject && currentIndex == lastIndex ) {
lastClick = currentClick;
lastObject = currentObject;
lastIndex = currentIndex;
if (args[0] == null) {
functionToCall();
} else {
functionToCall(args);
}
}
lastClick = currentClick;
lastObject = currentObject;
lastIndex = currentIndex;
}
}

// Standard Formaters
public class formaters {
private var StdMoneyFormat:CurrencyFormatter = new 
CurrencyFormatter();
private var StdDateFormat:DateFormatter = new 
DateFormatter();
StdMoneyFormat.precision=2;
// Formats a dataGrid cell as money
public function formatMoney(dpItem:Object, 
dgColumn:DataGridColumn):String {
return StdMoneyFormat.format(dpItem
[dgColumn.columnName]);
}

// Formats a dataGrid cell as a date
public function formatDate(dpItem:Object, 
dgColumn:DataGridColumn):String {
return StdDateFormat.format(dpItem
[dgColumn.columnName]);
}

// Formats a dataGrid cell as a string that is x 
characters long followed by an elipse
public function shortString(dpItem:Object, 
dgColumn:DataGridColumn, x:Number):String {
var tmpString:String;
tmpString = dpItem[dgColumn.columnName];
if (tmpString.length > x) {
tmpString = tmpString.substr(0,x);
tmpString = tmpString.concat('...');
}

[flexcoders] Flash 8.5 alpha player for Mac

2005-11-01 Thread weeksie31
Apologies if this has already been answered, but did anyone locate the 
8.5 standalone player for Mac in the flex 2 install?

Cheers,

Nick





 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] Flex 2:Package/Class problem

2005-11-01 Thread Geoffrey Williams
You can only have one public function / class / prop per .as file. Also, the
.as files name must match that of the function / class / prop.

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Greg Johnson
Sent: Tuesday, November 01, 2005 9:43 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 2:Package/Class problem

I am tryinig to create a class with functions that I use repeatedly 
so I can just include them in different components/applications.  As 
far as I can tell I have written it correctly, but when I use an 
include, and they try calling one of the functions, it doesn't work.

Here is the package
package mrstd{
// Imported Libraries
import mx.managers.PopUpManager;
import mx.containers.TitleWindow;
import mx.controls.gridclasses.DataGridColumn;
import mx.managers.DragManager;
import mx.events.DragEvent;
import mx.formatters.*
import flash.util.Timer;

// Standard Library Class
public class stdlib {
// Does what it says, used when a function has to be 
called, but you don't actually want to do anything
public function doNothing():Void {} 

// Get Today's Date as a string
public function getToday():String {
var today_date:Date = new Date();
var date_str:String = ((today_date.getMonth()
+1)+"/"+today_date.getDate()+"/"+today_date.getFullYear());
return date_str;
}
}

// Mouse Related Functions
public class mouseHandlers {
// Handles drag and drop events.
public function doDragDrop(event:DragEvent):Void {
private var items:Array = 
event.dragSource.dataForFormat("items");
private var dest:Object = event.currentTarget;
private var dropLoc:int = dest.getDropLocation
();
dest.hideDropFeedback(event);
items.reverse();
var l:int = items.length;
for(var i:int = 0; i < l; i++) {
dest.dataProvider.addItemAt(items[i], 
dropLoc);
}
event.preventDefault();
}   

// Variables used for detectDoubleClick function
private var lastClick:int = 0;
private var lastObject:Object = new Object();;
private var lastIndex:int = 0;
private var maxTicks:int = 300;

// Detect if a double click was made and if so, call 
a function
public function detectDoubleClick(event:Object, 
functionToCall:Function, ... args):Void {
var currentClick:int;
var currentObject:Object;
var currentIndex:int;
var clickDif:int;
currentClick = getTimer();
currentObject = event.target;
currentIndex = event.index;
clickDif = currentClick - lastClick;
if( clickDif <= maxTicks && currentObject == 
lastObject && currentIndex == lastIndex ) {
lastClick = currentClick;
lastObject = currentObject;
lastIndex = currentIndex;
if (args[0] == null) {
functionToCall();
} else {
functionToCall(args);
}
}
lastClick = currentClick;
lastObject = currentObject;
lastIndex = currentIndex;
}
}

// Standard Formaters
public class formaters {
private var StdMoneyFormat:CurrencyFormatter = new 
CurrencyFormatter();
private var StdDateFormat:DateFormatter = new 
DateFormatter();
StdMoneyFormat.precision=2;
// Formats a dataGrid cell as money
public function formatMoney(dpItem:Object, 
dgColumn:DataGridColumn):String {
return StdMoneyFormat.format(dpItem
[dgColumn.columnName]);
}

// Formats a dataGrid cell as a date
public function formatDate(dpItem:Object, 
dgColumn:DataGridColumn):String {
return StdDateFormat.format(dpItem
[dgColumn.columnName]);
}

// Formats a dataGrid cell as a string that is x 
characters long followed by an elipse
public function shortString(dpItem:Object, 

[flexcoders] Image load timeout

2005-11-01 Thread superabe superabe



Is there a setting that controls how long the Image control waits to load the image before displaying the broken image icon?
 
I am facing a situtaion when my app load the first time, it fails to show some of the images, and displays my custom broken image icon instead.
When I refresh the app in the browser it it loads them fine
 
TIA- superabe






--
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.



  









RE: [flexcoders] script time warning and Flash Player 8

2005-11-01 Thread Tracy Spratt










Yes, I really need this.

 

Jesse, if you are still following this
thread: Besides moving my entire process to the server(which would take me
several weeks, and this is a rare condition that only a developer will see), is
there anyway to “refactor”  a single process?  The is the
massive calculation (in this case it is building two 30,000 node trees) that
made me implement your status variable and doLater strategy in order to give
the user some visible feedback while this process is running.  It is
broken up into individual function calls, but it still triggers the time-out.

 

Tracy  

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of superabe superabe
Sent: Monday, October 31, 2005
6:04 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] script
time warning and Flash Player 8



 



I do hope to refactor and optimize the code eventually, but I think the
option to override the default  time limit of 60 seconds for
your script should be made available.





- superabe







 





On 10/31/05, JesterXL
<[EMAIL PROTECTED]>
wrote: 



I never knew it was an issue.





 





Incidentally, I think that is one of the worst features
Macromedia could of implemented in Flex, although, I understand why they did
it.





 





My opinion; if you are using that attribute of the
application tag, it's time to refactor whatever part of your code requires it.







 





- Original Message - 



From: superabe
superabe 





To: flexcoders@yahoogroups.com 





Sent: Monday, October
31, 2005 10:36 AM





Subject: [flexcoders]
script time warning and Flash Player 8








 





Hello list, 





 





resending this, hoping somebody has an answer.





 





The scriptTimeOut property for the application tag does not seem to be
working. (I am testing the app using the debug version of Flash Player 8).
I saw a thread reporting this issue in the flexcoders list
http://www.mail-archive.com/flexcoders@yahoogroups.com/msg11465.html

But no definitive answer there...

Anybody on the list know if this has been resolved ?

TIA,

superabe
 












--
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 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
  

   
  







  
  
  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.



  











RE: [flexcoders] Flex 2:Package/Class problem

2005-11-01 Thread Matt Chotin










Flex has a rule of one public class per
file, so you’re going to need to factor each class into into its own
file.  Then make sure you declare the functions that don’t need an instance
of the class static and refer to them as class.func()

 

Matt

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Greg Johnson
Sent: Tuesday, November 01, 2005
6:43 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex
2:Package/Class problem



 

I am tryinig to create a class with functions that I use repeatedly 
so I can just include them in different
components/applications.  As 
far as I can tell I have written it correctly, but
when I use an 
include, and they try calling one of the
functions, it doesn't work.

Here is the package
package mrstd{
  // Imported
Libraries
  import
mx.managers.PopUpManager;
  import
mx.containers.TitleWindow;
  import
mx.controls.gridclasses.DataGridColumn;
  import
mx.managers.DragManager;
  import
mx.events.DragEvent;
  import
mx.formatters.*
  import
flash.util.Timer;

  // Standard Library
Class
  public class stdlib
{
 
  // Does what it says, used when a function has
to be 
called, but you don't actually want to do anything
 
  public function doNothing():Void
{}    

 
  // Get Today's Date as a string
 
  public function getToday():String {
 
    var
today_date:Date = new Date();
 
    var
date_str:String = ((today_date.getMonth()
+1)+"/"+today_date.getDate()+"/"+today_date.getFullYear());
 
    return date_str;
 
  }
  }
  
  // Mouse Related
Functions
  public class mouseHandlers
{
 
  // Handles drag and drop events.
 
  public function doDragDrop(event:DragEvent):Void
{
 
    private var
items:Array = 
event.dragSource.dataForFormat("items");
 
    private var
dest:Object = event.currentTarget;
 
    private var
dropLoc:int = dest.getDropLocation
();
 
   
dest.hideDropFeedback(event);
 
    items.reverse();
 
    var l:int =
items.length;
 
    for(var i:int =
0; i < l; i++) {
 
   
  dest.dataProvider.addItemAt(items[i], 
dropLoc);
 
    }
 
   
event.preventDefault();
 
  } 
  

 
  // Variables used for detectDoubleClick function
 
  private var lastClick:int = 0;
 
  private var lastObject:Object = new Object();;
 
  private var lastIndex:int = 0;
 
  private var maxTicks:int = 300;

 
  // Detect if a double click was made and if so,
call 
a function
 
  public function detectDoubleClick(event:Object, 
functionToCall:Function, ... args):Void {
 
    var
currentClick:int;
 
    var
currentObject:Object;
 
    var
currentIndex:int;
 
    var clickDif:int;
 
    currentClick =
getTimer();
 
    currentObject =
event.target;
 
    currentIndex =
event.index;
 
    clickDif =
currentClick - lastClick;  
 
    if( clickDif
<= maxTicks && currentObject == 
lastObject && currentIndex == lastIndex )
{
 
   
  lastClick = currentClick;
 
   
  lastObject = currentObject;
 
   
  lastIndex = currentIndex;
 
   
  if (args[0] == null) {
 
   
    functionToCall();
 
   
  } else {
 
   
   
functionToCall(args);
 
   
  }
 
    }
 
    lastClick =
currentClick;
 
    lastObject =
currentObject;
 
    lastIndex =
currentIndex;
 
  }
  }
  
  // Standard
Formaters
  public class
formaters {
 
  private var StdMoneyFormat:CurrencyFormatter =
new 
CurrencyFormatter();
 
  private var StdDateFormat:DateFormatter = new 
DateFormatter();
 
  StdMoneyFormat.precision=2;
 
  // Formats a dataGrid cell as money
 
  public function formatMoney(dpItem:Object, 
dgColumn:DataGridColumn):String {
 
    return
StdMoneyFormat.format(dpItem
[dgColumn.columnName]);
 
  }

 
  // Formats a dataGrid cell as a
date    
 
  public function formatDate(dpItem:Object, 
dgColumn:DataGridColumn):String {
 
    return
StdDateFormat.format(dpItem
[dgColumn.columnName]);
 
  }

 
  // Formats a dataGrid cell as a string that is x

characters long followed by an elipse
 
  public function shortString(dpItem:Object, 
dgColumn:DataGridColumn, x:Number):String {
 
    var
tmpString:String;
 
    tmpString =
dpItem[dgColumn.columnName];
 
    if
(tmpString.length > x) {
 
   
  tmpString = tmpString.substr(0,x);
 
   
 

[flexcoders] SWC creation in Flash...AS goes where?

2005-11-01 Thread Mink, Joseph





Hi,
 
I'm using Flash 
Studio 8 (demo version) for the 1st time...I see how to create SWCs - I create a 
new Flash document, I do some drawing on the stage, then select what I want to 
componentize, and drag it to the symbols panel.  My new (movie clip) symbol 
would be my complete SWC, but I 1st need to write the necessary AS to extend 
mx.core.UIObject, right?
 
Any idea where this 
AS gets written?  My apologies for being slightly off 
topic...
 
Thanks,
Joey Mink
[Software Engineer @ Solers, 
Inc.]
Voice: 703 480 2450
Fax: 703 263 2663
[EMAIL PROTECTED]
 





--
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
  

   
  







  
  
  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.



  









re: [flexcoders] new member

2005-11-01 Thread Torben Nielsen
Hi Justin,

I would advice you to buy a couple of books written by Colin Moock with the 
following titles:

-Actionscipt for Flash MX the definitive guide, second edition

-Essential actionscript 2.0

Best regards.

Torben Nielsen
Starvision Studios

"Justin" <[EMAIL PROTECTED]> wrote:
__
>Hello, I am an up coming Interactive Media Designer in the Houston
>area. I need to learn actionscript 2.0.  I have heard that O'Reilly
>puts out a good book.  I know very little. I can create navigation and
>that is about it.  Any suggestions?
>
>Thanks,
>Justin
>
>
>
>
>
>
>--
>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
>
>
>
> 
>
>
>
>






 Yahoo! Groups Sponsor ~--> 
Most low income households are not online. Help bridge the digital divide today!
http://us.click.yahoo.com/cd_AJB/QnQLAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




[flexcoders] Re: Flex 2:Package/Class problem

2005-11-01 Thread Greg Johnson
Hmm, well that pokes a hole in that plan.  If I have to create a 
bunch of different files it kinda is contrary to my goal of combining 
things into one main generic library :(

--- In flexcoders@yahoogroups.com, "Geoffrey Williams" <[EMAIL PROTECTED]> 
wrote:
>
> You can only have one public function / class / prop per .as file. 
Also, the
> .as files name must match that of the function / class / prop.
> 
> -Original Message-
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of Greg Johnson
> Sent: Tuesday, November 01, 2005 9:43 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Flex 2:Package/Class problem
> 
> I am tryinig to create a class with functions that I use repeatedly 
> so I can just include them in different components/applications.  
As 
> far as I can tell I have written it correctly, but when I use an 
> include, and they try calling one of the functions, it doesn't work.
> 
> Here is the package
> package mrstd{
>   // Imported Libraries
>   import mx.managers.PopUpManager;
>   import mx.containers.TitleWindow;
>   import mx.controls.gridclasses.DataGridColumn;
>   import mx.managers.DragManager;
>   import mx.events.DragEvent;
>   import mx.formatters.*
>   import flash.util.Timer;
> 
>   // Standard Library Class
>   public class stdlib {
>   // Does what it says, used when a function has to be 
> called, but you don't actually want to do anything
>   public function doNothing():Void {} 
> 
>   // Get Today's Date as a string
>   public function getToday():String {
>   var today_date:Date = new Date();
>   var date_str:String = ((today_date.getMonth()
> +1)+"/"+today_date.getDate()+"/"+today_date.getFullYear());
>   return date_str;
>   }
>   }
>   
>   // Mouse Related Functions
>   public class mouseHandlers {
>   // Handles drag and drop events.
>   public function doDragDrop(event:DragEvent):Void {
>   private var items:Array = 
> event.dragSource.dataForFormat("items");
>   private var dest:Object = event.currentTarget;
>   private var dropLoc:int = dest.getDropLocation
> ();
>   dest.hideDropFeedback(event);
>   items.reverse();
>   var l:int = items.length;
>   for(var i:int = 0; i < l; i++) {
>   dest.dataProvider.addItemAt(items[i], 
> dropLoc);
>   }
>   event.preventDefault();
>   }   
> 
>   // Variables used for detectDoubleClick function
>   private var lastClick:int = 0;
>   private var lastObject:Object = new Object();;
>   private var lastIndex:int = 0;
>   private var maxTicks:int = 300;
> 
>   // Detect if a double click was made and if so, call 
> a function
>   public function detectDoubleClick(event:Object, 
> functionToCall:Function, ... args):Void {
>   var currentClick:int;
>   var currentObject:Object;
>   var currentIndex:int;
>   var clickDif:int;
>   currentClick = getTimer();
>   currentObject = event.target;
>   currentIndex = event.index;
>   clickDif = currentClick - lastClick;
>   if( clickDif <= maxTicks && currentObject == 
> lastObject && currentIndex == lastIndex ) {
>   lastClick = currentClick;
>   lastObject = currentObject;
>   lastIndex = currentIndex;
>   if (args[0] == null) {
>   functionToCall();
>   } else {
>   functionToCall(args);
>   }
>   }
>   lastClick = currentClick;
>   lastObject = currentObject;
>   lastIndex = currentIndex;
>   }
>   }
>   
>   // Standard Formaters
>   public class formaters {
>   private var StdMoneyFormat:CurrencyFormatter = new 
> CurrencyFormatter();
>   private var StdDateFormat:DateFormatter = new 
> DateFormatter();
>   StdMoneyFormat.precision=2;
>   // Formats a dataGrid cell as money
>   public function formatMoney(dpItem:Object, 
> dgColumn:DataGridColumn):String {
>   return StdMoneyFormat.format(dpItem
> [dgColumn.columnName]);
>   }
> 
>   // Formats a dataGrid cell as a date
>   public fu

RE: [flexcoders] SWC creation in Flash...AS goes where?

2005-11-01 Thread Mink, Joseph





Well, there's some kinda progress going on here : )  I 
am now getting the following error when I try to use my SWC:
 
 1 Error, 1 Warning found. 
 Warning 
C:\Program Files\Apache Software Foundation\Tomcat 
5.0\webapps\ADSFlexApp\FlashGraphNode.swc is inconsistent/corrupt, no SWF 
definition found for FlashGraphNode
 
Any thoughts on what this means?  
Thanks...


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Mink, 
JosephSent: Tuesday, November 01, 2005 10:32 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] SWC creation in 
Flash...AS goes where?

Hi,
 
I'm using Flash 
Studio 8 (demo version) for the 1st time...I see how to create SWCs - I create a 
new Flash document, I do some drawing on the stage, then select what I want to 
componentize, and drag it to the symbols panel.  My new (movie clip) symbol 
would be my complete SWC, but I 1st need to write the necessary AS to extend 
mx.core.UIObject, right?
 
Any idea where this 
AS gets written?  My apologies for being slightly off 
topic...
 
Thanks,
Joey Mink
[Software Engineer @ Solers, 
Inc.]
Voice: 703 480 2450
Fax: 703 263 2663
[EMAIL PROTECTED]
 





--
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] Caingorm Tutorials or HowTos

2005-11-01 Thread Jordan Snyder



Hello All,
 
I'm looking to learn the Cairngorm microarchitecture, but I'm having a hard time finding anything that actually explains the design patterns used...I can only find sample code.  I'd like to understand some of the concepts behind the code, so that I can have a complete understanding of everything involved.  I could modify the code a little to suit my needs and go through a few weeks of developing test apps in that way, but I don't have that kind of time just lying around here.  Any references to books, online tutes, etc. would be GREATLY appreciated.

 
 
Cheers,-- Jordan SnyderApplications DeveloperImageAction, USAhttp://www.imageaction.com 






--
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
  

   
  







  
  
  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.



  









RE: [flexcoders] SWC creation in Flash...AS goes where?

2005-11-01 Thread Roger Gonzalez





You need to make sure that you are exporting a Player 7 SWF.. the SWC 
export seems to also respect that setting, even though its off in a different 
menu.
 
You shouldn't need to (and in fact just shouldn't) extend UIObject, just 
mark as "export for actionscript".  Then, use Embed to pull in the named 
symbol.
 
-RogerRoger 
Gonzalez[EMAIL PROTECTED] 
 

  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of Mink, 
  JosephSent: Tuesday, November 01, 2005 7:32 AMTo: 
  flexcoders@yahoogroups.comSubject: [flexcoders] SWC creation in 
  Flash...AS goes where?
  
  Hi,
   
  I'm using Flash 
  Studio 8 (demo version) for the 1st time...I see how to create SWCs - I create 
  a new Flash document, I do some drawing on the stage, then select what I want 
  to componentize, and drag it to the symbols panel.  My new (movie clip) 
  symbol would be my complete SWC, but I 1st need to write the necessary AS to 
  extend mx.core.UIObject, right?
   
  Any idea where 
  this AS gets written?  My apologies for being slightly off 
  topic...
   
  Thanks,
  Joey Mink
  [Software Engineer @ Solers, 
  Inc.]
  Voice: 703 480 2450
  Fax: 703 263 2663
  [EMAIL PROTECTED]
   





--
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
  

   
  







  
  
  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.



  









RE: [flexcoders] Re: Flex 2:Package/Class problem

2005-11-01 Thread Roger Gonzalez
How so?  A library isn't one file.

You should package everything up by making a manifest file so that you
can use your classes as MXML tags, and then use compc.exe to bundle a
SWC.  You can also bundle in additional stuff like icons and CSS and
whatnot.

Its a much more efficient distribution and packaging mechanism!

-Roger

Roger Gonzalez
mailto:[EMAIL PROTECTED]
 

> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of Greg Johnson
> Sent: Tuesday, November 01, 2005 8:05 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Flex 2:Package/Class problem
> 
> Hmm, well that pokes a hole in that plan.  If I have to create a 
> bunch of different files it kinda is contrary to my goal of combining 
> things into one main generic library :(
> 
> --- In flexcoders@yahoogroups.com, "Geoffrey Williams" <[EMAIL PROTECTED]> 
> wrote:
> >
> > You can only have one public function / class / prop per .as file. 
> Also, the
> > .as files name must match that of the function / class / prop.
> > 
> > -Original Message-
> > From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On
> > Behalf Of Greg Johnson
> > Sent: Tuesday, November 01, 2005 9:43 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Flex 2:Package/Class problem
> > 
> > I am tryinig to create a class with functions that I use repeatedly 
> > so I can just include them in different components/applications.  
> As 
> > far as I can tell I have written it correctly, but when I use an 
> > include, and they try calling one of the functions, it doesn't work.
> > 
> > Here is the package
> > package mrstd{
> > // Imported Libraries
> > import mx.managers.PopUpManager;
> > import mx.containers.TitleWindow;
> > import mx.controls.gridclasses.DataGridColumn;
> > import mx.managers.DragManager;
> > import mx.events.DragEvent;
> > import mx.formatters.*
> > import flash.util.Timer;
> > 
> > // Standard Library Class
> > public class stdlib {
> > // Does what it says, used when a function has to be 
> > called, but you don't actually want to do anything
> > public function doNothing():Void {} 
> > 
> > // Get Today's Date as a string
> > public function getToday():String {
> > var today_date:Date = new Date();
> > var date_str:String = ((today_date.getMonth()
> > +1)+"/"+today_date.getDate()+"/"+today_date.getFullYear());
> > return date_str;
> > }
> > }
> > 
> > // Mouse Related Functions
> > public class mouseHandlers {
> > // Handles drag and drop events.
> > public function doDragDrop(event:DragEvent):Void {
> > private var items:Array = 
> > event.dragSource.dataForFormat("items");
> > private var dest:Object = event.currentTarget;
> > private var dropLoc:int = dest.getDropLocation
> > ();
> > dest.hideDropFeedback(event);
> > items.reverse();
> > var l:int = items.length;
> > for(var i:int = 0; i < l; i++) {
> > dest.dataProvider.addItemAt(items[i], 
> > dropLoc);
> > }
> > event.preventDefault();
> > }   
> > 
> > // Variables used for detectDoubleClick function
> > private var lastClick:int = 0;
> > private var lastObject:Object = new Object();;
> > private var lastIndex:int = 0;
> > private var maxTicks:int = 300;
> > 
> > // Detect if a double click was made and if so, call 
> > a function
> > public function detectDoubleClick(event:Object, 
> > functionToCall:Function, ... args):Void {
> > var currentClick:int;
> > var currentObject:Object;
> > var currentIndex:int;
> > var clickDif:int;
> > currentClick = getTimer();
> > currentObject = event.target;
> > currentIndex = event.index;
> > clickDif = currentClick - lastClick;
> > if( clickDif <= maxTicks && currentObject == 
> > lastObject && currentIndex == lastIndex ) {
> > lastClick = currentClick;
> > lastObject = currentObject;
> > lastIndex = currentIndex;
> > if (args[0] == null) {
> > functionToCall();
> > } else {
> > functionToCall(args);
> > }
> > }
> > lastClick = currentClick;
> > lastObject = currentObject;
> >

[flexcoders] FlexBuilder 2.0 - Network Monitor

2005-11-01 Thread Boddula, Sridhar

We used to have network monitor feature in FlexBuilder 1.5.
I couldn't see network monitor in FlexBuilder 2.0. Is there any feature
similar to network monitor in FlexBuilder 2.0

Thanks,

Sridhar Boddula,
EIS - New Tech. Development
617-664-8566(Work)


 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] setting value to datefield text..

2005-11-01 Thread Douglas Knudsen
thanks to Macromedia Gold, nice towels guys, we have an answer.  Look
at using the doLater() method on this line
daDate.selectedDate = tempDate;

bamm!


DK


On 9/10/05, Matt Chotin <[EMAIL PROTECTED]> wrote:
>
>
> Try "change" or "valueCommitted" maybe?
>
>
>
> Matt
>
>
> 
>
>
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Greg Morphis
> Sent: Friday, September 09, 2005 10:49 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] setting value to datefield text..
>
>
>
> As per my previous post I've having problems trying to set the value
> of the textbox of the datefield component. I've tried mouseUp,
> mouseDown and offFocus.
> Is there a way of doing this so it's seemingly unnoticable to the user?
>
> I have a function that sets the selectedDate value..
>
>   function getNextSaturday(date)
>   {
> // define variables
> var cMonth;
> var cYear;
> var cDay;
> var dayNum;
> var tempDate;
>
> // set variables
> cMonth = (date.getMonth());
> cYear = date.getFullYear();
> cDay = date.getDate();
> dayNum = date.getDay();
>
> // create date object for the next Saturday of the date chosen
> tempDate = new Date (cYear,cMonth,cDay + (6 - dayNum));
>
> // set the datefield's value to your date object
> daDate.selectedDate = tempDate;
>
> //daDate.text=;
>   }
>
> I know it's the text value you want to change but every event I try
> fails to change it.
> offFocus works however the user has to click elsewhere to see it's effect.
> The mouseDown and mouseUp, if they work they're changed back. I did
> notice the mouseUp works AFTER you select the value and then reclick
> on the datefield component.
>
> Is there an event I'm missing?
>
> Thanks!
>
>
> --
> Auxilium meum a Domino
>
>
>
> --
> 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.
>  To unsubscribe from this group, send an email to:
>  [EMAIL PROTECTED]
>
>  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> 
>
>
>


--
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it?


 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





[flexcoders] Re: Flex 2:Package/Class problem

2005-11-01 Thread Greg Johnson
This is a part I didn't even get a chance to get into with 1.5 so im 
coming kinda late in 2.

In my post you saw the functions that I want to make so I can use 
them all over without having to 
use "mx.core.Application.application." every time I use one.

Most of them I use in .as files not .mxml files.  And the ones I use 
in the .mxml files I usually use as function calls.  Like for a grid 
column that contains a date, I use the dateFunction parameter and 
give the function name.

I have looked at the interface and class builder "wizards".  But 
didn't really get anywhere with them.  I definatly need to optimize 
as much as I can as the applications I will be working on are going 
to be extensive in some cases.

Can you point me somewhere that shows how to build a "library" that I 
can use in any code I have by just putting in the import 
mylib.whatever.*?

Thanks
Greg

--- In flexcoders@yahoogroups.com, "Roger Gonzalez" <[EMAIL PROTECTED]> 
wrote:
>
> How so?  A library isn't one file.
> 
> You should package everything up by making a manifest file so that 
you
> can use your classes as MXML tags, and then use compc.exe to bundle 
a
> SWC.  You can also bundle in additional stuff like icons and CSS and
> whatnot.
> 
> Its a much more efficient distribution and packaging mechanism!
> 
> -Roger
> 
> Roger Gonzalez
> mailto:[EMAIL PROTECTED]
>  
> 
> > -Original Message-
> > From: flexcoders@yahoogroups.com 
> > [mailto:[EMAIL PROTECTED] On Behalf Of Greg Johnson
> > Sent: Tuesday, November 01, 2005 8:05 AM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Re: Flex 2:Package/Class problem
> > 
> > Hmm, well that pokes a hole in that plan.  If I have to create a 
> > bunch of different files it kinda is contrary to my goal of 
combining 
> > things into one main generic library :(
> > 
> > --- In flexcoders@yahoogroups.com, "Geoffrey Williams" 
<[EMAIL PROTECTED]> 
> > wrote:
> > >
> > > You can only have one public function / class / prop per .as 
file. 
> > Also, the
> > > .as files name must match that of the function / class / prop.
> > > 
> > > -Original Message-
> > > From: flexcoders@yahoogroups.com 
> > [mailto:[EMAIL PROTECTED] On
> > > Behalf Of Greg Johnson
> > > Sent: Tuesday, November 01, 2005 9:43 AM
> > > To: flexcoders@yahoogroups.com
> > > Subject: [flexcoders] Flex 2:Package/Class problem
> > > 
> > > I am tryinig to create a class with functions that I use 
repeatedly 
> > > so I can just include them in different 
components/applications.  
> > As 
> > > far as I can tell I have written it correctly, but when I use 
an 
> > > include, and they try calling one of the functions, it doesn't 
work.
> > > 
> > > Here is the package
> > > package mrstd{
> > >   // Imported Libraries
> > >   import mx.managers.PopUpManager;
> > >   import mx.containers.TitleWindow;
> > >   import mx.controls.gridclasses.DataGridColumn;
> > >   import mx.managers.DragManager;
> > >   import mx.events.DragEvent;
> > >   import mx.formatters.*
> > >   import flash.util.Timer;
> > > 
> > >   // Standard Library Class
> > >   public class stdlib {
> > >   // Does what it says, used when a function has to be 
> > > called, but you don't actually want to do anything
> > >   public function doNothing():Void {} 
> > > 
> > >   // Get Today's Date as a string
> > >   public function getToday():String {
> > >   var today_date:Date = new Date();
> > >   var date_str:String = ((today_date.getMonth()
> > > +1)+"/"+today_date.getDate()+"/"+today_date.getFullYear());
> > >   return date_str;
> > >   }
> > >   }
> > >   
> > >   // Mouse Related Functions
> > >   public class mouseHandlers {
> > >   // Handles drag and drop events.
> > >   public function doDragDrop(event:DragEvent):Void {
> > >   private var items:Array = 
> > > event.dragSource.dataForFormat("items");
> > >   private var dest:Object = event.currentTarget;
> > >   private var dropLoc:int = dest.getDropLocation
> > > ();
> > >   dest.hideDropFeedback(event);
> > >   items.reverse();
> > >   var l:int = items.length;
> > >   for(var i:int = 0; i < l; i++) {
> > >   dest.dataProvider.addItemAt(items[i], 
> > > dropLoc);
> > >   }
> > >   event.preventDefault();
> > >   }   
> > > 
> > >   // Variables used for detectDoubleClick function
> > >   private var lastClick:int = 0;
> > >   private var lastObject:Object = new Object();;
> > >   private var lastIndex:int = 0;
> > >   private var maxTicks:int = 300;
> > > 
> > >   // Detect if a double click was made and if so, call 
> > > a function
> > >   public function detectDoubleClick(event:Object, 
> > > functionToCall:Function, ... a

RE: [flexcoders] FlexBuilder 2.0 - Network Monitor

2005-11-01 Thread Matt Chotin










Not yet, we’re figuring out what we
can provide.

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Boddula, Sridhar
Sent: Tuesday, November 01, 2005
11:34 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FlexBuilder
2.0 - Network Monitor



 


We used to have network monitor feature in
FlexBuilder 1.5.
I couldn't see network monitor in FlexBuilder 2.0.
Is there any feature
similar to network monitor in FlexBuilder 2.0

Thanks,

Sridhar Boddula,
EIS - New Tech. Development
617-664-8566(Work)








--
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
  

   
  







  
  
  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] CFadapter session problem

2005-11-01 Thread Rafael M. Martinelli





Hi 
people!!!
 
I configured the cfadapter and I'm using Flex 2 
with it. I had no problem and it was working very well.
 
By the time I configured my Apllication.cfc it 
starts to generate an error.
 
My simple Application.cfc looks like 
this:
 
  
 
Making some tests I realized that it I comment 
 and  it starts to work 
again.
 
Do you know why?
 
Thanks
 
Rafael M. 
Martinelli 





--
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] Is there a way to force a toolTip to show rather than rolling mouse over ?

2005-11-01 Thread parinda_b_patel
Hi,

Is there a way to fire an event or something so that the toolTip on a
datagrid control shows up ? I know currently the toolTip shows up
after you mouse over certain row in a datagrid, provided that you have
supplied dataTipFunction . But if you need to programatically show it
without mousing over is that possible ?

Second question I have is that I have a tree in which I want to show
the toolTip only if the label is partially visible on the tree-node.
For nodes whose labels are short and they are visible fully , I do not
want the toolTip to show up.Is there a way to show toolTips only when
you wish and turn it off for other rows?

Thanks in advance






 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





RE: [flexcoders] Re: Flex 2:Package/Class problem

2005-11-01 Thread Roger Gonzalez
This seems like you're talking about a couple different things here.
I'm not sure I understand where mx.core.Application.application comes
into it.

You can do the same thing with source as you can with a SWC;

Make a new directory tree, looks like you're using mrstd.

Then, you'll make one source file per class (that you are currently
putting in one file).  Name the source file the same as the classname.

BTW - several of your utility functions should probably really be static
- there's no reason to create a class instance just to call a function
when there are no vars on the object!

Add the directory one level above the mrstd directory to your
actionscript-classpath (either via the flex-config file or by setting it
in FlexBuilder; Project > ActionScript Build Path > Class path.

When you want to use these classes from some other file, just do
import mrstd.*;

Use the classes as you would expect.

This should get you most of the way there.

Ok, so what if you want to hand your mrstd classes off to someone else?
Or maybe you don't want to keep compiling them?  That's when you need a
SWC.  Unfortunately, the alpha build of FlexBuilder doesn't have any SWC
support built-in, so you need to drop down to the command line.

Run compc.exe -i source source source -o mrstd.swc

Go back into FlexBuilder, and remove the mrstd directory from the
classpath, and add the mrstd.swc file to the library path tab.

Is this what you need?

-Roger

Roger Gonzalez
mailto:[EMAIL PROTECTED]
 

> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of Greg Johnson
> Sent: Tuesday, November 01, 2005 11:45 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Flex 2:Package/Class problem
> 
> This is a part I didn't even get a chance to get into with 1.5 so im 
> coming kinda late in 2.
> 
> In my post you saw the functions that I want to make so I can use 
> them all over without having to 
> use "mx.core.Application.application." every time I use one.
> 
> Most of them I use in .as files not .mxml files.  And the ones I use 
> in the .mxml files I usually use as function calls.  Like for a grid 
> column that contains a date, I use the dateFunction parameter and 
> give the function name.
> 
> I have looked at the interface and class builder "wizards".  But 
> didn't really get anywhere with them.  I definatly need to optimize 
> as much as I can as the applications I will be working on are going 
> to be extensive in some cases.
> 
> Can you point me somewhere that shows how to build a "library" that I 
> can use in any code I have by just putting in the import 
> mylib.whatever.*?
> 
> Thanks
> Greg
> 
> --- In flexcoders@yahoogroups.com, "Roger Gonzalez" <[EMAIL PROTECTED]> 
> wrote:
> >
> > How so?  A library isn't one file.
> > 
> > You should package everything up by making a manifest file so that 
> you
> > can use your classes as MXML tags, and then use compc.exe to bundle 
> a
> > SWC.  You can also bundle in additional stuff like icons and CSS and
> > whatnot.
> > 
> > Its a much more efficient distribution and packaging mechanism!
> > 
> > -Roger
> > 
> > Roger Gonzalez
> > mailto:[EMAIL PROTECTED]
> >  
> > 
> > > -Original Message-
> > > From: flexcoders@yahoogroups.com 
> > > [mailto:[EMAIL PROTECTED] On Behalf Of Greg Johnson
> > > Sent: Tuesday, November 01, 2005 8:05 AM
> > > To: flexcoders@yahoogroups.com
> > > Subject: [flexcoders] Re: Flex 2:Package/Class problem
> > > 
> > > Hmm, well that pokes a hole in that plan.  If I have to create a 
> > > bunch of different files it kinda is contrary to my goal of 
> combining 
> > > things into one main generic library :(
> > > 
> > > --- In flexcoders@yahoogroups.com, "Geoffrey Williams" 
> <[EMAIL PROTECTED]> 
> > > wrote:
> > > >
> > > > You can only have one public function / class / prop per .as 
> file. 
> > > Also, the
> > > > .as files name must match that of the function / class / prop.
> > > > 
> > > > -Original Message-
> > > > From: flexcoders@yahoogroups.com 
> > > [mailto:[EMAIL PROTECTED] On
> > > > Behalf Of Greg Johnson
> > > > Sent: Tuesday, November 01, 2005 9:43 AM
> > > > To: flexcoders@yahoogroups.com
> > > > Subject: [flexcoders] Flex 2:Package/Class problem
> > > > 
> > > > I am tryinig to create a class with functions that I use 
> repeatedly 
> > > > so I can just include them in different 
> components/applications.  
> > > As 
> > > > far as I can tell I have written it correctly, but when I use 
> an 
> > > > include, and they try calling one of the functions, it doesn't 
> work.
> > > > 
> > > > Here is the package
> > > > package mrstd{
> > > > // Imported Libraries
> > > > import mx.managers.PopUpManager;
> > > > import mx.containers.TitleWindow;
> > > > import mx.controls.gridclasses.DataGridColumn;
> > > > import mx.managers.DragManager;
> > > > import mx.events.DragEvent;
> > > > import mx.formatters.*
> >

[flexcoders] Re: FlexBuilder 2.0 - Network Monitor

2005-11-01 Thread Dave Wolf

In the meantime you might check out the TCP Tunnel GUI which ships
with the SOAP toolkit from Apache.  Its a small proxy server that can
sit between two hosts (say a flex GUI and the proxy or service) and
will spit out the network traffic.  Its invaluable in debugging remote
calls.

-- 
Dave Wolf
Cynergy Systems, Inc.
Macromedia Flex Alliance Partner
http://www.cynergysystems.com

Email: [EMAIL PROTECTED]
Office: 866-CYNERGY

--- In flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> Not yet, we're figuring out what we can provide.
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Boddula, Sridhar
> Sent: Tuesday, November 01, 2005 11:34 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] FlexBuilder 2.0 - Network Monitor
> 
>  
> 
> 
> We used to have network monitor feature in FlexBuilder 1.5.
> I couldn't see network monitor in FlexBuilder 2.0. Is there any feature
> similar to network monitor in FlexBuilder 2.0
> 
> Thanks,
> 
> Sridhar Boddula,
> EIS - New Tech. Development
> 617-664-8566(Work)
> 
> 
> --
> 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
>  site+design+development&w2=Computer+software+development&w3=Software+des
> ign+and+development&w4=Macromedia+flex&c=4&s=126&.sig=ynjozILdtUiijfLjiz
> 5l1Q>  
> 
> Computer software development
>  b+site+design+development&w2=Computer+software+development&w3=Software+d
> esign+and+development&w4=Macromedia+flex&c=4&s=126&.sig=i_RMdAMzxP1R8fB7
> NcnaqQ>  
> 
> Software design and development
>  Web+site+design+development&w2=Computer+software+development&w3=Software
> +design+and+development&w4=Macromedia+flex&c=4&s=126&.sig=4g8hODKyQov1GX
> OxaXG2Sg>  
> 
> Macromedia flex
>  development&w2=Computer+software+development&w3=Software+design+and+deve
> lopment&w4=Macromedia+flex&c=4&s=126&.sig=hhODNnONza_qi3x2OWe-Qg>  
> 
>  
> 
>  
> 
>  
> 
> 
> 
> 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  . 
> 
>  
> 
> 
>






 Yahoo! Groups Sponsor ~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] Re: FlexBuilder 2.0 - Network Monitor

2005-11-01 Thread Clint Modien



I also remember seeing this tool in a blog.
 
http://kevinlangdon.com/serviceCapture/
 
looked pretty kewl 
On 11/1/05, Dave Wolf <[EMAIL PROTECTED]> wrote:
In the meantime you might check out the TCP Tunnel GUI which shipswith the SOAP toolkit from Apache.  Its a small proxy server that can
sit between two hosts (say a flex GUI and the proxy or service) andwill spit out the network traffic.  Its invaluable in debugging remotecalls.--Dave WolfCynergy Systems, Inc.Macromedia Flex Alliance Partner
http://www.cynergysystems.comEmail: [EMAIL PROTECTED]Office: 866-CYNERGY--- In 
flexcoders@yahoogroups.com, "Matt Chotin" <[EMAIL PROTECTED]> wrote:>> Not yet, we're figuring out what we can provide. >
> From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On> Behalf Of Boddula, Sridhar> Sent: Tuesday, November 01, 2005 11:34 AM
> To: flexcoders@yahoogroups.com> Subject: [flexcoders] FlexBuilder 2.0 - Network Monitor> We used to have network monitor feature in FlexBuilder 
1.5.> I couldn't see network monitor in FlexBuilder 2.0. Is there any feature> similar to network monitor in FlexBuilder 2.0>> Thanks,>> Sridhar Boddula,> EIS - New Tech. Development
> 617-664-8566(Work)>>> --> 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>  site+design+development&w2=Computer+software+development&w3=Software+des> ign+and+development&w4=Macromedia+flex&c=4&s=126&.sig=ynjozILdtUiijfLjiz> 5l1Q>>> Computer software development
>  b+site+design+development&w2=Computer+software+development&w3=Software+d
> esign+and+development&w4=Macromedia+flex&c=4&s=126&.sig=i_RMdAMzxP1R8fB7> NcnaqQ>>> Software design and development> <
http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1=> Web+site+design+development&w2=Computer+software+development&w3=Software> +design+and+development&w4=Macromedia+flex&c=4&s=126&.sig=4g8hODKyQov1GX
> OxaXG2Sg>>> Macromedia flex>  development&w2=Computer+software+development&w3=Software+design+and+deve> lopment&w4=Macromedia+flex&c=4&s=126&.sig=hhODNnONza_qi3x2OWe-Qg>
 >> YAHOO! GROUPS LINKS *  Visit your group "flexcoders> <
http://groups.yahoo.com/group/flexcoders> " on the web.>> *  To unsubscribe from this group, send an email to:>[EMAIL PROTECTED]
> [EMAIL PROTECTED]?subject=Unsubscribe>>> *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service  . > Yahoo! Groups Sponsor ~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM~->
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links<*> To visit your group on the web, go to:   http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:   [EMAIL PROTECTED]<*> Your use of Yahoo! Groups is subject to:
   http://docs.yahoo.com/info/terms/






--
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
  

   
  







  
  
  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.



  









Re: [flexcoders] script time warning and Flash Player 8

2005-11-01 Thread superabe superabe



Just realized that the script timeout popup is not showing on the regular Flash Player 8 (i.e non -debug version).
Of course I tested this on another pc, so it could be that machine is faster ...though unlikely
 
- superabe 
On 11/1/05, Tracy Spratt <[EMAIL PROTECTED]> wrote:


Yes, I really need this.
 
Jesse, if you are still following this thread: Besides moving my entire process to the server(which would take me several weeks, and this is a rare condition that only a developer will see), is there anyway to "refactor"  a single process?  The is the massive calculation (in this case it is building two 30,000 node trees) that made me implement your status variable and doLater strategy in order to give the user some visible feedback while this process is running.  It is broken up into individual function calls, but it still triggers the time-out.

 
Tracy
  
 




From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] 
On Behalf Of superabe superabeSent: Monday, October 31, 2005 6:04 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] script time warning and Flash Player 8

 

I do hope to refactor and optimize the code eventually, but I think the option to override the default  time limit of 60 seconds for your script should be made available.


- superabe

 

On 10/31/05, JesterXL <
[EMAIL PROTECTED]> wrote: 

I never knew it was an issue.

 

Incidentally, I think that is one of the worst features Macromedia could of implemented in Flex, although, I understand why they did it.


 

My opinion; if you are using that attribute of the application tag, it's time to refactor whatever part of your code requires it.



 

- Original Message - 

From:
 superabe superabe 

To: 
flexcoders@yahoogroups.com 

Sent: Monday, October 31, 2005 10:36 AM


Subject: [flexcoders] script time warning and Flash Player 8


 

Hello list, 

 

resending this, hoping somebody has an answer.

 

The scriptTimeOut property for the application tag does not seem to beworking. (I am testing the app using the debug version of Flash Player 8).
I saw a thread reporting this issue in the flexcoders listhttp://www.mail-archive.com/flexcoders@yahoogroups.com/msg11465.html
But no definitive answer there...Anybody on the list know if this has been resolved ?TIA,superabe 

--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 Mailing ListFAQ: 
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
SPONSORED LINKS 




Web site design development 

Computer software development 

Software design and development 


Macromedia flex 


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 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
  

   
  







  
  
  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.



  









RE: [flexcoders] script time warning and Flash Player 8

2005-11-01 Thread Tracy Spratt










I got the latest from the MM site and it
did not respect my settings.

Tracy

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of superabe superabe
Sent: Tuesday, November 01, 2005
5:56 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] script
time warning and Flash Player 8



 



Just realized that the script timeout popup is not showing on the
regular Flash Player 8 (i.e non -debug version).





Of course I tested this on another pc, so it could be that machine is
faster ...though unlikely





 





- superabe

 





On 11/1/05, Tracy Spratt <[EMAIL PROTECTED]> wrote:




Yes, I really need this.

 

Jesse, if you are still following this thread: Besides moving
my entire process to the server(which would take me several weeks, and this is
a rare condition that only a developer will see), is there anyway to
"refactor"  a single process?  The is the massive
calculation (in this case it is building two 30,000 node trees) that made me
implement your status variable and doLater strategy in order to give the user
some visible feedback while this process is running.  It is broken up into
individual function calls, but it still triggers the time-out. 

 

Tracy   

 









From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of superabe superabe
Sent: Monday, October 31, 2005
6:04 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] script
time warning and Flash Player 8





 



I do hope
to refactor and optimize the code eventually, but I think the option
to override the default  time limit of 60 seconds for your
script should be made available. 





-
superabe







 





On
10/31/05, JesterXL <
[EMAIL PROTECTED]> wrote: 



I
never knew it was an issue.





 





Incidentally,
I think that is one of the worst features Macromedia could of implemented in
Flex, although, I understand why they did it. 





 





My
opinion; if you are using that attribute of the application tag, it's time to
refactor whatever part of your code requires it. 







 





-
Original Message - 



From: superabe
superabe 





To: flexcoders@yahoogroups.com 





Sent: Monday, October 31, 2005 10:36 AM 





Subject: [flexcoders] script time warning
and Flash Player 8 








 





Hello
list, 





 





resending
this, hoping somebody has an answer.





 





The
scriptTimeOut property for the application tag does not seem to be
working. (I am testing the app using the debug version of Flash Player 8).
I saw a thread reporting this issue in the flexcoders list
http://www.mail-archive.com/flexcoders@yahoogroups.com/msg11465.html


But no definitive answer there...

Anybody on the list know if this has been resolved ?

TIA,

superabe
 









--
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 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 
  
  
   
  
  
   
  
 


 







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 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
  

   
  







  
  
  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.



  











RE: [flexcoders] CFadapter session problem

2005-11-01 Thread Dan Plesse










I think you have to place the stuff inside
one of the methods. OnRequestStart() or On something. Report back on which one.
Thanks Dan 

 

 

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Rafael M. Martinelli
Sent: Tuesday, November 01, 2005
3:17 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] CFadapter
session problem



 



Hi people!!!





 





I configured the cfadapter and I'm using Flex 2 with it. I
had no problem and it was working very well.





 





By the time I configured my Apllication.cfc it starts to
generate an error.





 





My simple Application.cfc looks like this:





 






 
 
 
 
 
 






 





Making some tests I realized that it I comment  and 
it starts to work again.





 





Do you know why?





 





Thanks





 



Rafael M. Martinelli 









--
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.



  











Re: [flexcoders] script time warning and Flash Player 8

2005-11-01 Thread JesterXL





If you've:
- stepped back, and gotten other people's feedback 
on another possible solution; mainly to prevent a forest for the trees 
perception of how to solve a problem
- confirmed moving it to the server would truly 
take too much development time
- implemented something like this like you 
mentioned you did:
http://www.jessewarden.com/archives/2005/05/flex_flash_refr.html
- upped the scriptTimeoutLimit
 
Then all I can say is improve on the above by only 
processing as many nodes as you can per frame on the lowest target platform 
you're willing to support.  In my multimedia days, we'd pick a target 
platform CPU/RAM spec, test for that, and to hell with the rest.
 
The moniker of "web app" however apparently brings 
the moral responsibility of "working well for the masses".  App & Page 
are 2 different things, but many people apparently can't tell the 2 
apart.
 
...sorry for the rant; um, you could implement a 
timer solution.  Basically, instead of "processing 5 nodes per frame 
because that apparently works well on most machines", you could instead 
implement a timer that, if it takes longer than 8 to 10 seconds, it waits a 
frame.  The risk with this is if one node is particulary long it could 
accidentally call the script timeout... BUT sometimes you may process just a few 
more nodes than you usually would.
 
Another solution is to offload some things to 
_javascript_.  _javascript_, for example, has RegExp, and it's fast; Flash does 
not yet.  _javascript_ Pre-Flash 8.5 is faster a lot of times for some data 
operations; see if _javascript_ can help too.
 
Good luck!
 
- Original Message - 
From: Tracy Spratt 

To: flexcoders@yahoogroups.com 
Sent: Tuesday, November 01, 2005 12:35 PM
Subject: RE: [flexcoders] script time warning and Flash Player 
8


Yes, I really need 
this.
 
Jesse, if you are still 
following this thread: Besides moving my entire process to the server(which 
would take me several weeks, and this is a rare condition that only a developer 
will see), is there anyway to “refactor”  a single process?  The is 
the massive calculation (in this case it is building two 30,000 node trees) that 
made me implement your status variable and doLater strategy in order to give the 
user some visible feedback while this process is running.  It is broken up 
into individual function calls, but it still triggers the 
time-out.
 
Tracy  

 




From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of superabe 
superabeSent: Monday, October 
31, 2005 6:04 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] script time 
warning and Flash Player 8
 

I do hope to refactor and optimize the code eventually, 
but I think the option to override the default  time limit of 60 
seconds for your script should be made 
available.

- superabe

 

On 10/31/05, JesterXL <[EMAIL PROTECTED]> 
wrote: 

I never knew it was an 
issue.

 

Incidentally, I think that is one of 
the worst features Macromedia could of implemented in Flex, although, I 
understand why they did it.

 

My opinion; if you are using that 
attribute of the application tag, it's time to refactor whatever part of your 
code requires it.


 

- Original Message - 


From: superabe 
superabe 

To: flexcoders@yahoogroups.com 

Sent: Monday, 
October 31, 2005 10:36 AM

Subject: 
[flexcoders] script time warning and Flash Player 
8

 

Hello list, 

 

resending this, hoping somebody has an 
answer.

 

The scriptTimeOut property for the application tag does 
not seem to beworking. (I am testing the app using the debug version of 
Flash Player 8).I saw a thread reporting this issue in the flexcoders 
listhttp://www.mail-archive.com/flexcoders@yahoogroups.com/msg11465.htmlBut 
no definitive answer there...Anybody on the list know if this has been 
resolved 
?TIA,superabe 

--Flexcoders Mailing ListFAQ: 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 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
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use

RE: [flexcoders] script time warning and Flash Player 8

2005-11-01 Thread Matt Chotin










OK, bad news.  I went searching through
the bugbase and found one for our docs team to add to the migration guide that
the timeout can no longer be greater than 60 seconds.  I’m assuming that
this was actually put into Player 8, not just 8.5 since you’re running
into it.  Guess that means you’re going to need to do some tricks like
Jesse showed, and in your case since you’re building a massive tree I
think this means you’re going to need to basically 

 

- 
build
some nodes

- 
store
temporary state to instance variables

- 
call
doLater using your main function (you can pass parameters to doLater too)

- 
at some
point your method executes the last time and you don’t need to doLater
anymore

 

you can put up a blocker and show the busy
cursor while you’re doing this too (though using a progress bar might be
nicer)

 

Matt









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Tracy Spratt
Sent: Tuesday, November 01, 2005
4:33 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] script
time warning and Flash Player 8



 

I got the latest from the MM site and it
did not respect my settings.

Tracy

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of superabe superabe
Sent: Tuesday, November 01, 2005
5:56 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] script
time warning and Flash Player 8



 



Just realized that the script timeout popup is not showing on the
regular Flash Player 8 (i.e non -debug version).





Of course I tested this on another pc, so it could be that machine is
faster ...though unlikely





 





- superabe

 





On 11/1/05, Tracy Spratt <[EMAIL PROTECTED]> wrote:




Yes, I really need this.

 

Jesse, if you are still following this thread: Besides moving
my entire process to the server(which would take me several weeks, and this is
a rare condition that only a developer will see), is there anyway to
"refactor"  a single process?  The is the massive
calculation (in this case it is building two 30,000 node trees) that made me
implement your status variable and doLater strategy in order to give the user
some visible feedback while this process is running.  It is broken up into
individual function calls, but it still triggers the time-out. 

 

Tracy   

 









From: flexcoders@yahoogroups.com
[mailto:flexcoders@yahoogroups.com]
On Behalf Of superabe superabe
Sent: Monday, October 31, 2005
6:04 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] script
time warning and Flash Player 8





 



I do hope
to refactor and optimize the code eventually, but I think the option
to override the default  time limit of 60 seconds for your
script should be made available. 





-
superabe







 





On
10/31/05, JesterXL <
[EMAIL PROTECTED]> wrote: 



I
never knew it was an issue.





 





Incidentally,
I think that is one of the worst features Macromedia could of implemented in
Flex, although, I understand why they did it. 





 





My
opinion; if you are using that attribute of the application tag, it's time to
refactor whatever part of your code requires it. 







 





-
Original Message - 



From: superabe
superabe 





To: flexcoders@yahoogroups.com 





Sent: Monday, October 31, 2005 10:36 AM 





Subject: [flexcoders] script time warning
and Flash Player 8 








 





Hello
list, 





 





resending
this, hoping somebody has an answer.





 





The
scriptTimeOut property for the application tag does not seem to be
working. (I am testing the app using the debug version of Flash Player 8).
I saw a thread reporting this issue in the flexcoders list
http://www.mail-archive.com/flexcoders@yahoogroups.com/msg11465.html


But no definitive answer there...

Anybody on the list know if this has been resolved ?

TIA,

superabe
 



 



--
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 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 
  
  
   
  
  
   
  
 


 











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 

RE: [flexcoders] Re: FlexBuilder 2.0 - Network Monitor

2005-11-01 Thread Benoit Hediard





If you're using the ColdFusion Adapter and 
RemoteObject/AMF, the default configuration of flex-services.xml will log the 
serialization/deserialization of all AMF packets in the default "out" log (in 
the standalone installation, 
c:/CFusionMX7/runtime/logs/coldfusion-out.log).
 
Benoit Hediard
 
PS: ServiceCapture do not support yet AMF version of 
Flex2.
 



De : 
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] De la part 
de Clint ModienEnvoyé : mardi 1 novembre 2005 
23:18À : flexcoders@yahoogroups.comObjet : Re: 
[flexcoders] Re: FlexBuilder 2.0 - Network Monitor

I also remember seeing this tool in a blog.
 
http://kevinlangdon.com/serviceCapture/
 
looked pretty kewl 
On 11/1/05, Dave Wolf 
<[EMAIL PROTECTED]> wrote: 

In 
  the meantime you might check out the TCP Tunnel GUI which shipswith the 
  SOAP toolkit from Apache.  Its a small proxy server that can sit 
  between two hosts (say a flex GUI and the proxy or service) andwill spit 
  out the network traffic.  Its invaluable in debugging 
  remotecalls.--Dave WolfCynergy Systems, Inc.Macromedia 
  Flex Alliance Partner http://www.cynergysystems.comEmail: 
  [EMAIL PROTECTED]Office: 
  866-CYNERGY--- In flexcoders@yahoogroups.com, "Matt 
  Chotin" <[EMAIL PROTECTED]> wrote:>> Not yet, we're figuring 
  out what we can provide. 
  > > From: flexcoders@yahoogroups.com 
  [mailto:flexcoders@yahoogroups.com] 
  On> Behalf Of Boddula, Sridhar> Sent: Tuesday, November 01, 2005 
  11:34 AM > To: flexcoders@yahoogroups.com> 
  Subject: [flexcoders] FlexBuilder 2.0 - Network 
  Monitor> We used to have network 
  monitor feature in FlexBuilder 1.5.> I couldn't see network monitor in 
  FlexBuilder 2.0. Is there any feature> similar to network monitor in 
  FlexBuilder 2.0>> Thanks,>> Sridhar 
  Boddula,> EIS - New Tech. Development > 
  617-664-8566(Work)>>> --> 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>  
  site+design+development&w2=Computer+software+development&w3=Software+des> 
  ign+and+development&w4=Macromedia+flex&c=4&s=126&.sig=ynjozILdtUiijfLjiz> 
  5l1Q>>> Computer software development >  
  b+site+design+development&w2=Computer+software+development&w3=Software+d 
  > 
  esign+and+development&w4=Macromedia+flex&c=4&s=126&.sig=i_RMdAMzxP1R8fB7> 
  NcnaqQ>>> Software design and development> < 
  http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1=> 
  Web+site+design+development&w2=Computer+software+development&w3=Software> 
  +design+and+development&w4=Macromedia+flex&c=4&s=126&.sig=4g8hODKyQov1GX 
  > OxaXG2Sg>>> Macromedia flex>  
  development&w2=Computer+software+development&w3=Software+design+and+deve> 
  lopment&w4=Macromedia+flex&c=4&s=126&.sig=hhODNnONza_qi3x2OWe-Qg> 
  >> YAHOO! GROUPS 
  LINKS 
  *  Visit your group "flexcoders> 
  < 
  http://groups.yahoo.com/group/flexcoders> " on the web.>> 
  *  To unsubscribe from this group, send an 
  email to:>[EMAIL PROTECTED] 
  > [EMAIL PROTECTED]?subject=Unsubscribe>>> 
  *  Your use of Yahoo! Groups is subject to 
  the Yahoo! Terms of > Service  
  . 
  > 
  Yahoo! Groups Sponsor ~--> Get Bzzzy! (real tools 
  to help you find a job). Welcome to the Sweet Life.http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM~-> 
  --Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
  Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
  Groups Links<*> To visit your group on the web, go 
  to:   http://groups.yahoo.com/group/flexcoders/ 
  <*> To unsubscribe from this group, send an email 
  to:   [EMAIL PROTECTED]<*> 
  Your use of Yahoo! Groups is subject to:    http://docs.yahoo.com/info/terms/





--
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
  

   
  







  
  
  YAHOO! GROUPS LINKS



   Visit your g

[flexcoders] Big problems with SBC Yahoo Browser

2005-11-01 Thread Robert Thompson
Since there are some smart guys from Macrmedia on here
I wanted to just ask if they've heard any complaints
about Flash Player 8 not working in SBC Yahoo Browser?

I have 2 clients who are never able to use it; the
first cannot install Flash Player at all, the second
cannot play video (apparently the Flash Pro 8
javascript checker has problems in SBC Yahoo Browser).

I'm a little afraid for Macr because I want Flash to
continue to grow as it's what I do best, but some of
these problems seem to be turning some of my clients
off.

Note: This has nothing to do with the beta 8.5 IE
probs. I've been having and continue to have -- both
of these customers were off-site at their own
locations.  I've known about the first for sometime,
now a second client has had problems.

-r




__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


 Yahoo! Groups Sponsor ~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/nhFolB/TM
~-> 

--
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

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/