[flexcoders] Re: performance issues

2006-07-27 Thread bhaq1972
i tried your links out (btw the first 2 are pointing to the same 
example). on my normal development machine (6 months old with all 
the trimmings) performance is very quick as expected.

but when i tried it from an old laptop (4-5 years old) it felt like 
one of my flex 1.5 datagridsvery slow and sluggish scrolling.

made me appreciate how much of a good job adobe did in flex2.

regards
bod


--- In flexcoders@yahoogroups.com, "Anatole Tartakovsky" 
<[EMAIL PROTECTED]> wrote:
>
> How is the performance on your machine of the samples in my 
links ? - trying
> to isolate player/setStyle performance from application code 
efficiency.
> Thank you,
> Anatole
> 
> 
> 
> On 7/28/06, Pan Troglodytes <[EMAIL PROTECTED]> wrote:
> >
> >For reference, my testing was done on a dual core athlon 64 
4400 with a
> > geforce 7800 gt and 2 gigs of ram.  Hardware is not a limiting 
factor.
> >
> >  On 7/28/06, Anatole Tartakovsky <[EMAIL PROTECTED]> wrote:
> >
> > >  Matt,
> > > I placed typical business case to show the performance issues 
based on
> > > hardware used:
> > >
> > > case 1 : basic  
grid- no formatting or styling
> > > case 2:  basic grid with typical 
formatting- no styling
> > > case 3:  typical usage of formatting and 
styling- IMPLEMENTED VIA RUN-TIME CSS AND COMPUTED EXPRESSIONS - very
> > > straightforward code
> > >
> > > While performance is reasonable on midrange 2 year old PC, my 
business
> > > laptop is very sluggish , however multimedia one with good 
graphics chip and
> > > slower CPU works faster then PC.
> > >
> > > Here is the source for the business case:
> > >
> > > 
> > > http://www.adobe.com/2006/mxml "
> > >  xmlns="*" layout="vertical"
> > >  xmlns:lib="com.theriabook.controls.*"
> > > viewSourceURL="srcview/index.html">
> > > 
> > > .dgHeaderStyle {
> > > textAlign:center;
> > > fontWeight : bold;
> > > backgroundAlpha:.5;
> > > }
> > > 
> > > 
> > > 
> > > 
> > >  > > headerStyleName="dgHeaderStyle"
> > > dataProvider="{getEmployees()}">
> > > 
> > > 
> > > 
> > > 
> > >  > > dataField="DEPT_ID"
> > > 
props="{{'resource':'employee','keyColumn&ap
os;:'dept_id','autoFill':'true'}}"/>
> > >
> > >  > > formatString="phone" />
> > >  > > itemRenderer=" 
com.theriabook.controls.CheckBox"
> > > rendererIsEditor="true"  
editorDataField="value"
> > > textAlign="center" paddingLeft="5"
> > >
> > > 
expando="{{'onValue':'Y','offValue':&ap
os;N'}}"
> > > />
> > >  > > formatString="ssn"  />
> > >  > > formatString="currency"
> > >
> > > 
styles="{{'color':salaryColor,'fontWeight':functi
on
> > > (item:*):String{ return item.SALARY > 5?{ return 
item.SALARY >
> > > 5?'bold':'normal'} }}"
> > > />
> > >  > > formatString="currency"  editable="true">
> > > 
> > >  > > backgroundAlpha=".3"/>
> > > 
> > > 
> > >  > > formatString="shortdate"/>
> > >
> > > 
> > > 
> > > 
> > > 
> > > 
> > >
> > >
> > >
> > >
> > >
> > >
> > > On 7/21/06, Matt Chotin <[EMAIL PROTECTED]> wrote:
> > > >
> > > > Well DataGrid scrolling performance is something that 
we've spent
> > > > a lot of time tuning so I would love for us to get a full 
test case that we
> > > > can look at.  I saw in the thread you linked mentioning a 
1600x1200 monitor,
> > > > is the DataGrid taking up most of that real estate?  The 
more visible rows
> > > > the slower the scrolling will be.  Another thing you could 
look at is in
> > > > your setter for the data comparing against the old value and 
if it hasn't
> > > > changed not doing anything, it may be that it's invalidating 
too often?
> > > >  I'll ask one of the people who worked on performance if she 
has any
> > > > thoughts.
> > > >
> > > >
> > > >
> > > > Matt
> > > >
> > > >
> > > >  --
> > > >
> > > > *From:* flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com ]
> > > > *On Behalf Of *Pan Troglodytes
> > > > *Sent:* Wednesday, July 19, 2006 11:44 PM
> > > > *To: [EMAIL PROTECTED]
> > > > *Subject:* [flexcoders] performance issues
> > > >
> > > >
> > > >
> > > > Well, specifically I had a DataGrid using this for the 
itemRenderer:
> > > >
> > > > package nes {
> > > >
> > > >   import mx.controls.dataGridClasses.DataGridListData ;
> > > >   import mx.controls.Label;
> > > >
> > > >   public class SignColorItemRenderer extends Label {
> > > > public var negativeColor:uint = 0xFF;
>

Re: [flexcoders] performance issues

2006-07-27 Thread Anatole Tartakovsky



How is the performance on your machine of the samples in my links ? - trying to isolate player/setStyle performance from application code efficiency.
Thank you,
Anatole
 
On 7/28/06, Pan Troglodytes <[EMAIL PROTECTED]> wrote:






For reference, my testing was done on a dual core athlon 64 4400 with a geforce 7800 gt and 2 gigs of ram.  Hardware is not a limiting factor.

On 7/28/06, Anatole Tartakovsky <
[EMAIL PROTECTED]> wrote:




Matt,
I placed typical business case to show the performance issues based on hardware used:
 
case 1 : 
basic  grid - no formatting or styling
case 2:  
basic grid with typical formatting - no styling
case 3:  
typical usage of formatting and styling - IMPLEMENTED VIA RUN-TIME CSS AND COMPUTED EXPRESSIONS - very straightforward code 
 
While performance is reasonable on midrange 2 year old PC, my business laptop is very sluggish , however multimedia one with good graphics chip and slower CPU works faster then PC. 
 
Here is the source for the business case:
 

http://www.adobe.com/2006/mxml " xmlns="*" layout="vertical"  xmlns:lib="com.theriabook.controls.*" viewSourceURL="srcview/index.html">
    .dgHeaderStyle {    textAlign:center;    fontWeight : bold;    backgroundAlpha:.5;     }            dataProvider="{getEmployees()}">                     
     
             itemRenderer=" 
com.theriabook.controls.CheckBox"       rendererIsEditor="true"  editorDataField="value"       textAlign="center" paddingLeft="5"      expando="{{'onValue':'Y','offValue':'N'}}" /> 
            styles="{{'color':salaryColor,'fontWeight':function (item:*):String{ return item.SALARY > 5?{ return item.SALARY > 5?'bold':'normal'} }}" 
    />             
                 
                         
     

 
 
 
On 7/21/06, Matt Chotin <
[EMAIL PROTECTED]> wrote: 








Well DataGrid scrolling performance is something that we've spent a lot of time tuning so I would love for us to get a full test case that we can look at.  I saw in the thread you linked mentioning a 1600x1200 monitor, is the DataGrid taking up most of that real estate?  The more visible rows the slower the scrolling will be.  Another thing you could look at is in your setter for the data comparing against the old value and if it hasn't changed not doing anything, it may be that it's invalidating too often?  I'll ask one of the people who worked on performance if she has any thoughts. 

 
Matt
 




From: 
flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com ] On Behalf Of Pan TroglodytesSent: Wednesday, July 19, 2006 11:44 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] performance issues

 



Well, specifically I had a DataGrid using this for the itemRenderer:
package nes {  import mx.controls.dataGridClasses.DataGridListData ;  import mx.controls.Label;  public class SignColorItemRenderer extends Label {    public var negativeColor:uint = 0xFF;    public var positiveColor:uint = 0x008000; 
    public var zeroColor:uint;     override public function set data(value:Object):void {  super.data = "">  var n:Number = data[DataGridListData(listData).dataField];  if (n < 0) 
    setStyle("color", negativeColor);   else if (n > 0)    setStyle("color", positiveColor);  else if (n == 0)    setStyle("color", zeroColor);    } 
  }}I brought it up in this thread: 
http://groups.yahoo.com/group/flexcoders/message/43243;_ylc=X3oDMTM3cWM2MG9mBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTYwMDAwNzIwNwRtc2dJZAM0MzI2MwRzZWMDZnRyBHNsawN2dHBjBHN0aW1lAzExNTI4NTY4NDUEdHBjSWQDNDMyNDM- 
I tried LOADS of different ways to do it.  I found that anytime I put much of any extra code in, it took away from the responsiveness.  Even replacing the above data procedure with just a single setStyle statement.  As I said, it's not horrible.  But I definitely notice it. 
The other main thing I can point out is some sluggishness when resizing the browser window and having it resize/relayout the Flex app.  But it's hard to tell how much of that is the browser and how much is Flex.


On 7/20/06, Matt Chotin <
 [EMAIL PROTECTED] > wrote:






Can you provide a little more detail on the performance areas that are hurting you?  If there's a sample that demonstrates the speed issue it may be something we can look at. 

 
Matt
 




From: 
flexcoders@yahoogroups.com [mailto:
 flexcoders@yahoogroups.com ] On Behalf Of Pan TroglodytesSent: Wednesday, July 19, 2006 10:49 PM
To: 
flexcoders@yahoogroups.com Subject: Re: [flexcoders] So? What are folks here actually building...?
 



Well, since I have never programmed in ActionScript 

RE: [flexcoders] Re: Tools for listing objects

2006-07-27 Thread Matt Chotin












Using a dictionary isn’t completely
reliable because the garbage collector will only free up what it needs.  If the
window isn’t taking too much space the collector may not go ahead and
clean it up for a while.  The weak reference only says “take it if you
need it” but it’s not guaranteed that if the only reference is weak
that it will disappear immediately.  That’s why we trigger garbage
collection by creating a bunch of objects, it’s to force the GC into
thinking it needs the space for allocation.

 

Matt

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of jeff tapper
Sent: Thursday, July 27, 2006 9:41
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Tools
for listing objects



 







Really, what im looking for, is some way to check if
an object no 
longer exists. I thought a weak reference in the dictionary might 
work for me, but after 14 hours of inactivity, those weak references 
are still there. 

Am i misunderstanding the nature of a weak reference? Is there some 
other way that I can test to see if a given object still exists?

--- In [EMAIL PROTECTED]ups.com,
"Matt Chotin" <[EMAIL PROTECTED]> wrote:
>
> There's no way to know if garbage collection was forced. Create a
> method does does a for loop that creates 10,000 objects into mid-
air.
> 
> 
> 
> For (var i:int=0; I < 1; i++)
> 
> New Object();
> 
> 
> 
> That should trigger the garbage collector hopefully.
> 
> 
> 
> 
> 
> From: [EMAIL PROTECTED]ups.com

[mailto:[EMAIL PROTECTED]ups.com]
On
> Behalf Of jeff tapper
> Sent: Thursday, July 27, 2006 5:56 AM
> To: [EMAIL PROTECTED]ups.com
> Subject: [flexcoders] Re: Tools for listing objects
> 
> 
> 
> Well, that experiment failed as well. 14 hours later, the same 
> objects are still listed in the dictionary.
> Wed Jul 26 17:07:23 GMT-0400 2006
> Testing56:Testing56
> Testing19:Testing19
> Testing38:Testing38
> Thu Jul 27 08:50:31 GMT-0400 2006
> Testing56:Testing56
> Testing19:Testing19
> Testing38:Testing38
> 
> Am I misunderstanding the usage of Weak References in the 
> Dictionary? Does anyone have any idea how this can be used to keep 
> track of what objects exist and which dont?
> 
> --- In [EMAIL PROTECTED]ups.com

40yahoogroups.com>
> , "jeff tapper"  wrote:
> >
> > Ok, heres a sketch of what im trying now. 
> > App.mxml
> > 
> > 8"?>
> > http://www.adobe.com/2006/mxml
> 
" 
> > layout="vertical" creationComplete="initApp()">
> > 
> > 
> > 
> > />
> > />
> > />
> > 
> > 
> > Testing.mxml
> > =
> > 8"?>
> > http://www.adobe.com/2006/mxml
> 
" width="400" 
> > height="300">
> > 
> > 
> > 
> > Now, as i run this, if i click make, kill, make, kill, show, The 
> > trace shows:
> > Wed Jul 26 17:07:14 GMT-0400 2006
> > Testing58:Testing58
> > Testing20:Testing20
> > Testing39:Testing39
> > 
> > Implying that the screens arent really being destroyed. Perhaps 
I 
> > didnt wait long enough, so 5 minutes later, I tried the same 
> thing, 
> > with the same results. Maybe 5 minutes isnt long enough, so I'll 
> > leave it running over night and try again in the morning. But, 
> the 
> > fundemental question is, have i done enough to remove the 
> screens? 
> > Should the garbage collector clean the unused ones up, or have i 
> > somehow left a reference lingering?
> > 
> > We have a very complex app, which I want to ensure we clean up 
all 
> > unused objects, but im having trouble finding a way to verify 
they 
> > are removed.
> >
>






__._,_.___





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

2006-07-27 Thread jtooley_1999
Hi all,

I am banging my head against the wall on this one.

We have an app that runs on two different servers.
One calls a CFC and uses 
The other one calls a java servlet using  but they both
retrieve the same data.

With the CFC we are using remoting and we can access the data by going

public function geoResultHandler(event:ResultEvent):void
{
countries = event.result.countries as ArrayCollection;
// difference
blah blah blah... more code
}

and to call it


This works great.

But with .. using that way returns null.. so we have to
use the following

public function geoResultHandler(event:ResultEvent):void
{
countries = new ArrayCollection(event.result.countries
as Array); // difference
blah blah blah... more code
}



Can anyone explain the difference of using a variable as an
ArrayCollection instead of declaring new ArrayCollection()

Thanks
Jeremy Tooley





--
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] performance issues

2006-07-27 Thread Pan Troglodytes



For reference, my testing was done on a dual core athlon 64 4400 with a geforce 7800 gt and 2 gigs of ram.  Hardware is not a limiting factor.On 7/28/06, Anatole Tartakovsky
 <[EMAIL PROTECTED]> wrote:



Matt,
I placed typical business case to show the performance issues based on hardware used:
 
case 1 : basic  grid - no formatting or styling
case 2:  basic grid with typical formatting - no styling

case 3:  typical usage of formatting and styling - IMPLEMENTED VIA RUN-TIME CSS AND COMPUTED EXPRESSIONS - very straightforward code


 
While performance is reasonable on midrange 2 year old PC, my business laptop is very sluggish , however multimedia one with good graphics chip and slower CPU works faster then PC. 
 
Here is the source for the business case:
 
http://www.adobe.com/2006/mxml
" xmlns="*" layout="vertical" 
 xmlns:lib="com.theriabook.controls.*" viewSourceURL="srcview/index.html">    .dgHeaderStyle {    textAlign:center;    fontWeight : bold;    backgroundAlpha:.5;
    }            dataProvider="{getEmployees()}">
                    
     
             itemRenderer="
com.theriabook.controls.CheckBox"       rendererIsEditor="true"  editorDataField="value"       textAlign="center" paddingLeft="5"  
    expando="{{'onValue':'Y','offValue':'N'}}" />
            styles="{{'color':salaryColor,'fontWeight':function (item:*):String{ return item.SALARY > 5?{ return item.SALARY > 5?'bold':'normal'} }}"
    />            
                 
                        
     
 
 
 
On 7/21/06, Matt Chotin <[EMAIL PROTECTED]> wrote:









Well DataGrid scrolling performance is something that we've spent a lot of time tuning so I would love for us to get a full test case that we can look at.  I saw in the thread you linked mentioning a 1600x1200 monitor, is the DataGrid taking up most of that real estate?  The more visible rows the slower the scrolling will be.  Another thing you could look at is in your setter for the data comparing against the old value and if it hasn't changed not doing anything, it may be that it's invalidating too often?  I'll ask one of the people who worked on performance if she has any thoughts.

 
Matt
 




From: 

flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com
] On Behalf Of Pan TroglodytesSent: Wednesday, July 19, 2006 11:44 PMTo:

 flexcoders@yahoogroups.com

Subject: [flexcoders] performance issues

 



Well, specifically I had a DataGrid using this for the itemRenderer:

package nes {  import mx.controls.dataGridClasses.DataGridListData ;  import mx.controls.Label;  public class SignColorItemRenderer extends Label {    public var negativeColor:uint = 0xFF;
    public var positiveColor:uint = 0x008000;
    public var zeroColor:uint;     override public function set data(value:Object):void {  super.data = "">  var n:Number = data[DataGridListData(listData).dataField];  if (n < 0)
    setStyle("color", negativeColor);   else if (n > 0)    setStyle("color", positiveColor);  else if (n == 0)    setStyle("color", zeroColor);
    }
  }}I brought it up in this thread: 

http://groups.yahoo.com/group/flexcoders/message/43243;_ylc=X3oDMTM3cWM2MG9mBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTYwMDAwNzIwNwRtc2dJZAM0MzI2MwRzZWMDZnRyBHNsawN2dHBjBHN0aW1lAzExNTI4NTY4NDUEdHBjSWQDNDMyNDM-

I tried LOADS of different ways to do it.  I found that anytime I put much of any extra code in, it took away from the responsiveness.  Even replacing the above data procedure with just a single setStyle statement.  As I said, it's not horrible.  But I definitely notice it. 
The other main thing I can point out is some sluggishness when resizing the browser window and having it resize/relayout the Flex app.  But it's hard to tell how much of that is the browser and how much is Flex.



On 7/20/06, Matt Chotin <

 [EMAIL PROTECTED] > wrote:







Can you provide a little more detail on the performance areas that are hurting you?  If there's a sample that demonstrates the speed issue it may be something we can look at.


 

Matt

 






From:
 

flexcoders@yahoogroups.com [mailto:

 flexcoders@yahoogroups.com ] On Behalf Of Pan TroglodytesSent: Wednesday, July 19, 2006 10:49 PM

To: 

flexcoders@yahoogroups.com Subject: Re: [flexcoders] So? What are folks here actually building...?

 




Well, since I have never programmed in ActionScript at all, my projects have served a dual purpose - functional and educational.  In other words, some of the software may never see the light of day but that's okay - at least it taught me how to build in Flex. 
My most "real" app

[flexcoders] Re: Weblogic webservice access problem

2006-07-27 Thread jpc14_99
I'm having the EXACT same problem since I switched to the Release from 
Beta 3.

The compiler is choking on my  whitelist tag in the 
flex-config file.






--
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] performance issues

2006-07-27 Thread Anatole Tartakovsky



Correction on the links 

case 1 : 
basic  grid - no formatting or styling
case 2:  
basic grid with typical formatting - no styling
case 3:  
typical usage of formatting and styling - IMPLEMENTED VIA RUN-TIME CSS AND COMPUTED EXPRESSIONS - very straightforward code 
On 7/28/06, Anatole Tartakovsky <[EMAIL PROTECTED]> wrote:


Matt,
I placed typical business case to show the performance issues based on hardware used:
 
case 1 : 
basic  grid - no formatting or styling
case 2:  
basic grid with typical formatting - no styling
case 3:  
typical usage of formatting and styling - IMPLEMENTED VIA RUN-TIME CSS AND COMPUTED EXPRESSIONS - very straightforward code
 
While performance is reasonable on midrange 2 year old PC, my business laptop is very sluggish , however multimedia one with good graphics chip and slower CPU works faster then PC. 
 
Here is the source for the business case:
 

http://www.adobe.com/2006/mxml" xmlns="*" layout="vertical"  xmlns:lib="com.theriabook.controls.*" viewSourceURL="srcview/index.html">
    .dgHeaderStyle {    textAlign:center;    fontWeight : bold;    backgroundAlpha:.5;     }            dataProvider="{getEmployees()}">                     
     
             itemRenderer=" 
com.theriabook.controls.CheckBox"       rendererIsEditor="true"  editorDataField="value"       textAlign="center" paddingLeft="5"      expando="{{'onValue':'Y','offValue':'N'}}" /> 
            styles="{{'color':salaryColor,'fontWeight':function (item:*):String{ return item.SALARY > 5?{ return item.SALARY > 5?'bold':'normal'} }}" 
    />             
                 
                         
     

 
 
 
On 7/21/06, Matt Chotin <
[EMAIL PROTECTED]> wrote: 








Well DataGrid scrolling performance is something that we've spent a lot of time tuning so I would love for us to get a full test case that we can look at.  I saw in the thread you linked mentioning a 1600x1200 monitor, is the DataGrid taking up most of that real estate?  The more visible rows the slower the scrolling will be.  Another thing you could look at is in your setter for the data comparing against the old value and if it hasn't changed not doing anything, it may be that it's invalidating too often?  I'll ask one of the people who worked on performance if she has any thoughts. 

 
Matt
 




From: 
flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com ] On Behalf Of Pan TroglodytesSent: Wednesday, July 19, 2006 11:44 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] performance issues

 



Well, specifically I had a DataGrid using this for the itemRenderer:
package nes {  import mx.controls.dataGridClasses.DataGridListData ;  import mx.controls.Label;  public class SignColorItemRenderer extends Label {    public var negativeColor:uint = 0xFF;    public var positiveColor:uint = 0x008000; 
    public var zeroColor:uint;     override public function set data(value:Object):void {  super.data = "">  var n:Number = data[DataGridListData(listData).dataField];  if (n < 0) 
    setStyle("color", negativeColor);   else if (n > 0)    setStyle("color", positiveColor);  else if (n == 0)    setStyle("color", zeroColor);    } 
  }}I brought it up in this thread: 
http://groups.yahoo.com/group/flexcoders/message/43243;_ylc=X3oDMTM3cWM2MG9mBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTYwMDAwNzIwNwRtc2dJZAM0MzI2MwRzZWMDZnRyBHNsawN2dHBjBHN0aW1lAzExNTI4NTY4NDUEdHBjSWQDNDMyNDM-
I tried LOADS of different ways to do it.  I found that anytime I put much of any extra code in, it took away from the responsiveness.  Even replacing the above data procedure with just a single setStyle statement.  As I said, it's not horrible.  But I definitely notice it. 
The other main thing I can point out is some sluggishness when resizing the browser window and having it resize/relayout the Flex app.  But it's hard to tell how much of that is the browser and how much is Flex.


On 7/20/06, Matt Chotin <
 [EMAIL PROTECTED] > wrote:






Can you provide a little more detail on the performance areas that are hurting you?  If there's a sample that demonstrates the speed issue it may be something we can look at. 

 
Matt
 




From:
 
flexcoders@yahoogroups.com [mailto:
 flexcoders@yahoogroups.com ] On Behalf Of Pan TroglodytesSent: Wednesday, July 19, 2006 10:49 PM
To: 
flexcoders@yahoogroups.com Subject: Re: [flexcoders] So? What are folks here actually building...?
 



Well, since I have never programmed in ActionScript at all, my projects have served a dual purpose - functional and educational.  In other words, some of the softwar

Re: [flexcoders] performance issues

2006-07-27 Thread Anatole Tartakovsky



Matt,
I placed typical business case to show the performance issues based on hardware used:
 
case 1 : basic  grid - no formatting or styling
case 2:  basic grid with typical formatting - no styling
case 3:  typical usage of formatting and styling - IMPLEMENTED VIA RUN-TIME CSS AND COMPUTED EXPRESSIONS - very straightforward code

 
While performance is reasonable on midrange 2 year old PC, my business laptop is very sluggish , however multimedia one with good graphics chip and slower CPU works faster then PC. 
 
Here is the source for the business case:
 
http://www.adobe.com/2006/mxml" xmlns="*" layout="vertical" 
 xmlns:lib="com.theriabook.controls.*" viewSourceURL="srcview/index.html">    .dgHeaderStyle {    textAlign:center;    fontWeight : bold;    backgroundAlpha:.5;
    }            dataProvider="{getEmployees()}">
                    
     
             itemRenderer="
com.theriabook.controls.CheckBox"       rendererIsEditor="true"  editorDataField="value"       textAlign="center" paddingLeft="5"      expando="{{'onValue':'Y','offValue':'N'}}" />
            styles="{{'color':salaryColor,'fontWeight':function (item:*):String{ return item.SALARY > 5?{ return item.SALARY > 5?'bold':'normal'} }}"
    />            
                 
                        
     
 
 
 
On 7/21/06, Matt Chotin <[EMAIL PROTECTED]> wrote:








Well DataGrid scrolling performance is something that we've spent a lot of time tuning so I would love for us to get a full test case that we can look at.  I saw in the thread you linked mentioning a 1600x1200 monitor, is the DataGrid taking up most of that real estate?  The more visible rows the slower the scrolling will be.  Another thing you could look at is in your setter for the data comparing against the old value and if it hasn't changed not doing anything, it may be that it's invalidating too often?  I'll ask one of the people who worked on performance if she has any thoughts.

 
Matt
 




From: 
flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com
] On Behalf Of Pan TroglodytesSent: Wednesday, July 19, 2006 11:44 PMTo:
 flexcoders@yahoogroups.com
Subject: [flexcoders] performance issues

 



Well, specifically I had a DataGrid using this for the itemRenderer:
package nes {  import mx.controls.dataGridClasses.DataGridListData ;  import mx.controls.Label;  public class SignColorItemRenderer extends Label {    public var negativeColor:uint = 0xFF;    public var positiveColor:uint = 0x008000;
    public var zeroColor:uint;     override public function set data(value:Object):void {  super.data = "">  var n:Number = data[DataGridListData(listData).dataField];  if (n < 0)
    setStyle("color", negativeColor);   else if (n > 0)    setStyle("color", positiveColor);  else if (n == 0)    setStyle("color", zeroColor);    }
  }}I brought it up in this thread: 
http://groups.yahoo.com/group/flexcoders/message/43243;_ylc=X3oDMTM3cWM2MG9mBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTYwMDAwNzIwNwRtc2dJZAM0MzI2MwRzZWMDZnRyBHNsawN2dHBjBHN0aW1lAzExNTI4NTY4NDUEdHBjSWQDNDMyNDM-
I tried LOADS of different ways to do it.  I found that anytime I put much of any extra code in, it took away from the responsiveness.  Even replacing the above data procedure with just a single setStyle statement.  As I said, it's not horrible.  But I definitely notice it. 
The other main thing I can point out is some sluggishness when resizing the browser window and having it resize/relayout the Flex app.  But it's hard to tell how much of that is the browser and how much is Flex.


On 7/20/06, Matt Chotin <
 [EMAIL PROTECTED] > wrote:






Can you provide a little more detail on the performance areas that are hurting you?  If there's a sample that demonstrates the speed issue it may be something we can look at.

 
Matt
 




From:
 
