Re: [flexcoders] Printing Images

2006-10-15 Thread Samuel Reuben



Hi Nathan,
 
Can you please send me a sample code of what works and what doesn't. I'll be able to help you out.
 
Thanks,
-sam 
On 9/28/06, nathanpdaniel <[EMAIL PROTECTED]> wrote:





I have an issue when printing images! I am working on a shipping app which will generate a barcode label for printing. If I load the label, then have the user print it, it works. However, there are cases when there will be 100's of labels that need to be printed at 
once. When I try to "bypass" the user interaction for each label using the FlexPrintJob class and addObject() method (repeatedly...) the text info on the labels prints properly, but with no barcodes or 
other images! I've tried every workaround I can think of with no success... anyone else have any ideas? Thanks in advance! -Nathan 

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



[flexcoders] how to convert string to number

2006-10-15 Thread Akash










Hi,

 

 I am new to flex 1.5. I searched a lot for this
conversion but didn’t get anything helpful. Actually I am accepting  text
from the TextInput which accepts only the number. So I want to convert it to
the number but how to do it in flex? 

 

Akash,




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___




Disclaimer

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom it is addressed.  If you have received this communication in error, please immediately notify the [EMAIL PROTECTED] and destroy the original message. The recipient should check this email and any attachments for the presence of viruses.  Ness has taken every reasonable precaution to minimize this risk, and accepts no liability for any damage caused by any virus transmitted in this email.  Ness reserves the rights to monitor and review the content of all messages sent to or from this E-mail address, and store them on the Ness E-mail system.


RE: [flexcoders] Location of Flex Data Service Load Test Tool???

2006-10-15 Thread Matt Chotin












It’s not something we’ve
publicly released yet.  I’m not sure what are plans are on that front, I’ll
ask internally.

 

Matt

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Steven Toth
Sent: Sunday, October 15, 2006
10:00 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Location of
Flex Data Service Load Test Tool???



 







I just finished the Adobe whitepaper on Flex Data
Services Capacity 
Planning: 
http://www.adobe.com/products/flex/whitepapers/pdfs/flex2wp_fdscapacity
planning.pdf

I have the MS Web Application Stress Tool, anyonw know where to get 
the Flex Data Service Load Test Tool repeatedly mentioned in the 
whitepaper? No luck googling it.

Thx, Steven 






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___






Re: [flexcoders] Manipulating data before it populates the DataGrid

2006-10-15 Thread Douglas Knudsen



'Since the datagrid dataprovider is an arraycollection'I don't mean to pick at this statement, but I was browsing through the source for DataGrid today, glutton for punishment I know.  The code trail eventually leads to 
ListBase.as.  In the dataProvider setter it appears that this is not always the case.  If you pass a Array or ArrayCollection as a dataProvider, then yes.  But if you pass it XML the dataProvider is actually a XMLListCollection for example.  Anyhow, the dataProvider is always converted to some sort of collection though.
DKOn 10/16/06, Harish Sivaramakrishnan <[EMAIL PROTECTED]> wrote:



I suggest you take a look at the fiterFunction and labelFunction methods on the datagrid. Since the datagrid dataprovider is an arraycollection, you can apply all utilities that are available on the arraycollection class to manipulate what you display in the datagrid finally
HarishOn 10/16/06, Aaron West <
[EMAIL PROTECTED]> wrote:













  



If you're using an ArrayCollection to populate your grid you could 
always
edit/adjust or otherwise manipulate the data in your event handler. For
instance, if you're using Web services, you can loop the data coming 
from
the server and manipulate it as you add it into your ArrayCollection.
Or, as suggested you can just use formatters to change *only* the 
display
of specific columns w/o affecting the actual data.

|  Aaron West
|  aaron AT trajiklyhip DOT com
|  http://www.trajiklyhip.com/blog/
|  Certified Advanced Adobe ColdFusion MX 7 Developer
|  Certified Macromedia FlashMX Developer
|  Adobe Community Expert

On Oct 14, 2006, at 10:23 PM, iko_knyphausen wrote:

>
> Hi,
>
> what would be the best way to inspect and possibly manipulate data that
> gets populated into a DataGrid via data binding? This could be used to
> filter data, transform values, compute calculated fields etc.
>
> Is there a hook similar to the itemRenderer (which you could even
> 'abuse' for this, I guess)? An event that gets fired per record while
> populating? Obviously I am new to Flex, so forgive if I have overlooked
> the obvious.
>
> Thanks much
>
>
>
>
>
> --
> 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 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
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



Re: [flexcoders] Simple way to put a border around an image?

2006-10-15 Thread John Grden



p_target.graphics.lineStyle(1, 0xcc, 1.0);p_target.graphics.drawRect(0, 0, p_target.width, p_target.height);  That'll do it,jpgOn 10/16/06, 
dj <[EMAIL PROTECTED]> wrote:












  



How do you do a simple border around an image, easiest way.  Do I really 
have to use the Rect method for this?

thanks,
Patrick


  













-- [  JPG  ]

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



[flexcoders] Re: FDS/PHP/AMFPHP

2006-10-15 Thread Renaun Erickson
Mark,

Your right again, I just came across it when the PHP release was made.
 I should have been more explicit, all the better to educate people
new to it like me...

Renaun