flexcoders@yahoogroups.com [mailto:
 flexcoders@yahoogroups.com ] On Behalf Of Pan TroglodytesSent: Wednesday, July 19, 2006 10:49 PM
To: 
flexcoders@yahoogroups.com Subject: Re: [flexcoders] So? What are folks here actually building...?
 



Well, since I have never programmed in ActionScript at all, my projects have served a dual purpose - functional and educational.  In other words, some of the software may never see the light of day but that's okay - at least it taught me how to build in Flex. 
My most "real" application has been an ad-hoc query builder.  We have some financial reporting that it broken down into various fields: branch, quarter, period, that kind of thing.  So I gave each field an accordion pane and filled it with the values

[flexcoders] ArrayCollections

2006-07-27 Thread Jeremy Tooley
Hi all,

I am banging my head against the wall on this one.

We have an app that runs on two different servers.
One calls a CFC and uses 
The other one calls a java servlet using  but they both 
retrieve the same data.

With the CFC we are using remoting and we can access the data by going

public function geoResultHandler(event:ResultEvent):void
{
 countries = event.result.countries as ArrayCollection;  
// difference
blah blah blah... more code   
}

and to call it


This works great.

But with .. using that way returns null.. so we have to 
use the following

public function geoResultHandler(event:ResultEvent):void
{
countries = new ArrayCollection(event.result.countries 
as Array);  // difference
blah blah blah... more code   
}



Can anyone explain the difference of using a variable as an 
ArrayCollection instead of declaring new ArrayCollection()

Thanks
Jeremy Tooley




--
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: Image Pan - Step 1

2006-07-27 Thread richmcgillicuddy
Figured out the partial image thing. If the Image component is inside
of anything but a canvas and I set the height and width of the
component to 100% it resizes the image and crops the rest of it. 


Rich


--- In flexcoders@yahoogroups.com, "richmcgillicuddy" <[EMAIL PROTECTED]> wrote:
>
> Hello,
> 
> 
> I am new to the group and to Flex/Flash. We have a mapping tool that
> we had created about a year back that uses flash 8. We want to move up
> to Flex 2 for a number of reasons. I am trying to create the mapping
> hello world application. We use a standard png image as the background
> for the map. I am trying to create a simple image in a panel that has
> a series of buttons to the left where I can zoom in/out and pan in all
> directions. The zoom in/out is working fine (although I have questions
> regarding that) but the pan is not working. My code is attached to the
> bottom of this email message. Logically the steps I need to go through
> to get this to work are:
> 
> 1. Simple map - Image management Pan Zoom Possibly overview window
> similar to Google or Yahoo.
> 2. Create an object that is a member of that map. This object needs to
> be able to display itself as a number of different types (Images,
> dots, characters). After reading through tutorials, I can create my
> own object that descends from a sprite. My questions here are will the
> dot zoom and coordinate based on the zoom, pan of the background map?
> How can I make that happen? 
> 3. More complex tooltips than the standard tooltips. I want a tooltip
> that displays about 5-10 lines of information and possibly links to
> other areas of the web site. Would you just create a separate window
> to act as a tooltip window and place whatever information in the
> window you need?
> 4. Incorporating effects to the movements of these objects. I've seen
> the component explorer, I want the movement of these items on the map
> to slide from one spot to the other. The demo app in the explorer
> works well. How would you combine multiple effects to happen at the
> same time?
> 
> Any help would be greatly appreciated.
> 
> 
> Step 1 Source Code
> 
> 
> 
> http://www.adobe.com/2006/mxml";
> layout="horizontal">
>
> 
>
>   
>   
>   
>   
>   
>   
>   
>   
>   
>cornerRadius="33" backgroundColor="#c0c0c0" id="myPanel" title="Map
> Basics 101" fontFamily="Georgia" fontSize="16">
>height="601" source="SB memorial map.png" scaleContent="false"
> id="myMap"/>
>   
>   
> 
>






--
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: [Junk E-Mail - MED] [flexcoders] remote object mapping frustration

2006-07-27 Thread Douglas Knudsen



bloody hell!  Don't ever trust a wizard, eh?  Seems the CFC to AS wizard leavs out the dynamic keyword in the class definition, like why else would I want to create a AS obj from a CFC?  Anyhoo, this appears to have addressed it for now.
DKOn 7/27/06, Douglas Knudsen <[EMAIL PROTECTED]> wrote:
yup, tried all that.  I've bounced the machine, the services, even tried bouncing like a monkey all to no avail.  freaking pain to debug such a beast.DK
On 7/27/06, 
Dave Carabetta <[EMAIL PROTECTED]> wrote:




On 7/27/06, Douglas Knudsen <[EMAIL PROTECTED]> wrote:





thanks, yeah, I checked that like 500 times now, all looks fine and dandy.  errr, so frustrating.  All my other cfcs are mapping fine.  DKProbably a dumb question, but have you refreshed both the server template cache and the browser cache to make sure neither are stale? Perhaps even a restart of the CF server just for good measure?
Regards,Dave. 




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

-- Douglas Knudsenhttp://www.cubicleman.comthis 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








   






  
  
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] Re: cairngorm Events and data payloads

2006-07-27 Thread ben.clinkinbeard
Heh, sorry dood, didn't mean to challenge you while in an
exhaustion-induced haze. I just wanted to make sure there wasn't some
basic concept quietly sailing above my head. :)

Get some sleep.

--- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote:
>
> 5 coffee's and 3 RedBull's later, I'm running on fumes, so don't
really have 
> intelligent answers for you, just guesses.
> 
> Don't know, I guess you're right.
> 
> Find some way to either A) follow the convention a Command will get the 
> event class of a similiar name, and thus feel safe in casting it or
B ) find 
> some way to strongly type that parameter.  You can't up-cast function 
> arguments, though, so it's kind of stuck as CairngormEvent... I think.
> 
> For the multiple events, yes, you are correct.  I've definately
taken for 
> granted all my other stuff has worked for that very fact.  Oops.
> 
> Actually, at this point, no clue... wtf were you talking about anyway, 
> Bokel?
> 
> - Original Message - 
> From: "ben.clinkinbeard" <[EMAIL PROTECTED]>
> To: 
> Sent: Thursday, July 27, 2006 10:50 PM
> Subject: [flexcoders] Re: cairngorm Events and data payloads
> 
> 
> Doesn't execute() accept a CairngromEvent for the sake of polymorphism
> though? How could you do things any differently and still preserve
> that aspect? Additionally, if you want your Commands to support
> multiple types of events isn't it essential that execute() accept a
> superclass or common interface? Are you just wishing AS supported
> method overloading or is there something I am still not getting?
> 
> Thanks,
> Ben
> http://www.returnundefined.com/
> 
> --- In flexcoders@yahoogroups.com, "JesterXL"  wrote:
> >
> > My initial frustration was I'd create this event class, which allowed
> > strong-typing, like so:
> >
> > package
> > {
> > import com.adobe.control.CairngormEvent;
> >
> > public class MyEvent extends CairngormEvent
> > {
> > public static const ACTION:String = "action";
> >
> > public var someID:int;
> >
> > public function MyEvent(p_type:String, p_someID:int)
> > {
> > super(p_type);
> > someID = p_someID;
> > }
> > }
> > }
> >
> > So, my event now has context.  If I need to have my Command get a
> person
> > record from the DB for example, this event will contain the payload it
> > needs; the person ID I'm looking for.  However, by the time it gets
> to the
> > Command, it's a base class, the CairngormEvent.
> >
> > package
> > {
> > public class MyCommand implements AllTheInterfacesEct
> > {
> > public function execute ( event:CairngormEvent )
> > {
> > trace(event.someID); // faith based programming
> > }
> > }
> > }
> >
> > Now, for some, their Events are directly linked to Commands, like so:
> >
> > LoginEvent will fire LoginCommand which calls LoginDelegate
> > GetPersonEvent will fire GetPersonCommand which calls
GetPersonDelegate
> >
> > At a simple level, yes, this'll do.  So, you can acutally make some
> > assumptions in the above; if you play by the default Cairngorm
> rules, you
> > KNOW by convention that your MyCommand class will get a MyEvent,
so you
> > could risk up-casting, like so:
> >
> > someDelegateMethod ( MyEvent ( event ) . someID );
> >
> > ...that's faith, though.  You'll get an exception if for some reason
> that's
> > not the real event.  It'd be better if the compiler caught that
vs. the
> > runtime, before it's a problem.  For me, I use multiple events inside
> > Commands, so it's exacerbated.  The Controller keeps all of this
> under tabs,
> > but again, it'd be nice if MyCommand for example GOT MyEvent in the
> execute.
> > I supposed you could make that assumption; not sure if it'd compile.
> > Anyway, convention over strict-typing is ok since a lot of
> conventions teams
> > follow can do the above, for example, and assume you'll get what you
> need.
> >
> >
> > - Original Message - 
> > From: "ben.clinkinbeard" 
> > To: 
> > Sent: Thursday, July 27, 2006 10:22 PM
> > Subject: [flexcoders] Re: cairngorm Events and data payloads
> >
> >
> > Forgive the dense noob here, but how is the type info lost? I thought
> > that by subclassing CairngormEvent you get basic checking and then you
> > can just do a cast or 'event as MyCutomEvent' inside the execute
> > method. I guess I am just not clear on what the issue is and where the
> > problem lies. Can someone edumacate me?
> >
> > Thanks,
> > Ben
> > http://www.returnundefined.com/
> >
> > --- In flexcoders@yahoogroups.com, "JesterXL"  wrote:
> > >
> > > Well, my events extend CairngormEvent, so I can technically upcast
> > 'em when they get in the Command's execute method.  I know Steven
> > didn't really dig this idea, but if you case the type, you can compare
> > to the Event's constant like:
> > >
> > > public static const EVENT_DOSOMETHING:String = "doSomething";
> > >
> > > function execute(event:CairngormEvent)
> > >

RE: [Junk E-Mail - LOW] Re: [flexcoders] Flex Builder 2 plugin woes...

2006-07-27 Thread Shannon Hicks





Somehow my thread got hijacked, so I'll ask the group 
again... any clue to my original problem?Adobe support claims that me 
installing the Flex Builder Plugin and it not working does not fall under the 
scope of installation support, even though, and I quote, "A completed installation is 
determined by the successful first run of the Adobe application."
 
Sounds like Adobe is all for getting people excited about 
Flex, but when it comes to tech support after you buy the product, they don't 
want anything to do with you.
 
Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Dan 
RossiSent: Thursday, July 27, 2006 1:27 PMTo: 
flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] Re: 
[flexcoders] Flex Builder 2 plugin woes...


it was checked, i had to constantly rebuild and clean manually to remove 
pesky errors from typos on constructor names :) Ill take another look in the 
morning. It has crashed a few times aswell mostly from moving components in 
design view and launching in a browser, which i now have launching the debug 
player instead :) Also the internal browser option never worked. 


On 28/07/2006, at 3:46 AM, Simeon Bateman wrote:
I feel like this might be a shot in the dark, but in 
  Flex builder there is a menu at the top.   Check the "Project" menu 
  and make sure "Build Automatically" is checked.  This is the piece that 
  makes it compile when you save.  If its not checked, you may  need 
  to tell it to build manually before the swf will get 
  written.HTHsim
  On 7/27/06, Dan 
  Rossi <[EMAIL PROTECTED]org> 
  wrote:
  




I did notice my standalone stopped compiling when saved, and i had to 
keeping launching to compile / build and get any errors in the problems 
window :\



On 28/07/2006, at 2:47 AM, Shannon Hicks wrote:

  So, I installed Eclipse 3.1.2, and then 
  installed the FB2 plugin... I imported an existing project, and everything 
  was going smoothly. I then hit control-F11, and nothing 
  happened.
   
  I now realize that the project is not 
  getting built, and there are no Run or Debug options. 
   
  I went back to FB2 standalone, and now 
  IT doesn't have Run or Debug options.
   
  How might I fix this, other than 
  uninstalling & reinstalling everything?
   
  Shan
  --No virus found in this outgoing message.Checked 
  by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.4/401 - 
  Release Date: 
7/26/2006



--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.10.4/401 - Release Date: 
7/26/2006
__._,_.___





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



  






__,_._,___



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/401 - Release Date: 7/26/2006
 


[flexcoders] get NetConnection from VideoDisplay

2006-07-27 Thread Dan Rossi
Hi there, im trying to extend VideoDisplay to build a custom  
videocomponent which loads custom camera and microphone classes for a  
cam broadcaster project im building. Im trying to work out how to get  
inherit its netconnection and netstream properties and its events  
which it obviouslly uses from the source property. There is no  
documentation about it at all. 


--
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: how to convert a remote XML file to a self defined object

2006-07-27 Thread junhufr
Actually, I just use a common way to retrive the data from XML file,
since the e4x, i found that in the HTTPService, we should add
resultFormat="e4x", then the object invoked from HTTPService will be
the e4x. After then, I just declare all XML tab names in the
FrontController class. Then I got a common way to retrive the data,
every time, just change the XML file and the XML tab definitions in
the FrontController class. All will be fine.


Any way, thanks for your help.

--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> I am sorry but I do not understand your goal.  If someone smarter than
> me replies, ignore this but if not:
> 
>  
> 
> First, are you sure you need to do this?  It is what e4x is designed to
> do.
> 
>  
> 
> If you are sure, exactly what do you mean by "self defined client
> class"? Are you trying to dynamically create an object that has a
> "child" method that will return an XML node?  Are you trying to turn the
> XML into an mx:Object?  Do you just need an associative array of nodes?
> 
>  
> 
> Give us a little more info.
> 
>  
> 
> Tracy
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of junhufr
> Sent: Thursday, July 27, 2006 6:47 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: Flex 2: how to convert a remote XML file to a
> self defined object
> 
>  
> 
> Sorry for the mistake, actually, I couldn't retrive the "companyA"
> child by using .child("companyA") method.
> 
> --- In flexcoders@yahoogroups.com 
> , "junhufr"  wrote:
> >
> > I've tried to convert a remote XML such as "client.xml" to a self
> > defined client class, but failed.
> > 
> > 
> > 
> > 
> > Tom
> > 
> > 
> > Jerry
> > 
> > 
> > 
> > 
> > 
> > Jean
> > 
> > 
> > Philip
> > 
> > 
> > 
> > 1. I invoked the XML from HTTPService
> > 2. Then I could get the child "companyA" from the object that i
> > invoked for HTTPService by using .child("companyA") method.
> > 
> > 
> > Any helps will be appreicated.
> > 
> > Jun
> >
>






--
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] getItemIndex(someObj) -- mx_internal_uid

2006-07-27 Thread Wayne McFetridge
I'm looking at doing this to prevent drag from datagrid into a" 
favourites" panel if the user already has that item in favs.

Drag from data gird, the panel that may receives the drop does a check 
of the "favourites" arraycollection  via

"*model.favourites,getItemIndex(theItemImDragging)*"

and if returns -1 accepts the drop otherwise no go.

The arraycollection of favourites and the arraycollection in the grid's 
dataProvider are both just arraycollections of my own WineVO.

Docs say that getItemAt returns -1 if the obj is not in the 
ArrayCollection and mentions an "exact match".

My question is "does this exact match take into account the 
"*mx_internal_uid*" that flex carries around in each item in an 
arraycollection?
I'm  guessing it does because when I drag a "new" item into my panel I 
accept the drop and then if i try to repeat I get no drop, as I want.

If however I  do another search, returning similar finds and try to drop 
them it allows the drop to happen and I get duplicates in my favourites.

I'm seeing that the only difference is the "*mx_internal_uid*" is 
obviously different in the datagrids arraycollection dataprovider.


Any way of handling this, or doing it differently

wayne mcfetridge


-- 





--
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: A bug with flash player 9??

2006-07-27 Thread Tracy Spratt












The way you have it set up you can’t
be sure the send is getting called.  Put it in a function so you can alert or
trace when it is called.

 

I don’t see how you are testing the
return?  There is no result handler defined, so you must be using binding. 
Binding is hard to debug.  Use a result handler and display an alert when it
gets called.

 

Tracy

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of flexava
Sent: Thursday, July 27, 2006
10:02 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: A bug
with flash player 9??



 







I use FB2 to generate html wrapper.In fact the same
situation comes up
when I run the generated swf file alone!!By the way,sometimes when I
click the button for the first time, there's actually no http request
made (I used http look to watch http request and response) and no log
in server indicating an http request came,but an WSDL error is
returned saying that Element xxx(xxx is a complex type defined in a
xsd) not resolvable.Any suggestion? Thanks.
Regards
--- In [EMAIL PROTECTED]ups.com,
"Cathy Reilly" <[EMAIL PROTECTED]> wrote:
>
> Is it possible that you're running into an issue with the new version of
> IE?
> 
> http://www.adobe.com/devnet/activecontent/
> 
> You don't mention how your html wrapper is generated. If you're using
> FB 2, FDS 2 Web Tier Compiler, or the html-templates that ship with Flex
> 2 SDK, then you've correctly coded the html wrapper to work with the new
> version of IE. If you've hand coded, be sure that you've followed the
> instructions in the link above. One easy way to tell if you're runnning
> into the Active Content issue is that you have a tooltip when you hover
> over the swf before the click, saying that you need to click or press
> enter to continue. Thus, the first click is for activation and every
> other click gets picked up.
> 
> - Cathy 
> 
> -Original Message-
> From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
> Behalf Of flexava
> Sent: Thursday, July 27, 2006 8:38 AM
> To: [EMAIL PROTECTED]ups.com
> Subject: [flexcoders] A bug with flash player 9??
> 
> Hi,I wonder if there's a bug with the flash play 9.When I specify that
> a web service be called when a button is clicked,like this:
> 
> wsdl="some wsdl here" showBusyCursor="true">
> 
> 
> param
> 
> 
> 
> 
> The call isn't made when the button is clicked for the first
> time,seeming that nothing happend(and actually nothing didn't
> happen!!),but everything is ok in the successive clicks.Does anybody
> else run into similar situation??
> 
> 
> 
> 
> 
> 
> --
> 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








   






  
  
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] textInput autocommit?

2006-07-27 Thread ryan harlin
I posted a similar question with more explanation but
I'll simplify since I probably bored people away from
answering:


How do I get a textInput field to autocommit to my
data source (FDS)?  On leaving the field I want the
changes to update the database but I can't seem to
figure it out.  I can get it work on pressing the
enter key but not upon losing focus.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




--
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] Caringorm - Visual Flowchart Poster!

2006-07-27 Thread Evan Gifford












Awesome, Thanks Steven!

 

I’ll make the changes from Dan and re-submit! :^)

 

I know your vocabulary is as precise as a laser beam, so did
I get all the terminology correct?

 

I.E. “Enlist the appropriate command”, “enlists
the application-tier service” and “Business Delegate relays
response back to command”

(Please keep in mind that I have no experience with
Cairngorm as of yet, which is why I’m not entirely confident with the
terminology)

 

As far as hosting goes, you can have the source file and do
with it what you want, but I am also happy to host it.

I’ll send you all permanent URL soon as it’s
finished and uploaded.

 

Thanks again!

-Evan

 

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Steven Webster
Sent: Thursday, July 27, 2006 9:41
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
Caringorm - Visual Flowchart Poster!



 







Evan,

This diagram looks great; conceptually I think you have it captured. A
few thoughts:

1. Steven, not Stephen ;)
2. Might it make more sense visually to have the controller strip
in between the model and the view ? But then again, that's why I'm
not working in our UX practice... ;)
3. In your view strip, another type "Caringorm" instead of
Cairngorm.

Great work though - will you keep this in a consistent place, so we can
link to this from www.adobe.com/go/cairngorm/ ?

Good work,

Steven

Steven Webster
Practice Leader (Rich Internet Applications)
Adobe Consulting
Westpoint, 4 Redheughs Rigg, South Gyle, Edinburgh,
 EH12 9DQ, UK
p: +44 (0) 131 338 6108
m: +44 (0) 7917 428 947 
[EMAIL PROTECTED]com 

> -Original Message-
> From: [EMAIL PROTECTED]ups.com

> [mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of Evan Gifford
> Sent: 27 July 2006 16:32
> To: [EMAIL PROTECTED]ups.com
> Subject: RE: [flexcoders] Caringorm - Visual Flowchart Poster!
> 
> Alright, thank for your feedback guys!
> 
> I've updated this Cairngorm diagram, but I still desperately 
> need some authoritative feedback:
> 
> Please check the updated diagram here:
> http://www.undustrial.com/cairngorm.gif
> 
> Thanks Guys, I'll send you all a high-res PDF when it's ready to rock.
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED]ups.com

> [mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of Evan Gifford
> Sent: Wednesday, July 26, 2006 8:37 AM
> To: [EMAIL PROTECTED]ups.com
> Subject: RE: [flexcoders] Caringorm - Visual Flowchart Poster!
> 
> Awesome, exactly the feedback I needed, thanks Jester!
> 
> I'll put the service locator in there today.
> I'll also put some design love into this guy too.
> 
> Please, any and ALL suggestions, comments or changes are 
> needed and welcome.
> 
> Let's make this the Flexcoders cairngorm poster!
> 
> You guys rock!
> -Evan
> 
> -Original Message-
> From: [EMAIL PROTECTED]ups.com

> [mailto:[EMAIL PROTECTED]ups.com]
On Behalf Of JesterXL
> Sent: Tuesday, July 25, 2006 4:56 PM
> To: [EMAIL PROTECTED]ups.com
> Subject: Re: [flexcoders] Caringorm - Visual Flowchart Poster!
> 
> Only change homey is:
> 
> - Command creates Delegate, and calls method on it, passing 
> itself (usually) in as a responder
> - Delegate gets service from ServiceLocator, and then calls server
> - upon response, either massages it (via Factory) or just 
> simply gives it back as is to the Command
> 
> All in all, your diagram is pretty effective in showing the 
> seperation as well as the circular nature.
> 
> I agree with Mike; make that mofo bigger!
> 
> - Original Message -
> From: "Evan Gifford" <[EMAIL PROTECTED]ams.com>
> To: <[EMAIL PROTECTED]ups.com>
> Sent: Tuesday, July 25, 2006 6:33 PM
> Subject: [flexcoders] Caringorm - Visual Flowchart Poster!
> 
> 
> My fellow Flexcoders!
> 
> After reading Steven's excellent article covering the 
> Cairngorm architecture
> ( Start the 6-part series here -
> http://www.adobe.com/devnet/flex/articles/cairngorm_pt1.html
)
> 
> I've started creating a flowchart tracing a Cairngorm Event 
> from the Event 
> Broadcaster with a data payload through the cairngorm process:
> 
> Work in progress - you'll get the idea at least - 
> http://www.undustrial.com/cairngorm.jpg
> 
> This starts with the Front Controller, then to a Command 
> Class, to the 
> Service Locater and to the server . then back to the 
> Command Class to 
> the Model Locater and finally back to the view through data 
> binding . 
> hmm, I think that's right?
> 
> Anyway, it occurs to me that someone may have already done this?
> 
> If so, will you please post so I can make it into a poster 
> (for re-post!)?
> If not, would someone be willing to collaborate with me 
> (I'm totally new
> cairngorm)?
> 
> Being half-designer-half-programmer, I'd love to create a 
> downloadable PDF 
> for us Flexcoders to use!
> 
> Thanks!
> Evan
> 
> 
> 
> 
> 
> 
> 
> 
> -- 
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.394 / Virus Database: 268.10.4/

RE: [flexcoders] Caringorm - Visual Flowchart Poster!

2006-07-27 Thread Evan Gifford












Awesome! I knew there must have been a
diagram posted here before.

 

Thanks Koen!

 

I’ll incorporate the best parts of
this, but I think this chart can benefit from the separation of the MVC as
layers in the diagram. Since I’m fairly new to the MVC separation of
classes, I tried to incorporate this into the diagram.

 

Also, I’ll happily pass along the
Visio document to anyone who would like to help, either with colors, shapes or organization,
please don’t hesitate to ring in.

We can play Visio-Tennis. ;^)

 

-Evan

 









From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Koen Van Hasselt
Sent: Wednesday, July 26, 2006
1:04 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
Caringorm - Visual Flowchart Poster!



 







An excellent Flow Chart (to my opinion) was posted on
this forum some time
ago ... check this out:
http://www.corbell.com.au/docs/Cairngorm%20flow%20chart.pdf
It's made by Russel Munro, based on Steven's Cairngorm articles.

-Original Message-
From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
Behalf Of Evan Gifford
Sent: woensdag 26 juli 2006 0:33
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] Caringorm - Visual Flowchart Poster!

My fellow Flexcoders!

After reading Steven's excellent article covering the Cairngorm architecture
( Start the 6-part series here - 
http://www.adobe.com/devnet/flex/articles/cairngorm_pt1.html
)

I've started creating a flowchart tracing a Cairngorm Event from the Event
Broadcaster with a data payload through the cairngorm process:

Work in progress - you'll get the idea at least -
http://www.undustrial.com/cairngorm.jpg

This starts with the Front Controller, then to a Command Class, to the
Service Locater and to the server . then back to the Command Class to
the Model Locater and finally back to the view through data binding .
hmm, I think that's right?

Anyway, it occurs to me that someone may have already done this?

If so, will you please post so I can make it into a poster (for re-post!)?
If not, would someone be willing to collaborate with me (I'm totally new
cairngorm)?

Being half-designer-half-programmer, I'd love to create a downloadable PDF
for us Flexcoders to use! 

Thanks!
Evan

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/396 - Release Date: 7/24/2006


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








   






  
  
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.



  






__,_._,___








--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/399 - Release Date: 7/25/2006
 

--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/399 - Release Date: 7/25/2006
 


Re: [flexcoders] F2.0 final - Possbile bug with PopUpButton and PopUpMenuButton

2006-07-27 Thread Clint Modien



I'm noticing this behavior as well... (No. 2) but in PopUpButton.Has this bug been filed?  Is there a workaround?On 7/3/06, 
sinatosk <[EMAIL PROTECTED]> wrote:













  



thanks that worked ;)ok thats the PopUpButton partially fixed... now for PopUpMenuButtonI'm gonna rephrase the PopUpMenuButton problem I mentioned above...
When I first open the menu... I'm accessing the root menu... When I hover over one of those items for the time then move my mouse over another item in root menu ( not sub menus ). The menu closes on it's own. If I redo all of this again but this time I go into sub menus and then hover over the parent or root menu of the sub menu I just entered into... the menu also closes on it's own.
There hope that is explained better :pOn 03/07/06, Benoit Hediard <
[EMAIL PROTECTED]> wrote:













  






I've also encountered this issue (event dispatched 
twice).
 
Here is a workaround :
private function itemClickHandler(event:MenuEvent):void 
{
    if (event.index != -1) { // Workaround 
to ignore the second event
    
...
    }
}
 
Benoit Hediard


De : flexcoders@yahoogroups.com
 
[mailto:flexcoders@yahoogroups.com] De la part de 
sinatoskEnvoyé : dimanche 2 juillet 2006 
21:41À : flexcoders@yahoogroups.comObjet :
 
[flexcoders] F2.0 final - Possbile bug with PopUpButton and 
PopUpMenuButton
4 days after the release I come to update my Flex Application from 
Beta 3 to Final and the 2 main components I used seem to be bugged. not very 
good at explaining things to bare with me please :pPopUpButton   
 - Every time I select an item... 
the "itemClick" event gets dispatched twice. it just pops with with 2 Alert 
dialogs every time I select an 
itemPopUpMenButton    - When I put my mouse over 
an item for the first time works fine... but soon as I hover over another 
menu item in the main level... the menu closes automatically and also if I Hover 
over an item that is a sub menu I can keep going in and in until there are 
no more children... or I could just go in once... and then soon as I hover over 
another item... again the menu just closes. Both times this is without click on 
any items in the menu I've posted the code belowFlex code 
being:http://www.adobe.com/2006/mxml " 
layout="absolute">    
    
    
        paddingTop="10" 
paddingBottom="10" paddingRight="10" paddingLeft="10" x="10" y="10" height="187" 
width="411">        
text="Button label contains the name of the last selected menu item." 
/>     
    
            
        
    
    
    
                     
    
 
    
 
    
    
    
    
         
    
     
         
        paddingTop="10" paddingLeft="10" 
paddingRight="10" x="10" y="205" height="143" width="271"> 
        
text="Click the down arrow to open the 
menu."/>    
    
dataProvider="{treeDP2}" 
    
labelField="@label"    
itemClick="itemClickHandler2(event);"/>    
Flex code end;Is it 
possible these are bugs? I've tested this with flash player 9.0.15.0 ( with debug ) and 

9.0.16.0 ( without debug ) 

  















  














__._,_.___





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



  






__,_._,___



Re: [flexcoders] Custom component live-preview and code-hint questions

2006-07-27 Thread Dan Rossi
As the manual says, do you not have to add it as a namespace first ?

so xmlns:panels="components.panels.*"

will load components in flex files in components/panels/



components/panels/TheComponent.mxml

or i have some in As aswell so

xmlns="com.company.comp.*"

com/company/comp/


On 28/07/2006, at 9:10 AM, dc wrote:

> Just created a new component and tried to pack it into a swc, the
> component is named "TheComponent.as" and the swc is named "test.swc"
>
> Got two questions.
>
> 1. The custom component never shows up in Design View, just like those
> FB2 built-in components did.
>
> Actually no matter it's packed in a swc file or just direct import the
> component actionscript file, it just won't display in Design View,
> hence user can't live preview and manipulate it right on the stage.
>
> 2. Code hint for custom class/component never showed up.
>
> When I created a new project and drop the test.swc in and add it to
> the library path, then use following code to put it on stage:
>
> var t:TheComponent = new TheComponent();
> this.addChild( t );
>
> Or
>
> 
>
> The component will appear on stage, but all code hint for it was gone,
> normally when I type
>
> t. <-- there should be a drop down list of code hints for t right
> after . (dot), but nothing showed up
>
> or
>
>  code hint
>
> It failed me in both ways.
>
> Any one could shed a light on these two questions ? thanks.
>
> Btw, I have tried to pack the swc using both Library project and
> compc, also tried various combinations of -namespace, -source-path and
> manifest xmls.
>
>
> Jeremy.
>
>
>
>
>
>
> --
> 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

<*> 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: antiAliasType null exception with Text instances!

2006-07-27 Thread Daniel Freiman



I think I had this problem when I created the text field in the constructor.  If this is what you're doing, move it to createChildren() instead.On 7/27/06, 
loftling <[EMAIL PROTECTED]> wrote:
--- In flexcoders@yahoogroups.com, "Sergey Kovalyov"<[EMAIL PROTECTED]> wrote:>> Hi All!>> Each time I create new Text instance in ActionScript using new Text()
> and then add it to parent container, I get exception:>> TypeError: Error #2007: Parameter antiAliasType must be non-null.I'm having a similar problem. I've got two containers that have
UITextFields in them. One of them works sometimes, the other neverworks. I've tried specifying the antiAliasType in css and setting thestyle explicitly on the control.TypeError: Error #2007: Parameter antiAliasType must be non-null.
at flash.text::TextField/set antiAliasType()atmx.core::UITextField/validateNow()[C:\dev\GMC\sdk\frameworks\mx\core\UITextField.as:1427]at mx.core::UITextField/setnestLevel()[C:\dev\GMC\sdk\frameworks\mx\core\UITextField.as:956]
at mx.core::UIComponent/setnestLevel()[C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:2420]atmx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::addingChild()[C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:4720]
atmx.core::Container/http://www.adobe.com/2006/flex/mx/internal::addingChild()[C:\dev\GMC\sdk\frameworks\mx\core\Container.as:3306]atmx.core::Container/addChildAt()[C:\dev\GMC\sdk\frameworks\mx\core\Container.as:2285]
--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
  
  
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] Re: mail from Flex

2006-07-27 Thread jf.saldanha
Thanks Steve

Your code work fine and dont need a JavaScript in a HTML shell page.

and thanks again for you and Brendan from the last post that give me a
diferent solucion.








--- In flexcoders@yahoogroups.com, "Steve Cox" <[EMAIL PROTECTED]> wrote:
>
> Try:
>  
> 
> 
> 
>  
> Steve
>  
> -Original Message-
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of jf.saldanha
> Sent: 26 July 2006 19:06
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] mail from Flex
>  
> Hi FlexCoders
> 
> I need some Help on this Issue, I try this to send Email from Flex:
> 
> 
> 
> 
> 
> 
> 
> This work, open a default Email window but open a Browser window to.
> 
> Need some Help Thanks
> 
> jf.sal
>






--
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] compiling standalone projector in flex builder ?

2006-07-27 Thread Dan Rossi
Hi is there a way to compile standalone projector files in flex  
builder ? As im making a client based application, and would be nice  
to have to runnable on both pc and mac.

Also how do i create swc files ?

let me know cheers.


--
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: how to convert a remote XML file to a self defined object

2006-07-27 Thread Doug Arthur



I just ran into a similar probem and it was for some reason do to the namespace on the xml document. I was trying to work with spreadSheetXML (Microsoft XML schema for Excel), needless to say it was a complex XML doc. I had to do loops on the child, check the name() agains the 
fully_qualified_schema::name
 
eg: if(item.name() == 'urn:schemas-microsoft-com:office:spreadsheet::@data') 

 
 
Below is my complete short example of how I'm parsing through XML. What I'm doing is using a template to re-build XML with dynamic data... (I'm guessing there's a way to do xml translations via xslt but, I have no idea how... so don't take this example to heart as in what I'm doing, this is just shows parsing at least...)

 

public function parseXMLTemplates():
void {  parseChildren(templateXML.children());}public function
 parseChildren(xmlChild:XMLList):void {  var dataXML:XML =      DATA_SECTION
  ;  if(xmlChild.length()) {    for 
each(var item:XML in xmlChild) {
  if(item!=='') {    if(item.name() == 
'urn:schemas-microsoft-com:office:spreadsheet::@data') {  item.parent().replace(item.name(), dataXML);    }  }  }
  if(xmlChild.children().length())    parseChildren(xmlChild.children());  }} 
 
On 7/27/06, junhufr <[EMAIL PROTECTED]> wrote:






Sorry for the mistake, actually, I couldn't retrive the "companyA"child by using .child("companyA") method.
--- In 
flexcoders@yahoogroups.com, "junhufr" <[EMAIL PROTECTED]> wrote:>> I've tried to convert a remote XML such as "client.xml" to a self> defined client class, but failed.> 
> > > > Tom> > > Jerry> 
> > > > > Jean> > > Philip> 
> > > 1. I invoked the XML from HTTPService> 2. Then I could get the child "companyA" from the object that i> invoked for HTTPService by using .child("companyA") method.
> > > Any helps will be appreicated.> > Jun>

 

__._,_.___





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



  






__,_._,___



Re: [flexcoders] Re: cairngorm Events and data payloads

2006-07-27 Thread JesterXL
5 coffee's and 3 RedBull's later, I'm running on fumes, so don't really have 
intelligent answers for you, just guesses.

Don't know, I guess you're right.

Find some way to either A) follow the convention a Command will get the 
event class of a similiar name, and thus feel safe in casting it or B ) find 
some way to strongly type that parameter.  You can't up-cast function 
arguments, though, so it's kind of stuck as CairngormEvent... I think.

For the multiple events, yes, you are correct.  I've definately taken for 
granted all my other stuff has worked for that very fact.  Oops.

Actually, at this point, no clue... wtf were you talking about anyway, 
Bokel?

- Original Message - 
From: "ben.clinkinbeard" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, July 27, 2006 10:50 PM
Subject: [flexcoders] Re: cairngorm Events and data payloads


Doesn't execute() accept a CairngromEvent for the sake of polymorphism
though? How could you do things any differently and still preserve
that aspect? Additionally, if you want your Commands to support
multiple types of events isn't it essential that execute() accept a
superclass or common interface? Are you just wishing AS supported
method overloading or is there something I am still not getting?

Thanks,
Ben
http://www.returnundefined.com/

--- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote:
>
> My initial frustration was I'd create this event class, which allowed
> strong-typing, like so:
>
> package
> {
> import com.adobe.control.CairngormEvent;
>
> public class MyEvent extends CairngormEvent
> {
> public static const ACTION:String = "action";
>
> public var someID:int;
>
> public function MyEvent(p_type:String, p_someID:int)
> {
> super(p_type);
> someID = p_someID;
> }
> }
> }
>
> So, my event now has context.  If I need to have my Command get a
person
> record from the DB for example, this event will contain the payload it
> needs; the person ID I'm looking for.  However, by the time it gets
to the
> Command, it's a base class, the CairngormEvent.
>
> package
> {
> public class MyCommand implements AllTheInterfacesEct
> {
> public function execute ( event:CairngormEvent )
> {
> trace(event.someID); // faith based programming
> }
> }
> }
>
> Now, for some, their Events are directly linked to Commands, like so:
>
> LoginEvent will fire LoginCommand which calls LoginDelegate
> GetPersonEvent will fire GetPersonCommand which calls GetPersonDelegate
>
> At a simple level, yes, this'll do.  So, you can acutally make some
> assumptions in the above; if you play by the default Cairngorm
rules, you
> KNOW by convention that your MyCommand class will get a MyEvent, so you
> could risk up-casting, like so:
>
> someDelegateMethod ( MyEvent ( event ) . someID );
>
> ...that's faith, though.  You'll get an exception if for some reason
that's
> not the real event.  It'd be better if the compiler caught that vs. the
> runtime, before it's a problem.  For me, I use multiple events inside
> Commands, so it's exacerbated.  The Controller keeps all of this
under tabs,
> but again, it'd be nice if MyCommand for example GOT MyEvent in the
execute.
> I supposed you could make that assumption; not sure if it'd compile.
> Anyway, convention over strict-typing is ok since a lot of
conventions teams
> follow can do the above, for example, and assume you'll get what you
need.
>
>
> - Original Message - 
> From: "ben.clinkinbeard" <[EMAIL PROTECTED]>
> To: 
> Sent: Thursday, July 27, 2006 10:22 PM
> Subject: [flexcoders] Re: cairngorm Events and data payloads
>
>
> Forgive the dense noob here, but how is the type info lost? I thought
> that by subclassing CairngormEvent you get basic checking and then you
> can just do a cast or 'event as MyCutomEvent' inside the execute
> method. I guess I am just not clear on what the issue is and where the
> problem lies. Can someone edumacate me?
>
> Thanks,
> Ben
> http://www.returnundefined.com/
>
> --- In flexcoders@yahoogroups.com, "JesterXL"  wrote:
> >
> > Well, my events extend CairngormEvent, so I can technically upcast
> 'em when they get in the Command's execute method.  I know Steven
> didn't really dig this idea, but if you case the type, you can compare
> to the Event's constant like:
> >
> > public static const EVENT_DOSOMETHING:String = "doSomething";
> >
> > function execute(event:CairngormEvent)
> > {
> > switch(event.type)
> > {
> > case MyEvent.EVENT_DOSOMETHING:
> > someMethod ( MyEvent(event).someTypeSafeProp);
> > break;
> > }
> > }
> >
> >
> > - Original Message - 
> > From: Ralf Bokelberg
> > To: flexcoders@yahoogroups.com
> > Sent: Thursday, July 27, 2006 4:20 PM
> > Subject: Re: [flexcoders] Re: cairngorm Events and data payloads
> >
> >
> > The only typesafe solution i can think of, is to abandon
> CairngormEvents and rep

[flexcoders] Re: cairngorm Events and data payloads

2006-07-27 Thread ben.clinkinbeard
Doesn't execute() accept a CairngromEvent for the sake of polymorphism
though? How could you do things any differently and still preserve
that aspect? Additionally, if you want your Commands to support
multiple types of events isn't it essential that execute() accept a
superclass or common interface? Are you just wishing AS supported
method overloading or is there something I am still not getting?

Thanks,
Ben
http://www.returnundefined.com/

--- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote:
>
> My initial frustration was I'd create this event class, which allowed 
> strong-typing, like so:
> 
> package
> {
> import com.adobe.control.CairngormEvent;
> 
> public class MyEvent extends CairngormEvent
> {
> public static const ACTION:String = "action";
> 
> public var someID:int;
> 
> public function MyEvent(p_type:String, p_someID:int)
> {
> super(p_type);
> someID = p_someID;
> }
> }
> }
> 
> So, my event now has context.  If I need to have my Command get a
person 
> record from the DB for example, this event will contain the payload it 
> needs; the person ID I'm looking for.  However, by the time it gets
to the 
> Command, it's a base class, the CairngormEvent.
> 
> package
> {
> public class MyCommand implements AllTheInterfacesEct
> {
> public function execute ( event:CairngormEvent )
> {
> trace(event.someID); // faith based programming
> }
> }
> }
> 
> Now, for some, their Events are directly linked to Commands, like so:
> 
> LoginEvent will fire LoginCommand which calls LoginDelegate
> GetPersonEvent will fire GetPersonCommand which calls GetPersonDelegate
> 
> At a simple level, yes, this'll do.  So, you can acutally make some 
> assumptions in the above; if you play by the default Cairngorm
rules, you 
> KNOW by convention that your MyCommand class will get a MyEvent, so you 
> could risk up-casting, like so:
> 
> someDelegateMethod ( MyEvent ( event ) . someID );
> 
> ...that's faith, though.  You'll get an exception if for some reason
that's 
> not the real event.  It'd be better if the compiler caught that vs. the 
> runtime, before it's a problem.  For me, I use multiple events inside 
> Commands, so it's exacerbated.  The Controller keeps all of this
under tabs, 
> but again, it'd be nice if MyCommand for example GOT MyEvent in the
execute. 
> I supposed you could make that assumption; not sure if it'd compile. 
> Anyway, convention over strict-typing is ok since a lot of
conventions teams 
> follow can do the above, for example, and assume you'll get what you
need.
> 
> 
> - Original Message - 
> From: "ben.clinkinbeard" <[EMAIL PROTECTED]>
> To: 
> Sent: Thursday, July 27, 2006 10:22 PM
> Subject: [flexcoders] Re: cairngorm Events and data payloads
> 
> 
> Forgive the dense noob here, but how is the type info lost? I thought
> that by subclassing CairngormEvent you get basic checking and then you
> can just do a cast or 'event as MyCutomEvent' inside the execute
> method. I guess I am just not clear on what the issue is and where the
> problem lies. Can someone edumacate me?
> 
> Thanks,
> Ben
> http://www.returnundefined.com/
> 
> --- In flexcoders@yahoogroups.com, "JesterXL"  wrote:
> >
> > Well, my events extend CairngormEvent, so I can technically upcast
> 'em when they get in the Command's execute method.  I know Steven
> didn't really dig this idea, but if you case the type, you can compare
> to the Event's constant like:
> >
> > public static const EVENT_DOSOMETHING:String = "doSomething";
> >
> > function execute(event:CairngormEvent)
> > {
> > switch(event.type)
> > {
> > case MyEvent.EVENT_DOSOMETHING:
> > someMethod ( MyEvent(event).someTypeSafeProp);
> > break;
> > }
> > }
> >
> >
> > - Original Message - 
> > From: Ralf Bokelberg
> > To: flexcoders@yahoogroups.com
> > Sent: Thursday, July 27, 2006 4:20 PM
> > Subject: Re: [flexcoders] Re: cairngorm Events and data payloads
> >
> >
> > The only typesafe solution i can think of, is to abandon
> CairngormEvents and replace them by methods of the FrontController.
> Most of the apps i've seen so far don't make use of the runtime
> changeability anyways. What do we loose if we do it like that?
> >
> > Cheers,
> > Ralf.
> >
> >
> > On 7/27/06, JesterXL  wrote:
> >   I'm with you.  I've been determing type of event based on the
> event.type in the Command's execute method to get my strong-typing back.
> >
> >   - Original Message - 
> >   From: Ralf Bokelberg
> >   To: flexcoders@yahoogroups.com
> >   Sent: Thursday, July 27, 2006 12:58 PM
> >   Subject: Re: [flexcoders] Re: cairngorm Events and data payloads
> >
> >
> >   Its really a pity, that we loose all the nice type information
> while going all the way through Cairngorm.
> >
> >   Cheers,
> >   Ralf.
> >
> >
> >   On 7/27/06, Douglas Knudsen  wrote:
> > ah, rig

Re: [flexcoders] Re: cairngorm Events and data payloads

2006-07-27 Thread JesterXL
My initial frustration was I'd create this event class, which allowed 
strong-typing, like so:

package
{
import com.adobe.control.CairngormEvent;

public class MyEvent extends CairngormEvent
{
public static const ACTION:String = "action";

public var someID:int;

public function MyEvent(p_type:String, p_someID:int)
{
super(p_type);
someID = p_someID;
}
}
}

So, my event now has context.  If I need to have my Command get a person 
record from the DB for example, this event will contain the payload it 
needs; the person ID I'm looking for.  However, by the time it gets to the 
Command, it's a base class, the CairngormEvent.

package
{
public class MyCommand implements AllTheInterfacesEct
{
public function execute ( event:CairngormEvent )
{
trace(event.someID); // faith based programming
}
}
}

Now, for some, their Events are directly linked to Commands, like so:

LoginEvent will fire LoginCommand which calls LoginDelegate
GetPersonEvent will fire GetPersonCommand which calls GetPersonDelegate

At a simple level, yes, this'll do.  So, you can acutally make some 
assumptions in the above; if you play by the default Cairngorm rules, you 
KNOW by convention that your MyCommand class will get a MyEvent, so you 
could risk up-casting, like so:

someDelegateMethod ( MyEvent ( event ) . someID );

...that's faith, though.  You'll get an exception if for some reason that's 
not the real event.  It'd be better if the compiler caught that vs. the 
runtime, before it's a problem.  For me, I use multiple events inside 
Commands, so it's exacerbated.  The Controller keeps all of this under tabs, 
but again, it'd be nice if MyCommand for example GOT MyEvent in the execute. 
I supposed you could make that assumption; not sure if it'd compile. 
Anyway, convention over strict-typing is ok since a lot of conventions teams 
follow can do the above, for example, and assume you'll get what you need.


- Original Message - 
From: "ben.clinkinbeard" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, July 27, 2006 10:22 PM
Subject: [flexcoders] Re: cairngorm Events and data payloads


Forgive the dense noob here, but how is the type info lost? I thought
that by subclassing CairngormEvent you get basic checking and then you
can just do a cast or 'event as MyCutomEvent' inside the execute
method. I guess I am just not clear on what the issue is and where the
problem lies. Can someone edumacate me?

Thanks,
Ben
http://www.returnundefined.com/

--- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote:
>
> Well, my events extend CairngormEvent, so I can technically upcast
'em when they get in the Command's execute method.  I know Steven
didn't really dig this idea, but if you case the type, you can compare
to the Event's constant like:
>
> public static const EVENT_DOSOMETHING:String = "doSomething";
>
> function execute(event:CairngormEvent)
> {
> switch(event.type)
> {
> case MyEvent.EVENT_DOSOMETHING:
> someMethod ( MyEvent(event).someTypeSafeProp);
> break;
> }
> }
>
>
> - Original Message - 
> From: Ralf Bokelberg
> To: flexcoders@yahoogroups.com
> Sent: Thursday, July 27, 2006 4:20 PM
> Subject: Re: [flexcoders] Re: cairngorm Events and data payloads
>
>
> The only typesafe solution i can think of, is to abandon
CairngormEvents and replace them by methods of the FrontController.
Most of the apps i've seen so far don't make use of the runtime
changeability anyways. What do we loose if we do it like that?
>
> Cheers,
> Ralf.
>
>
> On 7/27/06, JesterXL <[EMAIL PROTECTED]> wrote:
>   I'm with you.  I've been determing type of event based on the
event.type in the Command's execute method to get my strong-typing back.
>
>   - Original Message - 
>   From: Ralf Bokelberg
>   To: flexcoders@yahoogroups.com
>   Sent: Thursday, July 27, 2006 12:58 PM
>   Subject: Re: [flexcoders] Re: cairngorm Events and data payloads
>
>
>   Its really a pity, that we loose all the nice type information
while going all the way through Cairngorm.
>
>   Cheers,
>   Ralf.
>
>
>   On 7/27/06, Douglas Knudsen <[EMAIL PROTECTED]> wrote:
> ah, righto.  thanks d00ds.  I had this hacked up too much...no
worky good.   If only I can get that damn RO to calm down now and do
what its told!  but that's another thread.
>
>
> DK
>
>
>
> On 7/27/06, thunderstumpgesatwork < [EMAIL PROTECTED]> wrote:
>   Hi,
>
>   The delegate function thinks you just have a CairngormEvent. I
think
>   you just need to check to make sure the event you received is your
>   custom event type and then cast it.
>
>   so:
>
>   if (eventHere is LoadScorecardEvent)
>   {
>   del.getScorecard( LoadScorecardEvent(eventHere).scorecardId );
>   }
>   else
>   {
>   // do nothing, or raise error, or log warning, or whatever.
>   }
>
>

[flexcoders] Re: cairngorm Events and data payloads

2006-07-27 Thread ben.clinkinbeard
Forgive the dense noob here, but how is the type info lost? I thought
that by subclassing CairngormEvent you get basic checking and then you
can just do a cast or 'event as MyCutomEvent' inside the execute
method. I guess I am just not clear on what the issue is and where the
problem lies. Can someone edumacate me?

Thanks,
Ben
http://www.returnundefined.com/

--- In flexcoders@yahoogroups.com, "JesterXL" <[EMAIL PROTECTED]> wrote:
>
> Well, my events extend CairngormEvent, so I can technically upcast
'em when they get in the Command's execute method.  I know Steven
didn't really dig this idea, but if you case the type, you can compare
to the Event's constant like:
> 
> public static const EVENT_DOSOMETHING:String = "doSomething";
> 
> function execute(event:CairngormEvent)
> {
> switch(event.type)
> {
> case MyEvent.EVENT_DOSOMETHING:
> someMethod ( MyEvent(event).someTypeSafeProp);
> break;
> }
> }
> 
> 
> - Original Message - 
> From: Ralf Bokelberg 
> To: flexcoders@yahoogroups.com 
> Sent: Thursday, July 27, 2006 4:20 PM
> Subject: Re: [flexcoders] Re: cairngorm Events and data payloads
> 
> 
> The only typesafe solution i can think of, is to abandon
CairngormEvents and replace them by methods of the FrontController.
Most of the apps i've seen so far don't make use of the runtime
changeability anyways. What do we loose if we do it like that? 
> 
> Cheers,
> Ralf. 
> 
> 
> On 7/27/06, JesterXL <[EMAIL PROTECTED]> wrote:
>   I'm with you.  I've been determing type of event based on the
event.type in the Command's execute method to get my strong-typing back.
> 
>   - Original Message - 
>   From: Ralf Bokelberg 
>   To: flexcoders@yahoogroups.com 
>   Sent: Thursday, July 27, 2006 12:58 PM
>   Subject: Re: [flexcoders] Re: cairngorm Events and data payloads
> 
> 
>   Its really a pity, that we loose all the nice type information
while going all the way through Cairngorm. 
> 
>   Cheers,
>   Ralf. 
> 
> 
>   On 7/27/06, Douglas Knudsen <[EMAIL PROTECTED]> wrote: 
> ah, righto.  thanks d00ds.  I had this hacked up too much...no
worky good.   If only I can get that damn RO to calm down now and do
what its told!  but that's another thread.
> 
> 
> DK
> 
> 
> 
> On 7/27/06, thunderstumpgesatwork < [EMAIL PROTECTED]> wrote: 
>   Hi,
> 
>   The delegate function thinks you just have a CairngormEvent. I
think
>   you just need to check to make sure the event you received is your
>   custom event type and then cast it.
> 
>   so:
> 
>   if (eventHere is LoadScorecardEvent) 
>   {
>   del.getScorecard( LoadScorecardEvent(eventHere).scorecardId );
>   }
>   else
>   {
>   // do nothing, or raise error, or log warning, or whatever.
>   }
> 
> 
>   best of luck,
>   Thunder
> 
>   --- In flexcoders@yahoogroups.com, "Douglas Knudsen"
>wrote:
>   >
>   > can someone point me to a example of how to pass data in a
cairngorm
>   type
>   > event?  I'm trying the below with 
>   >
>   > package com.mycompany.events
>   > {
>   > import com.adobe.cairngorm.control.CairngormEvent;
>   >
>   > public class LoadScorecardEvent extends CairngormEvent
>   > {
>   > public static var EVENT_LOAD_SCORECARD: String = 
>   > 'LoadScorecardEvent';
>   >  public var scorecardId:Number;
>   > /**
>   >  * The constructor,
>   >  */
>   > public function LoadScorecardEvent( )
>   > { 
>   > super( EVENT_LOAD_SCORECARD );
>   >
>   > }
>   >
>   > }
>   >
>   > }
>   >
>   > then in a view dispatching like so
>   > var devent : LoadScorecardEvent = new LoadScorecardEvent(  ); 
>   > devent.scorecardId = 5;
>   >
>   CairngormEventDispatcher.getInstance().dispatchEvent(
>   > devent );
>   >
>   > and in the command I have
>   >
>   > public function execute( eventHere : CairngormEvent ) : void 
>   >{
>   >   var del : MainDelegate = new MainDelegate( this );
>   >   del.getScorecard( eventHere.scorecardId );
>   >
>   >}
>   >
>   > But this bombs out with a error about scorecardId not in
eventHere. 
>   >
>   > DK
>   >
>   >
>   > --
>   > 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
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> -- 
> Douglas Knudsen
> http://www.cubicleman.com 
> this is my signature, like it? 
> 
> 
> 
> 
>   -- 
>   Ralf Boke