--- In flexcoders@yahoogroups.com, "Mark Piller" <[EMAIL PROTECTED]> wrote:
>
> Renaun,
> 
> Yes, that's the pricing breakdown I am referring to. As for WebORB
> being a couple months old, that's not entirely accurate. The product
> has been around for more than three years. It used to be knows as
> FlashORB. Flex integration in WebORB is as young as Flex 2.
> 
> Thanks,
> Mark
> 
> --- In flexcoders@yahoogroups.com, "Renaun Erickson"  wrote:
> >
> > Mark,
> > 
> > Thanks for the clarification.  I remember reading about the editions
> > somewhere now, and to put it together I assume you are refering to the
> > edition breakdown at:
> > http://themidnightcoders.com/licensing/
> > 
> > Where PHP will have these editions:
> > WebORB Open Source Edition - free
> > WebORB Professional Edition - $799 / CPU
> > WebORB Enterprise Edition - TBA
> > 
> > WebORB is a solid project that is barely a couple months old, should
> > continue to see some good stuff from the midnightcoders as they roll
> > out the Professional and Enterprise editions of the WebORB suite.
> > 
> > Renaun
> > 
> > 
> > 
> > --- In flexcoders@yahoogroups.com, "Mark Piller"  wrote:
> > >
> > > Let me clarify that WebORB for PHP is available under BOTH GPL and a
> > > commercial license. If GPL requirements do not suit your needs, you
> > > can always license WebORB for PHP commercially.
> > > 
> > > Thanks,
> > > Mark
> > > 
> > > --- In flexcoders@yahoogroups.com, "Renaun Erickson" 
wrote:
> > > >
> > > > No PHP packages support the full functionality of Flex data access
> > > > features, which Flex Data Services server provides.  Part of
> Flex data
> > > > access is RPC serivces, which includes Remoting.  When it
first came
> > > > out, before Flex, it was called Flash MX Remoting.  In Flex
remoting
> > > > is done by the RemoteObject component using Action Message Format
> > > > (AMF).  With Flex 2 AMF3 was introduced a newer AMF format. 
> There are
> > > > a couple PHP projects support AMF0/3 a break down is below.
> > > > 
> > > > AMFPHP supports AMF0, uses PHP4 and has been around for a long
time.
> > > > 
> > > > SabreAMF (http://osflash.org/sabreamf) - supports AMF0/AMF3
and uses
> > > > PHP5.  This is a generic server that can be extend for many uses. 
> > > > This is under a BSD license.
> > > > 
> > > > WebORB for PHP
(http://themidnightcoders.com/weborb/php/index.htm) -
> > > > supports AMF0/AMF3 and uses PHP5.  Highly structure to act like
> a FDS
> > > > server setup.  This is part of a large suite of tools and is
under a
> > > > GPL license.  
> > > > 
> > > > Both SabreAMF and WebORB for PHP has plans for support more Flex
> data
> > > > access features, which FDS typifies.  I believe WebORB for PHP's
> > > > roadmap is geared for a sooner release.
> > > > 
> > > > You can find examples of how to use Flex to connect to AMF0
servers
> > > > and also how to connect to SabreAMF and WebORB for PHP on my
blog at
> > > > http://renaun.com/.
> > > > 
> > > > Hope that helps,
> > > > 
> > > > Renaun
> > > > http://renaun.com/
> > > > 
> > > > --- In flexcoders@yahoogroups.com, "jmfillman"  wrote:
> > > > >
> > > > > I've tried all these tutorials, and can't get any of them to
> work. 
> > > > > The
PHP(http://www.adobe.com/devnet/flex/articles/flex2_php.html) 
> > > > > article runs without errors but doesn't load data from the
> database 
> > > > > or submit it, the AMFPHP 
> > > > > (http://www.adobe.com/devnet/flex/articles/flex2_amfphp.html) 
> > > > > example generates errors in Flex 2.0. I'm assuming it's a
> > difference 
> > > > > between the Beta and final release.
> > > > > 
> > > > > The only FDS example I've found 
> > > > >
> > (http://blogs.adobe.com/mtg/2006/08/my_first_hibernate_enabled_fle.ht
> > > > > ml) proved no better. I get a lengthy error that others have 
> > > > > received, but the author hasn't posted fixes that work for me.
> > > > > 
> > > > > Probably has to do with me more than these posts, but are there 
> > > > > working and better documented examples out there? I'd love
to use 
> > > > > FDS with PHP and MySQL, but I don't find anything useful that
> gives 
> > > > > detailed steps for a beginner in configuring and then querying
> and 
> > > > > adding/updating from Flex 2.0.
> > > > > 
> > > > > It's be nice if someone created a wizard for FDS like they did
> for 
> > > > > ColdFusion!
> > > > >
> > > >
> > >
> >
>





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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/f

[flexcoders] Location of Flex Data Service Load Test Tool???

2006-10-15 Thread Steven Toth
I just finished the Adobe whitepaper on Flex Data Services Capacity 
Planning: 
http://www.adobe.com/products/flex/whitepapers/pdfs/flex2wp_fdscapacity
planning.pdf

I have the MS Web Application Stress Tool, anyonw know where to get 
the Flex Data Service Load Test Tool repeatedly mentioned in the 
whitepaper?  No luck googling it.

Thx, Steven  




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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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 HeaderRenderer and DataProvider

2006-10-15 Thread Harish Sivaramakrishnan



Creating varying number of datagrid columns is fairly straightforward. Datagrid will by itself draw the columns if you do  not specify the  in your code. The columns will be created according to the properties that each dataProvider object contains. For displaying an icon on the header, you will have to extend the datagrid control and do some tweaks.
ThanksOn 10/16/06, Aaron West <[EMAIL PROTECTED]> wrote:













  



No problem jelentz, check out the link I've provided below. While you
are looking to dynamically set the dataProvider of a DataGrid the 
content
of the article discusses a ComboBox.  The takeaway from the article is
how to create your own custom DataGrid class (by extending DataGrid)
and then writing the appropriate code to manipulate the dataProvider.
The article does a good job explain this.

http://thesourcecode.org/?p=15

Let me know if you have questions (note, I didn't write the article.)

|  Aaron West
|  aaron AT trajiklyhip DOT com
|  http://www.trajiklyhip.com/blog/
|  Certified Advanced Adobe ColdFusion MX 7 Developer
|  Certified Macromedia FlashMX Developer
|  Adobe Community Expert

On Oct 14, 2006, at 12:20 PM, jlentz2112 wrote:

> Thanks for the reply, but unfortunately I don't follow all of it.  I'm
> new to Flex, so could you please explain more?  I get the AS3
> extending DataGrid.  How can you dynamically set the dataProvider to
> pass in info to the headerRenderer?  A small snippet of code would be
> greatly appreciated.
>
> Thanks again,
> jelentz
> --- In flexcoders@yahoogroups.com, Aaron West <[EMAIL PROTECTED]> wrote:
>>
>> jelentz,
>>
>> Based on my limited experience I would suggest creating a custom
>> AS3 class that extends DataGrid.  You can then dynamically set the
>> dataProvider, loop through whatever part of the data provider you
>> need, and based on the values therein create the number of
>> data grid columns you need.
>>
>>
>> |  Aaron West
>> |  aaron AT trajiklyhip DOT com
>> |  http://www.trajiklyhip.com/blog/
>> |  Certified Advanced Adobe ColdFusion MX 7 Developer
>> |  Certified Macromedia FlashMX Developer
>> |  Adobe Community Expert
>>
>>
>> On Oct 13, 2006, at 8:40 PM, jlentz2112 wrote:
>>
>>> Hi,
>>>
>>> I've got an app where I need a DataGrid that will have a varying
>>> number of columns based on the value from a database query.  I also
>>> need to be able to have each column header display a couple of images
>>> and the text provided by the database query.  Is there a way to use a
>>> dataprovider to   create a varying number of columns, and to use the
>>> dataprovider to pass in images and text?  I've looked for examples 
>>> and
>>> haven't had much luck finding any that I could follow.  A simplified
>>> explanation would be greatly appreciated.
>>>
>>> Thank you,
>>>
>>> jelentz
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>>> 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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



Re: [flexcoders] Manipulating data before it populates the DataGrid

2006-10-15 Thread Harish Sivaramakrishnan



I suggest you take a look at the fiterFunction and labelFunction methods on the datagrid. Since the datagrid dataprovider is an arraycollection, you can apply all utilities that are available on the arraycollection class to manipulate what you display in the datagrid finally
HarishOn 10/16/06, Aaron West <[EMAIL PROTECTED]> wrote:













  



If you're using an ArrayCollection to populate your grid you could 
always
edit/adjust or otherwise manipulate the data in your event handler. For
instance, if you're using Web services, you can loop the data coming 
from
the server and manipulate it as you add it into your ArrayCollection.
Or, as suggested you can just use formatters to change *only* the 
display
of specific columns w/o affecting the actual data.

|  Aaron West
|  aaron AT trajiklyhip DOT com
|  http://www.trajiklyhip.com/blog/
|  Certified Advanced Adobe ColdFusion MX 7 Developer
|  Certified Macromedia FlashMX Developer
|  Adobe Community Expert

On Oct 14, 2006, at 10:23 PM, iko_knyphausen wrote:

>
> Hi,
>
> what would be the best way to inspect and possibly manipulate data that
> gets populated into a DataGrid via data binding? This could be used to
> filter data, transform values, compute calculated fields etc.
>
> Is there a hook similar to the itemRenderer (which you could even
> 'abuse' for this, I guess)? An event that gets fired per record while
> populating? Obviously I am new to Flex, so forgive if I have overlooked
> the obvious.
>
> Thanks much
>
>
>
>
>
> --
> 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
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



[flexcoders] Simple way to put a border around an image?

2006-10-15 Thread dj
How do you do a simple border around an image, easiest way.  Do I really 
have to use the Rect method for this?



thanks,
Patrick



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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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: Week-Number

2006-10-15 Thread wayne_badu_johnson
Hi

This might get you started:
// MM/DD/ - start and end dates
dateDiff(new Date("01/01/2006"),new Date("03/01/2006"));


public function dateDiff(startDate:Date, endDate:Date):void
{
var one_day:Number=1000*60*60*24;
trace("Week :"+ getWeekNumber(endDate) + " (" + Math.ceil
((endDate.getTime()-startDate.getTime())/(one_day))+" days 
difference)");
}

public function getWeekNumber(whichDay:Date):Number
{
var one_day:Number=1000*60*60*24;
var compareDate:Date = new Date(extractYear
(whichDay),whichDay.getMonth(),whichDay.getDate()+1,0,0,0);
var Firstday:Date = new Date(0,1,whichDay.getFullYear());
var then:Date = new Date(extractYear(whichDay),0,1,0,0,0);
var Compensation:Number = Firstday.getDay();
if (Compensation > 3) Compensation -= 4;
else Compensation += 3;
var NumberOfWeek:Number =  Math.roundcompareDate.getTime
()-then.getTime())/one_day)+Compensation)/7);
return NumberOfWeek;
}

public function extractYear(theDate:Date):Number
{
var x:Number = theDate.getFullYear();
var y:Number = x % 100;
y += (y < 38) ? 2000 : 1900;
return y;
}

Cheers
Wayne


--- In flexcoders@yahoogroups.com, "supercottbus" <[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> how can i get the Week-Number from a Date? 
> 
> Greetz
>





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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] problems assigning an object to an object

2006-10-15 Thread Dimitrios Gianninas

try: model.currentUser = Users(event.result);

Dimitrios Gianninas
Optimal Payments Inc.



-Original Message-
From: flexcoders@yahoogroups.com on behalf of boy_trike
Sent: Sun 10/15/2006 10:43 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] problems assigning an object to an object
 