Re: [flexcoders] Re: Backend/Frontend Application Development (Cairngorm)

2006-07-27 Thread Douglas Knudsen



right...but hot to get a shared command to speak to a individual model?  DKOn 7/27/06, thunderstumpgesatwork <
[EMAIL PROTECTED]> wrote:Hey guys,I'm just starting with Cairngorm also, and I've never seen this done
specifically, but I don't see any reason you can't have multipleModelLocators... they're just singleton classes really.So, you could for instance have a shared ModelLocator with state thatis shared between apps. Then state specific to a particular app
(client or server) could have their own ML. SO:com.company.project.shared.model.SHModLoccom.company.project.admin.model.AModLoccom.company.project.client.model.CModLocwhat do you all think of this approach?
Thunder--- In flexcoders@yahoogroups.com, "Douglas Knudsen"<[EMAIL PROTECTED]> wrote:>> righto on that.  Say I have a command GetUserCommand() that returns
a userVO> for the current user in session.  This is returned to the appsmodellocator,> has stuff like name, etc, in it.>> so we have> com.company.project.admin.model.AModLoc> 
com.company.project.client.model.CModLoc>>> How does GetUserCommand()  stick the userVO result into the propermodel?> Typically the model is hardcoded in the Command, eh?  What I've done
so far> is used a generic model so to speak in> com.company.project.model.GModLocsay.  Then the client app and admin> app can access it as well as their> respective model.>>> DK
>>> On 7/27/06, JesterXL <[EMAIL PROTECTED]> wrote:> >> >  // Assuming your in your Client Application for example> > import com.company.project.admin.events.SomeEvent;
> > import com.company.project.client.events.ClientEvent;> >> > var e:SomeEvent = new SomeEvent(SomeEvent.EVENT_NAME, false, true);> > CairngormEventDispatcher.getInstance().dispatchEvent(e);
> >> > You could do the reverse in the admin.  As a GUI guy, I probably would> > care more about sharing commonly used View's and utility classesvs. events> > and commands that were probably created for their specific
projects, but it> > could be done.> >> > - Original Message - *From:* DouglasKnudsen<[EMAIL PROTECTED]>> > *To:* flexcoders@yahoogroups.com
> > *Sent:* Thursday, July 27, 2006 9:25 AM> > *Subject:* Re: [flexcoders] Backend/Frontend Application Development> > (Cairngorm)> >> > curious how to share resources with this, say using Cairngorm.  How to
> > share a command that returns data to a modellocator?  How toreturn th edata> > to the current model locator for a sub app?> >> > DK> >> > On 7/27/06, JesterXL <[EMAIL PROTECTED]> wrote:
> > >> > > Put 'em in seperate projects, or sub-projects.  Like:> > >> > > com.company.project.admin.*> > > com.company.project.client.> > >
> > > Or:> > >> > > com.company.projectadmin.*> > > com.company.projectclient.*> > >> > > You should take advantage of the fact you may be using similiar
code;> > > both> > > of the above in the same Flex project allows you to easily do that.> > >> > > - Original Message -> > > From: "Stefan Schmalhaus" <[EMAIL PROTECTED]>
> > > To: > > > Sent: Thursday, July 27, 2006 4:38 AM> > > Subject: [flexcoders] Backend/Frontend Application Development
> > > (Cairngorm)> > >> > >> > > I'm going to develop a Flex (Cairngorm-based) intranetapplication for> > > training resources. There will be a backend part for user and
content> > > administration, and there will be a frontend for the end user.> > >> > > Both parts, backend and fronted, will presumably share a lot of the> > > underlying data structure, value objects, views, etc. They will
> > > definitely use the same AMFPHP services. What's the best way totackle> > > this? Should I treat them as two different Flex projects? Or can I> > > develop them within one Flex project but with two different MXML
> > > application files?> > >> > > Your ideas and thoughts are very much appreciated.> > >> > > Stefan> > >> > >> > >
> > >> > >> > > --> > > 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?> >>>
>> --> Douglas Knudsen> http://www.cubicleman.com> this is my signature, like it?>--Flexcoders Mailing List
FAQ: 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/-- D

[flexcoders] Re: Can someone explain this code, its related to Cairngorm?

2006-07-27 Thread malik_robinson

Hi,

Thanks for the quick responses.

Helps a bunch.


Malik
--- In flexcoders@yahoogroups.com, "Paul Andrews" <[EMAIL PROTECTED]> wrote:
>
>
> - Original Message -
> From: "malik_robinson" [EMAIL PROTECTED]
> To: flexcoders@yahoogroups.com
> Sent: Friday, July 28, 2006 12:18 AM
> Subject: [flexcoders] Can someone explain this code, its related to
> Cairngorm?
>
>
> > Hi,
> >
> > I am trying to understand the ModelLocator and how Cairngorm works.
> > I have been reading, but I think I need some additional information
> > on the code below if possible.
> >
> > 1. What is the difference between Public function and Public Static
> > function. I assume Public functions can be called from anywhere in
> > the application. But what about the "public static"
>
> When something is declared as static there can only be one class
instance.
> There's no need to instantiate the class as an object in order to call
a
> static function or access a public static member.
>
> >
> > 2. Any info about the ModelLocator would be helpful.
> >
> > [Bindable]
> > public class ModelLocator implements
> > com.adobe.cairngorm.model.ModelLocator
>
> This is the interface the class implements
>
> > {
> > private static var
> > modelLocator:code.model.ModelLocator;
>
> A class (static) variable for use by a class (static) function.
>
> > public static function getInstance() :
> > code.model.ModelLocator
>
> Call this to get the instance of the ModelLocator.
>
> > {
> > if ( modelLocator == null )
>
> If the ModelLocator has never been instantiated then create it,
otherwise
> return it.
> This inforces that only one ModelLocator instance exists - a
singleton.
>
> > modelLocator = new
> > code.model.ModelLocator();
> >
> > return modelLocator;
> > }
> >
> > //---
> > --
> >
> > public function ModelLocator()
>
> This is the Class constructor. If this is called and the reference to
the
> ModelLocator exists then something has gone wrong - the constructor is
> called by the static function above. If the constructor is called
twice
> there's a problem - there can only be one ModelLocator.
>
> > {
> > if ( code.model.ModelLocator.modelLocator !=
> > null )
> > throw new Error( "Only one
> > ModelLocator instance should be instantiated" );
> > }
> >
> > //---
> > --
> >
> > public function initialise() : void
> > {
> > }
> >
> > Thanks,
> >
> > Malik
>
>
>
> Hope that helps
>
> Paul
> >
> >
> >
> >
> >
> > --
> > 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

<*> 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] Play video files in Flex

2006-07-27 Thread JesterXL





You can also utilize ffmpeg to convert server-side 
(or client too I guess).  It's what Google & YouTube do.
 
http://ffmpeg.mplayerhq.hu/
 
 
- Original Message - 
From: Kelly @ Dekayd Media 
Inc. 
To: flexcoders@yahoogroups.com 
Sent: Thursday, July 27, 2006 7:04 PM
Subject: RE: [flexcoders] Play video files in Flex


If I remember correctly 
Flex video player components only play .flv files.
 
In order to play other 
types you will need to either pre-convert them or use Flash Media Server which 
(I think) converts them on the fly.
 
 
 
--Kelly
 
 
 




From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of User ABCSent: Thursday, July 27, 2006 11:50 
AMTo: flexcoders@yahoogroups.comSubject: [flexcoders] Play video files in 
Flex
 




Do you know how to play .wmv, .avi, ... (don't 
count .flv)  video files in Flex? I use VideoDisplay control in Flex 
to play .flv, but not able to play any other video file 
format.

 

Thank you

 

 
  




See the all-new, redesigned Yahoo.com. Check it 
out.  

__._,_.___





--
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] query as a flex class object

2006-07-27 Thread Doug Arthur



Isn't there a way to populate a dataGrid with a query returned from cf and then reference the selectedItem as a existing Flex Class? When I try to do this, it does not work. Any Ideas?
 
var myClassObj:myClass = myDataGrid.selectedItem as myClass;
The attributes on myClassObj would not be populated or even accessible.
 
 
More explained for the reactor group:
What I currently have to do is return an array of objects by using the iterator, I want to get away from that and use a gateway. Below is my actual code...
 
Currently Returning (which is EXTREMELY slow):
var result = ArrayNew(1);iterator = Variables.beanFactory.getBean(
'reactorFactory').createIterator('vendor_orders');iterator.getWhere().IsEqual('vendor_orders'
, 'vendor_id', arguments.vendor_id).IsIn('vendor_orders', 
'status', '0,1,3');objArray = iterator.getArray();for(i=
1;i lte ArrayLen(objArray);i=i+1
) {ArrayAppend(result, objArray[i]._getTo());}return result;
 
 
What I want to return:
var result = "";gateway = Variables.beanFactory.getBean
('reactorFactory').createGateway('vendor_orders');query = gateway.createQuery();query.getWhere
().IsEqual('vendor_orders', 'vendor_id', arguments.vendor_id).IsIn(
'vendor_orders', 'status', '0,1,3');result = gateway.getByQuery(query);
return result;

__._,_.___





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



  






__,_._,___



Re: [flexcoders] Can someone explain this code, its related to Cairngorm?

2006-07-27 Thread Paul Andrews

- Original Message - 
From: "malik_robinson" <[EMAIL PROTECTED]>
To: 
Sent: Friday, July 28, 2006 12:18 AM
Subject: [flexcoders] Can someone explain this code, its related to 
Cairngorm?


> Hi,
>
> I am trying to understand the ModelLocator and how Cairngorm works.
> I have been reading, but I think I need some additional information
> on the code below if possible.
>
> 1. What is the difference between Public function and Public Static
> function.   I assume Public functions can be called from anywhere in
> the application.  But what about the "public static"

When something is declared as static there can only be one class instance. 
There's no need to instantiate the class as an object in order to call a 
static function or access a public static member.

>
> 2. Any info about the ModelLocator would be helpful.
>
> [Bindable]
> public class ModelLocator implements
> com.adobe.cairngorm.model.ModelLocator

This is the interface the class implements

> {
> private static var
> modelLocator:code.model.ModelLocator;

A class (static) variable for use by a class (static) function.

> public static function getInstance() :
> code.model.ModelLocator

Call this to get the instance of the ModelLocator.

> {
> if ( modelLocator == null )

If the ModelLocator has never been instantiated then create it, otherwise 
return it.
This inforces that only one ModelLocator instance exists - a singleton.

> modelLocator = new
> code.model.ModelLocator();
>
> return modelLocator;
>}
>
> //---
> --
>
>public function ModelLocator()

This is the Class constructor. If this is called and the reference to the 
ModelLocator exists then something has gone wrong - the constructor is 
called by the static function above. If the constructor is called twice 
there's a problem - there can only be one ModelLocator.

>{
>if ( code.model.ModelLocator.modelLocator !=
> null )
> throw new Error( "Only one
> ModelLocator instance should be instantiated" );
>}
>
> //---
> --
>
> public function initialise() : void
> {
> }
>
> Thanks,
>
> Malik



Hope that helps

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

<*> 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] Identifying tree item (right click)

2006-07-27 Thread Barry Beattie
no takers? I'm interested in this also.

I suspect the answer is somewhere here

http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=0959.html#196195

"However, if you want to copy [duplicate, sic] items, you must
implement your own event listeners for the dragDrop and dragComplete
events."

but no mention on delete.

It seems windows explorer functionality is a standard that many are
trying to shoe-horn into the tree component. the VB6 tree component
was a bit more realised than a Flex tree, the basic functionality was
already there...

(Flex is still very new to me, sorry I'm unable to help more at the
moment - but it is something I'm also trying to do)


--
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: how to convert a remote XML file to a self defined object

2006-07-27 Thread Tracy Spratt












I am sorry but I do not understand your
goal.  If someone smarter than me replies, ignore this but if not:

 

First, are you sure you need to do this? 
It is what e4x is designed to do.

 

If you are sure, exactly what do you mean
by “self defined client class”? Are you trying to dynamically
create an object that has a “child” method that will return an XML
node?  Are you trying to turn the XML into an mx:Object?  Do you just need an
associative array of nodes?

 

Give us a little more info.

 

Tracy

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of junhufr
Sent: Thursday, July 27, 2006 6:47
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Flex 2:
how to convert a remote XML file to a self defined object



 







Sorry for the mistake, actually, I couldn't retrive
the "companyA"
child by using .child("companyA") method.

--- In [EMAIL PROTECTED]ups.com,
"junhufr" <[EMAIL PROTECTED]> wrote:
>
> I've tried to convert a remote XML such as "client.xml" to a
self
> defined client class, but failed.
> 
> 
> 
> 
> Tom
> 
> 
> Jerry
> 
> 
> 
> 
> 
> Jeanname>
> 
> 
> Philip
> 
> 
> 
> 1. I invoked the XML from HTTPService
> 2. Then I could get the child "companyA" from the object that i
> invoked for HTTPService by using .child("companyA") method.
> 
> 
> Any helps will be appreicated.
> 
> Jun
>






__._,_.___





--
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] Custom component live-preview and code-hint questions

2006-07-27 Thread dc
Just created a new component and tried to pack it into a swc, the
component is named "TheComponent.as" and the swc is named "test.swc"

Got two questions.

1. The custom component never shows up in Design View, just like those
FB2 built-in components did.

Actually no matter it's packed in a swc file or just direct import the
component actionscript file, it just won't display in Design View,
hence user can't live preview and manipulate it right on the stage.

2. Code hint for custom class/component never showed up.

When I created a new project and drop the test.swc in and add it to
the library path, then use following code to put it on stage:

var t:TheComponent = new TheComponent();
this.addChild( t );

Or



The component will appear on stage, but all code hint for it was gone,
normally when I type

t. <-- there should be a drop down list of code hints for t right
after . (dot), but nothing showed up

or

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: Can someone explain this code, its related to Cairngorm?

2006-07-27 Thread Doug Lowder



This link should clear up issue #1:
http://livedocs.macromedia.com/flex/2/langref/statements.html#static
--- In flexcoders@yahoogroups.com, "malik_robinson" <[EMAIL PROTECTED]> wrote:>> Hi,> > I am trying to understand the ModelLocator and how Cairngorm works. > I have been reading, but I think I need some additional information > on the code below if possible.> > 1. What is the difference between Public function and Public Static > function. I assume Public functions can be called from anywhere in > the application. But what about the "public static"> > 2. Any info about the ModelLocator would be helpful.> > [Bindable]> public class ModelLocator implements > com.adobe.cairngorm.model.ModelLocator > { > private static var > modelLocator:code.model.ModelLocator;> > public static function getInstance() : > code.model.ModelLocator > {> if ( modelLocator == null )> modelLocator = new > code.model.ModelLocator();> > return modelLocator;> }> > //---> --> > public function ModelLocator() > { > if ( code.model.ModelLocator.modelLocator != > null )> throw new Error( "Only one > ModelLocator instance should be instantiated" ); > }> > //---> --> > public function initialise() : void> {> }> > Thanks,> > Malik>

__._,_.___





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



  






__,_._,___



Re: [flexcoders] Flex Builder 2 plugin woes...

2006-07-27 Thread Dan Rossi


it was checked, i had to constantly rebuild and clean manually to remove pesky errors from typos on constructor names :) Ill take another look in the morning. It has crashed a few times aswell mostly from moving components in design view and launching in a browser, which i now have launching the debug player instead :) Also the internal browser option never worked. On 28/07/2006, at 3:46 AM, Simeon Bateman wrote: I feel like this might be a shot in the dark, but in Flex builder there is a menu at the top.   Check the "Project" menu and make sure "Build Automatically" is checked.  This is the piece that makes it compile when you save.  If its not checked, you may  need to tell it to build manually before the swf will get written.  HTH simOn 7/27/06, Dan Rossi <[EMAIL PROTECTED]> wrote:  I did notice my standalone stopped compiling when saved, and i had to keeping launching to compile / build and get any errors in the problems window :\On 28/07/2006, at 2:47 AM, Shannon Hicks wrote:  So, I installed Eclipse 3.1.2, and then installed the FB2 plugin... I imported an existing project, and everything was going smoothly. I then hit control-F11, and nothing happened.   I now realize that the project is not getting built, and there are no Run or Debug options.    I went back to FB2 standalone, and now IT doesn't have Run or Debug options.    How might I fix this, other than uninstalling & reinstalling everything?    Shan   -- No virus found in this outgoing message. Checked by AVG Free Edition.  Version: 7.1.394 / Virus Database: 268.10.4/401 - Release Date: 7/26/2006
__._,_.___





--
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] Can someone explain this code, its related to Cairngorm?

2006-07-27 Thread malik_robinson
Hi,

I am trying to understand the ModelLocator and how Cairngorm works.  
I have been reading, but I think I need some additional information 
on the code below if possible.

1. What is the difference between Public function and Public Static 
function.   I assume Public functions can be called from anywhere in 
the application.  But what about the "public static"

2. Any info about the ModelLocator would be helpful.