[Bindable]
public var model:ModelLocator = ModelLocator.getInstance();


private function processLoginResults( event : ResultEvent) : 
void {

//  model.currentUser = event.result as Users;
model.currentUser.firstName = event.result.firstName;
model.currentUser.lastName = event.result.lastName;


package util{

import flash.events.EventDispatcher;
import mx.collections.ArrayCollection;
// IMPORT ALL USER VO'S BELOW
import vo.Users;


[Bindable]
public class ModelLocator extends EventDispatcher{


public function ModelLocator(){
//
}

private static var _instance:ModelLocator

public static function getInstance() :ModelLocator{
if( !_instance ){
_instance = new ModelLocator();
}
return _instance;
}


// 
public var currentUser : Users = new Users();
}
}


package vo
{
[Bindable]
public class Users
{   
public var userID   : int;
public var firstName: String;
public var lastName : String;
public var loggedIn : Boolean = false;


public function Users() {
}
}
}


The commented line near the top does NOT work. (leaves a NULL value in 
model.currentUser). 


Thanks
Bruce



-- 
WARNING
---
This electronic message and its attachments may contain confidential, 
proprietary or legally privileged information, which is solely for the use of 
the intended recipient.  No privilege or other rights are waived by any 
unintended transmission or unauthorized retransmission of this message.  If you 
are not the intended recipient of this message, or if you have received it in 
error, you should immediately stop reading this message and delete it and all 
attachments from your system.  The reading, distribution, copying or other use 
of this message or its attachments by unintended recipients is unauthorized and 
may be unlawful.  If you have received this e-mail in error, please notify the 
sender.

AVIS IMPORTANT
--
Ce message électronique et ses pièces jointes peuvent contenir des 
renseignements confidentiels, exclusifs ou légalement privilégiés destinés au 
seul usage du destinataire visé.  L'expéditeur original ne renonce à aucun 
privilège ou à aucun autre droit si le présent message a été transmis 
involontairement ou s'il est retransmis sans son autorisation.  Si vous n'êtes 
pas le destinataire visé du présent message ou si vous l'avez reçu par erreur, 
veuillez cesser immédiatement de le lire et le supprimer, ainsi que toutes ses 
pièces jointes, de votre système.  La lecture, la distribution, la copie ou 
tout autre usage du présent message ou de ses pièces jointes par des personnes 
autres que le destinataire visé ne sont pas autorisés et pourraient être 
illégaux.  Si vous avez reçu ce courrier électronique par erreur, veuillez en 
aviser l'expéditeur.



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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] Is there a way to find an object if you know the name

2006-10-15 Thread Marlon Moyer
What's the equivalent of javascript's getElementById in Flex? I've
searched the help files numerous times and can't seem to find it.

Thanks

-- 
Marlon


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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] problems assigning an object to an object

2006-10-15 Thread boy_trike


[Bindable]
public var model:ModelLocator = ModelLocator.getInstance();


private function processLoginResults( event : ResultEvent) : 
void {

//  model.currentUser = event.result as Users;
model.currentUser.firstName = event.result.firstName;
model.currentUser.lastName = event.result.lastName;


package util{

import flash.events.EventDispatcher;
import mx.collections.ArrayCollection;
// IMPORT ALL USER VO'S BELOW
import vo.Users;


[Bindable]
public class ModelLocator extends EventDispatcher{


public function ModelLocator(){
//
}

private static var _instance:ModelLocator

public static function getInstance() :ModelLocator{
if( !_instance ){
_instance = new ModelLocator();
}
return _instance;
}


// 
public var currentUser : Users = new Users();
}
}


package vo
{
[Bindable]
public class Users
{   
public var userID   : int;
public var firstName: String;
public var lastName : String;
public var loggedIn : Boolean = false;


public function Users() {
}
}
}


The commented line near the top does NOT work. (leaves a NULL value in 
model.currentUser). 


Thanks
Bruce




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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] AS3 Custom Tween API Available for download

2006-10-15 Thread efeminella
If you have had problems with the new Tween classes in Flex 2 and are
looking for an alternative then this is for you.

I have had some issues myself with the new Tween API so I developed a
simple Custom Tween API which you can download at:
http://www.ericfeminella.com/blog/2006/10/09/as3-custom-tween-api-v10/

Thanks,
Eric Feminella






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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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: FDS/PHP/AMFPHP

2006-10-15 Thread Mark Piller
Renaun,

Yes, that's the pricing breakdown I am referring to. As for WebORB
being a couple months old, that's not entirely accurate. The product
has been around for more than three years. It used to be knows as
FlashORB. Flex integration in WebORB is as young as Flex 2.

Thanks,
Mark

--- In flexcoders@yahoogroups.com, "Renaun Erickson" <[EMAIL PROTECTED]> wrote:
>
> Mark,
> 
> Thanks for the clarification.  I remember reading about the editions
> somewhere now, and to put it together I assume you are refering to the
> edition breakdown at:
> http://themidnightcoders.com/licensing/
> 
> Where PHP will have these editions:
> WebORB Open Source Edition - free
> WebORB Professional Edition - $799 / CPU
> WebORB Enterprise Edition - TBA
> 
> WebORB is a solid project that is barely a couple months old, should
> continue to see some good stuff from the midnightcoders as they roll
> out the Professional and Enterprise editions of the WebORB suite.
> 
> Renaun
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "Mark Piller"  wrote:
> >
> > Let me clarify that WebORB for PHP is available under BOTH GPL and a
> > commercial license. If GPL requirements do not suit your needs, you
> > can always license WebORB for PHP commercially.
> > 
> > Thanks,
> > Mark
> > 
> > --- In flexcoders@yahoogroups.com, "Renaun Erickson"  wrote:
> > >
> > > No PHP packages support the full functionality of Flex data access
> > > features, which Flex Data Services server provides.  Part of
Flex data
> > > access is RPC serivces, which includes Remoting.  When it first came
> > > out, before Flex, it was called Flash MX Remoting.  In Flex remoting
> > > is done by the RemoteObject component using Action Message Format
> > > (AMF).  With Flex 2 AMF3 was introduced a newer AMF format. 
There are
> > > a couple PHP projects support AMF0/3 a break down is below.
> > > 
> > > AMFPHP supports AMF0, uses PHP4 and has been around for a long time.
> > > 
> > > SabreAMF (http://osflash.org/sabreamf) - supports AMF0/AMF3 and uses
> > > PHP5.  This is a generic server that can be extend for many uses. 
> > > This is under a BSD license.
> > > 
> > > WebORB for PHP (http://themidnightcoders.com/weborb/php/index.htm) -
> > > supports AMF0/AMF3 and uses PHP5.  Highly structure to act like
a FDS
> > > server setup.  This is part of a large suite of tools and is under a
> > > GPL license.  
> > > 
> > > Both SabreAMF and WebORB for PHP has plans for support more Flex
data
> > > access features, which FDS typifies.  I believe WebORB for PHP's
> > > roadmap is geared for a sooner release.
> > > 
> > > You can find examples of how to use Flex to connect to AMF0 servers
> > > and also how to connect to SabreAMF and WebORB for PHP on my blog at
> > > http://renaun.com/.
> > > 
> > > Hope that helps,
> > > 
> > > Renaun
> > > http://renaun.com/
> > > 
> > > --- In flexcoders@yahoogroups.com, "jmfillman"  wrote:
> > > >
> > > > I've tried all these tutorials, and can't get any of them to
work. 
> > > > The PHP(http://www.adobe.com/devnet/flex/articles/flex2_php.html) 
> > > > article runs without errors but doesn't load data from the
database 
> > > > or submit it, the AMFPHP 
> > > > (http://www.adobe.com/devnet/flex/articles/flex2_amfphp.html) 
> > > > example generates errors in Flex 2.0. I'm assuming it's a
> difference 
> > > > between the Beta and final release.
> > > > 
> > > > The only FDS example I've found 
> > > >
> (http://blogs.adobe.com/mtg/2006/08/my_first_hibernate_enabled_fle.ht
> > > > ml) proved no better. I get a lengthy error that others have 
> > > > received, but the author hasn't posted fixes that work for me.
> > > > 
> > > > Probably has to do with me more than these posts, but are there 
> > > > working and better documented examples out there? I'd love to use 
> > > > FDS with PHP and MySQL, but I don't find anything useful that
gives 
> > > > detailed steps for a beginner in configuring and then querying
and 
> > > > adding/updating from Flex 2.0.
> > > > 
> > > > It's be nice if someone created a wizard for FDS like they did
for 
> > > > ColdFusion!
> > > >
> > >
> >
>





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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] Invalidating a control during a CPU intensive task.

2006-10-15 Thread Steve Kellogg @ Project SOC










Hello,

 

I’ve got a long CPU routine, and I’m using a
progress bar to show the user that we’re making…. progress..

 

The PROBLEM is that the progress bar doesn’t seem to
be updating until my long CPU TASK is complete (presumably because I’m
not relinquishing the CPU during the routine).

 

Is there anyway to tell Flex/Flash to IMMEDIATELY redraw an
element in the UI?

 

 

Thanks in advance for any advice.

 

 

Steve

 

 

 

Steve
Kellogg

Peak8
Solutions

1401 14th Street

Boulder, Colorado

80302, USA

Fax:
303.415.2597

E-Mail:
[EMAIL PROTECTED]

 




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___





[flexcoders] Re: FDS/PHP/AMFPHP

2006-10-15 Thread Renaun Erickson
Mark,

Thanks for the clarification.  I remember reading about the editions
somewhere now, and to put it together I assume you are refering to the
edition breakdown at:
http://themidnightcoders.com/licensing/

Where PHP will have these editions:
WebORB Open Source Edition - free
WebORB Professional Edition - $799 / CPU
WebORB Enterprise Edition - TBA

WebORB is a solid project that is barely a couple months old, should
continue to see some good stuff from the midnightcoders as they roll
out the Professional and Enterprise editions of the WebORB suite.

Renaun



--- In flexcoders@yahoogroups.com, "Mark Piller" <[EMAIL PROTECTED]> wrote:
>
> Let me clarify that WebORB for PHP is available under BOTH GPL and a
> commercial license. If GPL requirements do not suit your needs, you
> can always license WebORB for PHP commercially.
> 
> Thanks,
> Mark
> 
> --- In flexcoders@yahoogroups.com, "Renaun Erickson"  wrote:
> >
> > No PHP packages support the full functionality of Flex data access
> > features, which Flex Data Services server provides.  Part of Flex data
> > access is RPC serivces, which includes Remoting.  When it first came
> > out, before Flex, it was called Flash MX Remoting.  In Flex remoting
> > is done by the RemoteObject component using Action Message Format
> > (AMF).  With Flex 2 AMF3 was introduced a newer AMF format.  There are
> > a couple PHP projects support AMF0/3 a break down is below.
> > 
> > AMFPHP supports AMF0, uses PHP4 and has been around for a long time.
> > 
> > SabreAMF (http://osflash.org/sabreamf) - supports AMF0/AMF3 and uses
> > PHP5.  This is a generic server that can be extend for many uses. 
> > This is under a BSD license.
> > 
> > WebORB for PHP (http://themidnightcoders.com/weborb/php/index.htm) -
> > supports AMF0/AMF3 and uses PHP5.  Highly structure to act like a FDS
> > server setup.  This is part of a large suite of tools and is under a
> > GPL license.  
> > 
> > Both SabreAMF and WebORB for PHP has plans for support more Flex data
> > access features, which FDS typifies.  I believe WebORB for PHP's
> > roadmap is geared for a sooner release.
> > 
> > You can find examples of how to use Flex to connect to AMF0 servers
> > and also how to connect to SabreAMF and WebORB for PHP on my blog at
> > http://renaun.com/.
> > 
> > Hope that helps,
> > 
> > Renaun
> > http://renaun.com/
> > 
> > --- In flexcoders@yahoogroups.com, "jmfillman"  wrote:
> > >
> > > I've tried all these tutorials, and can't get any of them to work. 
> > > The PHP(http://www.adobe.com/devnet/flex/articles/flex2_php.html) 
> > > article runs without errors but doesn't load data from the database 
> > > or submit it, the AMFPHP 
> > > (http://www.adobe.com/devnet/flex/articles/flex2_amfphp.html) 
> > > example generates errors in Flex 2.0. I'm assuming it's a
difference 
> > > between the Beta and final release.
> > > 
> > > The only FDS example I've found 
> > >
(http://blogs.adobe.com/mtg/2006/08/my_first_hibernate_enabled_fle.ht
> > > ml) proved no better. I get a lengthy error that others have 
> > > received, but the author hasn't posted fixes that work for me.
> > > 
> > > Probably has to do with me more than these posts, but are there 
> > > working and better documented examples out there? I'd love to use 
> > > FDS with PHP and MySQL, but I don't find anything useful that gives 
> > > detailed steps for a beginner in configuring and then querying and 
> > > adding/updating from Flex 2.0.
> > > 
> > > It's be nice if someone created a wizard for FDS like they did for 
> > > ColdFusion!
> > >
> >
>






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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] Manipulating data before it populates the DataGrid

2006-10-15 Thread Aaron West
If you're using an ArrayCollection to populate your grid you could 
always
edit/adjust or otherwise manipulate the data in your event handler. For
instance, if you're using Web services, you can loop the data coming 
from
the server and manipulate it as you add it into your ArrayCollection.
Or, as suggested you can just use formatters to change *only* the 
display
of specific columns w/o affecting the actual data.


|  Aaron West
|  aaron AT trajiklyhip DOT com
|  http://www.trajiklyhip.com/blog/
|  Certified Advanced Adobe ColdFusion MX 7 Developer
|  Certified Macromedia FlashMX Developer
|  Adobe Community Expert


On Oct 14, 2006, at 10:23 PM, iko_knyphausen wrote:

>
> Hi,
>
> what would be the best way to inspect and possibly manipulate data that
> gets populated into a DataGrid via data binding? This could be used to
> filter data, transform values, compute calculated fields etc.
>
> Is there a hook similar to the itemRenderer (which you could even
> 'abuse' for this, I guess)? An event that gets fired per record while
> populating? Obviously I am new to Flex, so forgive if I have overlooked
> the obvious.
>
> Thanks much
>
>
>
>
>
> --
> 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/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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 HeaderRenderer and DataProvider

2006-10-15 Thread Aaron West
No problem jelentz, check out the link I've provided below. While you
are looking to dynamically set the dataProvider of a DataGrid the 
content
of the article discusses a ComboBox.  The takeaway from the article is
how to create your own custom DataGrid class (by extending DataGrid)
and then writing the appropriate code to manipulate the dataProvider.
The article does a good job explain this.

http://thesourcecode.org/?p=15

Let me know if you have questions (note, I didn't write the article.)


|  Aaron West
|  aaron AT trajiklyhip DOT com
|  http://www.trajiklyhip.com/blog/
|  Certified Advanced Adobe ColdFusion MX 7 Developer
|  Certified Macromedia FlashMX Developer
|  Adobe Community Expert


On Oct 14, 2006, at 12:20 PM, jlentz2112 wrote:

> Thanks for the reply, but unfortunately I don't follow all of it.  I'm
> new to Flex, so could you please explain more?  I get the AS3
> extending DataGrid.  How can you dynamically set the dataProvider to
> pass in info to the headerRenderer?  A small snippet of code would be
> greatly appreciated.
>
> Thanks again,
> jelentz
> --- In flexcoders@yahoogroups.com, Aaron West <[EMAIL PROTECTED]> wrote:
>>
>> jelentz,
>>
>> Based on my limited experience I would suggest creating a custom
>> AS3 class that extends DataGrid.  You can then dynamically set the
>> dataProvider, loop through whatever part of the data provider you
>> need, and based on the values therein create the number of
>> data grid columns you need.
>>
>>
>> |  Aaron West
>> |  aaron AT trajiklyhip DOT com
>> |  http://www.trajiklyhip.com/blog/
>> |  Certified Advanced Adobe ColdFusion MX 7 Developer
>> |  Certified Macromedia FlashMX Developer
>> |  Adobe Community Expert
>>
>>
>> On Oct 13, 2006, at 8:40 PM, jlentz2112 wrote:
>>
>>> Hi,
>>>
>>> I've got an app where I need a DataGrid that will have a varying
>>> number of columns based on the value from a database query.  I also
>>> need to be able to have each column header display a couple of images
>>> and the text provided by the database query.  Is there a way to use a
>>> dataprovider to   create a varying number of columns, and to use the
>>> dataprovider to pass in images and text?  I've looked for examples 
>>> and
>>> haven't had much luck finding any that I could follow.  A simplified
>>> explanation would be greatly appreciated.
>>>
>>> Thank you,
>>>
>>> jelentz
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>>> 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/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] Multi line Checkbox component has black border around label text

2006-10-15 Thread Wally Randall
A while ago Darron Schall posted this component for extending the
CheckBox to permit multiple lines.  It works great.  I have used this
method to do the same feature with RadioButtons.  However, the
resulting box places a black border around the label text.

How can I remove that black border?

This is Darron's component

package
{
import mx.controls.CheckBox;
import flash.text.TextFieldAutoSize;

public class MultiLineCheckBox extends CheckBox
{
public function MultiLineCheckBox()
{
super();

callLater( measure );
}

override protected function createChildren():void
{
super.createChildren();
textField.wordWrap = true;
textField.autoSize = TextFieldAutoSize.LEFT;
textField.border = true;
}

override protected function measure():void
{
super.measure();
// Make sure the text field has measured itself
if ( textField.height > 4 )
{
measuredMinHeight = minHeight = textField.height;
}
}
}
}




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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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: Why am I getting an "error accessing null property"

2006-10-15 Thread boy_trike

I am only showing a code snippet.  I have imported the Alert class and the I 
thought that 
the 
  public var model:ModelLocator = ModelLocator.getInstance();
creates the var model.  (I the debug view, I can see the model.currentUser 
Object so I 
assume it has ben created)

Bruce

--- In flexcoders@yahoogroups.com, "Shannon Hicks" <[EMAIL PROTECTED]> wrote:
>
> Well, you haven't imported the Alert class, and also I don't see you
> initializing the ModelLocator
>  
> Shan
> 
>_  
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of boy_trike
> Sent: Sunday, October 15, 2006 4:24 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Why am I getting an "error accessing null property"
> 
> 
> 
> [Bindable]
> public var model:ModelLocator = ModelLocator.getInstance();
> 
> private function processLoginResults-( event : ResultEvent) : void {
> model.currentUser = new Users();
> model.currentUser = event.result as Users;
> Alert.show(model.-currentUser.-firstName)-;
> }
> 
> snippet of code above, 
> I get the error in the Alert.show function. What am I doing wrong?
> 
> Thanks
> 
> Bruce Lomasky
> 
> 
> 
>  
> 
> 
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.408 / Virus Database: 268.13.4/476 - Release Date: 10/14/2006
> 
> 
> 
> -- 
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.408 / Virus Database: 268.13.4/476 - Release Date: 10/14/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/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] FDS Shared Development License

2006-10-15 Thread Matt Chotin












Hi, it’s $10K per server as the list
price.  Of course, everything is negotiable with your sales rep.

 

Matt

 









From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of jermlawhorn
Sent: Friday, October 13, 2006
8:05 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] FDS Shared
Development License



 







Has anyone obtained the price structure for a FDS
Shared Development
License?

Thanks in advance,
Jeremy






__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___






RE: [flexcoders] Why am I getting an "error accessing null property"

2006-10-15 Thread Shannon Hicks





Well, you haven't imported the Alert class, and also I 
don't see you initializing the ModelLocator
 
Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
boy_trikeSent: Sunday, October 15, 2006 4:24 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Why am I getting an 
"error accessing null property"


[Bindable]public var model:ModelLocator = 
ModelLocator.getInstance();private function 
processLoginResults( event : ResultEvent) : void {model.currentUser = 
new Users();model.currentUser = event.result as 
Users;Alert.show(model.currentUser.firstName);}snippet 
of code above, I get the error in the Alert.show function. What am I doing 
wrong?ThanksBruce Lomasky
--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.408 / Virus Database: 268.13.4/476 - Release Date: 
10/14/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
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.408 / Virus Database: 268.13.4/476 - Release Date: 10/14/2006
 


[flexcoders] Why am I getting an "error accessing null property"

2006-10-15 Thread boy_trike
[Bindable]
public var model:ModelLocator = ModelLocator.getInstance();

private function processLoginResults( event : ResultEvent) : 
void {
model.currentUser = new Users();
model.currentUser = event.result as Users;
Alert.show(model.currentUser.firstName);
}


snippet of code above, 
I get the error in the Alert.show function.  What am I doing wrong?

Thanks

Bruce Lomasky




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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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: FDS/PHP/AMFPHP

2006-10-15 Thread Mark Piller
Let me clarify that WebORB for PHP is available under BOTH GPL and a
commercial license. If GPL requirements do not suit your needs, you
can always license WebORB for PHP commercially.

Thanks,
Mark

--- In flexcoders@yahoogroups.com, "Renaun Erickson" <[EMAIL PROTECTED]> wrote:
>
> No PHP packages support the full functionality of Flex data access
> features, which Flex Data Services server provides.  Part of Flex data
> access is RPC serivces, which includes Remoting.  When it first came
> out, before Flex, it was called Flash MX Remoting.  In Flex remoting
> is done by the RemoteObject component using Action Message Format
> (AMF).  With Flex 2 AMF3 was introduced a newer AMF format.  There are
> a couple PHP projects support AMF0/3 a break down is below.
> 
> AMFPHP supports AMF0, uses PHP4 and has been around for a long time.
> 
> SabreAMF (http://osflash.org/sabreamf) - supports AMF0/AMF3 and uses
> PHP5.  This is a generic server that can be extend for many uses. 
> This is under a BSD license.
> 
> WebORB for PHP (http://themidnightcoders.com/weborb/php/index.htm) -
> supports AMF0/AMF3 and uses PHP5.  Highly structure to act like a FDS
> server setup.  This is part of a large suite of tools and is under a
> GPL license.  
> 
> Both SabreAMF and WebORB for PHP has plans for support more Flex data
> access features, which FDS typifies.  I believe WebORB for PHP's
> roadmap is geared for a sooner release.
> 
> You can find examples of how to use Flex to connect to AMF0 servers
> and also how to connect to SabreAMF and WebORB for PHP on my blog at
> http://renaun.com/.
> 
> Hope that helps,
> 
> Renaun
> http://renaun.com/
> 
> --- In flexcoders@yahoogroups.com, "jmfillman"  wrote:
> >
> > I've tried all these tutorials, and can't get any of them to work. 
> > The PHP(http://www.adobe.com/devnet/flex/articles/flex2_php.html) 
> > article runs without errors but doesn't load data from the database 
> > or submit it, the AMFPHP 
> > (http://www.adobe.com/devnet/flex/articles/flex2_amfphp.html) 
> > example generates errors in Flex 2.0. I'm assuming it's a difference 
> > between the Beta and final release.
> > 
> > The only FDS example I've found 
> > (http://blogs.adobe.com/mtg/2006/08/my_first_hibernate_enabled_fle.ht
> > ml) proved no better. I get a lengthy error that others have 
> > received, but the author hasn't posted fixes that work for me.
> > 
> > Probably has to do with me more than these posts, but are there 
> > working and better documented examples out there? I'd love to use 
> > FDS with PHP and MySQL, but I don't find anything useful that gives 
> > detailed steps for a beginner in configuring and then querying and 
> > adding/updating from Flex 2.0.
> > 
> > It's be nice if someone created a wizard for FDS like they did for 
> > ColdFusion!
> >
>





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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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: FDS/PHP/AMFPHP

2006-10-15 Thread Renaun Erickson
No PHP packages support the full functionality of Flex data access
features, which Flex Data Services server provides.  Part of Flex data
access is RPC serivces, which includes Remoting.  When it first came
out, before Flex, it was called Flash MX Remoting.  In Flex remoting
is done by the RemoteObject component using Action Message Format
(AMF).  With Flex 2 AMF3 was introduced a newer AMF format.  There are
a couple PHP projects support AMF0/3 a break down is below.

AMFPHP supports AMF0, uses PHP4 and has been around for a long time.

SabreAMF (http://osflash.org/sabreamf) - supports AMF0/AMF3 and uses
PHP5.  This is a generic server that can be extend for many uses. 
This is under a BSD license.

WebORB for PHP (http://themidnightcoders.com/weborb/php/index.htm) -
supports AMF0/AMF3 and uses PHP5.  Highly structure to act like a FDS
server setup.  This is part of a large suite of tools and is under a
GPL license.  

Both SabreAMF and WebORB for PHP has plans for support more Flex data
access features, which FDS typifies.  I believe WebORB for PHP's
roadmap is geared for a sooner release.

You can find examples of how to use Flex to connect to AMF0 servers
and also how to connect to SabreAMF and WebORB for PHP on my blog at
http://renaun.com/.

Hope that helps,

Renaun
http://renaun.com/

--- In flexcoders@yahoogroups.com, "jmfillman" <[EMAIL PROTECTED]> wrote:
>
> I've tried all these tutorials, and can't get any of them to work. 
> The PHP(http://www.adobe.com/devnet/flex/articles/flex2_php.html) 
> article runs without errors but doesn't load data from the database 
> or submit it, the AMFPHP 
> (http://www.adobe.com/devnet/flex/articles/flex2_amfphp.html) 
> example generates errors in Flex 2.0. I'm assuming it's a difference 
> between the Beta and final release.
> 
> The only FDS example I've found 
> (http://blogs.adobe.com/mtg/2006/08/my_first_hibernate_enabled_fle.ht
> ml) proved no better. I get a lengthy error that others have 
> received, but the author hasn't posted fixes that work for me.
> 
> Probably has to do with me more than these posts, but are there 
> working and better documented examples out there? I'd love to use 
> FDS with PHP and MySQL, but I don't find anything useful that gives 
> detailed steps for a beginner in configuring and then querying and 
> adding/updating from Flex 2.0.
> 
> It's be nice if someone created a wizard for FDS like they did for 
> ColdFusion!
>





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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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: getting printed versions of the docs

2006-10-15 Thread Paul Andrews





And what about the rest of us outside the US?  
:-(
 
Paul

  - Original Message - 
  From: 
  greg h 
  
  To: flexcoders@yahoogroups.com 
  Sent: Sunday, October 15, 2006 7:32 
  PM
  Subject: [flexcoders] Re: getting printed 
  versions of the docs
  Printed versions of the Flex 2 doc set can now be purchased for 
  $50 online at:https://store1.adobe.com/cfusion/store/index.cfm?category=/Applications/FlexwithCharting&NR=0#view=ols_prod&categoryOID=1579184 
  The manuals included in this documentation set include the 
  following 4 books:
  
Developers 
Guide Volumes 1 & 2 
Building 
and Deploying Flex Applications 
Creating 
and Extending Flex Components 
Getting 
Started with Flex 2  
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



Re: [flexcoders] Re: Global keyboard event listener

2006-10-15 Thread Drew Miller



Thanks Krxtopher!  On 10/6/06, krxtopher <[EMAIL PROTECTED]> wrote:
Drew,What you want to do is of course very common, but surprisingly, the way to pull it off isn'tvery obvious. In fact, even the documentation is a little inaccurate on this topic (at the timeof this writing). Here's a solution.
In order to listen globally for keyboard events you need to register a KEY_UP or KEY_DOWNlistener with the Stage, not the Application. In Flex 2 the Stage is not globally accessible(as it was in previous versions of Flex) but instead is accessible via the "stage" property of
any DisplayObject, including Application.One tricky hurdle to get over is when exactly you should register the listener. It turns out,if you try to register it too early - for example upon the Application's "initialize" or
"creationComplete" events, the "stage" property doesn't contain a reference to the Stage,yet. Instead, you should trigger your event registration code from the Application's"applicationComplete" event. Here's a little demo...
http://www.adobe.com/2006/mxml"applicationComplete="registerKeyListener()">
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search 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/<*> Your email settings:Individual Email | Traditional<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join(Yahoo! ID required)<*> To change settings via email:mailto:
[EMAIL PROTECTED]mailto:[EMAIL PROTECTED]<*> 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
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



[flexcoders] Flex Data Services - Client.Data.UnderFlow

2006-10-15 Thread Aurélien BLOND










Hi there,

 

I’m currently trying to use Flex Data Services
and Hibernate to link my web application with a MySQL database.

 

All Java classes are written and mapped to the
database with hibernate.

AS3 classes are written and mapped to Java classes with
[Managed] and [RemoteClass(…)].

 

The data-management-config file is filled with one
destination per class and the default-channel is polling-amf.

 

The first class is the Client one and contains all
personal data.

The second one is the User class. It contains special
data and a reference to a Client.

The last class is the Contract one. This one contains
contract data, a reference to a Client and a collection of Users to indicate
which users are concerned by the current contract.

 

The web application contains 2 states:

- 
the default one to
display client’s contracts in a custom component using a DataService to
retrieve data (destination = hibernate.Contract)

- 
the second one to display
client’s and users’ data in a custom component containing two
DataServices to retrieve data (destinations = hibernate.Client and hibernate.User

 

So when a client visits the website, the default
state is displayed without any problem. An error is displayed when the client
changes the current state of the application but new data are well displayed.
Here is the error:

 

Error #2044: NetStatusEvent non pris en charge :
level=error, code=Client.Data.UnderFlow

    at
mx.messaging.channels::NetConnectionChannel$iinit()

    at
mx.messaging.channels::AMFChannel$iinit()

    at mx.messaging.config::ServerConfig$/::createChannel()

    at
mx.messaging.config::ServerConfig$/getChannel()

    at mx.messaging::ChannelSet/::hunt()

    at mx.messaging::ChannelSet/send()

    at
mx.messaging::MessageAgent/mx.messaging:MessageAgent::internalSend()

    at mx.messaging::Consumer/subscribe()

    at
mx.data::ConcreteDataService/http://www.adobe.com/2006/flex/mx/internal::reconnect()

    at mx.data::ConcreteDataService/fill()

    at mx.data::DataService/fill()

    at assure_v3/getContract()

    at assure_v3/initAssureV3()

    at
assure_v3/___Application1_creationComplete()

    at
flash.events::EventDispatcher/flash.events:EventDispatcher::dispatchEventFunction()

    at
flash.events::EventDispatcher/dispatchEvent()

    at mx.core::UIComponent/set initialized()

    at mx.managers::LayoutManager/::doPhasedInstantiation()

    at
Function/http://adobe.com/AS3/2006/builtin::apply()

    at
mx.core::UIComponent/::callLaterDispatcher2()

    at
mx.core::UIComponent/::callLaterDispatcher()

 

I tried to disconnect the DataService, release the
collection but I have no idea on how to solve this problem. Does somebody
already encounter this problem or know how to solve it?

 

Thanks.

 

-- 

Aurélien BLOND

 




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___





[flexcoders] Re: getting printed versions of the docs

2006-10-15 Thread greg h



Printed versions of the Flex 2 doc set can now be purchased for $50 online at:

https://store1.adobe.com/cfusion/store/index.cfm?category=/Applications/FlexwithCharting&NR=0#view=ols_prod&categoryOID=1579184

The manuals included in this documentation set include the following 4 books:

  Developers Guide Volumes 1 & 2
  Building and Deploying Flex Applications
  Creating and Extending Flex Components
  Getting Started with Flex 2



__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



[flexcoders] remoting tutorials/examples

2006-10-15 Thread relisanhard52
Hi
Can someone please send links to good tutorials and samples for 
remoting. 
I am having tough time here trying to make remote calls to my jboss 
server. I am following cairngorm2 model.
I did

1. In my remote object tag, 


 
{userName.text}





2. In my remoting-config.xml, i define the destination.

When i make server call, i am getting error with fault code as 
faultCode ="Service.ResourceUnavailable"
faultString="An unknown exception occured while creating an instance 
of type com.lsmonline.client.delegate.UserDelegate

3. I had removed the source from my remoteobject tag and had it in 
my destination tag in remoting-config, but i still get the error


Any ideas please


Regds
Husain




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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] Manipulating data before it populates the DataGrid

2006-10-15 Thread Douglas Knudsen



look at the labelFuntion attribute of the grid column tag. This give you the ability to massage the displayed value in a column.  You can also bind using a function if you need more done to the data provider like this:
dataProvider="{ doSomething(myData) }"DKOn 10/14/06, iko_knyphausen <[EMAIL PROTECTED]> wrote:
Hi,what would be the best way to inspect and possibly manipulate data that
gets populated into a DataGrid via data binding? This could be used tofilter data, transform values, compute calculated fields etc.Is there a hook similar to the itemRenderer (which you could even'abuse' for this, I guess)? An event that gets fired per record while
populating? Obviously I am new to Flex, so forgive if I have overlookedthe obvious.Thanks much--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/<*> Your email settings:Individual Email | Traditional
<*> To change settings online go to:http://groups.yahoo.com/group/flexcoders/join(Yahoo! ID required)<*> To change settings via email:
mailto:[EMAIL PROTECTED]mailto:[EMAIL PROTECTED]
<*> 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?

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



[flexcoders] Manipulating data before it populates the DataGrid

2006-10-15 Thread iko_knyphausen

Hi,

what would be the best way to inspect and possibly manipulate data that
gets populated into a DataGrid via data binding? This could be used to
filter data, transform values, compute calculated fields etc.

Is there a hook similar to the itemRenderer (which you could even
'abuse' for this, I guess)? An event that gets fired per record while
populating? Obviously I am new to Flex, so forgive if I have overlooked
the obvious.

Thanks much





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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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] FDS/PHP/AMFPHP

2006-10-15 Thread jmfillman
I've tried all these tutorials, and can't get any of them to work. 
The PHP(http://www.adobe.com/devnet/flex/articles/flex2_php.html) 
article runs without errors but doesn't load data from the database 
or submit it, the AMFPHP 
(http://www.adobe.com/devnet/flex/articles/flex2_amfphp.html) 
example generates errors in Flex 2.0. I'm assuming it's a difference 
between the Beta and final release.

The only FDS example I've found 
(http://blogs.adobe.com/mtg/2006/08/my_first_hibernate_enabled_fle.ht
ml) proved no better. I get a lengthy error that others have 
received, but the author hasn't posted fixes that work for me.

Probably has to do with me more than these posts, but are there 
working and better documented examples out there? I'd love to use 
FDS with PHP and MySQL, but I don't find anything useful that gives 
detailed steps for a beginner in configuring and then querying and 
adding/updating from Flex 2.0.

It's be nice if someone created a wizard for FDS like they did for 
ColdFusion!




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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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: How to invalidate ViewStack Pages

2006-10-15 Thread jlentz2112
Thanks for the explanation.  That all makes sense, but what do you
mean by using databinding to do the same thing?

Thanks again for the explanation - it helped alot.

jelentz
--- In flexcoders@yahoogroups.com, "Gordon Smith" <[EMAIL PROTECTED]> wrote:
>
> There is no function on the child pane that is called when the ViewStack
> switches to it. All the ViewStack does is bring that child to the front.
> But if you write a handler for the ViewStack's "change" event, it will
> get called every time selectedIndex or selectedChild changes. So you can
> do something like this:
> 
>  
> 
> 
> 
> private function changeHandler(event:Event):void
> 
> {
> 
> if (viewStack.selectedChild == pane1)
> 
> pane1.name = "Gordon";
> 
> }
> 
> 
> 
>  
> 
> 
> 
> 
> 
> ...
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>  
> 
> If each pane were a component with a reinitialzie() method that you
> wrote, you could simplify this so
> 
>  
> 
> 
> 
> ...
> 
>  
> 
>  
> 
> But using databinding is even easier.
> 
>  
> 
> - Gordon
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of jlentz2112
> Sent: Saturday, October 14, 2006 2:59 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: How to invalidate ViewStack Pages
> 
>  
> 
> How do you reinitialize a pane? Is there some function that is called
> everytime you switch to a new child? I'm wanting to pass an object
> into a child each time I call it, so I need someway to have a function
> called automatically when a child is switched to, so I can
> reinitialize and use the data just passed in.
> 
> Thanks,
> 
> jelentz
> --- In flexcoders@yahoogroups.com 
> , "Gordon Smith"  wrote:
> >
> > Databinding is one way to accomplish this:
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > Another would be to write a "change" handler on the ViewStack. Switch
> on
> > the selectedIndex and re-initialize the pane you're changing to.
> > 
> > 
> > 
> > - Gordon
> > 
> > 
> > 
> > 
> > 
> > From: flexcoders@yahoogroups.com 
> [mailto:flexcoders@yahoogroups.com 
> ] On
> > Behalf Of jlentz2112
> > Sent: Friday, October 13, 2006 8:17 PM
> > To: flexcoders@yahoogroups.com  
> > Subject: [flexcoders] How to invalidate ViewStack Pages
> > 
> > 
> > 
> > Hi,
> > 
> > I've got a ViewStack that I navigate around using selectedIndex. It
> > works fine the first time I go to a page, but when I leave and return
> > to that same page, I need to have all the TextInput fields
> > re-initialized. It doesn't seem to do that. Returning to a
> > previously selected index displays the data that was there when I left
> > that page - not the new data I have. Is there a way to force a child
> > page to create or refresh its different fields?
> > 
> > Thanks,
> > 
> > jelentz
> >
>





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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

<*> 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: Where to Download Eclipse 3.1.x?

2006-10-15 Thread shemeshkale
i m running FlexBuilder 2.0 plug-in on Eclipse 3.2.0 and did not
encounter any problems.
i have installed the Eclipse 2.0 and the FlexBuilder as a plugin.

are there any known problems/limitations to this setup ?

--- In flexcoders@yahoogroups.com, "Dimitrios Gianninas"
<[EMAIL PROTECTED]> wrote:
>
> 
> The FlexBuilder 2.0 plug-in only works with Eclipse 3.1.x. If you 




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

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

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