[Bindable]
public class ModelLocator implements 
com.adobe.cairngorm.model.ModelLocator 
{   
private static var 
modelLocator:code.model.ModelLocator;

public static function getInstance() : 
code.model.ModelLocator 
{
if ( modelLocator == null )
modelLocator = new 
code.model.ModelLocator();

return modelLocator;
}
   
//---
--

public function ModelLocator() 
{   
if ( code.model.ModelLocator.modelLocator != 
null )
throw new Error( "Only one 
ModelLocator instance should be instantiated" );
}

//---
--

public function initialise() : void
{
}

Thanks,

Malik






--
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: DataGrid Totals Row

2006-07-27 Thread Anatole Tartakovsky



Paul, 
That is definetly step in the right direction - the code has to  be on REFRESH method override rather then constructor. Under no circumstance you should touch the original data - localIndex only.
 After that there are 3 main issues you need to face:
1. Styling has to be different for the last row - need dynamic runtime styles and props
2. Sorting on any column but value is going to blow
3. Finding the change event and recalculating - without explicit dependencies it works fine for 100 rows*columns, but not for thousands
 
That would be good for demo/local mangement, but I would use extreme caution not to promise business component based on that techique alone.
 
As you start to add grouping, sorting, pagination(last row like first row has to be always visible) - you end up with quite a chunk of code. 
Most important, we are still debating if "banded" grid would have better performance as most of the customization we saw is "row-oriented" and it does simplify the implementation code
 
Regards,
Anatole
 
On 7/27/06, Paul BH <[EMAIL PROTECTED]> wrote:






if i can suggest a slightly different approach, how about using a kind of adapter to acheive what you are after:in quick & dirty code:   
  private function adaptDP(inArr:Array):Array{  var outArr:Array =[];var total:Number = 0 for (var i:Number=0;i total += inArr.value;outArr.push(inArr[i]);}outArr.push({name:"Total", value:total})return outArr;}this of course wont help with the sorting thing, but Im sure you could work a way around that too if you needed it... 


On 7/27/06, flxcoder <
[EMAIL PROTECTED]> wrote: 






Thanks for the advice. I think I might look into setting up a data provider for a day and see how far I can take it. I have seen another example today of coloring row backgrounds so that will be useful.
The product demo you have out there is pretty impressive. Is it for sale/development? I guess you are planning on mktg to developers. good work!--- In 
flexcoders@yahoogroups.com, "Anatole 
Tartakovsky" <[EMAIL PROTECTED]> wrote:>> Depends on the number of objects/customization needed .> > Stacking things manually is going to be quick and efficient - you 
will have> working grid in a day> You can have 100 working grids in 4 month> > Manipulation of data provider is less obvious. WIll take you at least few> weeks to work out "static" solution
> Making it fully dynamic with grouping/sorting/filtering is a bit tedious.> Here is what you can do with dataProvider approach:> 
http://derby.faratasystems.com/fxReporter/presentation/ presentation.html> > Sorry, the live demo is available for Beta 3 player only - commercial> version will be released "second half of 2006"
> > Thank you,> Anatole> > > > 
> On 7/27/06, flxcoder <[EMAIL PROTECTED]> wrote:> >> > any advice on this. i am plan to start work on this today. i have> > seen examples of creating editable datagrids that have subtotals 
at> > the end of the column - so i know its possible by working only with> > the data provider and letting the datagrid handle just the display.> >> > so is it advisable to stick with one grid only and keep showing
> > subtotals on the lines or create multiple grids and stack them> > together.> >> > Thanks.> >
> > --- In 
flexcoders@yahoogroups.com roups.com>, 
> > "flxcoder"  wrote:> > >> > > This topic is similiar to what I am looking for. A datagrid that> > has> > > say 10 rows with the 3rd and say the 7th row showing subtotals 
and> > > the 11th row showing the grand total.> > >> > > From what I read in this conversation thus far, it seems that the> > > solution is to create multiple datagrids and calculate the 
totals> > > from the dataproviders.> > >> > > So in the case that i described above, am i right in assuming that> > i> > > will need 5 datagrids with 4 of them having their headers cut 
off,> > > all lined up and pretty.> > >> > > am i heading in the right direction or is there a better way.> > >> > > Thanks.> > >> > > --- In 
flexcoders@yahoogroups.com
 
roups.com>, "Lisa
> > Nelson"  wrote:> > > >> > > > By the way on the background color. That was dumb. I was only> > > > displaying the column headings of my totals datagrid.
> > > >> > > > -Original Message-> > > > From: 
flexcoders@yahoogroups.com 
roups.com>> > > [mailto:
flexcoders@yahoogroups.com 
roups.com>] On> > > > Behalf Of Lisa Nelson
> > > > Sent: Friday, July 07, 2006 8:21
> > > > To: 
flexcoders@yahoogroups.com roups.com> > > > > Subject: RE: [flexcoders] Re: DataGrid Totals Row
> > > >> > > > I tried that after I saw your message. That didn't help.> > > >> > > > Here's what else is funky. I can't seem to change the background
> > > color> > > > of the totals datagrid. All I can figure is somehow the fact> > that> > > it> > > > only has 1 row affects it. You can see the problem in design
> > view,> > > and> > > > also at run-time.> > > >> > > > --Lisa> > > >> > > > -Original Message-> > > > From: 
flexcoders@yahoogroups.com
 
roups.com>> > > [mailto:
flexcoders@ya

RE: [flexcoders] Play video files in Flex

2006-07-27 Thread Kelly @ Dekayd Media Inc.












If I remember correctly Flex video player
components only play .flv files.

 

In order to play other types you will need
to either pre-convert them or use Flash Media Server which (I think) converts
them on the fly.

 

 

 

--Kelly

 

 

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of User ABC
Sent: Thursday, July 27, 2006
11:50 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Play video
files in Flex



 









Do you know how to play .wmv, .avi, ... (don't count .flv)
 video files in Flex? I use VideoDisplay control in Flex to play .flv, but
not able to play any other video file format.





 





Thank you





 





 



  







See the all-new, redesigned Yahoo.com. Check it
out. 






__._,_.___





--
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] Re: Flex 2: how to convert a remote XML file to a self defined object

2006-07-27 Thread junhufr
Sorry for the mistake, actually, I couldn't retrive the "companyA"
child by using .child("companyA") method.



--- In flexcoders@yahoogroups.com, "junhufr" <[EMAIL PROTECTED]> wrote:
>
> I've tried to convert a remote XML such as "client.xml" to a self
> defined client class, but failed.
> 
> 
>   
> 
>  Tom
> 
> 
>  Jerry
> 
>   
> 
>   
> 
>  Jean
> 
> 
>  Philip
> 
>   
> 
> 1. I invoked the XML from HTTPService
> 2. Then I could get the child "companyA" from the object that i
> invoked for HTTPService by using .child("companyA") method.
> 
> 
> Any helps will be appreicated.
> 
> Jun
>







--
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] Tranisition Problems

2006-07-27 Thread lance_sms
Any ideas why I'm getting this error?  I'm trying to switch between
states on a click event click="currentState='foo'"

Thanks in advance!

TypeError: Error #1009: Cannot access a property or method of a null
object reference.
at mx.controls::RadioButton/get labelPlacement()
at mx.controls::Button/mx.controls:Button::measure()
at mx.controls::RadioButton/mx.controls:RadioButton::measure()
at mx.core::UIComponent/::measureSizes()
at mx.core::UIComponent/validateSize()
at mx.managers::LayoutManager/::validateSize()
at mx.managers::LayoutManager/::doPhasedInstantiation()
at Function/http://adobe.com/AS3/2006/builtin::apply()
at mx.core::UIComponent/::callLaterDispatcher2()
at mx.core::UIComponent/::callLaterDispatcher()






--
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: antiAliasType null exception with Text instances!

2006-07-27 Thread loftling
--- In flexcoders@yahoogroups.com, "Sergey Kovalyov"
<[EMAIL PROTECTED]> wrote:
>
> Hi All!
> 
> Each time I create new Text instance in ActionScript using new Text()
> and then add it to parent container, I get exception:
> 
> TypeError: Error #2007: Parameter antiAliasType must be non-null.


I'm having a similar problem. I've got two containers that have
UITextFields in them. One of them works sometimes, the other never
works. I've tried specifying the antiAliasType in css and setting the
style explicitly on the control.

TypeError: Error #2007: Parameter antiAliasType must be non-null.
at flash.text::TextField/set antiAliasType()
at
mx.core::UITextField/validateNow()[C:\dev\GMC\sdk\frameworks\mx\core\UITextField.as:1427]
at mx.core::UITextField/set
nestLevel()[C:\dev\GMC\sdk\frameworks\mx\core\UITextField.as:956]
at mx.core::UIComponent/set
nestLevel()[C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:2420]
at
mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::addingChild()[C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:4720]
at
mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::addingChild()[C:\dev\GMC\sdk\frameworks\mx\core\Container.as:3306]
at
mx.core::Container/addChildAt()[C:\dev\GMC\sdk\frameworks\mx\core\Container.as:2285]





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





[Junk E-Mail - LOW] [flexcoders] Re: DataGrid - Flex 2.0 Beta 3

2006-07-27 Thread rafael_magalhaes007
Shan,

All ok! Thank you, very, very much!!


Rafael

--- In flexcoders@yahoogroups.com, "Shannon Hicks" <[EMAIL PROTECTED]> wrote:
>
> He means you can call it like this:
>  
> myGrid.dataProvider.getItemAt(x).colName
>  
> Shan
> 
>_  
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of rafael_magalhaes007
> Sent: Thursday, July 27, 2006 12:48 PM
> To: flexcoders@yahoogroups.com
> Subject: [Junk E-Mail - LOW] [flexcoders] Re: DataGrid - Flex 2.0 
Beta 3
> 
> 
> 
> Tracy,
> 
> Thank you for your attention, I know I need to use a dataProvider, 
> but I want to catch a value in one cell only and it must be done 
> without clicking in it.
> 
> Rafael
> 
> --- In HYPERLINK
> "mailto:flexcoders%40yahoogroups.com"[EMAIL PROTECTED], "Tracy
> Spratt"  wrote:
> >
> > You need to do this through the dataProvider. Loop over the
> > dataProvider and sum the appropriate property values.
> > 
> > 
> > 
> > Tracy
> > 
> > 
> > 
> > -_-_-__
> > 
> > From: HYPERLINK
> "mailto:flexcoders%40yahoogroups.com"[EMAIL PROTECTED] 
> [mailto:HYPERLINK
> "mailto:flexcoders%40yahoogroups.com"[EMAIL PROTECTED] On
> > Behalf Of rafael_magalhaes007
> > Sent: Thursday, July 27, 2006 10:02 AM
> > To: HYPERLINK
> "mailto:flexcoders%40yahoogroups.com"[EMAIL PROTECTED]
> > Subject: [flexcoders] DataGrid - Flex 2.0 Beta 3
> > 
> > 
> > 
> > Good morning,
> > 
> > I'm trying to catch a value from a cell in a determined line.
> > 
> > when i click in the line it's easy to get it, but
> > 
> > I need to know this value without the click to execute a function 
> and 
> > create a calculation, 
> > 
> > exemple:
> > 
> > LINE ITEM VALUE
> > 
> > 1 HOUSE 50.000,00
> > 2 VEHICLE 30.000,00
> > 3 CLOSET 100,00
> > 4 CHAIR 20,00
> > 5 TABLE 80,00
> > 6 NOTEBOOK 5.000,00
> > 7 DVD 200,00
> > 8 MICROSYSTEM 300,00
> > 9 PEN 1,0
> > 10 CUPS 5,0
> > 
> > 85.706,00
> > 
> > Can someone help me to find out the sum value of a column?
> > 
> > Gratefull for your help,
> > 
> > []`s,
> > Rafael Magalhaes
> >
> 
> 
> 
>  
> 
> 
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.394 / Virus Database: 268.10.4/401 - Release Date: 
7/26/2006
> 
> 
> 
> -- 
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.394 / Virus Database: 268.10.4/401 - Release Date: 
7/26/2006
>






--
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] Play video files in Flex

2006-07-27 Thread User ABC



Do you know how to play .wmv, .avi, ... (don't count .flv)  video files in Flex? I use VideoDisplay control in Flex to play .flv, but not able to play any other video file format.     Thank you       
	
		See the all-new, redesigned Yahoo.com.  Check it out.

__._,_.___





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



  






__,_._,___



Re: [flexcoders] WebService Call

2006-07-27 Thread slangeberg



Yeah,
 
Try something more like (I'm not sure what your 'FlexData' object was supposed to refer to... ):
 

 
   
  id="wsTest"   wsdl="http://localhost:9126/SOAP
"  fault="{trace(-1);}" 
  result="{trace(1);}"/>
 
 
On 7/26/06, richmcgillicuddy <[EMAIL PROTECTED]> wrote:






I have a simple web service calling a SOAP web service on my localmachine. The call looks like:wsdl="
http://localhost:9126/SOAP"load="wsTest.FlexData.getData()"fault="trace(-1);" />It seems to hang waiting for localhost and if I let it wait longenough, it will give me the following error:
ReferenceError: Error #1069: Property getData not found onmx.rpc.soap.mxml.Operation and there is no default value.at Step2/__wsTest_load()...On the Web Server side, I am looking for client connects from flash
and do not seem to get even the client connect. Any ideas?Is there anything that looks odd with the WebService statement?Rich -- : : ) Scott 

__._,_.___





--
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] Re: Image Pan - Step 1

2006-07-27 Thread richmcgillicuddy
OK,


I have the slider demo working in flex2. I do still have one problem
with that. The image only loads part of the image and sizes wierd
inside of the Canvas. I can't really zoom, if I do, it just moves the
image and makes it bigger inside of the canvas, the part I started
with. I can never seem to get to other areas of the map with a zoom.
The code looks like:



http://www.adobe.com/2006/mxml";
layout="horizontal"
initialize="setupVars()">
   

   












   







Any Ideas?


Rich

--- In flexcoders@yahoogroups.com, "richmcgillicuddy" <[EMAIL PROTECTED]> wrote:
>
> Hello,
> 
> 
> I am new to the group and to Flex/Flash. We have a mapping tool that
> we had created about a year back that uses flash 8. We want to move up
> to Flex 2 for a number of reasons. I am trying to create the mapping
> hello world application. We use a standard png image as the background
> for the map. I am trying to create a simple image in a panel that has
> a series of buttons to the left where I can zoom in/out and pan in all
> directions. The zoom in/out is working fine (although I have questions
> regarding that) but the pan is not working. My code is attached to the
> bottom of this email message. Logically the steps I need to go through
> to get this to work are:
> 
> 1. Simple map - Image management Pan Zoom Possibly overview window
> similar to Google or Yahoo.
> 2. Create an object that is a member of that map. This object needs to
> be able to display itself as a number of different types (Images,
> dots, characters). After reading through tutorials, I can create my
> own object that descends from a sprite. My questions here are will the
> dot zoom and coordinate based on the zoom, pan of the background map?
> How can I make that happen? 
> 3. More complex tooltips than the standard tooltips. I want a tooltip
> that displays about 5-10 lines of information and possibly links to
> other areas of the web site. Would you just create a separate window
> to act as a tooltip window and place whatever information in the
> window you need?
> 4. Incorporating effects to the movements of these objects. I've seen
> the component explorer, I want the movement of these items on the map
> to slide from one spot to the other. The demo app in the explorer
> works well. How would you combine multiple effects to happen at the
> same time?
> 
> Any help would be greatly appreciated.
> 
> 
> Step 1 Source Code
> 
> 
> 
> http://www.adobe.com/2006/mxml";
> layout="horizontal">
>
> 
>
>   
>   
>   
>   
>   
>   
>   
>   
>   
>cornerRadius="33" backgroundColor="#c0c0c0" id="myPanel" title="Map
> Basics 101" fontFamily="Georgia" fontSize="16">
>height="601" source="SB memorial map.png" scaleContent="false"
> id="myMap"/>
>   
>   
> 
>







--
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: WebService Call

2006-07-27 Thread Tracy Spratt












I’m not really that hot with web
services so bear with me.

 

I am unfamiliar with invoking an operation
in the load event.  Have you tried doing it any other way?  In AS? Or
defining an operation tag?  The way you are doing it you have no way to be
sure it is getting invoked. I’d use AS, and trace or alert to make sure
the op is being invoked

 

Tracy

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of richmcgillicuddy
Sent: Thursday, July 27, 2006 5:34
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re:
WebService Call



 







getData() is the operation. It takes no arguments and
returns an array
of data. After further investigation I think it is a wsdl file problem.

Rich

--- In [EMAIL PROTECTED]ups.com,
"Tracy Spratt"
<[EMAIL PROTECTED]> wrote:
>
> Don't Webservices require an operation?
> 
> Tracy
> 
> 
> 
> 
> 
> From: [EMAIL PROTECTED]ups.com
[mailto:[EMAIL PROTECTED]ups.com]
On
> Behalf Of richmcgillicuddy
> Sent: Wednesday, July 26, 2006 7:58 PM
> To: [EMAIL PROTECTED]ups.com
> Subject: [flexcoders] WebService Call
> 
> 
> 
> I have a simple web service calling a SOAP web service on my local
> machine. The call looks like:
> 
> 
> wsdl="http://localhost:9126/SOAP

"
> load="wsTest.FlexData.getData()"
> fault="trace(-1);" />
> 
> It seems to hang waiting for localhost and if I let it wait long
> enough, it will give me the following error:
> 
> ReferenceError: Error #1069: Property getData not found on
> mx.rpc.soap.mxml.Operation and there is no default value.
> at Step2/__wsTest_load()
> ...
> 
> On the Web Server side, I am looking for client connects from flash
> and do not seem to get even the client connect. Any ideas?
> 
> Is there anything that looks odd with the WebService statement?
> 
> Rich
>






__._,_.___





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



  






__,_._,___






Re: [flexcoders] Re: DataGrid Totals Row

2006-07-27 Thread Paul BH



if i can suggest a slightly different approach, how about using a kind of adapter to acheive what you are after:in quick & dirty code:  

  private function adaptDP(inArr:Array):Array{  var outArr:Array =[];var total:Number = 0 for (var i:Number=0;i total += inArr.value;outArr.push(inArr[i]);}outArr.push({name:"Total", value:total})return outArr;}this of course wont help with the sorting thing, but Im sure you could work a way around that too if you needed it...
On 7/27/06, flxcoder <[EMAIL PROTECTED]> wrote:













  



Thanks for the advice. I think I might look into setting up a data 
provider for a day and see how far I can take it. I have seen another 
example today of coloring row backgrounds so that will be useful.

The product demo you have out there is pretty impressive. Is it for 
sale/development? I guess you are planning on mktg to developers. 
good work!

--- In flexcoders@yahoogroups.com, "Anatole 

Tartakovsky" <[EMAIL PROTECTED]> wrote:
>
> Depends on the number of objects/customization needed .
> 
> Stacking things manually is going to be quick and efficient - you 
will have
> working grid in a day
> You can have 100 working grids in 4 month
> 
> Manipulation of data provider is less obvious. WIll take you at 
least few
> weeks to work out "static" solution
> Making it fully dynamic with grouping/sorting/filtering is a bit 
tedious.
> Here is what you can do with dataProvider approach:
> http://derby.faratasystems.com/fxReporter/presentation/

presentation.html
> 
> Sorry, the live demo is available for Beta 3 player only - 
commercial
> version will be released "second half of 2006"
> 
> Thank you,
> Anatole
> 
> 
> 
> 
> On 7/27/06, flxcoder <[EMAIL PROTECTED]> wrote:
> >
> >any advice on this. i am plan to start work on this today. i 
have
> > seen examples of creating editable datagrids that have subtotals 
at
> > the end of the column - so i know its possible by working only 
with
> > the data provider and letting the datagrid handle just the 
display.
> >
> > so is it advisable to stick with one grid only and keep showing
> > subtotals on the lines or create multiple grids and stack them
> > together.
> >
> > Thanks.
> >
> > --- In flexcoders@yahoogroups.com ,

> > "flxcoder"  wrote:
> > >
> > > This topic is similiar to what I am looking for. A datagrid that
> > has
> > > say 10 rows with the 3rd and say the 7th row showing subtotals 
and
> > > the 11th row showing the grand total.
> > >
> > > From what I read in this conversation thus far, it seems that 
the
> > > solution is to create multiple datagrids and calculate the 
totals
> > > from the dataproviders.
> > >
> > > So in the case that i described above, am i right in assuming 
that
> > i
> > > will need 5 datagrids with 4 of them having their headers cut 
off,
> > > all lined up and pretty.
> > >
> > > am i heading in the right direction or is there a better way.
> > >
> > > Thanks.
> > >
> > > --- In flexcoders@yahoogroups.com 

, "Lisa
> > Nelson"  wrote:
> > > >
> > > > By the way on the background color. That was dumb. I was only
> > > > displaying the column headings of my totals datagrid.
> > > >
> > > > -Original Message-
> > > > From: flexcoders@yahoogroups.com 


> > > [mailto:flexcoders@yahoogroups.com 

] On
> > > > Behalf Of Lisa Nelson
> > > > Sent: Friday, July 07, 2006 8:21
> > > > To: flexcoders@yahoogroups.com 

> > > > Subject: RE: [flexcoders] Re: DataGrid Totals Row
> > > >
> > > > I tried that after I saw your message. That didn't help.
> > > >
> > > > Here's what else is funky. I can't seem to change the 
background
> > > color
> > > > of the totals datagrid. All I can figure is somehow the fact
> > that
> > > it
> > > > only has 1 row affects it. You can see the problem in design
> > view,
> > > and
> > > > also at run-time.
> > > >
> > > > --Lisa
> > > >
> > > > -Original Message-
> > > > From: flexcoders@yahoogroups.com 


> > > [mailto:flexcoders@yahoogroups.com 

] On
> > > > Behalf Of Tom Chiverton
> > > > Sent: Friday, July 07, 2006 8:02
> > > > To: flexcoders@yahoogroups.com 

> > > > Subject: Re: [flexcoders] Re: DataGrid Totals Row
> > > >
> > > > On Friday 07 July 2006 15:37, Lisa Nelson wrote:
> > > > > I am pretty new to Flex. But I thought what you wrote would
> > bind
> > > to
> > > > > the width of the overall grid, not the individual column 
widths.
> > > >
> > > > It would, yeah :-)
> > > > I'm guessing you have to bind both the overall width and all 
the
> > > columns
> > > > to make it work.
> > > >
> > > > --
> > > > Tom Chiverton
> > > >
> > > > 
> > > >
> > > > This email is sent for and on behalf of Halliwells LLP.
> > > >
> > > > Halliwells LLP is a limited liability partnership registered 
in
> > > England
> > > > and Wales under registered number OC307980 whose registered 
office
> > > > address is at St James's Court Brown Street Manchester M2 
2JF. A
> > > list
> > > > of members

Re: initialize vs. construct/init...Re: [flexcoders] constructObject2() vs. init()? (Flex 1.5)

2006-07-27 Thread JesterXL
2 things to do to ensure you're not nuts.

1. Add &recompile=true to the end of the URL string.  Slows compiling, but 
it's worth the piece of mind.

2. Delete generated everytime you want to be sure your changes are in fact 
taking.  Mine's here for Flex 1.5:
C:\JRun4\servers\starExhibits\cfusion-ear\cfusion-war\WEB-INF\flex\generated

LOL Royal... AWESOME.  Whew, that made my Thursday.  Mmmm, tasty 
burger

First off, bindings are supposed to free you from initialization worries. 
Here's how it was in Flash:
- capture data in member var
- create asset
- wait a frame
- set data
- delete member var
- repeat process in convulted way

In Flex?  Bind value in View and it'll "work" when she's created.  Pimp!

I'm sorry to hear it's not working that way for you.  Here's the rundown.

- init
- createChildren
- initial drawing
* initialize is before everything is done drawing
- createChildren is the last event fired when everyone and their mom is 
ready

There is a good rundown of this on Adobe's DevNet site.  If you want the 
link, I can go find; it's a pretty good explanation.






- Original Message - 
From: "G" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, July 27, 2006 5:22 PM
Subject: Re: initialize vs. construct/init...Re: [flexcoders] 
constructObject2() vs. init()? (Flex 1.5)


The code is too complicated to summarize--there are so
many interconnections it would take you days to
untangle (it has me!).  For a long time we've
encountered what we thought was a "compiler bug" where
the order of compilation would change the behavior of
the application.  That is, if we deleted everything
and compiled from scratch, some binding would not
execute, and some component would not display.  Then
if we simply touched the code of the disappearing
component, it would show up!  Apparently the only
difference is the order that things are
compiled/linked.

I have come to believe in the last few days that it's
not a compiler bug, but a simple
order-of-initialization problem.  One needs to
understand very well the order of initialization,
invalidation, and so on, and to this point we've been
blissfully unaware of it.

Anyway, that's why I'm investigating constructObject2
and init now--trying to get a handle on it.  But as
with so many things in the documentation, things in AS
and Flex are done slightly differently, but with no
acknowledgement of the differences.  They got the same
shit over there we got over here, it's just there it's
a little different.  I'm trying to order a Royal with
Cheese, reading from the American menu.


Greg

--- JesterXL <[EMAIL PROTECTED]> wrote:

> Of course I'm not sure.  What are you initializing,
> and who is expecting
> them to be initialized?
>
> - Original Message - 
> From: "G" <[EMAIL PROTECTED]>
> To: 
> Sent: Thursday, July 27, 2006 3:51 PM
> Subject: initialize vs. construct/init...Re:
> [flexcoders] constructObject2()
> vs. init()? (Flex 1.5)
>
>
> > However, you're better off just have your
> initialize
> > event call a function
> > in your MXML and do non-GUI related stuff there.
>
> Are you sure about that?  That seems to be exactly
> the
> source of our problems.  If we initialize values in
> the initialize handler, it seems they are being
> initialized too late, and values end up not being
> properly set.
>
>
>
> >
> > - Original Message - 
> > From: "G" <[EMAIL PROTECTED]>
> > To: 
> > Sent: Thursday, July 27, 2006 3:25 PM
> > Subject: [flexcoders] constructObject2() vs.
> init()?
> > (Flex 1.5)
> >
> >
> > Quick question:  What is the relationship between
> > constructObject2 and init?  The document I found
> on
> > creating components does not mention
> > constructObject2,
> > but the flex compiler seems not to allow
> overriding
> > of
> > init() (in an mxml file).
> >
> > But init() does not take parameters.  Does one
> call
> > the other?  Are they analogous for different
> > situations?
> >
> > Thanks,
> >
> > Greg
> >
> > __
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> > protection around
> > http://mail.yahoo.com
> >
> >
> > --
> > 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
> >
> >
> >
> >
> >
> >
> >
>
>
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com
>
>
> --
> 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
>
>
>
>
>
>


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders

RE: [flexcoders] Pie chart dropshadow

2006-07-27 Thread Matt Horn
Check out the DropShadowFilter class; you can modify its settings on the
pie's series. Here's how you might use it:


http://www.adobe.com/2006/mxml";
xmlns:flash="flash.filters.*">

[Bindable]
public var expenses:Object = [
{Expense: "Taxes", Amount: 2000},
{Expense: "Rent", Amount: 1000},
{Expense: "Food", Amount: 200}
];





















To turn it off, just set the filters array to empty:



   

Or set distance to 0 or alpha to 0...

hth,

matt horn
flex docs
 

> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of Tom Fitzpatrick
> Sent: Thursday, July 27, 2006 4:56 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Pie chart dropshadow
> 
> Is there a way to control the dropshadow on a pie chart? 
> Can't find this anywhere.
> 
> The ability to turn it on and off would be good. Control over 
> distance, color, and direction would be even better.
> 
> - Tom
> 
> 
> 
>  
> 


--
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: WebService Call

2006-07-27 Thread richmcgillicuddy
getData() is the operation. It takes no arguments and returns an array
of data. After further investigation I think it is a wsdl file problem.


Rich

--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> Don't Webservices require an operation?
> 
> Tracy
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of richmcgillicuddy
> Sent: Wednesday, July 26, 2006 7:58 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] WebService Call
> 
>  
> 
> I have a simple web service calling a SOAP web service on my local
> machine. The call looks like:
> 
>  wsdl="http://localhost:9126/SOAP  "
> load="wsTest.FlexData.getData()"
> fault="trace(-1);" />
> 
> It seems to hang waiting for localhost and if I let it wait long
> enough, it will give me the following error:
> 
> ReferenceError: Error #1069: Property getData not found on
> mx.rpc.soap.mxml.Operation and there is no default value.
> at Step2/__wsTest_load()
> ...
> 
> On the Web Server side, I am looking for client connects from flash
> and do not seem to get even the client connect. Any ideas?
> 
> Is there anything that looks odd with the WebService statement?
> 
> Rich
>







--
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: initialize vs. construct/init...Re: [flexcoders] constructObject2() vs. init()? (Flex 1.5)

2006-07-27 Thread G
The code is too complicated to summarize--there are so
many interconnections it would take you days to
untangle (it has me!).  For a long time we've
encountered what we thought was a "compiler bug" where
the order of compilation would change the behavior of
the application.  That is, if we deleted everything
and compiled from scratch, some binding would not
execute, and some component would not display.  Then
if we simply touched the code of the disappearing
component, it would show up!  Apparently the only
difference is the order that things are
compiled/linked.

I have come to believe in the last few days that it's
not a compiler bug, but a simple
order-of-initialization problem.  One needs to
understand very well the order of initialization,
invalidation, and so on, and to this point we've been
blissfully unaware of it.

Anyway, that's why I'm investigating constructObject2
and init now--trying to get a handle on it.  But as
with so many things in the documentation, things in AS
and Flex are done slightly differently, but with no
acknowledgement of the differences.  They got the same
shit over there we got over here, it's just there it's
a little different.  I'm trying to order a Royal with
Cheese, reading from the American menu.


Greg

--- JesterXL <[EMAIL PROTECTED]> wrote:

> Of course I'm not sure.  What are you initializing,
> and who is expecting 
> them to be initialized?
> 
> - Original Message - 
> From: "G" <[EMAIL PROTECTED]>
> To: 
> Sent: Thursday, July 27, 2006 3:51 PM
> Subject: initialize vs. construct/init...Re:
> [flexcoders] constructObject2() 
> vs. init()? (Flex 1.5)
> 
> 
> > However, you're better off just have your
> initialize
> > event call a function
> > in your MXML and do non-GUI related stuff there.
> 
> Are you sure about that?  That seems to be exactly
> the
> source of our problems.  If we initialize values in
> the initialize handler, it seems they are being
> initialized too late, and values end up not being
> properly set.
> 
> 
> 
> >
> > - Original Message - 
> > From: "G" <[EMAIL PROTECTED]>
> > To: 
> > Sent: Thursday, July 27, 2006 3:25 PM
> > Subject: [flexcoders] constructObject2() vs.
> init()?
> > (Flex 1.5)
> >
> >
> > Quick question:  What is the relationship between
> > constructObject2 and init?  The document I found
> on
> > creating components does not mention
> > constructObject2,
> > but the flex compiler seems not to allow
> overriding
> > of
> > init() (in an mxml file).
> >
> > But init() does not take parameters.  Does one
> call
> > the other?  Are they analogous for different
> > situations?
> >
> > Thanks,
> >
> > Greg
> >
> > __
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> > protection around
> > http://mail.yahoo.com
> >
> >
> > --
> > 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
> >
> >
> >
> >
> >
> >
> >
> 
> 
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com
> 
> 
> --
> 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
> 
> 
> 
> 
> 
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


--
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] How does Flex 2.0 handle ColdFusion Query results?

2006-07-27 Thread Mike Anderson





Hello Dave and All,
 
I checked out the Article and it 
worked!!
 
But I am confused why it 
worked...  In some respects, I thought I was doing the same thing - but 
just in a different way.  I was wondering if you could explain why one 
piece of code works, and the code I originally used did NOT work.  For 
the example code below, you can all assume that I already declared a 
public variable called 'categories', and cast it as an 
ArrayCollection...
 
For starters, here is the code that 
works from the Article:
 
    categories = event.result as 
ArrayCollection;
 
And 
for the code that does NOT work:
 
categories = new ArrayCollection(event.result as 
Array);
    -or-
    categories = new 
ArrayCollection(event.result);
 
If I 
understand your post correctly, you are saying that the "Event Object" performs 
some type of "smart conversions" - only when it's being directly 
assigned to a variable?  And if that's true, this conversion never 
gets triggered, when it's placed inside of a Constructor (for example an 
ArrayCollection)?  This would explain why my code did not 
work.
 
I 
don't know - just thinking out loud here.  I would love to know more about 
how this all works, especially since there were so MANY massive changes from 
Flex 1.0 Beta, all the way to the latest release version (not to mention Flash 
Remoting, which the earliest versions of Flex had a lot of similarities 
to).  I am sure learning how this all works, will save me a LOT of 
headaches down the road - especially since I ONLY write Data-Driven applications 
(RIA's) which all make massive amounts of database 
calls.
 
Thanks 
for all your wonderful advice!
 
Mike
 



From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Dave 
CarabettaSent: Thursday, July 27, 2006 1:04 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] How does Flex 2.0 
handle ColdFusion Query results?
On 7/27/06, Mike Anderson <[EMAIL PROTECTED]> wrote:


  
  
  Hello 
  Shannon :)
   
  Yes, I am 
  doing precisely that.  I was trying to avoid posting code, but it's the 
  easiest way to show you everything I am trying to do.  You can assume 
  too, that yes I am bringing back a valid RecordSet from ColdFusion, and the 
  FieldNames match up exactly with what was brought back.  Since the data 
  is all there, Flex for some reason, is not iterating through all the data and 
  parsing it out properly.  I just have a hard time with this - since this 
  works fine with my Flash Remoting app, and that I am bringing back a native 
  Query Object from ColdFusion.  I must be missing something, or am not 
  properly casting something.  As far as I can tell, I am properly coding 
  the Grid Columns - but maybe I am not...  One last thing - I am running 
  something similar to Flash's NetConnection Debugger - and I am for sure 
  getting back a valid response from the CF Server - an Array of Objects, all 
  properly formatted and casted.
   
  If you 
  could shed further light, as to why no data shows up in my DataGrid when the 
  app runs, I'd be very grateful :)
Mike,A bit has changed between 1.5 and 2.0 with regard to Flex, 
and for the better (aka easier). To that end, yesterday I blogged a post on 
using Arrays vs. ArrayCollections in Flex and, at the bottom, there is a 
semi-complete MXML application that shows calling an HTTPService and handling 
the results for display in the DataGrid. In short, the new ResultEvent class 
should make its way into your code, as that class is the one that has the 
"smarts" to handle ColdFusion queries and cast it to an appropriate local data 
structure. Watch for link wrapping: http://www.cbetta.com/blog/index.cfm/2006/7/26/array-vs-array-collection-in-flex-2-with-a-coldfusion-slant 
Hope this helps.Regards,Dave. 
__._,_.___





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



  






__,_._,___



Re: [flexcoders] Re: cairngorm Events and data payloads

2006-07-27 Thread JesterXL





Well, my events extend CairngormEvent, so I can 
technically upcast 'em when they get in the Command's execute method.  I 
know Steven didn't really dig this idea, but if you case the type, you can 
compare to the Event's constant like:
 
public static const EVENT_DOSOMETHING:String = 
"doSomething";
 
function execute(event:CairngormEvent)
{
    switch(event.type)
    {
        case 
MyEvent.EVENT_DOSOMETHING:
        
    someMethod ( MyEvent(event).someTypeSafeProp);
        
    break;
    }
}
 
 
- Original Message - 
From: Ralf 
Bokelberg 
To: flexcoders@yahoogroups.com 
Sent: Thursday, July 27, 2006 4:20 PM
Subject: Re: [flexcoders] Re: cairngorm Events and data 
payloads
The only typesafe solution i can think of, is to abandon 
CairngormEvents and replace them by methods of the FrontController. Most of the 
apps i've seen so far don't make use of the runtime changeability anyways. What 
do we loose if we do it like that? Cheers,Ralf. 
On 7/27/06, JesterXL 
<[EMAIL PROTECTED]> 
wrote:

  
  
  I'm with you.  I've been determing type of event based on the event.type in the Command's execute method to get my 
  strong-typing back.
   
  
  - Original Message - 
  From: 
  Ralf Bokelberg 
  To: flexcoders@yahoogroups.com 
  
  Sent: Thursday, July 27, 2006 12:58 PM
  Subject: Re: [flexcoders] Re: cairngorm Events and data 
  payloads
  
  
  Its really a pity, that we loose all the nice type information 
  while going all the way through Cairngorm. Cheers,Ralf. 
  On 7/27/06, Douglas 
  Knudsen <[EMAIL PROTECTED]> wrote: 
  

ah, righto.  thanks d00ds.  I had this hacked up too 
much...no worky good.   If only I can get that damn RO to calm 
down now and do what its told!  but that's another thread.
DK

On 7/27/06, thunderstumpgesatwork < 
[EMAIL PROTECTED]> wrote: 
Hi,The 
  delegate function thinks you just have a CairngormEvent. I thinkyou 
  just need to check to make sure the event you received is yourcustom 
  event type and then cast it.so:if (eventHere is 
  LoadScorecardEvent) {del.getScorecard( 
  LoadScorecardEvent(eventHere).scorecardId 
  );}else{// do nothing, or raise 
  error, or log warning, or whatever.}best of 
  luck,Thunder--- In flexcoders@yahoogroups.com, "Douglas 
  Knudsen"<[EMAIL PROTECTED]> wrote:>> can someone 
  point me to a example of how to pass data in a cairngormtype> 
  event?  I'm trying the below with >> package 
  com.mycompany.events> {> import 
  com.adobe.cairngorm.control.CairngormEvent;>> 
  public class LoadScorecardEvent extends 
  CairngormEvent> 
  {> public static 
  var EVENT_LOAD_SCORECARD: String = > 
  'LoadScorecardEvent';>  public 
  var 
  scorecardId:Number;> 
  /**>  * 
  The 
  constructor,>  */> 
  public function LoadScorecardEvent( 
  )> { 
  > 
  super( EVENT_LOAD_SCORECARD 
  );>> 
  }>> }>> 
  }>> then in a view dispatching like so> var devent : 
  LoadScorecardEvent = new LoadScorecardEvent(  ); 
  > 
  devent.scorecardId = 
  5;>CairngormEventDispatcher.getInstance().dispatchEvent(> 
  devent );>> and in the command I have>> public 
  function execute( eventHere : CairngormEvent ) : void 
  >{>   
  var del : MainDelegate = new MainDelegate( this 
  );>   
  del.getScorecard( eventHere.scorecardId 
  );>>}>> 
  But this bombs out with a error about scorecardId not in eventHere. 
  >> DK>>> --> Douglas 
  Knudsen> http://www.cubicleman.com> this is my signature, 
  like it?>--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/-- Douglas Knudsenhttp://www.cubicleman.com 
this is my signature, like it? 
  -- Ralf Bokelberg <[EMAIL PROTECTED]>
  Flex & Flash Consultant based in Cologne/Germany 
  -- Ralf Bokelberg 
<[EMAIL PROTECTED]>Flex 
& Flash Consultant based in Cologne/Germany  
__._,_.___





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

RE: [flexcoders] Flex Builder 2.0 serial number says it's invalid

2006-07-27 Thread Matt Chotin












I believe everything including prefs should
be in your workspace so as long as the uninstaller doesn’t delete your
workspace (which it shouldn’t) you’ll be all set.  For FB I believe
by default the workspace is in your My Documents folder (though it’s been
a long time since I had a default so I’m not positive).

 

Matt

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Pan Troglodytes
Sent: Thursday, July 27, 2006
12:50 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Flex
Builder 2.0 serial number says it's invalid



 







Okay, so Adobe has basically given up on me. 
Well, not really, they just gave me the support number to call.  ;) 
And I know the first thing they'll have me do is uninstall and reinstall. 
So I might as well try that at this point. 

The main thing I'm wondering is which files/data I should save to avoid having
to reconfigure FB.  I have a lot of keystroke assignments and such, as well
as other options I've fiddled with.

Now, I do File->Export->Export Preferences->Export All, will it get
EVERYTHING that I've messed with?  Or is there some hidden gotchas that it
will miss and I should do myself? 



On 7/25/06, Pan
Troglodytes 
wrote:



That's my last ditch option. :D





 



On 7/25/06, Rick
Schmitty < [EMAIL PROTECTED]com> wrote:





"Now entering them
into Help->Manage Flex Licenses also says they are invalid."





As fun as it sounds,
uninstall Flex and reinstall with entering the keys during installation. 
I ran into a similar problem when we got our license, only it wouldnt take them
no matter how many people tried (to get rid of fat fingerers like me)  But
once I uninstalled and entered the keys (charting too) during installation it
worked great.  We used the Flex Builder installation download from the adobe.com website.

HTH



On 7/25/06, Pan
Troglodytes <
chimpathetic@gmail.com > wrote:

















Just wanted to throw this out there and see if I'm the
only one with the problem.

The serial number provided for Flex Builder 2.0 is rejected as
"invalid" by my installation of Flex Builder 2.0.  I have tried
both the serial numbers for FB and for charting.  Possibly important: I
already had FB running when I got the licenses.  I went into
Help->Manage Flex Licenses and put them in.  At that point, it accepted
them and changed "Trial" to "Commercial".  On
restarting FB, it asks for them again and claimed they are invalid.  Now
entering them 
into Help->Manage Flex Licenses also says they are invalid.


I have opened a support issue with Adobe.  They responded with a lot of
stuff, one of which was that you shouldn't enter the dashes.  Sounds crazy,
but I tried it and it still claimed it was invalid. 

Anyone else run into this?  I wonder if it's related to either it having
the beta installed first, downloading and using the release version as a trial
for a while, entering the serial number in after startup instead of at startup,
or some combination of the above. 

-- 
Jason 









































-- 
Jason 








-- 
Jason 






__._,_.___





--
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] Pie chart dropshadow

2006-07-27 Thread Tom Fitzpatrick
Is there a way to control the dropshadow on a pie chart? Can't find this 
anywhere.

The ability to turn it on and off would be good. Control over distance, 
color, and direction would be even better.

- Tom




--
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: initialize vs. construct/init...Re: [flexcoders] constructObject2() vs. init()? (Flex 1.5)

2006-07-27 Thread JesterXL
Of course I'm not sure.  What are you initializing, and who is expecting 
them to be initialized?

- Original Message - 
From: "G" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, July 27, 2006 3:51 PM
Subject: initialize vs. construct/init...Re: [flexcoders] constructObject2() 
vs. init()? (Flex 1.5)


> However, you're better off just have your initialize
> event call a function
> in your MXML and do non-GUI related stuff there.

Are you sure about that?  That seems to be exactly the
source of our problems.  If we initialize values in
the initialize handler, it seems they are being
initialized too late, and values end up not being
properly set.



>
> - Original Message - 
> From: "G" <[EMAIL PROTECTED]>
> To: 
> Sent: Thursday, July 27, 2006 3:25 PM
> Subject: [flexcoders] constructObject2() vs. init()?
> (Flex 1.5)
>
>
> Quick question:  What is the relationship between
> constructObject2 and init?  The document I found on
> creating components does not mention
> constructObject2,
> but the flex compiler seems not to allow overriding
> of
> init() (in an mxml file).
>
> But init() does not take parameters.  Does one call
> the other?  Are they analogous for different
> situations?
>
> Thanks,
>
> Greg
>
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com
>
>
> --
> 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
>
>
>
>
>
>
>


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


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

<*> 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 Builder 2.0 serial number says it's invalid

2006-07-27 Thread Douglas Knudsen



AFAIK, Eclipse stores all this in your workspace.  Thus you can upgrade/change eclipse versions without losing this.  YMMVDKOn 7/27/06, Pan Troglodytes
 <[EMAIL PROTECTED]> wrote:



Okay, so Adobe has basically given up on me.  Well, not really, they just gave me the support number to call.  ;)  And I know the first thing they'll have me do is uninstall and reinstall.  So I might as well try that at this point.
The main thing I'm wondering is which files/data I should save to avoid having to reconfigure FB.  I have a lot of keystroke assignments and such, as well as other options I've fiddled with.Now, I do File->Export->Export Preferences->Export All, will it get EVERYTHING that I've messed with?  Or is there some hidden gotchas that it will miss and I should do myself?
On 7/25/06, Pan Troglodytes <
[EMAIL PROTECTED]> wrote:
That's my last ditch option. :DOn 7/25/06, Rick Schmitty <

[EMAIL PROTECTED]> wrote:



"Now entering them 
into Help->Manage Flex Licenses also says they are invalid."As fun as it sounds, uninstall Flex and reinstall with entering the keys during installation.  I ran into a similar problem when we got our license, only it wouldnt take them no matter how many people tried (to get rid of fat fingerers like me)  But once I uninstalled and entered the keys (charting too) during installation it worked great.  We used the Flex Builder installation download from the 
adobe.com website.HTH


On 7/25/06, Pan Troglodytes <

[EMAIL PROTECTED]
> wrote:












  



Just wanted to throw this out there and see if I'm the only one with the problem.The serial number provided for Flex Builder 2.0 is rejected as "invalid" by my installation of Flex Builder 
2.0.  I have tried both the serial numbers for FB and for charting.  Possibly important: I already had FB running when I got the licenses.  I went into Help->Manage Flex Licenses and put them in.  At that point, it accepted them and changed "Trial" to "Commercial".  On restarting FB, it asks for them again and claimed they are invalid.  Now entering them 
into Help->Manage Flex Licenses also says they are invalid.I have opened a support issue with Adobe.  They responded with a lot of stuff, one of which was that you shouldn't enter the dashes.  Sounds crazy, but I tried it and it still claimed it was invalid.
Anyone else run into this?  I wonder if it's related to either it having the beta installed first, downloading and using the release version as a trial for a while, entering the serial number in after startup instead of at startup, or some combination of the above.
-- Jason

  


















-- Jason

-- Jason




-- Douglas Knudsenhttp://www.cubicleman.comthis 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








   






  
  
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] AS_Style && Eclipse | FB hiccups

2006-07-27 Thread fuad_kamal
question for you Eclipse veterans out there:
is there a way to change automatic code styling options in FlexBuilder?

e.g. when I create a new class or function, FB autoformats like:

myFunct
{


}


which I find annoying and manually reformat to 

myFunct{

}

Also, has anyone else had issues with customs views/perspectives in
FB?  I work on dual and triple-monitor setups and have saved various
perspectives, which are great when they work, but sometimes FB refuses
to switch to the custom perspective and I am forced to work in the
default debugging or devlopment perspectives only.  The only way I
found to resolve this is to close and restart FB.

thanks!





--
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: cairngorm Events and data payloads

2006-07-27 Thread Ralf Bokelberg



The only typesafe solution i can think of, is to abandon CairngormEvents and replace them by methods of the FrontController. Most of the apps i've seen so far don't make use of the runtime changeability anyways. What do we loose if we do it like that? 
Cheers,Ralf. On 7/27/06, JesterXL <[EMAIL PROTECTED]> wrote:









I'm with you.  I've been determing type of 
event based on the event.type in the Command's execute method to get my 
strong-typing back.
 
- Original Message - 
From: 
Ralf 
Bokelberg 
To: flexcoders@yahoogroups.com
 
Sent: Thursday, July 27, 2006 12:58 PM
Subject: Re: [flexcoders] Re: cairngorm Events and data 
payloads
Its really a pity, that we loose all the nice type information 
while going all the way through Cairngorm. Cheers,Ralf. 
On 7/27/06, Douglas 
Knudsen <[EMAIL PROTECTED]> 
wrote:

  
  ah, righto.  thanks d00ds.  I had this hacked up too much...no 
  worky good.   If only I can get that damn RO to calm down now and do 
  what its told!  but that's another thread.
  DK
  
  On 7/27/06, thunderstumpgesatwork <
 
  [EMAIL PROTECTED]> wrote:
  Hi,The 
delegate function thinks you just have a CairngormEvent. I thinkyou just 
need to check to make sure the event you received is yourcustom event 
type and then cast it.so:if (eventHere is 
LoadScorecardEvent) {del.getScorecard( 
LoadScorecardEvent(eventHere).scorecardId 
);}else{// do nothing, or raise 
error, or log warning, or whatever.}best of 
luck,Thunder--- In 
flexcoders@yahoogroups.com, "Douglas 
Knudsen"<[EMAIL PROTECTED]> wrote:>> can someone 
point me to a example of how to pass data in a cairngormtype> 
event?  I'm trying the below with >> package 
com.mycompany.events> {> import 
com.adobe.cairngorm.control.CairngormEvent;>> 
public class LoadScorecardEvent extends 
CairngormEvent> 
{> public static var 
EVENT_LOAD_SCORECARD: String = > 
'LoadScorecardEvent';>  public 
var 
scorecardId:Number;> 
/**>  * The 
constructor,>  */> 
public function LoadScorecardEvent( 
)> { 
> 
super( EVENT_LOAD_SCORECARD 
);>> 
}>> }>> 
}>> then in a view dispatching like so> var devent : 
LoadScorecardEvent = new LoadScorecardEvent(  ); 
> 
devent.scorecardId = 
5;>CairngormEventDispatcher.getInstance().dispatchEvent(> 
devent );>> and in the command I have>> public 
function execute( eventHere : CairngormEvent ) : void 
>{>   
var del : MainDelegate = new MainDelegate( this 
);>   
del.getScorecard( eventHere.scorecardId 
);>>}>> 
But this bombs out with a error about scorecardId not in eventHere. 
>> DK>>> --> Douglas 
Knudsen> http://www.cubicleman.com
> this is my signature, 
like it?>--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/-- Douglas Knudsen
http://www.cubicleman.com 
  this is my signature, like it? -- 
Ralf Bokelberg <[EMAIL PROTECTED]>
Flex 
& Flash Consultant based in Cologne/Germany  



-- Ralf Bokelberg <[EMAIL PROTECTED]>Flex & Flash Consultant based in Cologne/Germany

__._,_.___





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



  






__,_._,___



RE: [flexcoders] Re: feature or security hole on flash sandBox?

2006-07-27 Thread Matt Horn
I think it has to do with the types of content you are loading. If I
understand the issue here, if the target asset is a content asset, such
as an image file, you do not need any specific permissions from the
target domain to load its assets into your Flex application. If the
target asset is a data asset, such as an XML file, you must have the
target domain's permission to access this asset.

hth,

matt horn
flex docs

> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of Xavi Beumala
> Sent: Thursday, July 27, 2006 9:17 AM
> To: flexcoders@yahoogroups.com
> Subject: Re: [flexcoders] Re: feature or security hole on 
> flash sandBox?
> 
> Sorrry,
> 
> the quotation was taken from 
> http://www.adobe.com/devnet/flashplayer/articles/flash_player_
> 9_security.pdf 
>  _9_security.pdf>  not from flash player 8 specification. 
> 
> X.
> 
> 
> On 7/27/06, ben.clinkinbeard <[EMAIL PROTECTED] 
>  > wrote:
> 
>   Hmm, I've not read enough about the newer security 
> models to be sure,
>   I just assumed it was that way since earlier versions 
> were. One thing
>   I did notice though was that you said you're reading 
> from the security
>   whitepaper for FP8. You should be reading about FP9 
> since that is what 
>   Flex and AS3 target.
>   
>   HTH,
>   Ben
>   http://www.returnundefined.com/ 
>  
>   
>   --- In flexcoders@yahoogroups.com 
>  , "Xavi Beumala" 
> <[EMAIL PROTECTED]> wrote: 
>   >
>   > I think you're wrong. It's also working on web 
> server. And from
>   local system
>   > you've also restrictions. Just try an application 
> running from the local
>   > file system and consuming remote data throgh 
> HTTPService, it's going to 
>   > fail. But it's not failing with mx:Image.
>   >
>   > X.
>   >
>   > On 7/27/06, ben.clinkinbeard <[EMAIL PROTECTED]> wrote:
>   > >
>   > > There are no restrictions when running the file on 
> your local system. 
>   > > Access it through a web server and your calls will fail.
>   > >
>   > > HTH,
>   > > Ben
>   > > http://www.returnundefined.com/ 
>  
>   > > 
>   > > --- In flexcoders@yahoogroups.com 
>  , "Xavi Beumala"  wrote:
>   > > >
>   > > > Hi,
>   > > >
>   > > > Today I've noticed that I can load images from 
> diferent domains 
>   (which
>   > > > doesn't have a crossdomain file) without getting 
> a security sandbox
>   > > > violation error.
>   > > >
>   > > > For example, when running the following 
> application from my 
>   > > fileSystem I'm
>   > > > not receiving any error eventhough the domains 
> don't have de
>   crossdomain
>   > > > file (I also haven't trusted the file).
>   > > >
>   > > > http://www.adobe.com/2006/mxml  "
>   > > layout="vertical">
>   > > > http://www.code4net.com/header/foto2.jpg 
>  "
>   > > width="800"
>   > > > height="160"/>
>   > > > http://us.i1.yimg.com/us.yimg.com/i/mntl/hlth/06q2/img_diet.jp
> g  "
>   > > width="800"
>   > > > height="160"/>
>   > > > 
>   > > >
>   > > > So is this a new feature on the player or is it a 
> security hole? 
>   > > >
>   > > > I've been reading the document at
>   www.adobe.com/devnet/*flash*player/ 
>  
>   > > > articles/*flash*_player_8_*security*.pdf and the 
> most accurate thing 
>   > > I've
>   > > > found refering to images is: "A SWF file from 
> a.com may read from
>   > > the server
>   > > > at b.com (using the ActionScript XML.load() 
> method, for example) if
>   > > > b.comhas a cross-domain policy file that permits 
> access from
>   > > > a.com (or from all domains)." So if the criteria 
> for loading 
>   > > external images
>   > > > is the same as for .swf...
>   > > >
>   > > > Any ideas?
>   > > >
>   > > > Best
>   > > > X.
>   > > >
>   > >
>   > > 
>   > >
>   > >
>   > >
>   > >
>   > > --
>   > > Flexcoders Mailing List
>   > > FAQ: 
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.t
> xt  
>   > > Search Archives:
>   
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
>  
>   > > Yahoo! Groups Links
>   > >
>   > > 
>   > >
>   > >
>   > >
>   > >
>   > >
>   > >
>   >

[flexcoders] Custom datatip for pie chart

2006-07-27 Thread Tom Fitzpatrick
I'm building a custom datatip for a pie chart.

How do I get to the percent values for the pie wedges? (In the 
labelFunction this is expressed as percentValue.)

Here's how I'm getting to other values so far:

private function buildDataTip(e:HitData) : String
{
var pie:PieSeries = PieSeries(e.element);
var pieName:String = e.item[pie.nameField];
var pieValue:Number = e.item[pie.field];
 var piePercent = ?
 .
 return .
   }

- Tom




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




initialize vs. construct/init...Re: [flexcoders] constructObject2() vs. init()? (Flex 1.5)

2006-07-27 Thread G
> However, you're better off just have your initialize
> event call a function 
> in your MXML and do non-GUI related stuff there.

Are you sure about that?  That seems to be exactly the
source of our problems.  If we initialize values in
the initialize handler, it seems they are being
initialized too late, and values end up not being
properly set.



> 
> - Original Message - 
> From: "G" <[EMAIL PROTECTED]>
> To: 
> Sent: Thursday, July 27, 2006 3:25 PM
> Subject: [flexcoders] constructObject2() vs. init()?
> (Flex 1.5)
> 
> 
> Quick question:  What is the relationship between
> constructObject2 and init?  The document I found on
> creating components does not mention
> constructObject2,
> but the flex compiler seems not to allow overriding
> of
> init() (in an mxml file).
> 
> But init() does not take parameters.  Does one call
> the other?  Are they analogous for different
> situations?
> 
> Thanks,
> 
> Greg
> 
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around
> http://mail.yahoo.com
> 
> 
> --
> 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
> 
> 
> 
> 
> 
> 
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


--
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 Builder 2.0 serial number says it's invalid

2006-07-27 Thread Pan Troglodytes



Okay, so Adobe has basically given up on me.  Well, not really, they just gave me the support number to call.  ;)  And I know the first thing they'll have me do is uninstall and reinstall.  So I might as well try that at this point.
The main thing I'm wondering is which files/data I should save to avoid having to reconfigure FB.  I have a lot of keystroke assignments and such, as well as other options I've fiddled with.Now, I do File->Export->Export Preferences->Export All, will it get EVERYTHING that I've messed with?  Or is there some hidden gotchas that it will miss and I should do myself?
On 7/25/06, Pan Troglodytes <[EMAIL PROTECTED]> wrote:
That's my last ditch option. :DOn 7/25/06, Rick Schmitty <
[EMAIL PROTECTED]> wrote:



"Now entering them 
into Help->Manage Flex Licenses also says they are invalid."As fun as it sounds, uninstall Flex and reinstall with entering the keys during installation.  I ran into a similar problem when we got our license, only it wouldnt take them no matter how many people tried (to get rid of fat fingerers like me)  But once I uninstalled and entered the keys (charting too) during installation it worked great.  We used the Flex Builder installation download from the 
adobe.com website.HTH

On 7/25/06, Pan Troglodytes <
[EMAIL PROTECTED]
> wrote:












  



Just wanted to throw this out there and see if I'm the only one with the problem.The serial number provided for Flex Builder 2.0 is rejected as "invalid" by my installation of Flex Builder 
2.0.  I have tried both the serial numbers for FB and for charting.  Possibly important: I already had FB running when I got the licenses.  I went into Help->Manage Flex Licenses and put them in.  At that point, it accepted them and changed "Trial" to "Commercial".  On restarting FB, it asks for them again and claimed they are invalid.  Now entering them 
into Help->Manage Flex Licenses also says they are invalid.I have opened a support issue with Adobe.  They responded with a lot of stuff, one of which was that you shouldn't enter the dashes.  Sounds crazy, but I tried it and it still claimed it was invalid.
Anyone else run into this?  I wonder if it's related to either it having the beta installed first, downloading and using the release version as a trial for a while, entering the serial number in after startup instead of at startup, or some combination of the above.
-- Jason

  


















-- Jason

-- Jason

__._,_.___





--
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] Re: DataGrid Totals Row

2006-07-27 Thread flxcoder
Thanks for the advice. I think I might look into setting up a data 
provider for a day and see how far I can take it. I have seen another 
example today of coloring row backgrounds so that will be useful.

The product demo you have out there is pretty impressive. Is it for 
sale/development? I guess you are planning on mktg to developers. 
good work!

--- In flexcoders@yahoogroups.com, "Anatole 
Tartakovsky" <[EMAIL PROTECTED]> wrote:
>
> Depends on the number of objects/customization needed .
> 
> Stacking things manually is going to be quick and efficient - you 
will have
> working grid in a day
> You can have 100 working grids in 4 month
> 
> Manipulation of data provider is less obvious. WIll take you at 
least few
> weeks to work out "static" solution
> Making it fully dynamic with grouping/sorting/filtering is a bit 
tedious.
> Here is what you can do with dataProvider approach:
> http://derby.faratasystems.com/fxReporter/presentation/
presentation.html
> 
> Sorry, the live demo is available for Beta 3 player only - 
commercial
> version will be released "second half of 2006"
> 
> Thank you,
> Anatole
> 
> 
> 
> 
> On 7/27/06, flxcoder <[EMAIL PROTECTED]> wrote:
> >
> >any advice on this. i am plan to start work on this today. i 
have
> > seen examples of creating editable datagrids that have subtotals 
at
> > the end of the column - so i know its possible by working only 
with
> > the data provider and letting the datagrid handle just the 
display.
> >
> > so is it advisable to stick with one grid only and keep showing
> > subtotals on the lines or create multiple grids and stack them
> > together.
> >
> > Thanks.
> >
> > --- In flexcoders@yahoogroups.com ,
> > "flxcoder"  wrote:
> > >
> > > This topic is similiar to what I am looking for. A datagrid that
> > has
> > > say 10 rows with the 3rd and say the 7th row showing subtotals 
and
> > > the 11th row showing the grand total.
> > >
> > > From what I read in this conversation thus far, it seems that 
the
> > > solution is to create multiple datagrids and calculate the 
totals
> > > from the dataproviders.
> > >
> > > So in the case that i described above, am i right in assuming 
that
> > i
> > > will need 5 datagrids with 4 of them having their headers cut 
off,
> > > all lined up and pretty.
> > >
> > > am i heading in the right direction or is there a better way.
> > >
> > > Thanks.
> > >
> > > --- In flexcoders@yahoogroups.com 
, "Lisa
> > Nelson"  wrote:
> > > >
> > > > By the way on the background color. That was dumb. I was only
> > > > displaying the column headings of my totals datagrid.
> > > >
> > > > -Original Message-
> > > > From: flexcoders@yahoogroups.com 

> > > [mailto:flexcoders@yahoogroups.com 
] On
> > > > Behalf Of Lisa Nelson
> > > > Sent: Friday, July 07, 2006 8:21
> > > > To: flexcoders@yahoogroups.com 
> > > > Subject: RE: [flexcoders] Re: DataGrid Totals Row
> > > >
> > > > I tried that after I saw your message. That didn't help.
> > > >
> > > > Here's what else is funky. I can't seem to change the 
background
> > > color
> > > > of the totals datagrid. All I can figure is somehow the fact
> > that
> > > it
> > > > only has 1 row affects it. You can see the problem in design
> > view,
> > > and
> > > > also at run-time.
> > > >
> > > > --Lisa
> > > >
> > > > -Original Message-
> > > > From: flexcoders@yahoogroups.com 

> > > [mailto:flexcoders@yahoogroups.com 
] On
> > > > Behalf Of Tom Chiverton
> > > > Sent: Friday, July 07, 2006 8:02
> > > > To: flexcoders@yahoogroups.com 
> > > > Subject: Re: [flexcoders] Re: DataGrid Totals Row
> > > >
> > > > On Friday 07 July 2006 15:37, Lisa Nelson wrote:
> > > > > I am pretty new to Flex. But I thought what you wrote would
> > bind
> > > to
> > > > > the width of the overall grid, not the individual column 
widths.
> > > >
> > > > It would, yeah :-)
> > > > I'm guessing you have to bind both the overall width and all 
the
> > > columns
> > > > to make it work.
> > > >
> > > > --
> > > > Tom Chiverton
> > > >
> > > > 
> > > >
> > > > This email is sent for and on behalf of Halliwells LLP.
> > > >
> > > > Halliwells LLP is a limited liability partnership registered 
in
> > > England
> > > > and Wales under registered number OC307980 whose registered 
office
> > > > address is at St James's Court Brown Street Manchester M2 
2JF. A
> > > list
> > > > of members is available for inspection at the registered 
office.
> > Any
> > > > reference to a partner in relation to Halliwells LLP means a
> > member
> > > of
> > > > Halliwells LLP. Regulated by the Law Society.
> > > >
> > > > CONFIDENTIALITY
> > > >
> > > > This email is intended only for the use of the addressee named
> > > above and
> > > > may be confidential or legally privileged. If you are not the
> > > addressee
> > > > you must not read it and must not use any information 
contained
> > in
> > > nor
> > > > copy it nor inform any person other than Hall

Re: [flexcoders] Re: DataGrid Totals Row

2006-07-27 Thread Ralf Bokelberg



hi Anatole,nice piece of software. It looks great. Cheers,Ralf. On 7/27/06, Anatole Tartakovsky <
[EMAIL PROTECTED]> wrote:


Depends on the number of objects/customization needed .
 
Stacking things manually is going to be quick and efficient - you will have working grid in a day
You can have 100 working grids in 4 month
 
Manipulation of data provider is less obvious. WIll take you at least few weeks to work out "static" solution
Making it fully dynamic with grouping/sorting/filtering is a bit tedious. Here is what you can do with dataProvider approach:

http://derby.faratasystems.com/fxReporter/presentation/presentation.html
 
Sorry, the live demo is available for Beta 3 player only - commercial version will be released "second half of 2006"
 
Thank you,
Anatole
 
 
On 7/27/06, flxcoder <
[EMAIL PROTECTED]> wrote:






any advice on this. i am plan to start work on this today. i have seen examples of creating editable datagrids that have subtotals at the end of the column - so i know its possible by working only with the data provider and letting the datagrid handle just the display.
so is it advisable to stick with one grid only and keep showing subtotals on the lines or create multiple grids and stack them together.Thanks.
--- In 
flexcoders@yahoogroups.com
, "flxcoder" <[EMAIL PROTECTED]> wrote:>> This topic is similiar to what I am looking for. A datagrid that has > say 10 rows with the 3rd and say the 7th row showing subtotals and 

> the 11th row showing the grand total.> > From what I read in this conversation thus far, it seems that the > solution is to create multiple datagrids and calculate the totals > from the dataproviders. 
> > So in the case that i described above, am i right in assuming that i > will need 5 datagrids with 4 of them having their headers cut off, > all lined up and pretty. > > am i heading in the right direction or is there a better way.
> > Thanks.> > --- In 
flexcoders@yahoogroups.com
, "Lisa Nelson"  wrote:> >> > By the way on the background color. That was dumb. I was only> > displaying the column headings of my totals datagrid. > > 
> > -Original Message-> > From: 

flexcoders@yahoogroups.com > [mailto:
flexcoders@yahoogroups.com
] On> > Behalf Of Lisa Nelson> > Sent: Friday, July 07, 2006 8:21> > To: 

flexcoders@yahoogroups.com> > Subject: RE: [flexcoders] Re: DataGrid Totals Row> > > > I tried that after I saw your message. That didn't help. > > > > Here's what else is funky. I can't seem to change the background 
> color> > of the totals datagrid. All I can figure is somehow the fact that > it> > only has 1 row affects it. You can see the problem in design view, > and> > also at run-time. 
> > > > --Lisa> > > > -Original Message-> > From: 

flexcoders@yahoogroups.com > [mailto:
flexcoders@yahoogroups.com
] On> > Behalf Of Tom Chiverton> > Sent: Friday, July 07, 2006 8:02> > To: 

flexcoders@yahoogroups.com> > Subject: Re: [flexcoders] Re: DataGrid Totals Row> > > > On Friday 07 July 2006 15:37, Lisa Nelson wrote:> > > I am pretty new to Flex. But I thought what you wrote would 
bind > to > > > the width of the overall grid, not the individual column widths.> > > > It would, yeah :-)> > I'm guessing you have to bind both the overall width and all the 
> columns> > to make it work.> > > > --> > Tom Chiverton> > > > > > > > This email is sent for and on behalf of Halliwells LLP.
> > > > Halliwells LLP is a limited liability partnership registered in > England> > and Wales under registered number OC307980 whose registered office> > address is at St James's Court Brown Street Manchester M2 2JF. A 
> list> > of members is available for inspection at the registered office. Any> > reference to a partner in relation to Halliwells LLP means a member > of> > Halliwells LLP. Regulated by the Law Society.
> > > > CONFIDENTIALITY> > > > This email is intended only for the use of the addressee named > above and> > may be confidential or legally privileged. If you are not the 
> addressee> > you must not read it and must not use any information contained in > nor> > copy it nor inform any person other than Halliwells LLP or the > addressee> > of its existence or contents. If you have received this email in 
> error> > please delete it and notify Halliwells LLP IT Department on 0870 365> > 8008.> > > > For more information about Halliwells LLP visit 

www.halliwells.com.> > > > > > > >  Yahoo! Groups Sponsor > ~-->> > Great things are happening at Yahoo! Groups. See the new email 
> design.> > 

http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/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> > > > > > > > > > > > > > > > 

Re: [flexcoders] constructObject2() vs. init()? (Flex 1.5)

2006-07-27 Thread JesterXL
Don't know about constructObject2, but init is called for you by UIObject 
when she's done setting stuff up.  You CAN override it in ActionScript, but 
not MXML.

However, you're better off just have your initialize event call a function 
in your MXML and do non-GUI related stuff there.

- Original Message - 
From: "G" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, July 27, 2006 3:25 PM
Subject: [flexcoders] constructObject2() vs. init()? (Flex 1.5)


Quick question:  What is the relationship between
constructObject2 and init?  The document I found on
creating components does not mention constructObject2,
but the flex compiler seems not to allow overriding of
init() (in an mxml file).

But init() does not take parameters.  Does one call
the other?  Are they analogous for different
situations?

Thanks,

Greg

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


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

<*> 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] any way to pre-render a screen so when you move it onto the screen it doesnt hesitate

2006-07-27 Thread Anatole Tartakovsky



I was refering to things that you can do while your SWF with embedded font is being loaded - emulating constructor for SWF.
 
Internals are described here http://blogs.adobe.com/rgonzalez/
 
Please contact me offline for detailed explanation as semi-automated solution is being published as a part of flex book coming out this fall
 
Tnx,
Anatole
 
 
 
On 7/21/06, hank williams <[EMAIL PROTECTED]> wrote:






This is a simple screen. It only has text. The font *is* embedded because otherwise it would draw in the wrong typeface. It is a very non standard typeface, which is why it is embedded.I dont know what you mean by "we break apps in sets of "self-initialized" modules" 
What is a self-initialized module. I would think all apps and all code initializes itself or it wouldnt run. Perhaps you could give me a more concrete example of what you are talking about.RegardsHank


On 7/21/06, Anatole Tartakovsky <
anatole[EMAIL PROTECTED]> wrote: 



Sounds more like you have communications issue (based on the behavior on re-enter) - some of the resources are not embedded. If you do have everything embedded, we break apps in sets of "self-initialized" modules - essentially to  give tou chance to prepare any resources for your screen within "load" stage. 

Regards,
Anatole 

On 7/21/06, hank williams <
 [EMAIL PROTECTED]> wrote: 








One of my first screens slides onto the display, but because it hasnt been seen before it needs to build the screen. It also has some embedded fonts so it probably needs to render the fonts.In any case as it slides in it stutters midway through the slide. If you go to another screen and come back it is smooth. this obviously relates to something (I assume the font) not being cached. Is there any way to fix this. 
Hank


 

__._,_.___





--
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] constructObject2() vs. init()? (Flex 1.5)

2006-07-27 Thread G
Quick question:  What is the relationship between
constructObject2 and init?  The document I found on
creating components does not mention constructObject2,
but the flex compiler seems not to allow overriding of
init() (in an mxml file).

But init() does not take parameters.  Does one call
the other?  Are they analogous for different
situations?

Thanks,

Greg

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


--
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: DataGrid Totals Row

2006-07-27 Thread Anatole Tartakovsky



Depends on the number of objects/customization needed .
 
Stacking things manually is going to be quick and efficient - you will have working grid in a day
You can have 100 working grids in 4 month
 
Manipulation of data provider is less obvious. WIll take you at least few weeks to work out "static" solution
Making it fully dynamic with grouping/sorting/filtering is a bit tedious. Here is what you can do with dataProvider approach:
http://derby.faratasystems.com/fxReporter/presentation/presentation.html
 
Sorry, the live demo is available for Beta 3 player only - commercial version will be released "second half of 2006"
 
Thank you,
Anatole
 
 
On 7/27/06, flxcoder <[EMAIL PROTECTED]> wrote:






any advice on this. i am plan to start work on this today. i have seen examples of creating editable datagrids that have subtotals at the end of the column - so i know its possible by working only with the data provider and letting the datagrid handle just the display.
so is it advisable to stick with one grid only and keep showing subtotals on the lines or create multiple grids and stack them together.Thanks.
--- In flexcoders@yahoogroups.com
, "flxcoder" <[EMAIL PROTECTED]> wrote:>> This topic is similiar to what I am looking for. A datagrid that has > say 10 rows with the 3rd and say the 7th row showing subtotals and 
> the 11th row showing the grand total.> > From what I read in this conversation thus far, it seems that the > solution is to create multiple datagrids and calculate the totals > from the dataproviders. 
> > So in the case that i described above, am i right in assuming that i > will need 5 datagrids with 4 of them having their headers cut off, > all lined up and pretty. > > am i heading in the right direction or is there a better way.
> > Thanks.> > --- In flexcoders@yahoogroups.com
, "Lisa Nelson"  wrote:> >> > By the way on the background color. That was dumb. I was only> > displaying the column headings of my totals datagrid. > > 
> > -Original Message-> > From: 
flexcoders@yahoogroups.com > [mailto:flexcoders@yahoogroups.com
] On> > Behalf Of Lisa Nelson> > Sent: Friday, July 07, 2006 8:21> > To: 
flexcoders@yahoogroups.com> > Subject: RE: [flexcoders] Re: DataGrid Totals Row> > > > I tried that after I saw your message. That didn't help. > > > > Here's what else is funky. I can't seem to change the background 
> color> > of the totals datagrid. All I can figure is somehow the fact that > it> > only has 1 row affects it. You can see the problem in design view, > and> > also at run-time. 
> > > > --Lisa> > > > -Original Message-> > From: 
flexcoders@yahoogroups.com > [mailto:flexcoders@yahoogroups.com
] On> > Behalf Of Tom Chiverton> > Sent: Friday, July 07, 2006 8:02> > To: 
flexcoders@yahoogroups.com> > Subject: Re: [flexcoders] Re: DataGrid Totals Row> > > > On Friday 07 July 2006 15:37, Lisa Nelson wrote:> > > I am pretty new to Flex. But I thought what you wrote would 
bind > to > > > the width of the overall grid, not the individual column widths.> > > > It would, yeah :-)> > I'm guessing you have to bind both the overall width and all the 
> columns> > to make it work.> > > > --> > Tom Chiverton> > > > > > > > This email is sent for and on behalf of Halliwells LLP.
> > > > Halliwells LLP is a limited liability partnership registered in > England> > and Wales under registered number OC307980 whose registered office> > address is at St James's Court Brown Street Manchester M2 2JF. A 
> list> > of members is available for inspection at the registered office. Any> > reference to a partner in relation to Halliwells LLP means a member > of> > Halliwells LLP. Regulated by the Law Society.
> > > > CONFIDENTIALITY> > > > This email is intended only for the use of the addressee named > above and> > may be confidential or legally privileged. If you are not the 
> addressee> > you must not read it and must not use any information contained in > nor> > copy it nor inform any person other than Halliwells LLP or the > addressee> > of its existence or contents. If you have received this email in 
> error> > please delete it and notify Halliwells LLP IT Department on 0870 365> > 8008.> > > > For more information about Halliwells LLP visit 
www.halliwells.com.> > > > > > > >  Yahoo! Groups Sponsor > ~-->> > Great things are happening at Yahoo! Groups. See the new email 
> design.> > 
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/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> > > > > > > > > > > > > > > > > > 
> > --> > Flexcoders Mailing List> > FAQ: 
http://groups.yahoo.com/group/flexcoders/files/> flexcodersFAQ.txt> > Search Archives:> > 
ht

[flexcoders] Flex 2: how to convert a remote XML file to a self defined object

2006-07-27 Thread junhufr
I've tried to convert a remote XML such as "client.xml" to a self
defined client class, but failed.


  

 Tom


 Jerry

  

  

 Jean


 Philip

  

1. I invoked the XML from HTTPService
2. Then I could get the child "companyA" from the object that i
invoked for HTTPService by using .child("companyA") method.


Any helps will be appreicated.

Jun





--
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: [Junk E-Mail - LOW] [flexcoders] Re: DataGrid - Flex 2.0 Beta 3

2006-07-27 Thread Shannon Hicks





He means you can call it like this:
 
myGrid.dataProvider.getItemAt(x).colName
 
Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
rafael_magalhaes007Sent: Thursday, July 27, 2006 12:48 
PMTo: flexcoders@yahoogroups.comSubject: [Junk E-Mail - 
LOW] [flexcoders] Re: DataGrid - Flex 2.0 Beta 3


Tracy,Thank you for your attention, I know I need to use a 
dataProvider, but I want to catch a value in one cell only and it must be 
done without clicking in it.Rafael--- In [EMAIL PROTECTED]ups.com, 
"Tracy Spratt" <[EMAIL PROTECTED]> wrote:>> You need to do 
this through the dataProvider. Loop over the> dataProvider and sum the 
appropriate property values.> > > > Tracy> 
> > > 
> > From: [EMAIL PROTECTED]ups.com 
[mailto:[EMAIL PROTECTED]ups.com] 
On> Behalf Of rafael_magalhaes007> Sent: Thursday, July 27, 2006 
10:02 AM> To: [EMAIL PROTECTED]ups.com> 
Subject: [flexcoders] DataGrid - Flex 2.0 Beta 3> > > 
> Good morning,> > I'm trying to catch a value from a cell 
in a determined line.> > when i click in the line it's easy to get 
it, but> > I need to know this value without the click to execute 
a function and > create a calculation, > > 
exemple:> > LINE ITEM VALUE> 
--> 
1 HOUSE 50.000,00> 2 VEHICLE 30.000,00> 3 CLOSET 100,00> 4 
CHAIR 20,00> 5 TABLE 80,00> 6 NOTEBOOK 5.000,00> 7 DVD 
200,00> 8 MICROSYSTEM 300,00> 9 PEN 1,0> 10 CUPS 
5,0> 
--> 
85.706,00> > Can someone help me to find out the sum value of a 
column?> > Gratefull for your help,> > []`s,> 
Rafael 
Magalhaes>
--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.10.4/401 - Release Date: 
7/26/2006
__._,_.___





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



  






__,_._,___



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/401 - Release Date: 7/26/2006
 


[flexcoders] Developing on Linux?

2006-07-27 Thread Ron Davis

Are any of you using Linux and the command line compiler for Flex 2 
development? 

Flash 9 seems to work fine under Wine and Flex 2 in VMWare gets pretty 
sluggish. I'm just wondering if anyone is working on any Linux compatible 
editors or editor plug-ins. 

I don't mind paying for Flex, I just don't want to use Windows under VMWare 
any more than necessary and the project won't wait for the official Linux 
release.


-- 
Ron Davis


--
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: DataGrid - Flex 2.0 Beta 3

2006-07-27 Thread rafael_magalhaes007
Tracy,

 

 

Thank you for your attention, I know I need to use a dataProvider, 
but I want to catch a value in one cell only and it must be done 
without clicking in it.

 

 

 

Rafael



--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> You need to do this through the dataProvider.  Loop over the
> dataProvider and sum the appropriate property values.
> 
>  
> 
> Tracy
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of rafael_magalhaes007
> Sent: Thursday, July 27, 2006 10:02 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] DataGrid - Flex 2.0 Beta 3
> 
>  
> 
> Good morning,
> 
> I'm trying to catch a value from a cell in a determined line.
> 
> when i click in the line it's easy to get it, but
> 
> I need to know this value without the click to execute a function 
and 
> create a calculation, 
> 
> exemple:
> 
> LINE ITEM VALUE
> --
> 1 HOUSE 50.000,00
> 2 VEHICLE 30.000,00
> 3 CLOSET 100,00
> 4 CHAIR 20,00
> 5 TABLE 80,00
> 6 NOTEBOOK 5.000,00
> 7 DVD 200,00
> 8 MICROSYSTEM 300,00
> 9 PEN 1,0
> 10 CUPS 5,0
> --
> 85.706,00
> 
> Can someone help me to find out the sum value of a column?
> 
> Gratefull for your help,
> 
> []`s,
> Rafael Magalhaes
>






--
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: [Junk E-Mail - LOW] Re: [Junk E-Mail - MED] Re: [flexcoders] Flex Builder 2 plugin woes...

2006-07-27 Thread Shannon Hicks





Flex nature is already added.
 
There is a default app already.
 
Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of JesterXLSent: 
Thursday, July 27, 2006 1:18 PMTo: 
flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] Re: [Junk 
E-Mail - MED] Re: [flexcoders] Flex Builder 2 plugin 
woes...



Did you add Flex nature 
to your closed project?  Did you set a default application?  :: random 
guesses ::
 
- Original Message - 
From: Shannon Hicks 
To: [EMAIL PROTECTED]ups.com 

Sent: Thursday, July 27, 2006 2:00 PM
Subject: RE: [Junk E-Mail - MED] Re: [flexcoders] Flex Builder 2 
plugin woes...

But therein lies the problem... Build All and Build Project 
are both inactive... it's like Eclipse and FB don't know what a flex project 
is.
 
Shan


From: [EMAIL PROTECTED]ups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Simeon 
BatemanSent: Thursday, July 27, 2006 12:46 PMTo: [EMAIL PROTECTED]ups.comSubject: 
[Junk E-Mail - MED] Re: [flexcoders] Flex Builder 2 plugin 
woes...


I feel like this might be a shot in the dark, but in Flex builder there is a 
menu at the top.   Check the "Project" menu and make sure "Build 
Automatically" is checked.  This is the piece that makes it compile when 
you save.  If its not checked, you may  need to tell it to build 
manually before the swf will get written.HTHsim
On 7/27/06, Dan Rossi 
<[EMAIL PROTECTED]org> 
wrote: 

  
  
  
  
  
  I did notice my standalone stopped compiling when saved, and i had to 
  keeping launching to compile / build and get any errors in the problems window 
  :\
  
  
  
  On 28/07/2006, at 2:47 AM, Shannon Hicks wrote:
  
So, I installed Eclipse 3.1.2, and then 
installed the FB2 plugin... I imported an existing project, and everything 
was going smoothly. I then hit control-F11, and nothing 
happened.
 
I now realize that the project is not 
getting built, and there are no Run or Debug options. 
 
I went back to FB2 standalone, and now IT 
doesn't have Run or Debug options.
 
How might I fix this, other than 
uninstalling & reinstalling everything?
 
Shan
--No virus found in this outgoing message.Checked by 
AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.4/401 - 
Release Date: 
  7/26/2006
  
  

--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.10.4/401 - Release Date: 
7/26/2006
--No virus found in this outgoing message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.10.4/401 - Release Date: 
7/26/2006

--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.10.4/401 - Release Date: 
7/26/2006
__._,_.___





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



  






__,_._,___



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/401 - Release Date: 7/26/2006
 


Re: [Junk E-Mail - MED] Re: [flexcoders] Flex Builder 2 plugin woes...

2006-07-27 Thread JesterXL





Did you add Flex nature 
to your closed project?  Did you set a default application?  :: random 
guesses ::
 
- Original Message - 
From: Shannon Hicks 
To: flexcoders@yahoogroups.com 
Sent: Thursday, July 27, 2006 2:00 PM
Subject: RE: [Junk E-Mail - MED] Re: [flexcoders] Flex Builder 2 
plugin woes...

But therein lies the problem... Build All and Build Project 
are both inactive... it's like Eclipse and FB don't know what a flex project 
is.
 
Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Simeon 
BatemanSent: Thursday, July 27, 2006 12:46 PMTo: flexcoders@yahoogroups.comSubject: 
[Junk E-Mail - MED] Re: [flexcoders] Flex Builder 2 plugin 
woes...


I feel like this might be a shot in the dark, but in Flex builder there is a 
menu at the top.   Check the "Project" menu and make sure "Build 
Automatically" is checked.  This is the piece that makes it compile when 
you save.  If its not checked, you may  need to tell it to build 
manually before the swf will get written.HTHsim
On 7/27/06, Dan Rossi 
<[EMAIL PROTECTED]org> 
wrote: 

  
  
  
  
  
  I did notice my standalone stopped compiling when saved, and i had to 
  keeping launching to compile / build and get any errors in the problems window 
  :\
  
  
  
  On 28/07/2006, at 2:47 AM, Shannon Hicks wrote:
  
So, I installed Eclipse 3.1.2, and then 
installed the FB2 plugin... I imported an existing project, and everything 
was going smoothly. I then hit control-F11, and nothing 
happened.
 
I now realize that the project is not 
getting built, and there are no Run or Debug options. 
 
I went back to FB2 standalone, and now IT 
doesn't have Run or Debug options.
 
How might I fix this, other than 
uninstalling & reinstalling everything?
 
Shan
--No virus found in this outgoing message.Checked by 
AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.4/401 - 
Release Date: 
  7/26/2006
  
  

--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.10.4/401 - Release Date: 
7/26/2006 
--No virus found in this outgoing message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.10.4/401 - Release Date: 
7/26/2006
__._,_.___





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



  






__,_._,___



Re: [flexcoders] How does Flex 2.0 handle ColdFusion Query results?

2006-07-27 Thread Dave Carabetta



On 7/27/06, Mike Anderson <[EMAIL PROTECTED]> wrote:







Hello Shannon :)
 
Yes, I am doing precisely that.  I was trying to avoid 
posting code, but it's the easiest way to show you everything I am trying to 
do.  You can assume too, that yes I am bringing back a valid RecordSet from 
ColdFusion, and the FieldNames match up exactly with what was brought 
back.  Since the data is all there, Flex for some reason, is not iterating 
through all the data and parsing it out properly.  I just have a hard time 
with this - since this works fine with my Flash Remoting app, and that I am 
bringing back a native Query Object from ColdFusion.  I must be missing 
something, or am not properly casting something.  As far as I can tell, I 
am properly coding the Grid Columns - but maybe I am not...  One last thing 
- I am running something similar to Flash's NetConnection Debugger - and I am 
for sure getting back a valid response from the CF Server - an Array of Objects, 
all properly formatted and casted.
 
If you could shed further light, as to why no data shows up 
in my DataGrid when the app runs, I'd be very grateful :)Mike,A bit has changed between 1.5 and 2.0 with regard to Flex, and for the better (aka easier). To that end, yesterday I blogged a post on using Arrays vs. ArrayCollections in Flex and, at the bottom, there is a semi-complete MXML application that shows calling an HTTPService and handling the results for display in the DataGrid. In short, the new ResultEvent class should make its way into your code, as that class is the one that has the "smarts" to handle ColdFusion queries and cast it to an appropriate local data structure. Watch for link wrapping:
http://www.cbetta.com/blog/index.cfm/2006/7/26/array-vs-array-collection-in-flex-2-with-a-coldfusion-slant
Hope this helps.Regards,Dave.

__._,_.___





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



  






__,_._,___



RE: [Junk E-Mail - MED] Re: [flexcoders] Flex Builder 2 plugin woes...

2006-07-27 Thread Shannon Hicks





But therein lies the problem... Build All and Build Project 
are both inactive... it's like Eclipse and FB don't know what a flex project 
is.
 
Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Simeon 
BatemanSent: Thursday, July 27, 2006 12:46 PMTo: 
flexcoders@yahoogroups.comSubject: [Junk E-Mail - MED] Re: 
[flexcoders] Flex Builder 2 plugin woes...


I feel like this might be a shot in the dark, but in Flex builder there is a 
menu at the top.   Check the "Project" menu and make sure "Build 
Automatically" is checked.  This is the piece that makes it compile when 
you save.  If its not checked, you may  need to tell it to build 
manually before the swf will get written.HTHsim
On 7/27/06, Dan Rossi 
<[EMAIL PROTECTED]org> 
wrote:

  
  
  
  
  
  I did notice my standalone stopped compiling when saved, and i had to 
  keeping launching to compile / build and get any errors in the problems window 
  :\
  
  
  
  On 28/07/2006, at 2:47 AM, Shannon Hicks wrote:
  
So, I installed Eclipse 3.1.2, and then 
installed the FB2 plugin... I imported an existing project, and everything 
was going smoothly. I then hit control-F11, and nothing 
happened.
 
I now realize that the project is not 
getting built, and there are no Run or Debug options. 
 
I went back to FB2 standalone, and now IT 
doesn't have Run or Debug options.
 
How might I fix this, other than 
uninstalling & reinstalling everything?
 
Shan
--No virus found in this outgoing message.Checked by 
AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.4/401 - 
Release Date: 
  7/26/2006
  
  

--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.10.4/401 - Release Date: 
7/26/2006
__._,_.___





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



  






__,_._,___



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.10.4/401 - Release Date: 7/26/2006
 


[flexcoders] Re: DataGrid Totals Row

2006-07-27 Thread flxcoder
any advice on this. i am plan to start work on this today. i have 
seen examples of creating editable datagrids that have subtotals at 
the end of the column - so i know its possible by working only with 
the data provider and letting the datagrid handle just the display.

so is it advisable to stick with one grid only and keep showing 
subtotals on the lines or create multiple grids and stack them 
together.

Thanks.
--- In flexcoders@yahoogroups.com, "flxcoder" <[EMAIL PROTECTED]> wrote:
>
> This topic is similiar to what I am looking for. A datagrid that 
has 
> say 10 rows with the 3rd and say the 7th row showing subtotals and 
> the 11th row showing the grand total.
> 
> From what I read in this conversation thus far, it seems that the 
> solution is to create multiple datagrids and calculate the totals 
> from the dataproviders. 
> 
> So in the case that i described above, am i right in assuming that 
i 
> will need 5 datagrids with 4 of them having their headers cut off, 
> all lined up and pretty. 
> 
> am i heading in the right direction or is there a better way.
> 
> Thanks.
> 
> --- In flexcoders@yahoogroups.com, "Lisa Nelson"  wrote:
> >
> > By the way on the background color.  That was dumb.  I was only
> > displaying the column headings of my totals datagrid.   
> > 
> > -Original Message-
> > From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On
> > Behalf Of Lisa Nelson
> > Sent: Friday, July 07, 2006 8:21
> > To: flexcoders@yahoogroups.com
> > Subject: RE: [flexcoders] Re: DataGrid Totals Row
> > 
> > I tried that after I saw your message.  That didn't help.  
> > 
> > Here's what else is funky.  I can't seem to change the background 
> color
> > of the totals datagrid.  All I can figure is somehow the fact 
that 
> it
> > only has 1 row affects it.  You can see the problem in design 
view, 
> and
> > also at run-time.   
> >  
> > --Lisa
> > 
> > -Original Message-
> > From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On
> > Behalf Of Tom Chiverton
> > Sent: Friday, July 07, 2006 8:02
> > To: flexcoders@yahoogroups.com
> > Subject: Re: [flexcoders] Re: DataGrid Totals Row
> > 
> > On Friday 07 July 2006 15:37, Lisa Nelson wrote:
> > > I am pretty new to Flex.  But I thought what you wrote would 
bind 
> to 
> > > the width of the overall grid, not the individual column widths.
> > 
> > It would, yeah :-)
> > I'm guessing you have to bind both the overall width and all the 
> columns
> > to make it work.
> > 
> > --
> > Tom Chiverton
> > 
> > 
> > 
> > This email is sent for and on behalf of Halliwells LLP.
> > 
> > Halliwells LLP is a limited liability partnership registered in 
> England
> > and Wales under registered number OC307980 whose registered office
> > address is at St James's Court Brown Street Manchester M2 2JF.  A 
> list
> > of members is available for inspection at the registered office. 
Any
> > reference to a partner in relation to Halliwells LLP means a 
member 
> of
> > Halliwells LLP. Regulated by the Law Society.
> > 
> > CONFIDENTIALITY
> > 
> > This email is intended only for the use of the addressee named 
> above and
> > may be confidential or legally privileged.  If you are not the 
> addressee
> > you must not read it and must not use any information contained 
in 
> nor
> > copy it nor inform any person other than Halliwells LLP or the 
> addressee
> > of its existence or contents.  If you have received this email in 
> error
> > please delete it and notify Halliwells LLP IT Department on 0870 
365
> > 8008.
> > 
> > For more information about Halliwells LLP visit 
www.halliwells.com.
> > 
> > 
> > 
> >  Yahoo! Groups Sponsor ---
-
> ~-->
> > Great things are happening at Yahoo! Groups.  See the new email 
> design.
> > http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/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
> > 
> > 
> > 
> >  
> > 
> > 
> > 
> > 
> > 
> > --
> > 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

<*> 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 Builder 2 plugin woes...

2006-07-27 Thread Simeon Bateman



I feel like this might be a shot in the dark, but in Flex builder there
is a menu at the top.   Check the "Project" menu and make
sure "Build Automatically" is checked.  This is the piece that
makes it compile when you save.  If its not checked, you may 
need to tell it to build manually before the swf will get written.

HTH
simOn 7/27/06, Dan Rossi <[EMAIL PROTECTED]> wrote:













  



I
did notice my standalone stopped compiling when saved, and i had to
keeping launching to compile / build and get any errors in the problems
window :\On 28/07/2006, at 2:47 AM, Shannon Hicks wrote:  So,
I installed Eclipse 3.1.2, and then installed the FB2 plugin... I
imported an existing project, and everything was going smoothly. I then
hit control-F11, and nothing happened.   I now realize that the project is not getting built, and there are no Run or Debug options.
   I went back to FB2 standalone, and now IT doesn't have Run or Debug options. 
  How might I fix this, other than uninstalling & reinstalling everything? 
  Shan   -- No virus found in this outgoing message. Checked by AVG Free Edition.
 Version: 7.1.394 / Virus Database: 268.10.4/401 - Release Date: 7/26/2006  
  















__._,_.___





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



  






__,_._,___



Re: [Junk E-Mail - MED] [flexcoders] remote object mapping frustration

2006-07-27 Thread Douglas Knudsen



yup, tried all that.  I've bounced the machine, the services, even tried bouncing like a monkey all to no avail.  freaking pain to debug such a beast.DKOn 7/27/06, 
Dave Carabetta <[EMAIL PROTECTED]> wrote:



On 7/27/06, Douglas Knudsen <[EMAIL PROTECTED]> wrote:




thanks, yeah, I checked that like 500 times now, all looks fine and dandy.  errr, so frustrating.  All my other cfcs are mapping fine.  DKProbably a dumb question, but have you refreshed both the server template cache and the browser cache to make sure neither are stale? Perhaps even a restart of the CF server just for good measure?
Regards,Dave. 




-- Douglas Knudsenhttp://www.cubicleman.comthis 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








   






  
  
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.



  






__,_._,___



RE: [flexcoders] FDS NullPointerException

2006-07-27 Thread Jeff Vroom












Hi Brennan,

 

Do you have a stack trace for that
NullPointerException?  That would help us diagnose that problem.  

 

This error from the link you sent:

 

[RPC Fault faultString="Page request
made for item with id =
'{infoId=1}'. The item was not in the cache and the adapter's get
method failed to return the item for destination = iad.info that is
expected to be in the requested page."
faultCode="Server.Processing"
faultDetail="null"]

 

is not from a NullPointerException though.
 It occurs when we go to retrieve the lazy loaded item which has “infoId=1”
and the getItem method is returning null.  Since previously you returned a
ClientVO which had its Info property set to a ClientInfoVO that had infoId=1,
we would expect to have this method return a valid ClientInfoVO instance. 

 

Jeff

 









From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of dreuimar
Sent: Thursday, July 27, 2006 7:26
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FDS
NullPointerException



 







Hi everyone,

I had a problem the other day with lazy loading using a Java backend.
Using the debugger and throwing Java exceptions, I've narrowed it down
to a NullPointerException.

Anyone know anything about how to overcome this? I'm guessing what's
happening is that a null value is being returned when getItem() is
called rather than a value object.

Here is more information:
http://groups.yahoo.com/group/flexcoders/message/44968

Any help would be greatly appreciated!

Thanks,
Brennan






__._,_.___





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



  






__,_._,___






RE: [flexcoders] Cast or create local var - which is best \ performant

2006-07-27 Thread Gordon Smith












Casting involves some runtime code; a cast
will throw an RTE if it fails. I'd go with b).

 

- Gordon

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Paul BH
Sent: Thursday, July 27, 2006 9:39
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Cast or
create local var - which is best \ performant



 







I would go for b personally because:

it makes for more legible code (IMHO)
it means you dont have to type as much (I'm lazy)
in AS2, local variables were stored in a register that made access much faster
- don't know if this is still the case in AS3 (anyone?) 



On 7/27/06, bobpardoe1959
<[EMAIL PROTECTED]nagel.com>
wrote:











We are haveing a debate
here at work regarding the the most performant
\ efficient \ best way of dealing with the casting of objects from one
form to another.

a) One person thinks that casting the object to the correct type each
time it is used is better because casting has a compile time penalty,
but at runtime does not incurr a cost.

b) The other person would have us believe that the creation of a
variable of the correct type and casting the object to it and then
using the local variable (thereby eliminating many casts)is better.

I side with a) on the basis that the creation of the variable and the
garbage collection of it costs more than the casting might.

Bearing in mind that either of these methods might be performed in
hundreds of places in the application. 

Is there a difference ? Will any one notice. Is one better ?. 

Are we being a little to retentive ?

thanks

BOb













 








__._,_.___





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



  






__,_._,___






Re: [flexcoders] Flex Builder 2 plugin woes...

2006-07-27 Thread Dan Rossi


I did notice my standalone stopped compiling when saved, and i had to keeping launching to compile / build and get any errors in the problems window :\On 28/07/2006, at 2:47 AM, Shannon Hicks wrote:  So, I installed Eclipse 3.1.2, and then installed the FB2 plugin... I imported an existing project, and everything was going smoothly. I then hit control-F11, and nothing happened.   I now realize that the project is not getting built, and there are no Run or Debug options.   I went back to FB2 standalone, and now IT doesn't have Run or Debug options.   How might I fix this, other than uninstalling & reinstalling everything?   Shan   -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.4/401 - Release Date: 7/26/2006  
__._,_.___





--
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] Re: Drag and Drop with TitleWindow

2006-07-27 Thread csewhiff
--- In flexcoders@yahoogroups.com, "jeff tapper" <[EMAIL PROTECTED]> wrote: 
> 
> I had this issue recently as well.  Try dropping this into the AS  
> file for your TitleWindow component: 
> override public function localToContent(point:Point):Point { 
>   return point; 
> } 
>  
 
 
Thanks, that fixed it. I'm still learning Flex 2 and that would have 
taken me all day to find. 





--
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: cairngorm Events and data payloads

2006-07-27 Thread JesterXL





I'm with you.  I've been determing type of 
event based on the event.type in the Command's execute method to get my 
strong-typing back.
 
- Original Message - 
From: Ralf 
Bokelberg 
To: flexcoders@yahoogroups.com 
Sent: Thursday, July 27, 2006 12:58 PM
Subject: Re: [flexcoders] Re: cairngorm Events and data 
payloads
Its really a pity, that we loose all the nice type information 
while going all the way through Cairngorm. Cheers,Ralf. 
On 7/27/06, Douglas 
Knudsen <[EMAIL PROTECTED]> 
wrote:

  
  ah, righto.  thanks d00ds.  I had this hacked up too much...no 
  worky good.   If only I can get that damn RO to calm down now and do 
  what its told!  but that's another thread.
  DK
  
  On 7/27/06, thunderstumpgesatwork < 
  [EMAIL PROTECTED]> wrote:
  Hi,The 
delegate function thinks you just have a CairngormEvent. I thinkyou just 
need to check to make sure the event you received is yourcustom event 
type and then cast it.so:if (eventHere is 
LoadScorecardEvent) {del.getScorecard( 
LoadScorecardEvent(eventHere).scorecardId 
);}else{// do nothing, or raise 
error, or log warning, or whatever.}best of 
luck,Thunder--- In flexcoders@yahoogroups.com, "Douglas 
Knudsen"<[EMAIL PROTECTED]> wrote:>> can someone 
point me to a example of how to pass data in a cairngormtype> 
event?  I'm trying the below with >> package 
com.mycompany.events> {> import 
com.adobe.cairngorm.control.CairngormEvent;>> 
public class LoadScorecardEvent extends 
CairngormEvent> 
{> public static var 
EVENT_LOAD_SCORECARD: String = > 
'LoadScorecardEvent';>  public 
var 
scorecardId:Number;> 
/**>  * The 
constructor,>  */> 
public function LoadScorecardEvent( 
)> { 
> 
super( EVENT_LOAD_SCORECARD 
);>> 
}>> }>> 
}>> then in a view dispatching like so> var devent : 
LoadScorecardEvent = new LoadScorecardEvent(  ); 
> 
devent.scorecardId = 
5;>CairngormEventDispatcher.getInstance().dispatchEvent(> 
devent );>> and in the command I have>> public 
function execute( eventHere : CairngormEvent ) : void 
>{>   
var del : MainDelegate = new MainDelegate( this 
);>   
del.getScorecard( eventHere.scorecardId 
);>>}>> 
But this bombs out with a error about scorecardId not in eventHere. 
>> DK>>> --> Douglas 
Knudsen> http://www.cubicleman.com> this is my signature, 
like it?>--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/-- Douglas Knudsenhttp://www.cubicleman.com 
  this is my signature, like it? -- 
Ralf Bokelberg <[EMAIL PROTECTED]>Flex 
& Flash Consultant based in Cologne/Germany  
__._,_.___





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



  






__,_._,___



RE: [flexcoders] Caringorm - Visual Flowchart Poster!

2006-07-27 Thread Evan Gifford
Title: RE: [flexcoders] Caringorm - Visual Flowchart Poster!










Awesome!! Thanks Dan, I will incorporate these
changes today.

 

Also, I may be correcting myself here …
wouldn’t it be “ContactsVO” or a “Contacts VO”
which contains multiple “ContactVO’s” 

What is the best way to represent the
multiple contacts here?

 

I’m happy to submit the final .VSD
document and a vector-pdf to the list when it’s done. :^)

 

I can also handle the printing of this in
large format with a local printing company, would anyone like a copy of this
(at cost?) 

I’ve got a quote for $30 per poster,
36” wide + a little shipping.

 

Thanks guys … !

-Evan

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Dan Nielsen
Sent: Thursday, July 27, 2006
10:25 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
Caringorm - Visual Flowchart Poster!



 





One thing that seems to be missing from
this diagram is the concept of Cairngorm views.  Indicating that the
contact "form" and the contact "list" (from your diagram)
are separate *view* classes/objects would be nice.





 





Excellent job by the way -- you've done a great job visually
representing the microarchitecture!





 





If you look at the com.adobe.cairngorm (v. 2) folder
structure, the following "concepts" emerge, most of which are well
represented on your diagram:





 





business:





  Service Locator (done)





  Business Delegate (done)





  Responder (implied - not sure if needs to be
explicitly diagramed)





commands:





  Command / Sequence Command (done - at least single
commands)





control:





  Front Controller (done)





  Cairngorm Event (done)





  Cairngorm Event Dispatcher (implied?)





model:





  Model Locator (done)





view:







  View (highlighting the contact "form" and
"list" as different views would do the trick)



  View Locator / View Helper (??? - not sure about
these...)





vo:





  Value Object (done)





 





 





-Dan







 







From: flexcoders@yahoogroups.com on behalf of Evan Gifford
Sent: Thu 7/27/2006 11:32 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
Caringorm - Visual Flowchart Poster!





Alright, thank for your feedback guys!

I've updated this Cairngorm diagram, but I still desperately need some
authoritative feedback:

Please check the updated diagram here:
http://www.undustrial.com/cairngorm.gif

Thanks Guys, I'll send you all a high-res PDF when it's ready to rock.


-Original Message-
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]
On Behalf Of Evan Gifford
Sent: Wednesday, July 26, 2006 8:37 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Caringorm - Visual Flowchart Poster!

Awesome, exactly the feedback I needed, thanks Jester!

I'll put the service locator in there today.
I'll also put some design love into this guy too.

Please, any and ALL suggestions, comments or changes are needed and welcome.

Let's make this the Flexcoders cairngorm poster!

You guys rock!
-Evan

-Original Message-
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]
On Behalf Of JesterXL
Sent: Tuesday, July 25, 2006 4:56 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Caringorm - Visual Flowchart Poster!

Only change homey is:

- Command creates Delegate, and calls method on it, passing itself (usually)
in as a responder
- Delegate gets service from ServiceLocator, and then calls server
- upon response, either massages it (via Factory) or just simply gives it
back as is to the Command

All in all, your diagram is pretty effective in showing the seperation as
well as the circular nature.

I agree with Mike; make that mofo bigger!

- Original Message -
From: "Evan Gifford" <[EMAIL PROTECTED]>
To: 
Sent: Tuesday, July 25, 2006 6:33 PM
Subject: [flexcoders] Caringorm - Visual Flowchart Poster!


My fellow Flexcoders!

After reading Steven's excellent article covering the Cairngorm architecture
( Start the 6-part series here -
  http://www.adobe.com/devnet/flex/articles/cairngorm_pt1.html
)

I've started creating a flowchart tracing a Cairngorm Event from the Event
Broadcaster with a data payload through the cairngorm process:

Work in progress - you'll get the idea at least -
http://www.undustrial.com/cairngorm.jpg

This starts with the Front Controller, then to a Command Class, to the
Service Locater and to the server . then back to the Command Class to
the Model Locater and finally back to the view through data binding .
hmm, I think that's right?

Anyway, it occurs to me that someone may have already done this?

  If so, will you please post so I can make it into a poster (for
re-post!)?
  If not, would someone be willing to collaborate with me (I'm totally new
  cairngorm)?

Being half-designer-half-programmer, I'd love to create a downloadable PDF
for us Flexcoders to use!

Thanks!
Evan








--
No viru

[flexcoders] Re: Drag and Drop with TitleWindow

2006-07-27 Thread jeff tapper
While I would love to take credit for the fix, it was really Jason 
Szeto at Adobe who figured it out.  Thanks Jason!

--- In flexcoders@yahoogroups.com, "gotgoose09" <[EMAIL PROTECTED]> 
wrote:
>
> I had this same problem as well.
> http://groups.yahoo.com/group/flexcoders/post?
act=reply&messageNum=44103
>  Jeff your solution works!
> --- In flexcoders@yahoogroups.com, "csewhiff"  wrote:
> >
> >  
> > I'm having a problem getting the dragEnter event to fire 
properly on 
> > a TitleWindow. 
> >  
> > I have a DataGrid with a TabBar above it. I change the contents 
of 
> > the DataGrid depending on which tab is selected and items can be 
> > dragged from the grid and dropped on a tab to add the item to 
that 
> > tabs list of items. 
> >  
> > This all worked fine when it was a VBox in the main application. 
> > When I tried to move it to a TitleWindow and make it pop up, the 
> > dragEnter event fires when the item is dragged below the tabs, 
not 
> > on the tabs. The distance below the tabs where the event fires 
> > appears to be about the same as the height of the top border in 
the 
> > TitleWindow. Almost like it's not taking the top border in to 
> > account. Horizontally, it appears to be firing at the correct 
> > position. 
> >  
> > I have set the backgroundColor of the TitleWindow so that is not 
the 
> > problem. I have dragEnabled of the DataGrid set to true and 
manually 
> > added dragEnter, dragOver and dragDrop events to the TabBar. 
> >  
> > Any ideas?
> >
>







--
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: cairngorm Events and data payloads

2006-07-27 Thread Ralf Bokelberg



Its really a pity, that we loose all the nice type information while going all the way through Cairngorm. 

Cheers,
Ralf. On 7/27/06, Douglas Knudsen <[EMAIL PROTECTED]> wrote:

ah, righto.  thanks d00ds.  I had this hacked up too
much...no worky good.   If only I can get that damn RO to
calm down now and do what its told!  but that's another thread.DK
On 7/27/06, thunderstumpgesatwork <
[EMAIL PROTECTED]> wrote:
Hi,The delegate function thinks you just have a CairngormEvent. I thinkyou just need to check to make sure the event you received is yourcustom event type and then cast it.so:if (eventHere is LoadScorecardEvent)
{del.getScorecard( LoadScorecardEvent(eventHere).scorecardId );}else{// do nothing, or raise error, or log warning, or whatever.}best of luck,Thunder--- In 

flexcoders@yahoogroups.com, "Douglas Knudsen"<[EMAIL PROTECTED]> wrote:>> can someone point me to a example of how to pass data in a cairngormtype> event?  I'm trying the below with
>> package com.mycompany.events> {> import com.adobe.cairngorm.control.CairngormEvent;>> public class LoadScorecardEvent extends CairngormEvent> {> public static var EVENT_LOAD_SCORECARD: String =
> 'LoadScorecardEvent';>  public var scorecardId:Number;> /**>  * The constructor,>  */> public function LoadScorecardEvent( )> {
> super( EVENT_LOAD_SCORECARD );>> }>> }>> }>> then in a view dispatching like so> var devent : LoadScorecardEvent = new LoadScorecardEvent(  );
> devent.scorecardId = 5;>CairngormEventDispatcher.getInstance().dispatchEvent(> devent );>> and in the command I have>> public function execute( eventHere : CairngormEvent ) : void
>{>   var del : MainDelegate = new MainDelegate( this );>   del.getScorecard( eventHere.scorecardId );>>}>> But this bombs out with a error about scorecardId not in eventHere.
>> DK>>> --> Douglas Knudsen> 
http://www.cubicleman.com> this is my signature, like it?>
--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/
-- Douglas Knudsenhttp://www.cubicleman.com
this is my signature, like it?




-- Ralf Bokelberg <[EMAIL PROTECTED]>Flex & Flash Consultant based in Cologne/Germany

__._,_.___





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



  






__,_._,___



Re: [Junk E-Mail - MED] [flexcoders] remote object mapping frustration

2006-07-27 Thread Dave Carabetta



On 7/27/06, Douglas Knudsen <[EMAIL PROTECTED]> wrote:



thanks, yeah, I checked that like 500 times now, all looks fine and dandy.  errr, so frustrating.  All my other cfcs are mapping fine.  DKProbably a dumb question, but have you refreshed both the server template cache and the browser cache to make sure neither are stale? Perhaps even a restart of the CF server just for good measure?
Regards,Dave. 

__._,_.___





--
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] Columnchart clustered with two vertical axis

2006-07-27 Thread olivier
Hi,

I want to create a columnchart "clustered" composed by two series. As 
the scale of the series are different I have to use two differents y 
axis.

But in this case, the two series are not clustered but the second is 
rendered on the other.

Do you have an idea to create this kind of chart ?

thanks by advance

O.







--
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] Cast or create local var - which is best \ performant

2006-07-27 Thread Ralf Bokelberg
I prefer b because it is less code to read and write.
Gc is not a problem really, because you are just creating references,
not copying objects.
If you want hard facts, i'd create a loop with a gazillion object accesses
Cheers,
Ralf.

On 7/27/06, bobpardoe1959 <[EMAIL PROTECTED]> wrote:
> We are haveing a debate here at work regarding the the most performant
> \ efficient \ best way of dealing with the casting of objects from one
> form to another.
>
> a) One person thinks that casting the object to the correct type each
> time it is used is better because casting has a compile time penalty,
> but at runtime does not incurr a cost.
>
> b) The other person would have us believe that the creation of a
> variable of the correct type and casting the object to it and then
> using the local variable (thereby eliminating many casts)is better.
>
> I side with a) on the basis that the creation of the variable and the
> garbage collection of it costs more than the casting might.
>
> Bearing in mind that either of these methods might be performed in
> hundreds of places in the application.
>
> Is there a difference ? Will any one notice. Is one better ?.
>
> Are we being a little to retentive ?
>
> thanks
>
> BOb
>
>
>
>
>
>
> --
> 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
>
>
>
>
>
>
>


-- 
Ralf Bokelberg <[EMAIL PROTECTED]>
Flex & Flash Consultant based in Cologne/Germany


--
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] getting 1119: Access of possibly undefined property reference through a referenc

2006-07-27 Thread Tracy Spratt












In binding expressions, use “lastResult”
instead of “result”.

 

You still use “result” in a
handler function.

 

Tracy

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of sahay17
Sent: Thursday, July 27, 2006
11:07 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] getting
1119: Access of possibly undefined property reference through a referenc



 







Hi,
I am new to Flex environment.Please can you help me with a 
problem.When I am trying to run the following code, I am getting 
error "1119: Access of possibly undefined property result through a 
reference with static type mx.rpc.http.mxml:HTTPService"

Code:
8"?>
http://www.adobe.com/2006/mxml"

layout="absolute" creationComplete="feedRequest.send()">

url="" href="http://weblogs.macromedia.com/mchotin/index.xml">http://weblogs.macromedia.com/mchotin/index.xml"

useProxy="false"/>

text="{feedRequest.result.rss.channel.title}"/> 



dataField="col1"/>

dataField="col2"/>


>


Please help me out.






__._,_.___





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



  






__,_._,___






Re: [flexcoders] Cast or create local var - which is best \ performant

2006-07-27 Thread Paul BH



I would go for b personally because:it makes for more legible code (IMHO)it means you dont have to type as much (I'm lazy)in AS2, local variables were stored in a register that made access much faster - don't know if this is still the case in AS3 (anyone?)
On 7/27/06, bobpardoe1959 <[EMAIL PROTECTED]> wrote:













  



We are haveing a debate here at work regarding the the most performant
\ efficient \ best way of dealing with the casting of objects from one
form to another.

a) One person thinks that casting the object to the correct type each
time it is used is better because casting has a compile time penalty,
but at runtime does not incurr a cost.

b) The other person would have us believe that the creation of a
variable of the correct type and casting the object to it and then
using the local variable (thereby eliminating many casts)is better.

I side with a) on the basis that the creation of the variable and the
garbage collection of it costs more than the casting might.

Bearing in mind that either of these methods might be performed in
hundreds of places in the application. 

Is there a difference ? Will any one notice. Is one better ?. 

Are we being a little to retentive ?

thanks

BOb


  















__._,_.___





--
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] Re: Drag and Drop with TitleWindow

2006-07-27 Thread gotgoose09
I had this same problem as well.
http://groups.yahoo.com/group/flexcoders/post?act=reply&messageNum=44103
 Jeff your solution works!
--- In flexcoders@yahoogroups.com, "csewhiff" <[EMAIL PROTECTED]> wrote:
>
>  
> I'm having a problem getting the dragEnter event to fire properly on 
> a TitleWindow. 
>  
> I have a DataGrid with a TabBar above it. I change the contents of 
> the DataGrid depending on which tab is selected and items can be 
> dragged from the grid and dropped on a tab to add the item to that 
> tabs list of items. 
>  
> This all worked fine when it was a VBox in the main application. 
> When I tried to move it to a TitleWindow and make it pop up, the 
> dragEnter event fires when the item is dragged below the tabs, not 
> on the tabs. The distance below the tabs where the event fires 
> appears to be about the same as the height of the top border in the 
> TitleWindow. Almost like it's not taking the top border in to 
> account. Horizontally, it appears to be firing at the correct 
> position. 
>  
> I have set the backgroundColor of the TitleWindow so that is not the 
> problem. I have dragEnabled of the DataGrid set to true and manually 
> added dragEnter, dragOver and dragDrop events to the TabBar. 
>  
> Any ideas?
>







--
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: Strange issue with drag and drop between Lists

2006-07-27 Thread gotgoose09
I found a workaround for this by Jeff Tapper:

Add this to your TitleWindow.
override public function localToContent(point:Point):Point {
  return point;
}

From:
http://groups.yahoo.com/group/flexcoders/message/45117;_ylc=X3oDMTM3bHA0a3YyBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTYwMDAwNzIwNwRtc2dJZAM0NTEyNgRzZWMDZnRyBHNsawN2dHBjBHN0aW1lAzExNTQwMTgzMzEEdHBjSWQDNDUxMTc-
--- In flexcoders@yahoogroups.com, "gotgoose09" <[EMAIL PROTECTED]> wrote:
>
> In one of my projects, I create a new TitleWindow that has two Lists in
> which can drag items from one to the other.  However, when I try
> dragging items from one to the other, there is a blank space at the top
> of each list that I can not drop items into - I have to drop the items
> in the bottom of the list.  If I have the same two lists not in a
> TitleWindow, dragging and dropping works fine, with no "barrier."  You
> can view the problem at the link below, and recreate the problem with
> the steps below.
> 
> http://www.thegoosmans.com/flexproblem/TitleWindowDragAndDrop.swf
> 
> 
> Hi, to recreate my problem:
> 
> 1. Create a new project (basic)
> 
> 2. In the application mxml file, paste this code in:
> 
> http://www.adobe.com/2006/mxml";
> layout="vertical">
>  
>  
>  
>  
>  
>   dropEnabled="true" width="100" height="100">
>  
>  Item 1
>  Item 2
>  
>  
>   dropEnabled="true" width="100" height="100" />
>  
> 
> 
> 
> 3. Create a new MXML Component, base it off of TitleWindow, call it
> MyPopup.mxml
> 
> 4. Paste this code into that file:
> 
> http://www.adobe.com/2006/mxml";
> layout="vertical">
>  
>   dropEnabled="true" width="100" height="100">
>  
>  Item 1
>  Item 2
>  
>  
>   dropEnabled="true" width="100" height="100" />
>  
> 
> 
> 5. Run the application.
> 
> 6. Try dragging items from list to list on the main application.  Then,
> click the button and try dragging and dropping, notice the difference in
> where you can drop items.
>





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





  1   2   3   >