Re: [flexcoders] programatically assigning an ArrayCollection as the DataProvider bug...

2006-06-23 Thread hank williams



The exact thing that Jonathan describes below in the referenced email is happening to me. I am attempting to programatically create a bindable arrayCollection and use that arrayCollection as a dataProvider for a dataGrid. When I do this, only the last item in the list is selectable with the mouse.
I am getting the exact same results as jonathan. But according to the documentation, this is totally legal. In this thread, the theory was that the IUID was not there or that the object needed to be dynamic, but that cant relate to an ArrayCollection. This really feels like a bug because I should be able to create and modify a bindable arrayCollection without worrying about any wierd scenario. This should be flex 101.
So I am curious if anyone else can dynamically (not from a data service) create a dataProvider for a dataGrid using an arrayCollection and select any item in the list with the mouse.Betcha cant.Hank
On 4/12/06, box110a <[EMAIL PROTECTED]> wrote:



I didn't see this in the known issues. but I'll attempt to explain whats going on:Here is my Code (i'll explain the bug at the end):DGTest.mxml
http://www.adobe.com/2006/mxml
" xmlns="*" layout="absolute" creationComplete="init();"    pageTitle="DataGrid Test">        
                    
                                    change="selectRow();"                    editable="true"                    >
                                                                    
                                                                
                                                                                                                                            ResourceVO.aspackage com.crap.vo
 {    import com.crap.mvc.vo.ValueObject;    import mx.resource.Locale;    import mx.controls.listClasses.BaseListData;    import mx.controls.listClasses.IDropInListItemRenderer;    import mx.data.IManaged
;    import mx.data.utils.Managed;    import mx.core.mx_internal;        [Bindable]    public class ResourceVO implements ValueObject{        public var key:String = "";        public var value:String = "";
        public var locale:Locale = new Locale("eng_us");                    }}The Issue:When I view this application, it works as expected: it shows the datagrid with the three items and when I click on it, the fields to the right are populated. However, the blue 
selection highlight doesn't move off of the last item in the list! I have also sceen this issue in a ComboBox.
Any ideas as to why this is happening?-JB






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

Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com






  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 

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



  










__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
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 Flex 1.5 coexist on the same machine with 2.0?

2006-06-23 Thread Carson Hager





They can absolutely coexist on the same 
machine.
 
 
Carson
   Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com 
  Email:  
[EMAIL PROTECTED] Office:  866-CYNERGY Mobile: 1.703.489.6466 
  
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Roscoe P 
ColtraneSent: Friday, June 23, 2006 6:32 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Can Flex 1.5 coexist 
on the same machine with 2.0?


I am positive that this question has been answered before, but 
aftersearching the Adobe site, the web, and this site, I still can't 
findthe answer : (I would like to install the beta 3 and see how 
many compile errors Iget out of my 1.5 version, which I will still need to 
support until2.0 goes production 
status.Thanks,Roscoe
__._,_.___





--
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: e4x adding attributes across members.

2006-06-23 Thread coder_flex
Just FYI,

My original approach worked and the total came out correct (internally
anyways the for loop is being called I guess)!

thanks for the help anyways.

--- In flexcoders@yahoogroups.com, "coder_flex" <[EMAIL PROTECTED]> wrote:
>
> Your answer involves looping externally (which is how they explain it
> in the flex code sample). I was trying to avoid that and use e4x's
> power to do the same. 
> Therefore I was calling a function within the e4x expression. I know
> that calling a function within e4x expression works because I am doing
> other conversions on attributes. I thought the summing up of
> attributes should work too.
> 
> Anyways, thanks for the quick response. 
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "Matt Horn"  wrote:
> >
> > Here's a basic example using for each:
> > 
> > 
> > http://www.adobe.com/2006/mxml";>
> > 
> > 
> > 
> > 
> >  
> > hth,
> > 
> > matt horn
> > flex docs 
> > 
> > > -Original Message-
> > > From: flexcoders@yahoogroups.com 
> > > [mailto:[EMAIL PROTECTED] On Behalf Of coder_flex
> > > Sent: Thursday, June 22, 2006 10:49 PM
> > > To: flexcoders@yahoogroups.com
> > > Subject: [flexcoders] e4x adding attributes across members.
> > > 
> > > If my xml structure looks like this:
> > > 
> > > var inputXML:XML =
> > > 
> > >  > > quantity="2"/>
> > >  > > quantity="4"/>
> > >  > > quantity="5"/>
> > > ;
> > > 
> > > I wanted an e4x expression to get the total of price*quantity 
> > > across all the books.
> > > 
> > > The way I am trying to achieve this is:
> > > define a function:
> > > public function addToTotal(totalObj:Object, 
> > > perBookTotal:Number):void { totalObj.totalAmt+=perBookTotal; }
> > > 
> > > then call the function from e4x expression:
> > > 
> > > var totalClass = new Object();
> > > totalClass.totalAmt = 0;
> > > 
> > > inputXML.book.(addToTotal(
> > > totalClass, Number(@price)*Number(@quantity)));
> > > trace(totalClass.totalAmt);
> > > 
> > > I am in the process of trying this. Is this going to work at 
> > > all? Or is there a better way of achieving this.
> > > 
> > > Thanks in advance for all the help.
> > > 
> > > 
> > > 
> > >  
> > >
> >
>







 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

<*> 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] converting from screen display to print ready PDF

2006-06-23 Thread Mark
First off, I want to say thanks much for all the efforts not only of
the team that has created Flex but also a thanks to everyone in the
Flex community.

Now I'm gonna pose my question just to see if anyone can point me in
the right direction.  I have a flex application that has a few image
elements drawn within a panel.  I am then passing the X and Y coords
of those elements to a pdf generator and I'd like to create a hires
PDF that looks just like the view on the panel but with all hires
elements.  The problem is that I can't figure out a smart way to
convert the pixel coords over to inch/mm/pt measurements needed by my
PDF generator.

Has anyone had to do hi-res prints via PDF before?  Is there a better
way for me to do this than to try and generate a PDF on the fly? 
Thanks for any help.


::Mark





 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

<*> 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] Can Flex 1.5 coexist on the same machine with 2.0?

2006-06-23 Thread Roscoe P Coltrane
I am positive that this question has been answered before, but after
searching the Adobe site, the web, and this site, I still can't find
the answer : (

I would like to install the beta 3 and see how many compile errors I
get out of my 1.5 version, which I will still need to support until
2.0 goes production status.

Thanks,
Roscoe





 Yahoo! Groups Sponsor ~--> 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/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

<*> 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: Newbie layout help.

2006-06-23 Thread Tim Hoff
You could start from the end and work backwards.  First, create a 
component from a single returned object and it's children.  The 
component will have two states, tileList and gridObject.  You can 
then use the component as the itemRenderer for the objects in the 
grid.  Since the componet uses states, you can change the state, 
from gridObject to tileList, when the cell item is selected or on 
rollOver.  Getting your custom grid setup will be the tricky part.  
You might want to think about using a repeater.

-TH

--- In flexcoders@yahoogroups.com, "Ian Skinner" <[EMAIL PROTECTED]> 
wrote:
>
> I have an object (coming from a ColdFusion CFC) that contains an 
array of objects that can be 28, 35 or 42 elements long.  I would 
like to display this in a grid 7 columns wide and 4, 5 or 6 rows as 
appropriate.  Each of these objects will contain a record set or 
another array of objects (I have not decided yet) that I will then 
want to pass to a tilelist inside each grid cell.
> 
> I can not see how to even start this kind of display.  Any help 
would be most appreciated.
> 
> 
> --
> Ian Skinner
> Web Programmer
> BloodSource
> www.BloodSource.org
> Sacramento, CA
> 
> -
> | 1 |   |
> -  Binary Soduko
> |   |   |
> -
>  
> "C code. C code run. Run code run. Please!"
> - Cynthia Dunning
> 
> Confidentiality Notice:  This message including any
> attachments is for the sole use of the intended
> recipient(s) and may contain confidential and privileged
> information. Any unauthorized review, use, disclosure or
> distribution is prohibited. If you are not the
> intended recipient, please contact the sender and
> delete any copies of this message.
>






 Yahoo! Groups Sponsor ~--> 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/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

<*> 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] FLV can't load in to videoDisplay component from remote machine

2006-06-23 Thread Bhavin Padhiyar



hi abdul,  Actually problem is that videodisplay is not accepting  source value when I host application to remote server.     Even I set crossdomain policy on server.     Is there any security problem or what ??  Abdul Qabiz <[EMAIL PROTECTED]> wrote:Have you set hardcoded value for the bitrate?
 -abdulOn 6/21/06, Bhavin Padhiyar <[EMAIL PROTECTED]  > wrote:hi Tom   It is givinging me error of no bitrate matchError: 1000: No bitrate match      at   mx.controls.videoClasses::VideoPlayer/play()      at mx.controls::VideoDisplay/play()    at Support/::toggle()      at Support/___Button1_click()Tom Chiverton <[EMAIL PROTECTED]> wrote:On Tuesday 20 June 2006 15:16, Bhavin Padhiyar wrote:>   I try   out with some other examples that also give same kind of error even> in flexstore example of adobe having same error.What error is that then ?-- 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.  CONFIDENTIALITYThis 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.We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards 
  Yahoo! Groups Sponsor ~--> Check out the new improvements in Yahoo! Groups email.  http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM~-> --Flexcoders Mailing ListFAQ:   http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 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/  Do you Yahoo!?   Get on board. You're invited to try the new Yahoo! Mail Beta. 

	
	
		Do you Yahoo!? Next-gen email? Have it all with the  all-new Yahoo! Mail Beta.
__._,_.___





--
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 do you dispatch event from a custom class?

2006-06-23 Thread Jon Hirschi
is there anyway to enter an event into the event
stream without a class being a display object?   ie,
not having it in the display list?

--- Ralf Bokelberg <[EMAIL PROTECTED]> wrote:

> Either by instantiating it in mxml or explicitely by
> adding it using
> container.addChild.
> Cheers,
> Ralf.
> 
> On 6/24/06, Jon Hirschi <[EMAIL PROTECTED]>
> wrote:
> >
> > I tried what you said and attempted to have the
> > WebServiceCheck itself dispatch the event,
> however, it
> > doesn't dispatch anything into the event stream,
> even
> > attaching an event listener to the variable return
> > variable doesn't do anything.
> >
> > How do I make it part of a displaylist??
> >
> > --- Ralf Bokelberg <[EMAIL PROTECTED]>
> wrote:
> >
> > > Hello Paul
> > >
> > > In your code you are creating a separate
> > > EventDispatcher, which is not
> > > part of any displaylist. If you let your
> > > WebServiceCheck dispatch the
> > > event instead, it should work. At least as long
> as
> > > it is part of a
> > > displaylist.
> > >
> > > Cheers,
> > > Ralf.
> > >
> > > On 6/23/06, Jon Hirschi <[EMAIL PROTECTED]>
> > > wrote:
> > > >
> > > > Hi Paul,
> > > >
> > > > So I'm putting my event listener in the
> > > application
> > > > core.  What I would like is for this event to
> > > enter
> > > > the event stream and bubble up to the
> application
> > > > core.  Currently, it doesn't look like it even
> > > makes
> > > > it out of the document that I'm in.  I'm not
> even
> > > sure
> > > > that it gets populated outside of the class
> > > itself.
> > > >
> > > > What i'd really like is to have this event
> entered
> > > > automatically into the event stream with out
> > > having to
> > > > have an event repeater.
> > > >
> > > > --- Paul Williams <[EMAIL PROTECTED]> wrote:
> > > >
> > > > > Hi Jon,
> > > > >
> > > > > Sprite extends EventDispatcher, so you don't
> > > need to
> > > > > instantiate another
> > > > > EventDispatcher in your class.
> > > > >
> > > > > Instead, try the following:
> > > > >
> > > > > this.dispatchEvent(new
> > > > > Event("AuthenticationFailed",true,false));
> > > > >
> > > > > If you still have problems can you let us
> know
> > > what
> > > > > object you are
> > > > > creating your event listener on?
> > > > >
> > > > > Paul
> > > > >
> > > > > -Original Message-
> > > > > From: flexcoders@yahoogroups.com
> > > > > [mailto:[EMAIL PROTECTED] On
> > > > > Behalf Of Jon Hirschi
> > > > > Sent: Thursday, June 22, 2006 9:45 PM
> > > > > To: flexcoders@yahoogroups.com
> > > > > Subject: [flexcoders] how do you dispatch
> event
> > > from
> > > > > a custom class?
> > > > >
> > > > >
> > > > > I have a custom class that I want to be able
> to
> > > > > dispatch an event. However, it's not
> entering
> > > the
> > > > > event into the event stream, I don't even
> think
> > > the
> > > > > event is getting out of the class.  I have
> > > bubbles
> > > > > set
> > > > > to true.  does anyone know how to get the
> event
> > > > > entered into the event stream... the docs
> aren't
> > > > > very
> > > > > explicit on this subject
> > > > >
> > > > > ie
> > > > >
> > > > > code to call my class...
> > > > >
> > > > > private function
> > > > > handleLBResponse(eventObj:ResultEvent):void 
> {
> > > > >   var
> > > tempArray:Array;
> > > > >   var
> > > checkResult:WebServiceCheck = new
> > > > > WebServiceCheck();
> > > > >   if
> > > > >
> > > >
> > >
> >
>
(checkResult.checkServiceReturnStatus(eventObj,true))
> > > > >
> > > > > {
> > > > >  
> tempArray
> > > =
> > > > >
> > > >
> > >
> >
>
mx.utils.ArrayUtil.toArray(eventObj.result.lbvServerTos);
> > > > >   if
> > > (tempArray.length > 1)  {
> > > > >
> > > dpLBVServerData.source =
> > > > > tempArray;
> > > > >   } else
>  {
> > > > >
> > > > > dpLBVServerData.removeAll();
> > > > >   }
> > > > >   } else {
> > > > >
> > > dpLBVServerData.removeAll();
> > > > >   }
> > > > >
> > > > >   }
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > code in the class
> > > > >
> > > > > ---
> > > > >
> > > > > package comp.webconfig.services   {
> > > > >
> > > > >   import flash.display.Sprite;
> > > > >   import mx.rpc.events.ResultEvent;
> > > > >   import mx.controls.Alert;
> > > > >   import flash.events.Event;
> > > > >   import flash.events.EventDispatcher;
> > > > >
> > > > >   public class WebServiceCheck extends
> > > Sprite {
> > > > >
> > > > >
> > > > >
> > > > >   public var isSuccess:Boolean;
> > > > >   public var statusType:String;
> > > > >   public var message:String;
> > > > >   p

Re: [flexcoders] how do you dispatch event from a custom class?

2006-06-23 Thread Ralf Bokelberg
Either by instantiating it in mxml or explicitely by adding it using
container.addChild.
Cheers,
Ralf.

On 6/24/06, Jon Hirschi <[EMAIL PROTECTED]> wrote:
>
> I tried what you said and attempted to have the
> WebServiceCheck itself dispatch the event, however, it
> doesn't dispatch anything into the event stream, even
> attaching an event listener to the variable return
> variable doesn't do anything.
>
> How do I make it part of a displaylist??
>
> --- Ralf Bokelberg <[EMAIL PROTECTED]> wrote:
>
> > Hello Paul
> >
> > In your code you are creating a separate
> > EventDispatcher, which is not
> > part of any displaylist. If you let your
> > WebServiceCheck dispatch the
> > event instead, it should work. At least as long as
> > it is part of a
> > displaylist.
> >
> > Cheers,
> > Ralf.
> >
> > On 6/23/06, Jon Hirschi <[EMAIL PROTECTED]>
> > wrote:
> > >
> > > Hi Paul,
> > >
> > > So I'm putting my event listener in the
> > application
> > > core.  What I would like is for this event to
> > enter
> > > the event stream and bubble up to the application
> > > core.  Currently, it doesn't look like it even
> > makes
> > > it out of the document that I'm in.  I'm not even
> > sure
> > > that it gets populated outside of the class
> > itself.
> > >
> > > What i'd really like is to have this event entered
> > > automatically into the event stream with out
> > having to
> > > have an event repeater.
> > >
> > > --- Paul Williams <[EMAIL PROTECTED]> wrote:
> > >
> > > > Hi Jon,
> > > >
> > > > Sprite extends EventDispatcher, so you don't
> > need to
> > > > instantiate another
> > > > EventDispatcher in your class.
> > > >
> > > > Instead, try the following:
> > > >
> > > > this.dispatchEvent(new
> > > > Event("AuthenticationFailed",true,false));
> > > >
> > > > If you still have problems can you let us know
> > what
> > > > object you are
> > > > creating your event listener on?
> > > >
> > > > Paul
> > > >
> > > > -Original Message-
> > > > From: flexcoders@yahoogroups.com
> > > > [mailto:[EMAIL PROTECTED] On
> > > > Behalf Of Jon Hirschi
> > > > Sent: Thursday, June 22, 2006 9:45 PM
> > > > To: flexcoders@yahoogroups.com
> > > > Subject: [flexcoders] how do you dispatch event
> > from
> > > > a custom class?
> > > >
> > > >
> > > > I have a custom class that I want to be able to
> > > > dispatch an event. However, it's not entering
> > the
> > > > event into the event stream, I don't even think
> > the
> > > > event is getting out of the class.  I have
> > bubbles
> > > > set
> > > > to true.  does anyone know how to get the event
> > > > entered into the event stream... the docs aren't
> > > > very
> > > > explicit on this subject
> > > >
> > > > ie
> > > >
> > > > code to call my class...
> > > >
> > > > private function
> > > > handleLBResponse(eventObj:ResultEvent):void  {
> > > >   var
> > tempArray:Array;
> > > >   var
> > checkResult:WebServiceCheck = new
> > > > WebServiceCheck();
> > > >   if
> > > >
> > >
> >
> (checkResult.checkServiceReturnStatus(eventObj,true))
> > > >
> > > > {
> > > >   tempArray
> > =
> > > >
> > >
> >
> mx.utils.ArrayUtil.toArray(eventObj.result.lbvServerTos);
> > > >   if
> > (tempArray.length > 1)  {
> > > >
> > dpLBVServerData.source =
> > > > tempArray;
> > > >   } else  {
> > > >
> > > > dpLBVServerData.removeAll();
> > > >   }
> > > >   } else {
> > > >
> > dpLBVServerData.removeAll();
> > > >   }
> > > >
> > > >   }
> > > >
> > > >
> > > >
> > > >
> > > > --
> > > > code in the class
> > > >
> > > > ---
> > > >
> > > > package comp.webconfig.services   {
> > > >
> > > >   import flash.display.Sprite;
> > > >   import mx.rpc.events.ResultEvent;
> > > >   import mx.controls.Alert;
> > > >   import flash.events.Event;
> > > >   import flash.events.EventDispatcher;
> > > >
> > > >   public class WebServiceCheck extends
> > Sprite {
> > > >
> > > >
> > > >
> > > >   public var isSuccess:Boolean;
> > > >   public var statusType:String;
> > > >   public var message:String;
> > > >   public var rawMessage:String;
> > > >
> > > >   public function WebServiceCheck()
> > {
> > > >
> > > >   }
> > > >
> > > >public function
> > > >
> > >
> >
> checkServiceReturnStatus(resultToCheck:ResultEvent,alertOnError:Boolean=
> > > > false):Boolean
> > > > {
> > > >   var myMessage:String;
> > > >   var isSuccess:Boolean =
> > true;
> > > >   var myRawMessage:String;
> > > >   var myRawStatus:String;
> > > >   

Re: [flexcoders] Re: databinding...

2006-06-23 Thread Ralf Bokelberg
Hi Doug,

binding is a one way connection. You need to bind in the other
direction as well.
If you instantiate your model with mxml you can use the same syntax as
in your textfields.

 
{firstName.text} 
{middleName.text}
{lastName.text}
 

Cheers,
Ralf.

On 6/23/06, augie <[EMAIL PROTECTED]> wrote:
> Here is a real quick proto I wrote for you where I stuff your
> textInputs everything into an object. Click the Set Text button to c
> the data binded to the texfield. If you have any questions shoot a reply.
> Thanks,
> -Augie Marcello III
>
> 
> import mx.controls.TextInput
>
> class com.viva.model.RecordData
>  {
>   public var recordID:Number;
>   public var firstName:String ;
>   public var middleName:String;
>   public var lastName:String;
>   public var address:String;
>   public var city:String;
>   public var state:String;
>   public var zip:String;
>   public var heightFt:Number;
>   public var heightIn:Number;
>   public var weight:Number;
>   public var hairColor:String;
>   public var eyeColor:String;
>   public var dob:Date;
>
>   public var obj:Object = {};
>
>   public function RecordData()
>   {
>   //Constructor
>   }
>
>
> /**
>   * @function addTextFieldToObj()
>   * @usage  Textfields are passed into here. We stuff them into an
> object and name them.
>   * @param textFieldName:String
>   * @param textField:TextInput
>   * @return Nothing
>   */
>   public function addTextFieldToObj(textFieldName:String,
> textField:TextInput)
>   {
>obj[textFieldName] = textField;
>   }
>
>
>
>  /**
>* @function setText()
>* @usage Binds Data to TextInput fields which we access each
> individual through are obj
>* @param Nothing
>* @return Nothing
>*/
>   public function setText():Void
>   {
> obj.firstName.text = "Douglas"
> obj.middleName.text = "M"
> obj.lastName.text = "Arthur"
>   }
>
>
>  }
>
>
> 
>
> 
> http://www.macromedia.com/2003/mxml";
> initialize="doInit();">
>
> 
>
>  
>   
>  
>
>  
>   
>
>
> 
>
>
> 
>
>
> 
>
>   
>
>   
>
>
> 
>
>
> 
>
>
> 
>
>
> 
>
>   
>   
>  
> 
>
> 
>
>
>
>
>
>
>
>
>
>
>
>
> --- In flexcoders@yahoogroups.com, "Doug Arthur" <[EMAIL PROTECTED]> wrote:
> >
> > I have a class that I want to be bindable with text fields... When
> the text
> > field gets updated, the value for the attribute in the class should be
> > updated. The problem is that's not happening the way I thought it
> should. Am
> > I doing something wrong, or do I have the wrong  idea about the
> capability
> > of databinding???
> >
> >
> > When the "asdf" button is clicked, I'm expecting it to display
> what's in the
> > lastName field, but based on the updated attribute from the TexInpu.
> >
> > package com.viva.model
> > {
> >  [Bindable]
> >  public class RecordData
> >  {
> >   public var recordID:int;
> >   public var firstName:String = 'Douglas';
> >   public var middleName:String;
> >   public var lastName:String;
> >   public var address:String;
> >   public var city:String;
> >   public var state:String;
> >   public var zip:String;
> >   public var heightFt:Number;
> >   public var heightIn:Number;
> >   public var weight:Number;
> >   public var hairColor:String;
> >   public var eyeColor:String;
> >   public var dob:Date;
> >
> >   public function RecordData():void {
> >// constructor
> >   }
> >  }
> > }
> >
> > 
> >  >  xmlns:mx="http://www.adobe.com/2006/mxml";
> >  label="Name / Address"
> >  width="100%"
> >  height="100%">
> >
> >  
> >   
> >  
> >
> >  
> >   
> >
> >
> > 
> >
> >
> > 
> >
> >
> > 
> >
> >   
> >
> >   
> >
> >
> > 
> >
> >
> > 
> >
> >
> > 
> >
> >
> > 
> >
> >   
> >click="mx.controls.Alert.show(record.lastName)" />
> >  
> > 
> >
>
>
>
>
>
>
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
> Yahoo! Groups Links
>
>
>
>
>
>
>


 Yahoo! Groups Sponsor ~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
~-> 

--
Flex

Re: [flexcoders] how do you dispatch event from a custom class?

2006-06-23 Thread Jon Hirschi

I tried what you said and attempted to have the
WebServiceCheck itself dispatch the event, however, it
doesn't dispatch anything into the event stream, even
attaching an event listener to the variable return
variable doesn't do anything.

How do I make it part of a displaylist??

--- Ralf Bokelberg <[EMAIL PROTECTED]> wrote:

> Hello Paul
> 
> In your code you are creating a separate
> EventDispatcher, which is not
> part of any displaylist. If you let your
> WebServiceCheck dispatch the
> event instead, it should work. At least as long as
> it is part of a
> displaylist.
> 
> Cheers,
> Ralf.
> 
> On 6/23/06, Jon Hirschi <[EMAIL PROTECTED]>
> wrote:
> >
> > Hi Paul,
> >
> > So I'm putting my event listener in the
> application
> > core.  What I would like is for this event to
> enter
> > the event stream and bubble up to the application
> > core.  Currently, it doesn't look like it even
> makes
> > it out of the document that I'm in.  I'm not even
> sure
> > that it gets populated outside of the class
> itself.
> >
> > What i'd really like is to have this event entered
> > automatically into the event stream with out
> having to
> > have an event repeater.
> >
> > --- Paul Williams <[EMAIL PROTECTED]> wrote:
> >
> > > Hi Jon,
> > >
> > > Sprite extends EventDispatcher, so you don't
> need to
> > > instantiate another
> > > EventDispatcher in your class.
> > >
> > > Instead, try the following:
> > >
> > > this.dispatchEvent(new
> > > Event("AuthenticationFailed",true,false));
> > >
> > > If you still have problems can you let us know
> what
> > > object you are
> > > creating your event listener on?
> > >
> > > Paul
> > >
> > > -Original Message-
> > > From: flexcoders@yahoogroups.com
> > > [mailto:[EMAIL PROTECTED] On
> > > Behalf Of Jon Hirschi
> > > Sent: Thursday, June 22, 2006 9:45 PM
> > > To: flexcoders@yahoogroups.com
> > > Subject: [flexcoders] how do you dispatch event
> from
> > > a custom class?
> > >
> > >
> > > I have a custom class that I want to be able to
> > > dispatch an event. However, it's not entering
> the
> > > event into the event stream, I don't even think
> the
> > > event is getting out of the class.  I have
> bubbles
> > > set
> > > to true.  does anyone know how to get the event
> > > entered into the event stream... the docs aren't
> > > very
> > > explicit on this subject
> > >
> > > ie
> > >
> > > code to call my class...
> > >
> > > private function
> > > handleLBResponse(eventObj:ResultEvent):void  {
> > >   var
> tempArray:Array;
> > >   var
> checkResult:WebServiceCheck = new
> > > WebServiceCheck();
> > >   if
> > >
> >
>
(checkResult.checkServiceReturnStatus(eventObj,true))
> > >
> > > {
> > >   tempArray
> =
> > >
> >
>
mx.utils.ArrayUtil.toArray(eventObj.result.lbvServerTos);
> > >   if
> (tempArray.length > 1)  {
> > >  
> dpLBVServerData.source =
> > > tempArray;
> > >   } else  {
> > >
> > > dpLBVServerData.removeAll();
> > >   }
> > >   } else {
> > >  
> dpLBVServerData.removeAll();
> > >   }
> > >
> > >   }
> > >
> > >
> > >
> > >
> > > --
> > > code in the class
> > >
> > > ---
> > >
> > > package comp.webconfig.services   {
> > >
> > >   import flash.display.Sprite;
> > >   import mx.rpc.events.ResultEvent;
> > >   import mx.controls.Alert;
> > >   import flash.events.Event;
> > >   import flash.events.EventDispatcher;
> > >
> > >   public class WebServiceCheck extends
> Sprite {
> > >
> > >
> > >
> > >   public var isSuccess:Boolean;
> > >   public var statusType:String;
> > >   public var message:String;
> > >   public var rawMessage:String;
> > >
> > >   public function WebServiceCheck() 
> {
> > >
> > >   }
> > >
> > >public function
> > >
> >
>
checkServiceReturnStatus(resultToCheck:ResultEvent,alertOnError:Boolean=
> > > false):Boolean
> > > {
> > >   var myMessage:String;
> > >   var isSuccess:Boolean =
> true;
> > >   var myRawMessage:String;
> > >   var myRawStatus:String;
> > >   var
> dispatcher:EventDispatcher = new
> > > EventDispatcher();
> > >   if (resultToCheck.result
> != null)  {
> > >   if
> (resultToCheck.result.requestMessage
> > > != null)
> > > {
> > >  
> myRawMessage =
> > > resultToCheck.result.requestMessage;
> > >   }
> > >  

RE: [flexcoders] Garbage collection and removeChild [Flex 2 beta 3]?

2006-06-23 Thread Gordon Smith
> in the removed view I get ride of the listeners in the unload event

The only 'unload' event I know of in Flex 2 is in SWFLoader. Are your views 
SWFs that you're loading into a SWFLoader?

- Gordon


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jason 
Hawryluk
Sent: Friday, June 23, 2006 12:21 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Garbage collection and removeChild [Flex 2 beta 3]?

Thank you, this clears some things up. :)

I was actually allocating memory up to 100mb and then seeing if it's
collected by letting it sit there with no activity, and watching the process
memory usage (couldn't think of another way).

"You can later remove a component from a container using the removeChild()
method. If there are no references to the component, it is eventually
deleted from memory by the garbage collection mechanism of Flash Player."

The above taken from the doc's, lead me to believe that there was a garbage
collection process every (x)min's. If the player only does this when it
needs to get back memory, then that would explain why I did not see it
collected.

What lead me to the question was the following scenario:

I have a single component based on the viewstack for the views, this
component listens for event state changes in the program to load new views,
the events it gets come from another class (think observer pattern). So with
this I can load multiple copies of a view with different data(this is where
I seen a problem). Even though a view was removed from the viewstack it
still received data change events (which it listens to in order to see if it
needs to load new data (think chain of responsibility here) where each view
gets the event and decides if the data is destined for it (the data it self
is just a guid that I use to reference the xml data needed to be loaded).

The scenario may seem weird, but no object knows what data is being accessed
except the view that is responsible for displaying it.

If the view was really unloaded then the event should not get through. So
now I remove a view, and in the removed view I get ride of the listeners in
the unload event, clean up any child objects/classes/data providers etc..

So the view >> dataprovider >> modelloader >> etc..
>> controller >> etc..

>From what I understand from your answer is that if the view is removed, and
I clean up the listeners and "local" references i.e. (set dataprovider and
controller to null)

view >> dataprovider
>> controller

Then I should be alright. Is this correct?

My original thinking was that if it's removed to the garbage collection how
is it that it's still getting the events? I was thinking that this was a
protected space. I can't get the instance back from the garbage collection,
however the instance is still very much alive and kicking.

Is this making sense? Are these correct assumptions?

Thank you for your help.

Jason

-Message d'origine-
De : flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] la
part de Gordon Smith
Envoyé : vendredi 23 juin 2006 08:30
À : flexcoders@yahoogroups.com
Objet : RE: [flexcoders] Garbage collection and removeChild [Flex 2 beta 3]?

> it does not seem to be collected

What are you doing that you think should cause it to be collected? Do you
keep allocating memory indefinitely? An object may never get garbage
collected unless the Player decides it needs the memory.

> Should one have to remove all objects created through the
> or just on the child being removed?

I'm not really following your texavery >> toto >> titi example because you
didn't explain which one you're removing. Let's suppose you're removing toto
as a child of texavery. If you're not keeping any references to toto or
titi, then both become eligible for garbage collection; the fact that toto
holds a reference to its child titi doesn't matter, because the two of them
are isolated from all other objects.

> Is there a way to force the garbage collection clean up,
> or destroy an object completely?

There are no APIs for controlling garbage collection. Once there are no
references to an object, it becomes eligible for garbage collection. It
doesn't mean that it actually gets garbage collected.

Is your app exhibiting unbounded memory growth to the point where it
consumes all the machine's memory?

- Gordon


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Harald Dehn
Sent: Thursday, June 22, 2006 3:55 AM
To: flexcoders@yahoogroups.com
Subject: WG: [flexcoders] Garbage collection and removeChild [Flex 2 beta
3]?

Is there any answer to this thread? I do have the same problems with the
garbage collector.


Von: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Im
Auftrag von sourcecoderia
Gesendet: Dienstag, 20. Juni 2006 18:06
An: flexcoders@yahoogroups.com
Betreff: [flexcoders] Garbage collection and removeChild [Flex 2

RE: [flexcoders] Difference between two dates

2006-06-23 Thread Gordon Smith










> I swear, I really think the date class was designed by a crazy
man.  You hear that Adobe? - CRAZY! 

 

I heard it. But we didn't design the Date
class; it's part of the existing _javascript_/Ecmascript standards that we've followed
in ActionScirpt 3.

 

- Gordon

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Pan Troglodytes
Sent: Friday, June 23, 2006 8:02
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
Difference between two dates



 







I swear, I really think the date class was designed by
a crazy man.  You hear that Adobe? - CRAZY! :D



On 6/23/06, Daniel
Tuppeny <
[EMAIL PROTECTED]> wrote:











I was using .day instead
of .date

 

TFI Friday! =)

 







From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]
On Behalf Of Daniel Tuppeny
Sent: 23 June 2006 15:33
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Difference
between two dates





I think I need more
coffee

 

The following code (which
I'm sure is correct!), returns around 2.8 when I'm expecting around 3.2. Anyone
spot my error?

 

 

 

public static function
getMonths(startDate:Date, endDate:Date):Number
  {
   if (startDate > endDate)
   {
var tmp:Date = endDate;
endDate = startDate;
startDate = tmp;
   }
   
   var numMonths:Number = 0;
   
   // Get number of months in years
   numMonths += (endDate.fullYear - startDate.fullYear) * 12
   numMonths += endDate.month - startDate.month;
   numMonths += (endDate.day - startDate.day) / 30; // This
needs fixing
   
   return numMonths;
  }


__
This email has been scanned by the MessageLabs Email Security
System.
For more information please visit http://www.messagelabs.com/email

__







[Inbound Mail Scanned by MessageLabs]







__
This email has been scanned by the MessageLabs Email Security
System.
For more information please visit http://www.messagelabs.com/email

__
















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



  






__,_._,___






RE: [flexcoders] Adding EventListener to variable...

2006-06-23 Thread Gordon Smith










Implement your property as a getter/setter
pair rather than a var, and call dispatchEvent() in the setter.

 

- Gordon

 









From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf
Of Doug Arthur
Sent: Friday, June 23, 2006 2:12
PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Adding
EventListener to variable...



 









Is there a way to add an EventListner to see when a value of a variable
has changed? For instance, if I want to invoke a specific function when myVar
is no longer empty?





 





Thanks!








__._,_.___





--
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] Flex 2B3 - Feature request: smooth scrolling list

2006-06-23 Thread Tobias Patton










Hello Flexcoders;

 

The current behavior of the list control is to scroll in
increments of the tallest (or widest for horizontal lists) item currently
visible. When the list is small and the items big, this provides a fairly “chunky”
scrolling experience. I would like to be able to set the scroll increment
manually to provide a smoother scrolling experience.

 

If anyone has any ideas how to work around this problem, I’d
love to hear them. I’ve tried using a repeater, but when there are a
large number of items this can become very slow, even when the “recycleChildren”
flag is set to “true”.

 

Tobias.

Kodak Graphic Communications Canada Company

Tobias Patton | Software Developer | Tel: +1.604.451.2700 ext: 5148 | mailto:[EMAIL PROTECTED] | http://www.creo.com 

 




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
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] Difference between two dates

2006-06-23 Thread Gordon Smith










Since the Date class is specified by the
EcmaScript-262 standard, we're not going to change it. But it sounds like we
should consider adding a flex.utils.DateUtils class in the future to make date
manipulation easier.

 

- Gordon

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Pan Troglodytes
Sent: Friday, June 23, 2006 8:53
AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
Difference between two dates



 







Well, it helped when I figured out I could do things
like date.date += 12 and it would automatically correct for rolling over
months/years.  But at the very least, there needs to be a built-in
daysBetween function.  Yes, yes, I know you can do the getTime()
arithmetic.  But every time you have to fall back to that, it feels
kludgy. 

If I were redesigning it, it wold at least ook like this:

dayOfWeek - what used to be called day
day - day in month (used to be called date)
month - 1 based like day (what used to be called date) is
hour/minute/second/millisecond - singular (if hour is plural, why not
"months"?)
year - why fullYear?  I mean, c'mon, do people really expect something
called "year" to be two digits or what?
daysBetween(laterDate:date) - laterDate minus this in days 

But, alas, it's too late.  There's no way they'll make the change at this
late day.

I mean "date".

Haha.



On 6/23/06, Daniel
Tuppeny <[EMAIL PROTECTED]>
wrote:











I wouldn't disagree!

 

There seems to be no
useful functions for manipulating dates. They should copy all the methods and
properties from the .NET DateTime class :o)

 







From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com]
On Behalf Of Pan Troglodytes
Sent: 23 June 2006 16:02
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
Difference between two dates





I swear, I really
think the date class was designed by a crazy man.  You hear that Adobe? -
CRAZY! :D



On 6/23/06, Daniel Tuppeny <
[EMAIL PROTECTED]> wrote: 











I was using .day instead
of .date

 

TFI Friday! =)

 







From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of Daniel
Tuppeny
Sent: 23 June 2006 15:33
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
Difference between two dates





I think I need more
coffee

 

The following code (which
I'm sure is correct!), returns around 2.8 when I'm expecting around 3.2. Anyone
spot my error?

 

 

 

public static function
getMonths(startDate:Date, endDate:Date):Number
  {
   if (startDate > endDate)
   {
var tmp:Date = endDate;
endDate = startDate;
startDate = tmp;
   }
   
   var numMonths:Number = 0;
   
   // Get number of months in years
   numMonths += (endDate.fullYear - startDate.fullYear) * 12
   numMonths += endDate.month - startDate.month;
   numMonths += (endDate.day - startDate.day) / 30; // This
needs fixing
   
   return numMonths;
  }


__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__







[Inbound Mail Scanned by MessageLabs]







__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

























-- 
Jason 






[Inbound Mail Scanned by MessageLabs]

__
This email has been scanned by the MessageLabs Email Security
System.
For more information please visit http://www.messagelabs.com/email

__
















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



  






__,_._,___






RE: [flexcoders] toolTip type behavior for DataGridColumns?

2006-06-23 Thread Gordon Smith










DataGridColumn has showDataTips, dataTipField,
and dataTipFunction properties.

 

- Gordon

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of djbrown_rotonews
Sent: Friday, June 23, 2006 8:41
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] toolTip type
behavior for DataGridColumns?



 







I'm wanting to add some toolTip type behavior when the
user rolls over 
some data in a DataGridColumn. It doesn't appear that the 
DataGridColumn natively supports toolTip behavior, but is there a way 
I can mimic one via the itemRollOver event? 

Something like popping up a Label just under the current x,y 
coordinates would suffice.






__._,_.___





--
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] [F2B3] Could Adobe make Flex Framework available trough SVN?

2006-06-23 Thread Carlos Rovira



Yes, you say it, Hank, SVN is "the modern way" we use today to get lastest updates of our favourite projects, I think it will be the best option available. Hope Matt and others select that way finaly :)
On 6/23/06, hank williams <[EMAIL PROTECTED]> wrote:









  



I love the SVN idea. And you dont even need to post interim code, just official releases. This would allow us to update our projects in a very natural way. Of course it would be great to get unofficial bug fixes, but that shouldnt prevent you from publishing updates in a more modern way. They are two separate issues.
Hank.On 6/23/06, Matt Chotin <
[EMAIL PROTECTED]> wrote:
If you've ever done support though you'll know how many times someonewill say they're using the official release when later they rememberthat "oh yeah, I did try that experiment a few weeks ago and must have

forgotten to undo it" :-)We are not against the idea, but it will take time for us to figure outthe right way to do it so that expectations can be managed and we cancontinue to be responsive.
Matt
-Original Message-From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] OnBehalf Of Tom Chiverton
Sent: Thursday, June 22, 2006 1:47 AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] [F2B3] Could Adobe make Flex Framework
available trough SVN?
On Wednesday 21 June 2006 22:24, Matt Chotin wrote:> things that we would need to be concerned about from a support> perspective if essentially daily builds of the framework wereavailable.That's easy :-)
Only offical releases and/or tags are supported.Daily builds/trunk aren't - use at own risk.I think many people would be happy with that.--Tom Chiverton
This email is sent for and on behalf of Halliwells LLP.Halliwells LLP is a limited liability partnership registered in Englandand Wales under registered number OC307980 whose registered officeaddress is at St James's Court Brown Street Manchester M2 2JF.  A list
of members is available for inspection at the registered office. Anyreference to a partner in relation to Halliwells LLP means a member ofHalliwells LLP. Regulated by the Law Society.CONFIDENTIALITY

This email is intended only for the use of the addressee named above andmay be confidential or legally privileged.  If you are not the addresseeyou 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 addresseeof its existence or contents.  If you have received this email in errorplease delete it and notify Halliwells LLP IT Department on 0870 365
8008.For more information about Halliwells LLP visit www.halliwells.com.We are pleased to announce that Halliwells LLP has been voted AIM Lawyer
of the Year at the 2005 Growth Company Awards
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
 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 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/
<*> 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/

  













-- ::| Carlos Rovira::| http://www.carlosrovira.com

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
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] web service problem

2006-06-23 Thread slangeberg



I'm trying to set up webservice call in Cairngorm, but getting null pointer runtime error. Any ideas?:http://www.adobe.com/2006/mxml"  xmlns:cairngorm="org.nevis.cairngorm.business.*">                       wsdl="http://granite/ChurchWerks/SIS/SIS_Ent/ws/sisservice.cfc?wsdl
"         fault="event.call.faultHandler(event)"         result="event.call.resultHandler(event)"         useProxy="false">                 
                    61                1.6                             
      produces error:TypeError: Error #1009: Cannot access a property or method of a null object reference.    at com.churchwerks.attendance.business::Services/__studentDelegate_fault
()[C:\Eclipse Projects\ChurchWerks\Attendance\com\churchwerks\attendance\business\Services.mxml:14]    at flash.events::EventDispatcher/dispatchEvent()    at mx.rpc::AbstractService/dispatchEvent()[C:\dev\enterprise_beta3\frameworks\mx\rpc\AbstractService.as:238]
    at mx.rpc.soap.mxml::WebService/dispatchEvent()[C:\dev\enterprise_beta3\frameworks\mx\rpc\soap\mxml\WebService.as:221]    at mx.rpc::AbstractOperation/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent
()[C:\dev\enterprise_beta3\frameworks\mx\rpc\AbstractOperation.as:183]    at mx.rpc.soap::Operation/http://www.adobe.com/2006/flex/mx/internal::invokePendingCall()[C:\dev\enterprise_beta3\frameworks\mx\rpc\soap\Operation.as:581]
    at mx.rpc.soap::Operation/http://www.adobe.com/2006/flex/mx/internal::invokeAllPending()[C:\dev\enterprise_beta3\frameworks\mx\rpc\soap\Operation.as:427]    at mx.rpc.soap::WebService/mx.rpc.soap:WebService::unEnqueueCalls
()[C:\dev\enterprise_beta3\frameworks\mx\rpc\soap\WebService.as:865]    at mx.rpc.soap::WebService/http://www.adobe.com/2006/flex/mx/internal::wsdlHandler()[C:\dev\enterprise_beta3\frameworks\mx\rpc\soap\WebService.as:671]
    at flash.events::EventDispatcher/dispatchEvent(): : ) 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: databinding...

2006-06-23 Thread augie3333
Here is a real quick proto I wrote for you where I stuff your
textInputs everything into an object. Click the Set Text button to c
the data binded to the texfield. If you have any questions shoot a reply.
Thanks,
-Augie Marcello III


import mx.controls.TextInput

class com.viva.model.RecordData
 {
  public var recordID:Number;
  public var firstName:String ;
  public var middleName:String;
  public var lastName:String;
  public var address:String;
  public var city:String;
  public var state:String;
  public var zip:String;
  public var heightFt:Number;
  public var heightIn:Number;
  public var weight:Number;
  public var hairColor:String;
  public var eyeColor:String;
  public var dob:Date;
  
  public var obj:Object = {};
  
  public function RecordData() 
  {
  //Constructor
  }
  
  
/**
  * @function addTextFieldToObj()
  * @usage  Textfields are passed into here. We stuff them into an
object and name them.
  * @param textFieldName:String
  * @param textField:TextInput
  * @return Nothing
  */
  public function addTextFieldToObj(textFieldName:String,
textField:TextInput)
  {
   obj[textFieldName] = textField;   
  }
  
  
  
 /**
   * @function setText()
   * @usage Binds Data to TextInput fields which we access each
individual through are obj
   * @param Nothing
   * @return Nothing
   */
  public function setText():Void
  {
obj.firstName.text = "Douglas"
obj.middleName.text = "M"
obj.lastName.text = "Arthur"
  }


 }





http://www.macromedia.com/2003/mxml"; 
initialize="doInit();">


 
 
  
 
 
 
  
   
   

   
   

   
   

   
  
 
  
   
   

   
   

   
   

   
   

   
  
  
 















--- In flexcoders@yahoogroups.com, "Doug Arthur" <[EMAIL PROTECTED]> wrote:
>
> I have a class that I want to be bindable with text fields... When
the text
> field gets updated, the value for the attribute in the class should be
> updated. The problem is that's not happening the way I thought it
should. Am
> I doing something wrong, or do I have the wrong  idea about the
capability
> of databinding???
> 
> 
> When the "asdf" button is clicked, I'm expecting it to display
what's in the
> lastName field, but based on the updated attribute from the TexInpu.
> 
> package com.viva.model
> {
>  [Bindable]
>  public class RecordData
>  {
>   public var recordID:int;
>   public var firstName:String = 'Douglas';
>   public var middleName:String;
>   public var lastName:String;
>   public var address:String;
>   public var city:String;
>   public var state:String;
>   public var zip:String;
>   public var heightFt:Number;
>   public var heightIn:Number;
>   public var weight:Number;
>   public var hairColor:String;
>   public var eyeColor:String;
>   public var dob:Date;
> 
>   public function RecordData():void {
>// constructor
>   }
>  }
> }
> 
> 
>   xmlns:mx="http://www.adobe.com/2006/mxml";
>  label="Name / Address"
>  width="100%"
>  height="100%">
> 
>  
>   
>  
> 
>  
>   
>
>
> 
>
>
> 
>
>
> 
>
>   
> 
>   
>
>
> 
>
>
> 
>
>
> 
>
>
> 
>
>   
>   
>  
> 
>






 Yahoo! Groups Sponsor ~--> 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/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

<*> 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] Adding EventListener to variable...

2006-06-23 Thread Greg Burch



Sounds like what you want is a getter/setter.public function set myVar(value:String):void{}public function get myVar():String{}now when myVar gets set your method will be called.
-GregOn 6/23/06, Doug Arthur <[EMAIL PROTECTED]> wrote:



Is there a way to add an EventListner to see when a value of a variable has changed? For instance, if I want to invoke a specific function when myVar is no longer empty?
 
Thanks!






__._,_.___





--
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] Adding EventListener to variable...

2006-06-23 Thread Doug Arthur



Is there a way to add an EventListner to see when a value of a variable has changed? For instance, if I want to invoke a specific function when myVar is no longer empty?
 
Thanks!

__._,_.___





--
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] Newbie layout help.

2006-06-23 Thread Ian Skinner
I have an object (coming from a ColdFusion CFC) that contains an array of 
objects that can be 28, 35 or 42 elements long.  I would like to display this 
in a grid 7 columns wide and 4, 5 or 6 rows as appropriate.  Each of these 
objects will contain a record set or another array of objects (I have not 
decided yet) that I will then want to pass to a tilelist inside each grid cell.

I can not see how to even start this kind of display.  Any help would be most 
appreciated.


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




 Yahoo! Groups Sponsor ~--> 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/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

<*> 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 do you dispatch event from a custom class?

2006-06-23 Thread Ralf Bokelberg
Hello Paul

In your code you are creating a separate EventDispatcher, which is not
part of any displaylist. If you let your WebServiceCheck dispatch the
event instead, it should work. At least as long as it is part of a
displaylist.

Cheers,
Ralf.

On 6/23/06, Jon Hirschi <[EMAIL PROTECTED]> wrote:
>
> Hi Paul,
>
> So I'm putting my event listener in the application
> core.  What I would like is for this event to enter
> the event stream and bubble up to the application
> core.  Currently, it doesn't look like it even makes
> it out of the document that I'm in.  I'm not even sure
> that it gets populated outside of the class itself.
>
> What i'd really like is to have this event entered
> automatically into the event stream with out having to
> have an event repeater.
>
> --- Paul Williams <[EMAIL PROTECTED]> wrote:
>
> > Hi Jon,
> >
> > Sprite extends EventDispatcher, so you don't need to
> > instantiate another
> > EventDispatcher in your class.
> >
> > Instead, try the following:
> >
> > this.dispatchEvent(new
> > Event("AuthenticationFailed",true,false));
> >
> > If you still have problems can you let us know what
> > object you are
> > creating your event listener on?
> >
> > Paul
> >
> > -Original Message-
> > From: flexcoders@yahoogroups.com
> > [mailto:[EMAIL PROTECTED] On
> > Behalf Of Jon Hirschi
> > Sent: Thursday, June 22, 2006 9:45 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] how do you dispatch event from
> > a custom class?
> >
> >
> > I have a custom class that I want to be able to
> > dispatch an event. However, it's not entering the
> > event into the event stream, I don't even think the
> > event is getting out of the class.  I have bubbles
> > set
> > to true.  does anyone know how to get the event
> > entered into the event stream... the docs aren't
> > very
> > explicit on this subject
> >
> > ie
> >
> > code to call my class...
> >
> > private function
> > handleLBResponse(eventObj:ResultEvent):void  {
> >   var tempArray:Array;
> >   var checkResult:WebServiceCheck = new
> > WebServiceCheck();
> >   if
> >
> (checkResult.checkServiceReturnStatus(eventObj,true))
> >
> > {
> >   tempArray =
> >
> mx.utils.ArrayUtil.toArray(eventObj.result.lbvServerTos);
> >   if (tempArray.length > 1)  {
> >   dpLBVServerData.source =
> > tempArray;
> >   } else  {
> >
> > dpLBVServerData.removeAll();
> >   }
> >   } else {
> >   dpLBVServerData.removeAll();
> >   }
> >
> >   }
> >
> >
> >
> >
> > --
> > code in the class
> >
> > ---
> >
> > package comp.webconfig.services   {
> >
> >   import flash.display.Sprite;
> >   import mx.rpc.events.ResultEvent;
> >   import mx.controls.Alert;
> >   import flash.events.Event;
> >   import flash.events.EventDispatcher;
> >
> >   public class WebServiceCheck extends Sprite {
> >
> >
> >
> >   public var isSuccess:Boolean;
> >   public var statusType:String;
> >   public var message:String;
> >   public var rawMessage:String;
> >
> >   public function WebServiceCheck()  {
> >
> >   }
> >
> >public function
> >
> checkServiceReturnStatus(resultToCheck:ResultEvent,alertOnError:Boolean=
> > false):Boolean
> > {
> >   var myMessage:String;
> >   var isSuccess:Boolean = true;
> >   var myRawMessage:String;
> >   var myRawStatus:String;
> >   var dispatcher:EventDispatcher = new
> > EventDispatcher();
> >   if (resultToCheck.result != null)  {
> >   if (resultToCheck.result.requestMessage
> > != null)
> > {
> >   myRawMessage =
> > resultToCheck.result.requestMessage;
> >   }
> >   if (resultToCheck.result.requestStatus)
> > {
> >   myRawStatus =
> > resultToCheck.result.requestStatus;
> >   }
> >   }
> >   if (myRawStatus != null) {
> >   switch (myRawStatus) {
> >   case "Failed" :
> >   // do something here
> > like popup a message
> >   myMessage = "Sorry,
> > there was an error trying to
> > access the information you requested. \n\n"
> >   m

[flexcoders] skinning scroll bar

2006-06-23 Thread Chaitu Vadlapatla










Hi All, Please help.

 

I created a fla/swf file with the name of AeonGraphical2.swf
and made sure to check the export for actionscript for each of the movie
symbols included in the clip. I used the CSS for the Aeon theme and changed the
names where needed. The symbols in the clip work in:

 

Panel

{

titleBackgroundSkin:
Embed(source="AeonGraphical2.swf",
symbol="ScrollThumb_downSkin");

}

 

 

But they won't work with the scrollbar sytle:

 

ScrollBar

{

 

    downArrowDisabledSkin:
Embed(source="AeonGraphical2.swf",
symbol="ScrollDownArrowDisabled");

    downArrowDownSkin:
Embed(source="AeonGraphical2.swf",
symbol="ScrollDownArrowDown");

    downArrowOverSkin:
Embed(source="AeonGraphical2.swf", symbol="ScrollDownArrowOver");

    downArrowUpSkin:
Embed(source="AeonGraphical2.swf",
symbol="ScrollDownArrowUp");

    thumbDownSkin:
Embed(source="AeonGraphical2.swf",
symbol="ScrollThumb_downSkin");

    thumbIcon:
Embed(source="AeonGraphical2.swf",
symbol="ScrollBar_thumbIcon");

    thumbOverSkin:
Embed(source="AeonGraphical2.swf",
symbol="ScrollThumb_overSkin");

    thumbUpSkin:
Embed(source="AeonGraphical2.swf",
symbol="ScrollThumb_upSkin");

    trackSkin: Embed(source="daBar.swf",
symbol="daBARs");

    upArrowDisabledSkin: Embed(source="AeonGraphical2.swf",
symbol="ScrollUpArrowDisabled");

    upArrowDownSkin:
Embed(source="AeonGraphical2.swf",
symbol="ScrollUpArrowDown");

    upArrowOverSkin:
Embed(source="AeonGraphical2.swf",
symbol="ScrollUpArrowOver");

    upArrowUpSkin: Embed(source="AeonGraphical2.swf",
symbol="ScrollUpArrowUp");

 

}   

 

 




__._,_.___





--
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] FLEX 1.5 Webservice wsdl Location as a Variable?

2006-06-23 Thread augie3333
Hi All,
Is there a way to not explicitly name the wsdl path in a webservice
tag (example:: http://www.something.com?wsdl";>)?
I would like too basically set is as a variable? I have looked around
the Flex Doc's about this, but of course haven�t turned up any solid
answer if this is or isn�t achievable.
Thanks in advance for all your help,

-Augie Marcello III






 Yahoo! Groups Sponsor ~--> 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/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

<*> 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] databinding...

2006-06-23 Thread Doug Arthur



I have a class that I want to be bindable with text fields... When the text field gets updated, the value for the attribute in the class should be updated. The problem is that's not happening the way I thought it should. Am I doing something wrong, or do I have the wrong  idea about the capability of databinding???

 
 
When the "asdf" button is clicked, I'm expecting it to display what's in the lastName field, but based on the updated attribute from the TexInpu.
 
package com.viva.model{ [Bindable] public class RecordData {  public var recordID:int;  public var firstName:String = 'Douglas';  public var middleName:String;  public var lastName:String;
  public var address:String;  public var city:String;  public var state:String;  public var zip:String;  public var heightFt:Number;  public var heightIn:Number;  public var weight:Number;  public var hairColor:String;
  public var eyeColor:String;  public var dob:Date;public function RecordData():void {   // constructor  } }}
 
 xmlns:mx="http://www.adobe.com/2006/mxml" label="Name / Address" 
 width="100%"  height="100%"> 

 
  
   




__._,_.___





--
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: toolTip type behavior for DataGridColumns?

2006-06-23 Thread djbrown_rotonews

I actually solved the problem. I had to explicity handle it inside 
my itemRenderer implementation (via this.toolTip="blah blah" ).

--- In flexcoders@yahoogroups.com, "djbrown_rotonews" 
<[EMAIL PROTECTED]> wrote:
>
> weird. 
> 
> I've set up the following and it doesn't appear to work:
> 
>  headerRenderer="myHeaderRenderer" id="dptrsts" resizable="false" 
> textAlign="center" fontWeight="bold" headerText="STS"  
> width="{col1.width}" headerWordWrap="true" dataField="depstatus" 
> labelFunction="departureStatusLabelFunction" 
> sortCompareFunction="sortAlpha" 
itemRenderer="components.renderer"/>
> 
> and my dataGrid as follows:
>  id="dgDelays"  verticalGridLines="false" 
horizontalGridLines="false" 
> horizontalGridLineColor="white"  fontWeight="normal" fontSize="12" 
> alternatingItemColors="[#00,#00]" color="#ff" 
> headerColors="[#00, #ff]" rowHeight="20"
>  showDataTips="true" 
> dataProvider="{delays_xml}" itemRollOver="itemRollOverEvent
(event)" 
> columns="{soc_cols}" textRollOverColor="black">
> 
>   
> 
> 
> I even tried making with width of the column smaller than the 
> displayed text, as I read where dataTips are only displayed 
> for "clipped" text, and it made no difference.
> 
> 
> --- In flexcoders@yahoogroups.com, "Shannon Hicks"  wrote:
> >
> > nope... works for any list-based component.
> >  
> > in the datagrid, you set showDataTips="true"
> >  
> > then in the columns, you set dataTipField="fieldname"
> >  
> > Shan
> > 
> >_  
> > 
> > From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On
> > Behalf Of djbrown_rotonews
> > Sent: Friday, June 23, 2006 2:10 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] Re: toolTip type behavior for 
> DataGridColumns?
> > 
> > 
> > 
> > that only works for Flex Charting components though, right?
> > 
> > --- In HYPERLINK
> > "mailto:flexcoders%40yahoogroups.com"flexcoders@, "Tracy
> > Spratt"  
> > wrote:
> > >
> > > They are called dataTips.
> > > 
> > > 
> > HYPERLINK
> 
> "http://livedocs.macromedia.com/labs/1/flex20beta3/langref/mx/contr
> ols"http:
> > //livedocs.-macromedia.-com/labs/-1/flex20beta3/-langref/mx/-
> controls
> > /Da
> > > taGrid.html
> > > 
> > > Tracy
> > > 
> > > 
> > > 
> > > -_-_-__
> > > 
> > > From: HYPERLINK
> > "mailto:flexcoders%40yahoogroups.com"flexcoders@ 
> > [mailto:HYPERLINK
> > "mailto:flexcoders%40yahoogroups.com"[EMAIL PROTECTED] On
> > > Behalf Of djbrown_rotonews
> > > Sent: Friday, June 23, 2006 11:41 AM
> > > To: HYPERLINK
> > "mailto:flexcoders%40yahoogroups.com"flexcoders@
> > > Subject: [flexcoders] toolTip type behavior for 
DataGridColumns?
> > > 
> > > 
> > > 
> > > I'm wanting to add some toolTip type behavior when the user 
> rolls 
> > over 
> > > some data in a DataGridColumn. It doesn't appear that the 
> > > DataGridColumn natively supports toolTip behavior, but is 
there 
> a 
> > way 
> > > I can mimic one via the itemRollOver event? 
> > > 
> > > Something like popping up a Label just under the current x,y 
> > > coordinates would suffice.
> > >
> > 
> > 
> > 
> >  
> > 
> > 
> > --
> > No virus found in this incoming message.
> > Checked by AVG Free Edition.
> > Version: 7.1.394 / Virus Database: 268.9.2/372 - Release Date: 
> 6/21/2006
> > 
> > 
> > 
> > -- 
> > No virus found in this outgoing message.
> > Checked by AVG Free Edition.
> > Version: 7.1.394 / Virus Database: 268.9.2/372 - Release Date: 
> 6/21/2006
> >
>







 Yahoo! Groups Sponsor ~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/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

<*> 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: mouseUpSomewhere in IE is not firing (Flex 1.5)

2006-06-23 Thread Raheen M Shabbazz
I'm still running into this problem.  Has anyone else seen it?

--- In flexcoders@yahoogroups.com, "Raheen M Shabbazz"
<[EMAIL PROTECTED]> wrote:
>
> I've got a canvas on which I have defined handlers for the mouseDown
> and mouseUpSomewhere events.  
> 
> When the user clicks on the canvas, holds down the mouse button and
> release outside the application, the mouseUpSomewhere event should
> fire.  (All these mouse handler events do, btw, is throw an echo --
> nothing fancy)
> 
> It works perfectly in FireFox, but I can not get the mouseUpSomewhere
> event to fire in IE when I roll out of the application and release.  
> 
> Is this a known issue?  Has anyone else come across it?  Are there any
> hacks or work-arounds?  I'm turning up nothing on Google searches on
> the subject.
>







 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

<*> 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: toolTip type behavior for DataGridColumns?

2006-06-23 Thread djbrown_rotonews
weird. 

I've set up the following and it doesn't appear to work:



and my dataGrid as follows:





I even tried making with width of the column smaller than the 
displayed text, as I read where dataTips are only displayed 
for "clipped" text, and it made no difference.


--- In flexcoders@yahoogroups.com, "Shannon Hicks" <[EMAIL PROTECTED]> wrote:
>
> nope... works for any list-based component.
>  
> in the datagrid, you set showDataTips="true"
>  
> then in the columns, you set dataTipField="fieldname"
>  
> Shan
> 
>_  
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of djbrown_rotonews
> Sent: Friday, June 23, 2006 2:10 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: toolTip type behavior for 
DataGridColumns?
> 
> 
> 
> that only works for Flex Charting components though, right?
> 
> --- In HYPERLINK
> "mailto:flexcoders%40yahoogroups.com"[EMAIL PROTECTED], "Tracy
> Spratt"  
> wrote:
> >
> > They are called dataTips.
> > 
> > 
> HYPERLINK
> "http://livedocs.macromedia.com/labs/1/flex20beta3/langref/mx/contr
ols"http:
> //livedocs.-macromedia.-com/labs/-1/flex20beta3/-langref/mx/-
controls
> /Da
> > taGrid.html
> > 
> > Tracy
> > 
> > 
> > 
> > -_-_-__
> > 
> > From: HYPERLINK
> "mailto:flexcoders%40yahoogroups.com"[EMAIL PROTECTED] 
> [mailto:HYPERLINK
> "mailto:flexcoders%40yahoogroups.com"[EMAIL PROTECTED] On
> > Behalf Of djbrown_rotonews
> > Sent: Friday, June 23, 2006 11:41 AM
> > To: HYPERLINK
> "mailto:flexcoders%40yahoogroups.com"[EMAIL PROTECTED]
> > Subject: [flexcoders] toolTip type behavior for DataGridColumns?
> > 
> > 
> > 
> > I'm wanting to add some toolTip type behavior when the user 
rolls 
> over 
> > some data in a DataGridColumn. It doesn't appear that the 
> > DataGridColumn natively supports toolTip behavior, but is there 
a 
> way 
> > I can mimic one via the itemRollOver event? 
> > 
> > Something like popping up a Label just under the current x,y 
> > coordinates would suffice.
> >
> 
> 
> 
>  
> 
> 
> --
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.1.394 / Virus Database: 268.9.2/372 - Release Date: 
6/21/2006
> 
> 
> 
> -- 
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.394 / Virus Database: 268.9.2/372 - Release Date: 
6/21/2006
>







 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

<*> 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] [F2B3] Could Adobe make Flex Framework available trough SVN?

2006-06-23 Thread hank williams



I love the SVN idea. And you dont even need to post interim code, just official releases. This would allow us to update our projects in a very natural way. Of course it would be great to get unofficial bug fixes, but that shouldnt prevent you from publishing updates in a more modern way. They are two separate issues.
Hank.On 6/23/06, Matt Chotin <[EMAIL PROTECTED]> wrote:
If you've ever done support though you'll know how many times someonewill say they're using the official release when later they rememberthat "oh yeah, I did try that experiment a few weeks ago and must have
forgotten to undo it" :-)We are not against the idea, but it will take time for us to figure outthe right way to do it so that expectations can be managed and we cancontinue to be responsive.Matt
-Original Message-From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] OnBehalf Of Tom Chiverton
Sent: Thursday, June 22, 2006 1:47 AMTo: flexcoders@yahoogroups.comSubject: Re: [flexcoders] [F2B3] Could Adobe make Flex Frameworkavailable trough SVN?
On Wednesday 21 June 2006 22:24, Matt Chotin wrote:> things that we would need to be concerned about from a support> perspective if essentially daily builds of the framework wereavailable.That's easy :-)
Only offical releases and/or tags are supported.Daily builds/trunk aren't - use at own risk.I think many people would be happy with that.--Tom Chiverton
This email is sent for and on behalf of Halliwells LLP.Halliwells LLP is a limited liability partnership registered in Englandand Wales under registered number OC307980 whose registered officeaddress is at St James's Court Brown Street Manchester M2 2JF.  A list
of members is available for inspection at the registered office. Anyreference to a partner in relation to Halliwells LLP means a member ofHalliwells LLP. Regulated by the Law Society.CONFIDENTIALITY
This email is intended only for the use of the addressee named above andmay be confidential or legally privileged.  If you are not the addresseeyou 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 addresseeof its existence or contents.  If you have received this email in errorplease delete it and notify Halliwells LLP IT Department on 0870 365
8008.For more information about Halliwells LLP visit www.halliwells.com.We are pleased to announce that Halliwells LLP has been voted AIM Lawyerof the Year at the 2005 Growth Company Awards
--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links 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 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.



  






__,_._,___



RE: [flexcoders] how do you dispatch event from a custom class?

2006-06-23 Thread Jon Hirschi

Hi Paul,

So I'm putting my event listener in the application
core.  What I would like is for this event to enter
the event stream and bubble up to the application
core.  Currently, it doesn't look like it even makes
it out of the document that I'm in.  I'm not even sure
that it gets populated outside of the class itself.

What i'd really like is to have this event entered
automatically into the event stream with out having to
have an event repeater.

--- Paul Williams <[EMAIL PROTECTED]> wrote:

> Hi Jon,
> 
> Sprite extends EventDispatcher, so you don't need to
> instantiate another
> EventDispatcher in your class.
> 
> Instead, try the following:
> 
> this.dispatchEvent(new
> Event("AuthenticationFailed",true,false));
> 
> If you still have problems can you let us know what
> object you are
> creating your event listener on?
> 
> Paul
> 
> -Original Message-
> From: flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Jon Hirschi
> Sent: Thursday, June 22, 2006 9:45 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] how do you dispatch event from
> a custom class?
> 
> 
> I have a custom class that I want to be able to
> dispatch an event. However, it's not entering the
> event into the event stream, I don't even think the
> event is getting out of the class.  I have bubbles
> set
> to true.  does anyone know how to get the event
> entered into the event stream... the docs aren't
> very
> explicit on this subject
> 
> ie
> 
> code to call my class...
> 
> private function
> handleLBResponse(eventObj:ResultEvent):void  {
>   var tempArray:Array;
>   var checkResult:WebServiceCheck = new
> WebServiceCheck();
>   if
>
(checkResult.checkServiceReturnStatus(eventObj,true))
> 
> {
>   tempArray =
>
mx.utils.ArrayUtil.toArray(eventObj.result.lbvServerTos);
>   if (tempArray.length > 1)  {
>   dpLBVServerData.source =
> tempArray;
>   } else  {
>   
> dpLBVServerData.removeAll();
>   }
>   } else {
>   dpLBVServerData.removeAll();
>   }
>   
>   }
> 
> 
> 
> 
> --
> code in the class
> 
> ---
> 
> package comp.webconfig.services   {
>   
>   import flash.display.Sprite;
>   import mx.rpc.events.ResultEvent;
>   import mx.controls.Alert;
>   import flash.events.Event;
>   import flash.events.EventDispatcher;
>   
>   public class WebServiceCheck extends Sprite {
>   
>   
>   
>   public var isSuccess:Boolean;
>   public var statusType:String;
>   public var message:String;
>   public var rawMessage:String;
>   
>   public function WebServiceCheck()  {
>   
>   }
>   
>public function
>
checkServiceReturnStatus(resultToCheck:ResultEvent,alertOnError:Boolean=
> false):Boolean
> {
>   var myMessage:String;
>   var isSuccess:Boolean = true;
>   var myRawMessage:String;
>   var myRawStatus:String;
>   var dispatcher:EventDispatcher = new
> EventDispatcher();
>   if (resultToCheck.result != null)  {
>   if (resultToCheck.result.requestMessage
> != null) 
> {
>   myRawMessage =
> resultToCheck.result.requestMessage;
>   }
>   if (resultToCheck.result.requestStatus)
> {
>   myRawStatus =
> resultToCheck.result.requestStatus;
>   }
>   }
>   if (myRawStatus != null) {
>   switch (myRawStatus) {
>   case "Failed" :
>   // do something here
> like popup a message
>   myMessage = "Sorry,
> there was an error trying to
> access the information you requested. \n\n"
>   myMessage +=
> myRawMessage;
>   isSuccess = false;
>   break;
>   case "Unauthorized" :
>   // do something here...
> like popup a message
>   myMessage = "Sorry, you
> were not authorized to
> access the inf

[flexcoders] Re: Accepting MXML attribute's width in percentage on a custom component

2006-06-23 Thread Tim Hoff
percentHeight and percentWidth.

datagridcolumnVar.percentWidth = 25;

-TH

--- In flexcoders@yahoogroups.com, "Tom Ortega" <[EMAIL PROTECTED]> 
wrote:
>
> What about the opposite?  Does anyone know of a way to set a width 
in
> actionscript to use percentages? i.e.:
> 
> datagridcolumnVar.width = 25%;
> 
> won't work.
> 
> On 6/23/06, Angela <[EMAIL PROTECTED]> wrote:
> >
> >   I am actually having the same problem -
> >
> > I have a canvas with the width set to 100%. If I try and get the
> > width in pixels through AS it returns 0.
> >
> > If I try the same thing through mxml it works fine.
> >
> > So this in AS:
> > public function getMiddle():Number {
> > var x:Number;
> > x = mainCanvas.width*.5;
> > return x;
> > }
> >
> > --returns 0
> >
> > in MXML:
> > 
> >
> > --returns the amount in pixels.
> >
> > Anyone out there know how to get the pixel value though AS?
> >
> > Angela.
> >
> >
> > --- In flexcoders@yahoogroups.com ,
> > "leo4beer"  wrote:
> > >
> > > Accepting MXML attribute's width in percentage in a custom 
component
> > >
> > > Hi, I have a component I've created by inheriting UIObject 
class
> > >
> > > In my mxml I have the following lines used for initiating my
> > component:
> > >
> > >  > >
> > > In my AS code I can trace the value of __width, in this case 
the
> > > result will be "400".
> > >
> > > My problem is that when I set the value as percentage:
> > >
> > >  > >
> > > In this case the value of __width is "undefined"
> > >
> > > What should I do in order to get the correct value when 
setting the
> > > width in percentage and not in pixels??
> > >
> > > Thanks
> > >
> >
> >  
> >
>







 Yahoo! Groups Sponsor ~--> 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/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

<*> 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: Accepting MXML attribute's width in percentage on a custom component

2006-06-23 Thread Luís Gustavo Sanabio



I'm using anchors.
left="0" right="0" top="0" bottom="0"
It works better in some cases. (like resizes).
 
Gustavo
 
2006/6/23, Tim Hoff <[EMAIL PROTECTED]>:
You can get the width in pixels if you use measuredWidth instead ofwidth.x = mainCanvas.measuredWidth*.5
;-TH--- In flexcoders@yahoogroups.com, "Angela" <[EMAIL PROTECTED]>wrote:>> I am actually having the same problem ->
> I have a canvas with the width set to 100%. If I try and get the> width in pixels through AS it returns 0.>> If I try the same thing through mxml it works fine.>> So this in AS:
> public function getMiddle():Number {>  var x:Number;>  x = mainCanvas.width*.5;>  return x;> }>> --returns 0>> in MXML:> >> --returns the amount in pixels.>> Anyone out there know how to get the pixel value though AS?>> Angela.>>> --- In 
flexcoders@yahoogroups.com, "leo4beer"  wrote:> >> > Accepting MXML attribute's width in percentage in a customcomponent> >> > Hi, I have a component I've created by inheriting UIObject class
> >> > In my mxml I have the following lines used for initiating my> component:> >> > > >> > In my AS code I can trace the value of __width, in this case the
> > result will be "400".> >> > My problem is that when I set the value as percentage:> >> > > >> > In this case the value of __width is "undefined"
> >> > What should I do in order to get the correct value when settingthe> > width in percentage and not in pixels??> >> > Thanks> >>
 Yahoo! Groups Sponsor ~-->Check out the new improvements in Yahoo! Groups email.http://us.click.yahoo.com/6pRQfA/fOaOAA/yQLSAA/nhFolB/TM
~->--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/<*> 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.



  






__,_._,___



Re: [flexcoders] Re: Accepting MXML attribute's width in percentage on a custom component

2006-06-23 Thread Tom Ortega



What about the opposite?  Does anyone know of a way to set a width in actionscript to use percentages? i.e.:datagridcolumnVar.width = 25%;won't work.On 6/23/06, 
Angela <[EMAIL PROTECTED]> wrote:









  



I am actually having the same problem - 

I have a canvas with the width set to 100%. If I try and get the 
width in pixels through AS it returns 0.

If I try the same thing through mxml it works fine.

So this in AS:
public function getMiddle():Number {
 var x:Number;		
 x = mainCanvas.width*.5;
 return x;
}

--returns 0

in MXML:


--returns the amount in pixels.

Anyone out there know how to get the pixel value though AS?

Angela.

--- In flexcoders@yahoogroups.com, "leo4beer" <[EMAIL PROTECTED]> wrote:
>
> Accepting MXML attribute's width in percentage in a custom component
> 
> Hi, I have a component I've created by inheriting UIObject class
> 
> In my mxml I have the following lines used for initiating my 
component:
> 
> 
> 
> In my AS code I can trace the value of __width, in this case the
> result will be "400".
> 
> My problem is that when I set the value as percentage:
> 
> 
> 
> In this case the value of __width is "undefined"
> 
> What should I do in order to get the correct value when setting the
> width in percentage and not in pixels??
> 
> Thanks
>


  















__._,_.___





--
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: toolTip type behavior for DataGridColumns?

2006-06-23 Thread Shannon Hicks





nope... works for any list-based 
component.
 
in the datagrid, you set 
showDataTips="true"
 
then in the columns, you set 
dataTipField="fieldname"
 
Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of 
djbrown_rotonewsSent: Friday, June 23, 2006 2:10 PMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Re: toolTip type 
behavior for DataGridColumns?


that only works for Flex Charting components though, right?--- In [EMAIL PROTECTED]ups.com, 
"Tracy Spratt" <[EMAIL PROTECTED]> wrote:>> They are 
called dataTips.> > http://livedocs.macromedia.com/labs/1/flex20beta3/langref/mx/controls/Da> 
taGrid.html> > Tracy> > > > 
> > From: [EMAIL PROTECTED]ups.com 
[mailto:[EMAIL PROTECTED]ups.com] 
On> Behalf Of djbrown_rotonews> Sent: Friday, June 23, 2006 11:41 
AM> To: [EMAIL PROTECTED]ups.com> 
Subject: [flexcoders] toolTip type behavior for DataGridColumns?> 
> > > I'm wanting to add some toolTip type behavior when 
the user rolls over > some data in a DataGridColumn. It doesn't 
appear that the > DataGridColumn natively supports toolTip behavior, but 
is there a way > I can mimic one via the itemRollOver event? > 
> Something like popping up a Label just under the current x,y > 
coordinates would suffice.>
--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.9.2/372 - Release Date: 
6/21/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.9.2/372 - Release Date: 6/21/2006
 


[flexcoders] Re: toolTip type behavior for DataGridColumns?

2006-06-23 Thread djbrown_rotonews
that only works for Flex Charting components though, right?

--- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> 
wrote:
>
> They are called dataTips.
> 
> 
http://livedocs.macromedia.com/labs/1/flex20beta3/langref/mx/controls
/Da
> taGrid.html
> 
> Tracy
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of djbrown_rotonews
> Sent: Friday, June 23, 2006 11:41 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] toolTip type behavior for DataGridColumns?
> 
>  
> 
> I'm wanting to add some toolTip type behavior when the user rolls 
over 
> some data in a DataGridColumn. It doesn't appear that the 
> DataGridColumn natively supports toolTip behavior, but is there a 
way 
> I can mimic one via the itemRollOver event? 
> 
> Something like popping up a Label just under the current x,y 
> coordinates would suffice.
>






 Yahoo! Groups Sponsor ~--> 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/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

<*> 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] debugging app with metadata tags

2006-06-23 Thread Michael










I am trying to use metadata tags to notify my application
that an event has occurred.  Every time I try to debug my application I get an
error that says:

 

TypeError: Error #1009: Cannot access a property or method
of a null object reference.

 

Does anyone know if this is this something that is going to
happen or is this a bug?  I am running flex 2.0B3 on Jboss.

 

Thank you,

 

Michael




__._,_.___





--
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: Accepting MXML attribute's width in percentage on a custom component

2006-06-23 Thread Tim Hoff
You can get the width in pixels if you use measuredWidth instead of 
width.

x = mainCanvas.measuredWidth*.5;

-TH

--- In flexcoders@yahoogroups.com, "Angela" <[EMAIL PROTECTED]> 
wrote:
>
> I am actually having the same problem - 
> 
> I have a canvas with the width set to 100%. If I try and get the 
> width in pixels through AS it returns 0.
> 
> If I try the same thing through mxml it works fine.
> 
> So this in AS:
> public function getMiddle():Number {
>  var x:Number;
>  x = mainCanvas.width*.5;
>  return x;
> }
> 
> --returns 0
> 
> in MXML:
> 
> 
> --returns the amount in pixels.
> 
> Anyone out there know how to get the pixel value though AS?
> 
> Angela.
> 
> 
> --- In flexcoders@yahoogroups.com, "leo4beer"  wrote:
> >
> > Accepting MXML attribute's width in percentage in a custom 
component
> > 
> > Hi, I have a component I've created by inheriting UIObject class
> > 
> > In my mxml I have the following lines used for initiating my 
> component:
> > 
> >  > 
> > In my AS code I can trace the value of __width, in this case the
> > result will be "400".
> > 
> > My problem is that when I set the value as percentage:
> > 
> >  > 
> > In this case the value of __width is "undefined"
> > 
> > What should I do in order to get the correct value when setting 
the
> > width in percentage and not in pixels??
> > 
> > Thanks
> >
>






 Yahoo! Groups Sponsor ~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/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

<*> 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: Flex2 B3 - Scroll Bar problems

2006-06-23 Thread Tim Hoff
minHeight and minWidth are usually used in conjunction with 
percentage-based height and width.  When the content becomes too 
small to view, the min values kick in.  This isn't a bug.  It just 
depends on how you set-up your view.  If you set the minHeight/Width 
of the canvas to an explicit value and the canvas' container 
(HDividedBox) has scroll polices = "false", the parent container 
acts like a mask; the scrollBars will not be visible or accessible 
because the underlying canvas extends beyon the parent's 
dimensions.  Does this make sense?  Since you explicitly defined the 
size of the text area, it will never get smaller than the set height 
and width dimensions.  Your choice here is whether to show 
scrollBars up the displayList or not.  It's actually quite logical.  
It just takes some forethought to apply correctly.  I learned a 
couple of things from answering your question.  Especially the 
clipContent="false" behavior.  Thanks.

-TH

--- In flexcoders@yahoogroups.com, "thunderstumpgesatwork" 
<[EMAIL PROTECTED]> wrote:
>
> Thanks for that info. This sounds like a bug then.
> 
> Why would setting the minHeight/Width on a child of a container 
cause
> the scrollbars for that container not to show properly?
> 
> The minHeight and minWidth is necessary to prevent the canvas (or
> actually I have a whole component) from sizing too small. This 
setting
> of the minHeight and minWidth should cause the scrollbars to show 
on
> it's parent container right?
> 
> This definitely seems like a bug to me.
> 
> Thunder
> 
> --- In flexcoders@yahoogroups.com, "Tim Hoff"  wrote:
> >
> > It was actualy working.  But, you couldn't see the scroll bars 
> > because the canvas had a minHeight and minWidth that placed the 
> > scrollbars out of view.  The sample code below is one way the 
you 
> > can get the desired results.  clipContent and scroll policies 
work 
> > together.  If the clipContent property is false, a container 
lets 
> > its child extend past its boundaries. Therefore, no scroll bars 
are 
> > necessary, and Flex never displays them, even if you set 
> > horizontalScrollPolicy and verticalScrollPolicy to on.
> > 
> > Hope that this helps,
> > -TH
> > 
> > 
> >  > xmlns:mx="http://www.adobe.com/2006/mxml";
> > xmlns="*"
> > layout="horizontal"
> > height="300" width="400"
> > verticalScrollPolicy="off"
> > horizontalScrollPolicy="off">
> > 
> >  > height="100%" width="100%"
> > creationPolicy="all"
> > verticalScrollPolicy="off"
> > horizontalScrollPolicy="off">
> > 
> > 
> > 
> >  > width="70%" height="100%"
> > paddingTop="0" paddingBottom="0" paddingLeft="0" 
paddingRight="0">
> > 
> >  > height="100%" width="100%"
> > backgroundColor="#FF">
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > --- In flexcoders@yahoogroups.com, "thunderstumpgesatwork" 
> >  wrote:
> > >
> > > Tim,
> > > 
> > > Thanks for the suggestion. I have tried setting the 
scrollPolicy to
> > > OFF on all containers except the one I want to scroll, but it 
is 
> > still
> > > making the "propertySheetContainer" big enough to hold the 
property
> > > sheet instead of respecting the percentage size I set, and 
creating
> > > the scrollbar. (then you can't get to anything) It appears 
that 
> > sizing
> > > to fit children is of higher priority than percent sizes. I 
don't
> > > understand exactly what the 'clipContent' means when 
scrollPolicy 
> > is
> > > 'off' but I've tried it both ways (clip true and false) with 
the 
> > same
> > > results.
> > > 
> > > See sample code.
> > > Thanks,
> > > Thunder
> > > 
> > > 
> > >  > >   xmlns:mx="http://www.adobe.com/2006/mxml"; 
> > >   xmlns="*" 
> > >   layout="horizontal" 
> > >   height="300" width="400"
> > >   verticalScrollPolicy="off"
> > >   horizontalScrollPolicy="off"
> > >   clipContent="false">
> > >   
> > >> >   height="100%" width="100%"
> > >   creationPolicy="all"
> > >   verticalScrollPolicy="off"
> > >   horizontalScrollPolicy="off"
> > >   clipContent="false">
> > >   
> > >> height="100%" />
> > >   
> > >> >   width="70%" height="100%" 
> > >   horizontalScrollPolicy="on" 
> > >   verticalScrollPolicy="on" 
> > >   clipContent="true">
> > >   
> > >> >   height="100%" width="100%"
> > >   minHeight="450"
> > >   minWidth="550">
> > >   
> > >> height="430" width="530" />
> > >   
> > >   
> > >   
> > > 
> > > 
> > > 
> > > --- In flexcoders@yahoogroups.com, "Tim Hoff"  wrote:
> > > >
> > > > This is something that we are all dealing with.  
Unfortunatly, 
> > you 
> > > > have to explicitly set the scrollPolicy and clipContent 
> > properties 
> > > > for every container in the displayList; including 
appl

[flexcoders] installing NoteTag on JBOSS

2006-06-23 Thread Michael










Does anyone know the best way(or if it can be done) of
installing notetag on a JBOSS server?

 

Thank you,

 

Michael




__._,_.___





--
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: Accepting MXML attribute's width in percentage on a custom component

2006-06-23 Thread Angela
I am actually having the same problem - 

I have a canvas with the width set to 100%. If I try and get the 
width in pixels through AS it returns 0.

If I try the same thing through mxml it works fine.

So this in AS:
public function getMiddle():Number {
 var x:Number;  
 x = mainCanvas.width*.5;
 return x;
}

--returns 0

in MXML:


--returns the amount in pixels.

Anyone out there know how to get the pixel value though AS?

Angela.


--- In flexcoders@yahoogroups.com, "leo4beer" <[EMAIL PROTECTED]> wrote:
>
> Accepting MXML attribute's width in percentage in a custom component
> 
> Hi, I have a component I've created by inheriting UIObject class
> 
> In my mxml I have the following lines used for initiating my 
component:
> 
>  
> In my AS code I can trace the value of __width, in this case the
> result will be "400".
> 
> My problem is that when I set the value as percentage:
> 
>  
> In this case the value of __width is "undefined"
> 
> What should I do in order to get the correct value when setting the
> width in percentage and not in pixels??
> 
> Thanks
>







 Yahoo! Groups Sponsor ~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/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

<*> 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] Saving DataGrid Items in to Database.

2006-06-23 Thread Tracy Spratt










How far have you gotten?

Tracy

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sreedhar reddy
Sent: Friday, June 23, 2006 2:19
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Saving
DataGrid Items in to Database.



 









Hi,





  This is Sreedhar. I am working with Flex Builder 2 Beta 3, Java
Server Pages, and Sequel 2005. 





   Actually, I am trying to save entire Datagrid Items in to
a table in the database by a Button Click. 





   I am very thankful, if somebody helps me in this
problem. 






Thanks & Regards,





Sreedhar





Thanks & Regards,
Sreedhar

  







Yahoo! India Answers: Share what you know. Learn something new Click
here
Catch all the FIFA World Cup 2006 action on Yahoo! India Click
here






__._,_.___





--
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] toolTip type behavior for DataGridColumns?

2006-06-23 Thread Tracy Spratt










They are called dataTips.

http://livedocs.macromedia.com/labs/1/flex20beta3/langref/mx/controls/DataGrid.html

Tracy

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of djbrown_rotonews
Sent: Friday, June 23, 2006 11:41
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] toolTip type
behavior for DataGridColumns?



 







I'm wanting to add some toolTip type behavior when the
user rolls over 
some data in a DataGridColumn. It doesn't appear that the 
DataGridColumn natively supports toolTip behavior, but is there a way 
I can mimic one via the itemRollOver event? 

Something like popping up a Label just under the current x,y 
coordinates would suffice.






__._,_.___





--
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] Difference between two dates

2006-06-23 Thread Tracy Spratt










Have you looked into the AS 3 libraries? 
I found this on dates manipulation:

http://weblogs.macromedia.com/as_libraries/docs/corelib/

Look at DateUtil

Tracy

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Daniel Tuppeny
Sent: Friday, June 23, 2006 12:01
PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders]
Difference between two dates



 







> things like date.date += 12 

 

I didn't know that. That's certainly a bit
better! I was frustrated there was no AddDays() etc.!

 

 

> Yes, yes, I know you can do the getTime() arithmetic

 

You can't. Because once you detach the
length of time from the actual dates, you can't figure out the number of months
accurately (because of the difference in days). I originally did GetTime of
both dates, and then created a date from the difference (and took away 1970
years), but the length was then out by a number of days! :-(

 

 

> If I were redesigning it, it wold at least ook like this:


I agree - it was the day/date that had me spending an hour to do simple maths!

  

 

>year - why fullYear?

 

This got me too... .year appears in the
intellisense, but when I used it, I got an error - WTF?!

It wouldn't be so bad if they'd actually
added a 2-figure year, but they dumped .year, and added fullYear. Grrr!

 







From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Pan Troglodytes
Sent: 23 June 2006 16:53
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders]
Difference between two dates

Well, it helped when I figured out I could do things like date.date +=
12 and it would automatically correct for rolling over months/years.  But
at the very least, there needs to be a built-in daysBetween function. 
Yes, yes, I know you can do the getTime() arithmetic.  But every time you
have to fall back to that, it feels kludgy. 

If I were redesigning it, it wold at least ook like this:

dayOfWeek - what used to be called day
day - day in month (used to be called date)
month - 1 based like day (what used to be called date) is
hour/minute/second/millisecond - singular (if hour is plural, why not
"months"?)
year - why fullYear?  I mean, c'mon, do people really expect something
called "year" to be two digits or what?
daysBetween(laterDate:date) - laterDate minus this in days 

But, alas, it's too late.  There's no way they'll make the change at this
late day.

I mean "date".

Haha. 
__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__






__._,_.___





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

2006-06-23 Thread Matt Chotin










The profiler is something that did not
make the 2.0 release.  We’ll be looking into getting it out in a later
release.

 

Matt

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Damien Mandrioli
Sent: Friday, June 23, 2006 4:47
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex 2.0
profiling



 









Hi all,

 

I would like
to know if a code profiler is envisaged for the final release of Flex Builder.

I’m
experimenting some very strange CPU consumption et memory leak, is there known
performance problems in the beta 3 ?

 

Next I will
try to isolate the problem to post it here.

 

Damien








__._,_.___





--
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] [F2B3] Could Adobe make Flex Framework available trough SVN?

2006-06-23 Thread Matt Chotin
If you've ever done support though you'll know how many times someone
will say they're using the official release when later they remember
that "oh yeah, I did try that experiment a few weeks ago and must have
forgotten to undo it" :-)

We are not against the idea, but it will take time for us to figure out
the right way to do it so that expectations can be managed and we can
continue to be responsive.

Matt

-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tom Chiverton
Sent: Thursday, June 22, 2006 1:47 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] [F2B3] Could Adobe make Flex Framework
available trough SVN?

On Wednesday 21 June 2006 22:24, Matt Chotin wrote:
> things that we would need to be concerned about from a support
> perspective if essentially daily builds of the framework were
available.

That's easy :-)
Only offical releases and/or tags are supported.
Daily builds/trunk aren't - use at own risk.

I think many people would be happy with that.

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

We are pleased to announce that Halliwells LLP has been voted AIM Lawyer
of the Year at the 2005 Growth Company Awards




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



 





 Yahoo! Groups Sponsor ~--> 
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

<*> 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] Another simple flex newbie question

2006-06-23 Thread Tracy Spratt










You modularize mxml by creating
components.  Components can be implemented either in Actionscript or in
mxml.  Except for the implementation there is no difference.

 

To create an mxml component, create an
mxml file, and instead of using mx:Application as the root tag, use some other
tag, like Hbox, or Panel, or absolutely anything you want.

 

This is identical to saying in AS, “class
MyHBox extends Hbox”.

 

To try this, just cust some mxml text out
of your App, something that is maybe in a viewstack or a tabnavigator. Create a
new mxml file say “MYHbox.mxml” and copy that cut text into it.
Instantiate it in the location you cut it from using  Make sure there is a default namespace in you application tag:
xmlns=”*”.  Run the app.  You will see your component displayed.

 

Now, it is really a bit more complicated
than that, because you will probably want to pass data in and out of your
component.  But get this concept first, then we’ll tackle that.

 

Tracy

 









From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of hank williams
Sent: Friday, June 23, 2006 9:10
AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Another
simple flex newbie question



 







How do
you modularize MXML.

In actionscript we import classes, and each class represents some conceptual
chunk, but I am not sure what the equivalent is in MXML.

I have been looking at lots of code examples, but they are all small. This has
been very helpful in learning how APIs work, but I am on the edge of my two day
project feeling bloated and unmodular. 

I am sure, lots of people will say the answer is cairngorm, but for right now I
want to learn MXML "raw" before adding another layer on top of it.

Thanks
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] Re: Flex2 B3 - Scroll Bar problems

2006-06-23 Thread thunderstumpgesatwork
Thanks for that info. This sounds like a bug then.

Why would setting the minHeight/Width on a child of a container cause
the scrollbars for that container not to show properly?

The minHeight and minWidth is necessary to prevent the canvas (or
actually I have a whole component) from sizing too small. This setting
of the minHeight and minWidth should cause the scrollbars to show on
it's parent container right?

This definitely seems like a bug to me.

Thunder

--- In flexcoders@yahoogroups.com, "Tim Hoff" <[EMAIL PROTECTED]> wrote:
>
> It was actualy working.  But, you couldn't see the scroll bars 
> because the canvas had a minHeight and minWidth that placed the 
> scrollbars out of view.  The sample code below is one way the you 
> can get the desired results.  clipContent and scroll policies work 
> together.  If the clipContent property is false, a container lets 
> its child extend past its boundaries. Therefore, no scroll bars are 
> necessary, and Flex never displays them, even if you set 
> horizontalScrollPolicy and verticalScrollPolicy to on.
> 
> Hope that this helps,
> -TH
> 
> 
>  xmlns:mx="http://www.adobe.com/2006/mxml";
> xmlns="*"
> layout="horizontal"
> height="300" width="400"
> verticalScrollPolicy="off"
> horizontalScrollPolicy="off">
> 
>  height="100%" width="100%"
> creationPolicy="all"
> verticalScrollPolicy="off"
> horizontalScrollPolicy="off">
> 
> 
> 
>  width="70%" height="100%"
> paddingTop="0" paddingBottom="0" paddingLeft="0" paddingRight="0">
> 
>  height="100%" width="100%"
> backgroundColor="#FF">
> 
> 
> 
> 
> 
> 
> 
> 
> 
> --- In flexcoders@yahoogroups.com, "thunderstumpgesatwork" 
>  wrote:
> >
> > Tim,
> > 
> > Thanks for the suggestion. I have tried setting the scrollPolicy to
> > OFF on all containers except the one I want to scroll, but it is 
> still
> > making the "propertySheetContainer" big enough to hold the property
> > sheet instead of respecting the percentage size I set, and creating
> > the scrollbar. (then you can't get to anything) It appears that 
> sizing
> > to fit children is of higher priority than percent sizes. I don't
> > understand exactly what the 'clipContent' means when scrollPolicy 
> is
> > 'off' but I've tried it both ways (clip true and false) with the 
> same
> > results.
> > 
> > See sample code.
> > Thanks,
> > Thunder
> > 
> > 
> >  > xmlns:mx="http://www.adobe.com/2006/mxml"; 
> > xmlns="*" 
> > layout="horizontal" 
> > height="300" width="400"
> > verticalScrollPolicy="off"
> > horizontalScrollPolicy="off"
> > clipContent="false">
> > 
> >  > height="100%" width="100%"
> > creationPolicy="all"
> > verticalScrollPolicy="off"
> > horizontalScrollPolicy="off"
> > clipContent="false">
> > 
> >  height="100%" />
> > 
> >  > width="70%" height="100%" 
> > horizontalScrollPolicy="on" 
> > verticalScrollPolicy="on" 
> > clipContent="true">
> > 
> >  > height="100%" width="100%"
> > minHeight="450"
> > minWidth="550">
> > 
> >  height="430" width="530" />
> > 
> > 
> > 
> > 
> > 
> > 
> > --- In flexcoders@yahoogroups.com, "Tim Hoff"  wrote:
> > >
> > > This is something that we are all dealing with.  Unfortunatly, 
> you 
> > > have to explicitly set the scrollPolicy and clipContent 
> properties 
> > > for every container in the displayList; including application 
> and 
> > > canvas.  It would be nice if you could set a global 
> > > verticalScrollPolicy and horizontalScrollPolicy to "off", and 
> then 
> > > just over-ride the policies to "auto" or "on" for the containers 
> > > that you want to display scrollBars.  If you add scroll policies 
> and 
> > > clip content properties to the rest of your containers, you 
> should 
> > > be able to fix the problem.
> > > 
> > > -TH
> > > 
> > > --- In flexcoders@yahoogroups.com, "thunderstumpgesatwork" 
> > >  wrote:
> > > >
> > > > Trying to control scrollbars is giving me a headache!
> > > > 
> > > > I want everything to be dynamic sizing, so in general I either 
> use
> > > > percentages for all my sizes, or layout constraints. In some 
> cases
> > > > though, a component just cannot get smaller than a certain 
> size to
> > > > look correct. This is when I set the minHeight and minWidth 
> right?
> > > > 
> > > > I want it's immediate parent to create scrollbars if 
> necessary, so 
> > > I
> > > > set it's container to scrollPolicy="auto", and for some reason 
> it
> > > > decides to create two scrollbars, on different parent 
> containers..
> > > > like it's "splitting the difference" or something... 
> > > > 
> > > > How do I

[flexcoders] Re: e4x adding attributes across members.

2006-06-23 Thread coder_flex
Your answer involves looping externally (which is how they explain it
in the flex code sample). I was trying to avoid that and use e4x's
power to do the same. 
Therefore I was calling a function within the e4x expression. I know
that calling a function within e4x expression works because I am doing
other conversions on attributes. I thought the summing up of
attributes should work too.

Anyways, thanks for the quick response. 



--- In flexcoders@yahoogroups.com, "Matt Horn" <[EMAIL PROTECTED]> wrote:
>
> Here's a basic example using for each:
> 
> 
> http://www.adobe.com/2006/mxml";>
>   
>   
>   
> 
>  
> hth,
> 
> matt horn
> flex docs 
> 
> > -Original Message-
> > From: flexcoders@yahoogroups.com 
> > [mailto:[EMAIL PROTECTED] On Behalf Of coder_flex
> > Sent: Thursday, June 22, 2006 10:49 PM
> > To: flexcoders@yahoogroups.com
> > Subject: [flexcoders] e4x adding attributes across members.
> > 
> > If my xml structure looks like this:
> > 
> > var inputXML:XML =
> > 
> >  > quantity="2"/>
> >  > quantity="4"/>
> >  > quantity="5"/>
> > ;
> > 
> > I wanted an e4x expression to get the total of price*quantity 
> > across all the books.
> > 
> > The way I am trying to achieve this is:
> > define a function:
> > public function addToTotal(totalObj:Object, 
> > perBookTotal:Number):void { totalObj.totalAmt+=perBookTotal; }
> > 
> > then call the function from e4x expression:
> > 
> > var totalClass = new Object();
> > totalClass.totalAmt = 0;
> > 
> > inputXML.book.(addToTotal(
> > totalClass, Number(@price)*Number(@quantity)));
> > trace(totalClass.totalAmt);
> > 
> > I am in the process of trying this. Is this going to work at 
> > all? Or is there a better way of achieving this.
> > 
> > Thanks in advance for all the help.
> > 
> > 
> > 
> >  
> >
>






 Yahoo! Groups Sponsor ~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/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

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

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

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





[flexcoders] Flex 2 the SWFLoader and some php

2006-06-23 Thread talion_4
I was wondering if anyone could give me a hand here, I've been trying
to get my flex app to load a swf out of a mysql database. I've stored
the swf's in a longblob column by manually dropping them in with a
mysql table editor. These swf's are mainly just simple animations
nothing fancy and they have no AS.

>From my understanding I should be able to just use
swfloadername.load("requestswf.php?id=631en")

Then my php is as follows:

$Query = sprintf("SELECT * from flex.phptest where id= %s",
quote_smart($_POST["id"]));

$Result = mysql_query( $Query );

if (!$Result || mysql_num_rows($Result) != 1) {
  print("HTTP/1.1 404 File not found");
  exit();
} else {
  $row = mysql_fetch_array($result, MYSQL_ASSOC);
  echo($row->slide);
}
}

However this only returns a byte or two on some swf's and on others it
can't decode the message. If anyone could drop me a hint as to what
i'm missing I'd appreciate it because google has had me running in
circles.





 Yahoo! Groups Sponsor ~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/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

<*> 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 - LOW] [flexcoders] RemoteObjects in components

2006-06-23 Thread Shannon Hicks





At a much higher level... Flex was really designed to use 
ModelViewController... Your thoughts are definitely on the right 
track!
 
Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of hank 
williamsSent: Friday, June 23, 2006 12:02 PMTo: 
flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] Re: [Junk 
E-Mail - LOW] [flexcoders] RemoteObjects in components


Thanks. Its great to see some other code. I have learned a few things just 
checking it out.But one question. In looking at your code, I noticed 
that the remoteObject stuff is at the application level. Does this mean that you 
cant put remoteObjects in MXML components? I was hoping to modularize that. 
ThanksHank
On 6/23/06, Shannon 
Hicks <[EMAIL PROTECTED]> 
wrote:

  
  
  Check out 
  my little flex project...
   
  http://flex.work.iotashan.com/hlstatsx/hlstatsx.html 
  
   
  Nothing special, but it does 
  what you're asking. Right-click to view the source.
   
  Shan
   
  
  
  From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of hank 
  williamsSent: Friday, June 23, 2006 11:02 AMTo: flexcoders@yahoogroups.comSubject: [Junk E-Mail - 
  LOW] [flexcoders] RemoteObjects in components
  
  
  
  Ok, so I just created a component. It needs to access remoteObjects. I 
  defined the component as a canvas. But I guess canvas's cant have sub items 
  that are remoteObjects, so a compiler error is thrown. But the whole purpose 
  of this component is to display remoteObject data in a scrolling list. It 
  makes sense to me that the remoteObject be "close" to the list. Although 
  perhaps not. Perhaps ultimately the RemoteObjects should be in one place and 
  the display in another to keep things highly factored (I know cairngorm 
  again). So I would like to know how to place remoteObjects in a component, and 
  how to place then in another component that might serve data to this 
  component. ThanksHankPS At some point I am sure I will use 
  cairngorm, but I need to understand how the real system works before I start 
  using something that obscures or "simplifes" how things work. Otherwise I dont 
  think I will be a good MXML coder. 
  
  --No virus found in this incoming message.Checked by 
  AVG Free Edition.Version: 7.1.394 / Virus Database: 268.9.2/372 - Release 
  Date: 6/21/2006
  
  --No virus found in this outgoing message.Checked by 
  AVG Free Edition.Version: 7.1.394 / Virus Database: 268.9.2/372 - Release 
  Date: 6/21/2006

--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.9.2/372 - Release Date: 
6/21/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.9.2/372 - Release Date: 6/21/2006
 


RE: [Junk E-Mail - LOW] Re: [Junk E-Mail - LOW] [flexcoders] RemoteObjects in components

2006-06-23 Thread Shannon Hicks





You can, I haven't gotten that far yet.
 
When you create your custom components, you can have 
methods that return values & objects. So, you could define the remoteObject 
in the component, and have a public function that would call the remoteObject, 
and return a object back to either the main application, or even to other 
components.
 
So:
 

 

 
and Myc.SomeFunction()
 
Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of hank 
williamsSent: Friday, June 23, 2006 12:02 PMTo: 
flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] Re: [Junk 
E-Mail - LOW] [flexcoders] RemoteObjects in components


Thanks. Its great to see some other code. I have learned a few things just 
checking it out.But one question. In looking at your code, I noticed 
that the remoteObject stuff is at the application level. Does this mean that you 
cant put remoteObjects in MXML components? I was hoping to modularize that. 
ThanksHank
On 6/23/06, Shannon 
Hicks <[EMAIL PROTECTED]> 
wrote:

  
  
  Check out 
  my little flex project...
   
  http://flex.work.iotashan.com/hlstatsx/hlstatsx.html 
  
   
  Nothing special, but it does 
  what you're asking. Right-click to view the source.
   
  Shan
   
  
  
  From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of hank 
  williamsSent: Friday, June 23, 2006 11:02 AMTo: flexcoders@yahoogroups.comSubject: [Junk E-Mail - 
  LOW] [flexcoders] RemoteObjects in components
  
  
  
  Ok, so I just created a component. It needs to access remoteObjects. I 
  defined the component as a canvas. But I guess canvas's cant have sub items 
  that are remoteObjects, so a compiler error is thrown. But the whole purpose 
  of this component is to display remoteObject data in a scrolling list. It 
  makes sense to me that the remoteObject be "close" to the list. Although 
  perhaps not. Perhaps ultimately the RemoteObjects should be in one place and 
  the display in another to keep things highly factored (I know cairngorm 
  again). So I would like to know how to place remoteObjects in a component, and 
  how to place then in another component that might serve data to this 
  component. ThanksHankPS At some point I am sure I will use 
  cairngorm, but I need to understand how the real system works before I start 
  using something that obscures or "simplifes" how things work. Otherwise I dont 
  think I will be a good MXML coder. 
  
  --No virus found in this incoming message.Checked by 
  AVG Free Edition.Version: 7.1.394 / Virus Database: 268.9.2/372 - Release 
  Date: 6/21/2006
  
  --No virus found in this outgoing message.Checked by 
  AVG Free Edition.Version: 7.1.394 / Virus Database: 268.9.2/372 - Release 
  Date: 6/21/2006

--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.9.2/372 - Release Date: 
6/21/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.9.2/372 - Release Date: 6/21/2006
 


Re: [Junk E-Mail - LOW] [flexcoders] RemoteObjects in components

2006-06-23 Thread hank williams



Thanks. Its great to see some other code. I have learned a few things just checking it out.But one question. In looking at your code, I noticed that the remoteObject stuff is at the application level. Does this mean that you cant put remoteObjects in MXML components? I was hoping to modularize that.
ThanksHankOn 6/23/06, Shannon Hicks <[EMAIL PROTECTED]> wrote:









Check out my little flex project...
 
http://flex.work.iotashan.com/hlstatsx/hlstatsx.html

 
Nothing special, but it does what you're asking. Right-click to view the 
source.
 
Shan
 


From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of hank 
williamsSent: Friday, June 23, 2006 11:02 AMTo: 
flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] [flexcoders] 
RemoteObjects in components


Ok, so I just created a component. It needs to access remoteObjects. I 
defined the component as a canvas. But I guess canvas's cant have sub items that 
are remoteObjects, so a compiler error is thrown. But the whole purpose of this 
component is to display remoteObject data in a scrolling list. It makes sense to 
me that the remoteObject be "close" to the list. Although perhaps not. Perhaps 
ultimately the RemoteObjects should be in one place and the display in another 
to keep things highly factored (I know cairngorm again). So I would like to know 
how to place remoteObjects in a component, and how to place then in another 
component that might serve data to this component. 
ThanksHankPS At some point I am sure I will use cairngorm, 
but I need to understand how the real system works before I start using 
something that obscures or "simplifes" how things work. Otherwise I dont think I 
will be a good MXML coder. 

--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.9.2/372 - Release Date: 
6/21/2006




--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.2/372 - Release Date: 6/21/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] SOAP Serialization bug

2006-06-23 Thread zosoo7
Hello. We've encountered what appears to be a bug in beta 3. We are
using the mx:WebService, and when flex serializes the xml to send up
to our web service, it appears to drop namespaces on nested aggregate
objects that are in different packages on the server/web service. It
seems that it only does the namespaces correctly on aggregates 1 deep
in the graph, anything beyond that, namespaces get dropped. For
example, if you are sending up a person object to the service, and you
have person.address, address's namespace is fine. But when you try to
do person.spouse.address, address's namespace is dropped. Anybody seen
this?





 Yahoo! Groups Sponsor ~--> 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/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

<*> 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: Difference between two dates

2006-06-23 Thread kellyb723
AMEN!!

(not terribly helpful, but feels good to say)

- Kelly

--- In flexcoders@yahoogroups.com, "Pan Troglodytes"
<[EMAIL PROTECTED]> wrote:
>
> I swear, I really think the date class was designed by a crazy man.  You
> hear that Adobe? - CRAZY! :D
> 
> On 6/23/06, Daniel Tuppeny <[EMAIL PROTECTED]> wrote:
> >
> >I was using .day instead of .date
> >
> > TFI Friday! =)
> >
> >  --
> > *From:* flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] *On
> > Behalf Of *Daniel Tuppeny
> > *Sent:* 23 June 2006 15:33
> > *To:* flexcoders@yahoogroups.com
> > *Subject:* RE: [flexcoders] Difference between two dates
> >
> >  I think I need more coffee
> >
> > The following code (which I'm sure is correct!), returns around
2.8 when
> > I'm expecting around 3.2. Anyone spot my error?
> >
> >
> >
> > public static function getMonths(startDate:Date, endDate:Date):Number
> >   {
> >if (startDate > endDate)
> >{
> > var tmp:Date = endDate;
> > endDate = startDate;
> > startDate = tmp;
> >}
> >
> >var numMonths:Number = 0;
> >
> >// Get number of months in years
> >numMonths += (endDate.fullYear - startDate.fullYear) * 12
> >numMonths += endDate.month - startDate.month;
> >numMonths += (endDate.day - startDate.day) / 30; // This needs
fixing
> >
> >return numMonths;
> >   }
> >
> > __
> > This email has been scanned by the MessageLabs Email Security System.
> > For more information please visit http://www.messagelabs.com/email
> > __
> >
> > [Inbound Mail Scanned by MessageLabs]
> >
> >
> > __
> > This email has been scanned by the MessageLabs Email Security System.
> > For more information please visit http://www.messagelabs.com/email
> > __
> >
> >  
> >
> 
> 
> 
> -- 
> Jason
>






 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

<*> 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] Using user suplied username/password with Cairgorm 2 services

2006-06-23 Thread João Fernandes











Tom, 

 

Did you try this?

 

myService.setRemoteCredentials(username,pwd)

myService.FunctionToCall()

 



João Fernandes
Dep. Informática - Área de Desenvolvimento
Cofina media

Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL
Tel (+351) 213 185 200 . Fax (+351) 213 540 370
[EMAIL PROTECTED]



 





From: flexcoders@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton
Sent: sexta-feira, 23 de Junho de 2006 17:01
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Using user suplied username/password with Cairgorm
2 services





 







If I have a RemoteObject service defined in a
Cairngorm 2 app, that asks for a 
username and password, how can I assign those strings as credentials for the 
remote service to use.

What I want to do is setCredentials() on *something*, right ? Can't use the 
result of calling the serviceLocator though, because that just returns an 
instance of the service, no ?

Without the source of Cairngorm 2, I can't see if serviceLocator has a 
setService, or some sort of public list of singletons or whatever.

Any and all (silly) ideas welcome.
-- 
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.

We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the
Year at the 2005 Growth Company Awards



 




__._,_.___





--
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: About dates sent to a webservice. Is this correct?

2006-06-23 Thread kellyb723
Yes this is correct.  I recently had a long thread about this.  What I
was told by Adobe is that If a web service defined the element-type in
WSDL as `dateTime' and sends a value that does not include a time zone
component Flex "has to" assume that this is UTC time and will
automatically adjust the Date value to your local time zone.

You can read my previous thread, including a post by Peter Farland
(Adobe) that this behavior is by design, and my workaround at:

http://groups.yahoo.com/group/flexcoders/message/39832

- Kelly

--- In flexcoders@yahoogroups.com, "Bas J. Brey" <[EMAIL PROTECTED]> wrote:
>
> You set a date e.g. 25th of January 2005 00:00 GMT +2
> 
> Flex sends it to the service as 24th of January 2005 22:00 ?
> 
>  
> 
> If so than you can never use a "date" type in your webservice cause
then you
> miss timezone information.
>







 Yahoo! Groups Sponsor ~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/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

<*> 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] animated line charts

2006-06-23 Thread Ely Greenfield





 
 
 
There's no effect that draws it one point at a time...you 
probably saw a SeriesSlide effect, which slides the points on from offscreen. 
All the charting effects allow you to specify an elementOffset, where the start 
of the effect on each datapoint is offset from the next or previous 
datapoint.
 
Ely.
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of hank 
williamsSent: Thursday, June 22, 2006 6:12 PMTo: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] animated line 
charts


Those are cool effects but, based on my reading and a quick and dirty test, 
as documented, none of the effects that I read about do what I 
want.Hank
On 6/22/06, Pan 
Troglodytes <[EMAIL PROTECTED]> 
wrote:

  
  I haven't dealt with the line charts much, but it sounds like they are 
  using a showDataEffect.  Look up SeriesInterpolate in the help.  
  I've used it with pie and column graphs and it looks great.
  
  On 6/22/06, hank 
  williams <[EMAIL PROTECTED]> wrote:
  




I saw a demo somewhere of a flex line chart that was animated such that 
the lines series lines where drawn onto the screen rather than just 
appearing when the chart was drawn. Does anybody have any idea how this was 
done. Hank
  -- 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.



  






__,_._,___



RE: [Junk E-Mail - LOW] [flexcoders] RemoteObjects in components

2006-06-23 Thread Shannon Hicks





Check out my little flex project...
 
http://flex.work.iotashan.com/hlstatsx/hlstatsx.html
 
Nothing special, but it does what you're asking. Right-click to view the 
source.
 
Shan
 


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of hank 
williamsSent: Friday, June 23, 2006 11:02 AMTo: 
flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] [flexcoders] 
RemoteObjects in components


Ok, so I just created a component. It needs to access remoteObjects. I 
defined the component as a canvas. But I guess canvas's cant have sub items that 
are remoteObjects, so a compiler error is thrown. But the whole purpose of this 
component is to display remoteObject data in a scrolling list. It makes sense to 
me that the remoteObject be "close" to the list. Although perhaps not. Perhaps 
ultimately the RemoteObjects should be in one place and the display in another 
to keep things highly factored (I know cairngorm again). So I would like to know 
how to place remoteObjects in a component, and how to place then in another 
component that might serve data to this component. 
ThanksHankPS At some point I am sure I will use cairngorm, 
but I need to understand how the real system works before I start using 
something that obscures or "simplifes" how things work. Otherwise I dont think I 
will be a good MXML coder. 

--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.9.2/372 - Release Date: 
6/21/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.9.2/372 - Release Date: 6/21/2006
 


RE: [flexcoders] Difference between two dates

2006-06-23 Thread Daniel Tuppeny





> things like date.date += 12 
 
I didn't know that. That's certainly a bit better! I 
was frustrated there was no AddDays() etc.!
 
 
> Yes, yes, I know you can do the getTime() 
arithmetic
 
You can't. Because once you detach the length of time 
from the actual dates, you can't figure out the number of months accurately 
(because of the difference in days). I originally did GetTime of both dates, and 
then created a date from the difference (and took away 1970 years), but the 
length was then out by a number of days! :-(
 
 
> If I were redesigning it, it wold at least ook like 
this:
I agree - it was the day/date that had me spending 
an hour to do simple maths!
 
 
>year - why fullYear?
 
This got me too... .year appears in the intellisense, 
but when I used it, I got an error - WTF?!
It wouldn't be so bad if they'd actually added a 
2-figure year, but they dumped .year, and added fullYear. 
Grrr!


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Pan 
TroglodytesSent: 23 June 2006 16:53To: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Difference 
between two dates
Well, it helped when I figured out I could do things like date.date 
+= 12 and it would automatically correct for rolling over months/years.  
But at the very least, there needs to be a built-in daysBetween function.  
Yes, yes, I know you can do the getTime() arithmetic.  But every time you 
have to fall back to that, it feels kludgy. If I were redesigning it, it 
wold at least ook like this:dayOfWeek - what used to be called 
dayday - day in month (used to be called date)month - 1 based like day 
(what used to be called date) ishour/minute/second/millisecond - singular 
(if hour is plural, why not "months"?)year - why fullYear?  I mean, 
c'mon, do people really expect something called "year" to be two digits or 
what?daysBetween(laterDate:date) - laterDate minus this in days But, 
alas, it's too late.  There's no way they'll make the change at this late 
day.I mean "date".Haha.

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
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] RemoteObjects in components

2006-06-23 Thread hank williams



Ok, so I just created a component. It needs to access remoteObjects. I defined the component as a canvas. But I guess canvas's cant have sub items that are remoteObjects, so a compiler error is thrown. But the whole purpose of this component is to display remoteObject data in a scrolling list. It makes sense to me that the remoteObject be "close" to the list. Although perhaps not. Perhaps ultimately the RemoteObjects should be in one place and the display in another to keep things highly factored (I know cairngorm again). So I would like to know how to place remoteObjects in a component, and how to place then in another component that might serve data to this component.
ThanksHankPS At some point I am sure I will use cairngorm, but I need to understand how the real system works before I start using something that obscures or "simplifes" how things work. Otherwise I dont think I will be a good MXML coder.


__._,_.___





--
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] Using user suplied username/password with Cairgorm 2 services

2006-06-23 Thread Tom Chiverton
If I have a RemoteObject service defined in a Cairngorm 2 app, that asks for a 
username and password, how can I assign those strings as credentials for the 
remote service to use.

What I want to do is setCredentials() on *something*, right ? Can't use the 
result of calling the serviceLocator though, because that just returns an 
instance of the service, no ?

Without the source of Cairngorm 2, I can't see if serviceLocator has a 
setService, or some sort of public list of singletons or whatever.

Any and all (silly) ideas welcome.
-- 
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.

We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the 
Year at the 2005 Growth Company Awards



 Yahoo! Groups Sponsor ~--> 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/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

<*> 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: Reusing Cairngorm views

2006-06-23 Thread Tom Chiverton
On Thursday 22 June 2006 19:03, Tim Hoff wrote:
> view section, was just where they are located (directory) in the
> project, not where they are used in the project.

I've kept them in the same place as the MXML view files (a view sub-dir).

> It sounds like you're getting there. :)

Yeah, just about.

Can't wait for Cairngorm 2 to be out officially so there might be some more 
complex example apps in it - atm I feel like I'm the guy who goes up the rock 
face first to lay safety ropes for everyone else :-)

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

We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the 
Year at the 2005 Growth Company Awards



 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

<*> 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] Difference between two dates

2006-06-23 Thread Pan Troglodytes



Well, it helped when I figured out I could do things like date.date += 12 and it would automatically correct for rolling over months/years.  But at the very least, there needs to be a built-in daysBetween function.  Yes, yes, I know you can do the getTime() arithmetic.  But every time you have to fall back to that, it feels kludgy.
If I were redesigning it, it wold at least ook like this:dayOfWeek - what used to be called dayday - day in month (used to be called date)month - 1 based like day (what used to be called date) is
hour/minute/second/millisecond - singular (if hour is plural, why not "months"?)year - why fullYear?  I mean, c'mon, do people really expect something called "year" to be two digits or what?daysBetween(laterDate:date) - laterDate minus this in days
But, alas, it's too late.  There's no way they'll make the change at this late day.I mean "date".Haha.On 6/23/06, Daniel Tuppeny
 <[EMAIL PROTECTED]> wrote:









  






I wouldn't disagree!
 
There seems to be no useful functions for manipulating 
dates. They should copy all the methods and properties from the .NET DateTime 
class :o)


From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Pan 
TroglodytesSent: 23 June 2006 16:02To: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Difference 
between two dates
I swear, I really think the date class was designed by a crazy 
man.  You hear that Adobe? - CRAZY! :D
On 6/23/06, Daniel 
Tuppeny < 
[EMAIL PROTECTED]> wrote:

  
  
  
  
  
  
  I was 
  using .day instead of .date
   
  TFI 
  Friday! =)
  
  
  From: flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of Daniel 
  TuppenySent: 23 June 2006 15:33To: flexcoders@yahoogroups.comSubject:
 RE: 
  [flexcoders] Difference between two dates
  
  
  I think I 
  need more coffee
   
  The 
  following code (which I'm sure is correct!), returns around 2.8 when I'm 
  expecting around 3.2. Anyone spot my error?
   
   
   
  public 
  static function getMonths(startDate:Date, 
  endDate:Date):Number  {   if (startDate > 
  endDate)   {var tmp:Date = 
  endDate;endDate = 
  startDate;startDate = 
  tmp;   }  var 
  numMonths:Number = 0;  // Get number 
  of months in years   numMonths += (endDate.fullYear - 
  startDate.fullYear) * 12   numMonths += endDate.month - 
  startDate.month;   numMonths += (endDate.day - 
  startDate.day) / 30; // This needs 
  fixing  return 
  numMonths;  }__This 
  email has been scanned by the MessageLabs Email Security System.For more 
  information please visit http://www.messagelabs.com/email 
  __
  [Inbound Mail Scanned by MessageLabs]
  __This 
  email has been scanned by the MessageLabs Email Security System.For more 
  information please visit http://www.messagelabs.com/email 
  __
  
  -- Jason  
[Inbound Mail Scanned by 
MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


  













-- 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] toolTip type behavior for DataGridColumns?

2006-06-23 Thread djbrown_rotonews
I'm wanting to add some toolTip type behavior when the user rolls over 
some data in a DataGridColumn. It doesn't appear that the 
DataGridColumn natively supports toolTip behavior, but is there a way 
I can mimic one via the itemRollOver event? 

Something like popping up a Label just under the current x,y 
coordinates would suffice.





 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

<*> 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] Another simple flex newbie question

2006-06-23 Thread hank williams



Thanks. The dot did it!HankOn 6/23/06, Jean-Luc ESSER <[EMAIL PROTECTED]> wrote:







You'll have to specify .* to get to the files 
inside your directory.
MyComp="MyComponents.*" should work.
 
Jean-Luc.
 

  - Original Message - 
  
From: 
  hank williams 
  
  To: 
flexcoders@yahoogroups.com 
  Sent: Friday, June 23, 2006 5:02 PM

  Subject: Re: [Junk E-Mail - LOW] 
  [flexcoders] Another simple flex newbie question
  
  
  Thanks. One last question on this. I have no problem defining how to put a 
  component in the same directory and using MyComp="*", but if I want to put it 
  in a sub directory, MyComp="MyComponents" is not working. The MyComponents 
  directory is now at the same level as the main app. Any ideas? 
  ThanksHank
  On 6/23/06, Matt 
  Horn <[EMAIL PROTECTED]> 
  wrote:
  You can use anything when 
you define a namespace. You need to matchwhatever you use in your mxml 
tags; for example, if you name it fred,then you reference the ButtonComp 
control with a "fred" prefix:http://www.adobe.com/2006/mxml"
xmlns:Fred="*"> In 
this case, the file ButtonComp.mxml is in the same directory as theapp 
that references it. The entire file can consist of something assimple 
as:http://www.adobe.com/2006/mxml"/>hth,
matt 
hornflex docs> -Original Message-> From: flexcoders@yahoogroups.com
> 
[mailto:flexcoders@yahoogroups.com] On 
Behalf Of hank williams> Sent: Friday, June 23, 2006 10:19 AM> 
To: flexcoders@yahoogroups.com> 
Subject: Re: [Junk E-Mail - LOW] [flexcoders] Another simple> flex 
newbie question>> Ok, so in looking at the docs, to include a 
directory you> use xmlns:MyComp="*" >> This should as I 
understand it include everything from the> main app 
directory.>> Is MyComp a reserved word that is the holder of 
the directory> path, or could you use other words here instead of 
MyComp. >> Thanks> Hank>>> On 
6/23/06, Shannon Hicks <[EMAIL PROTECTED]> 
wrote:>>   You want to use 
MXML components...> >> http://livedocs.macromedia.com/labs/1/flex20beta3/wwhelp/wwhim
> 
pl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=Part1_Ge 
tStarted.html > 
mpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=Part1_G 
etStarted.html>>>   
You can pass in data when the component is called, and> even have 
bendable and/or functions that return 
values/objects.>>   
Shan>>  
>>   From: flexcoders@yahoogroups.com> 
[mailto:flexcoders@yahoogroups.com] On 
Behalf Of hank williams >   Sent: 
Friday, June 23, 2006 8:10 AM>   
To: flexcoders@yahoogroups.com>   
Subject: [Junk E-Mail - LOW] [flexcoders] Another> simple flex newbie 
question 
>   
How do you modularize 
MXML.>>   In actionscript we 
import classes, and each class> represents some conceptual chunk, but 
I am not sure what the> equivalent is in MXML. 
>>   I have been looking at 
lots of code examples, but they> are all small. This has been very 
helpful in learning how> APIs work, but I am on the edge of my two 
day project feeling> bloated and unmodular. 
>>   I am sure, lots of 
people will say the answer is> cairngorm, but for right now I want to 
learn MXML "raw"> before adding another layer on top of 
it.>>   Thanks 
>   
Hank   
-->   No virus found in this 
incoming message.>   Checked by AVG 
Free Edition.>   Version: 7.1.394 / 
Virus Database: 268.9.2/372 - > Release Date: 
6/21/2006>>>   
-->   No virus found in this 
outgoing message.>   Checked by AVG 
Free Edition.>   Version: 7.1.394 / 
Virus Database: 268.9.2/372 -> Release Date: 
6/21/2006> 
Yahoo! Groups Sponsor ~-->Something is new at 
Yahoo! Groups.  Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM
~->--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/ 
<*> 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 si

RE: [flexcoders] Difference between two dates

2006-06-23 Thread Daniel Tuppeny





I wouldn't disagree!
 
There seems to be no useful functions for manipulating 
dates. They should copy all the methods and properties from the .NET DateTime 
class :o)


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Pan 
TroglodytesSent: 23 June 2006 16:02To: 
flexcoders@yahoogroups.comSubject: Re: [flexcoders] Difference 
between two dates
I swear, I really think the date class was designed by a crazy 
man.  You hear that Adobe? - CRAZY! :D
On 6/23/06, Daniel 
Tuppeny < 
[EMAIL PROTECTED]> wrote:

  
  
  
  
  
  
  I was 
  using .day instead of .date
   
  TFI 
  Friday! =)
  
  
  From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Daniel 
  TuppenySent: 23 June 2006 15:33To: flexcoders@yahoogroups.comSubject: RE: 
  [flexcoders] Difference between two dates
  
  
  I think I 
  need more coffee
   
  The 
  following code (which I'm sure is correct!), returns around 2.8 when I'm 
  expecting around 3.2. Anyone spot my error?
   
   
   
  public 
  static function getMonths(startDate:Date, 
  endDate:Date):Number  {   if (startDate > 
  endDate)   {var tmp:Date = 
  endDate;endDate = 
  startDate;startDate = 
  tmp;   }  var 
  numMonths:Number = 0;  // Get number 
  of months in years   numMonths += (endDate.fullYear - 
  startDate.fullYear) * 12   numMonths += endDate.month - 
  startDate.month;   numMonths += (endDate.day - 
  startDate.day) / 30; // This needs 
  fixing  return 
  numMonths;  }__This 
  email has been scanned by the MessageLabs Email Security System.For more 
  information please visit http://www.messagelabs.com/email 
  __
  [Inbound Mail Scanned by MessageLabs]
  __This 
  email has been scanned by the MessageLabs Email Security System.For more 
  information please visit http://www.messagelabs.com/email 
  __
  
  -- Jason  [Inbound Mail Scanned by 
MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
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] Background Gradient??

2006-06-23 Thread Peter Baird
Title: Re: [flexcoders] Background Gradient??





I assume you mean a background gradient for the application.

In flex 1.5 there is, unfortunately, no property that you can set to have a background gradient color other than the default (there is in Flex 2.0).

However, that doesn’t mean you can’t have a background gradient, it just means it will take a little work.  On 1.5 projects in the past, we have create a simple gradient in flash authoring and exported it as a swf.  The resulting swf is usually smaller that 1K and can be set as the backgroundImage (be sure to set backgroundSize to 100% also).  

Otherwise, you can look into programmatically creating a gradient with ActionScript, which would be a quite bit more work, but you wouldn’t have to rely on bringing in a whole swf.

Hope that helps,

-Peter


On 6/22/06 5:33 PM, "Erich Cervantez" <[EMAIL PROTECTED]> wrote:

 
 
 

Howdy folks, quick noob question:  working in Flex 1.5, and I’d like to have a 2-color gradient for the background color (rather than the default gray, or some other solid color).  I think I understand that you can have a backgroundImage attribute or a backgroundColor attribute but not both.  And the “fillColors” attribute will assist in tinting the background color (or image?).  Hmm, anyway, I can’t get a gradient going…anyone know of a trick or am I forced to create a background image anyway?
 
E
 
 
 
 
 



/ \®   PETER BAIRD
888/   \888    User Experience Consultant
88/  /  \88    Adobe Consulting | Adobe Systems, Inc
8/  /8\  \8    275 Grove St. Newton, MA
/  /888\  \    Office: 617.219.2126 | Cell: 617.803.6804
  \8\  AIM: pbaird00 | Y!IM: pbaird00




__._,_.___





--
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 - LOW] [flexcoders] Another simple flex newbie question

2006-06-23 Thread hank williams



Sorry, that is what I was doing. I just misstyped the email. And that isnt working.HankOn 6/23/06, Shannon Hicks <
[EMAIL PROTECTED]> wrote:








You want to use:
 
xmlns:mx="MyComponents/*
 
Shan


From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of hank 
williamsSent: Friday, June 23, 2006 10:03 AM
To: 
flexcoders@yahoogroups.comSubject: Re: [Junk E-Mail - LOW] 
[flexcoders] Another simple flex newbie question


Thanks. One last question on this. I have no problem defining how to put a 
component in the same directory and using MyComp="*", but if I want to put it in 
a sub directory, MyComp="MyComponents" is not working. The MyComponents 
directory is now at the same level as the main app. Any ideas? 
ThanksHank
On 6/23/06, Matt Horn 
<[EMAIL PROTECTED]> wrote:
You can use anything when you 
  define a namespace. You need to matchwhatever you use in your mxml tags; 
  for example, if you name it fred,then you reference the ButtonComp control 
  with a "fred" prefix:http://www.adobe.com/2006/mxml"xmlns:Fred="*"> In this 
  case, the file ButtonComp.mxml is in the same directory as theapp that 
  references it. The entire file can consist of something assimple 
  as:http://www.adobe.com/2006/mxml"/>hth,
matt 
  hornflex docs> -Original Message-> From: flexcoders@yahoogroups.com
> 
  [mailto:flexcoders@yahoogroups.com] On 
  Behalf Of hank williams> Sent: Friday, June 23, 2006 10:19 AM> 
  To: flexcoders@yahoogroups.com> 
  Subject: Re: [Junk E-Mail - LOW] [flexcoders] Another simple> flex 
  newbie question>> Ok, so in looking at the docs, to include a 
  directory you> use xmlns:MyComp="*" >> This should as I 
  understand it include everything from the> main app 
  directory.>> Is MyComp a reserved word that is the holder of the 
  directory> path, or could you use other words here instead of MyComp. 
  >> Thanks> Hank>>> On 6/23/06, 
  Shannon Hicks <[EMAIL PROTECTED]> 
  wrote:>>   You want to use 
  MXML components...> >> http://livedocs.macromedia.com/labs/1/flex20beta3/wwhelp/wwhim
> 
  pl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=Part1_Ge 
  tStarted.html > 
  mpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=Part1_G 
  etStarted.html>>>   You 
  can pass in data when the component is called, and> even have bendable 
  and/or functions that return 
  values/objects.>>   
  Shan>>  
  >>   From: flexcoders@yahoogroups.com> 
  [mailto:flexcoders@yahoogroups.com] On 
  Behalf Of hank williams >   Sent: 
  Friday, June 23, 2006 8:10 AM>   To: 
  flexcoders@yahoogroups.com>   
  Subject: [Junk E-Mail - LOW] [flexcoders] Another> simple flex newbie 
  question 
  >   
  How do you modularize 
  MXML.>>   In actionscript we 
  import classes, and each class> represents some conceptual chunk, but I 
  am not sure what the> equivalent is in MXML. 
  >>   I have been looking at 
  lots of code examples, but they> are all small. This has been very 
  helpful in learning how> APIs work, but I am on the edge of my two day 
  project feeling> bloated and unmodular. 
  >>   I am sure, lots of people 
  will say the answer is> cairngorm, but for right now I want to learn 
  MXML "raw"> before adding another layer on top of 
  it.>>   Thanks 
  >   
  Hank   
  -->   No virus found in this incoming 
  message.>   Checked by AVG Free 
  Edition.>   Version: 7.1.394 / Virus 
  Database: 268.9.2/372 - > Release Date: 
  6/21/2006>>>   
  -->   No virus found in this outgoing 
  message.>   Checked by AVG Free 
  Edition.>   Version: 7.1.394 / Virus 
  Database: 268.9.2/372 -> Release Date: 
  6/21/2006> 
  Yahoo! Groups Sponsor ~-->Something is new at 
  Yahoo! Groups.  Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM
~->--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/ 
  <*> 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/


--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.9.2/372 - Release Date: 
6/21/2006




--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.2/372 - Release Date: 6/21/2006
 



__._,_.___





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

[flexcoders] Re: Background Gradient??

2006-06-23 Thread Renaun Erickson
Gradient colors in Flex's CSS are done like this:
header-colors:#636B73,#F4F5F7;

But if you give "background-color" multiple color values it nulls the
value.
I tried with no luck,
background-colors:#636B73,#F4F5F7;


--- In flexcoders@yahoogroups.com, "Erich Cervantez" <[EMAIL PROTECTED]>
wrote:
>
> Howdy folks, quick noob question:  working in Flex 1.5, and I'd like
to have
> a 2-color gradient for the background color (rather than the default
gray,
> or some other solid color).  I think I understand that you can have a
> backgroundImage attribute or a backgroundColor attribute but not
both.  And
> the "fillColors" attribute will assist in tinting the background
color (or
> image?).  Hmm, anyway, I can't get a gradient going.anyone know of a
trick
> or am I forced to create a background image anyway?
> 
>  
> 
> E
>







 Yahoo! Groups Sponsor ~--> 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/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

<*> 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] Another simple flex newbie question

2006-06-23 Thread Jean-Luc ESSER





Slash notation ???!!!
Is that actually working ?
 
Anyway, you should use dot notation, as said 
previously.
To add to my previous post, if you wish to go down 
several directories, you keep using dot notation :
MyDir1.MyDir2.* for example. Be carefull about case 
sensitive.
 
Best,
Jean-Luc.
 
 

  - Original Message - 
  From: 
  Shannon Hicks 
  
  To: flexcoders@yahoogroups.com 
  Sent: Friday, June 23, 2006 5:08 PM
  Subject: RE: [Junk E-Mail - LOW] 
  [flexcoders] Another simple flex newbie question
  
  
  
  You want to use:
   
  xmlns:mx="MyComponents/*
   
  Shan
  
  
  From: flexcoders@yahoogroups.com 
  [mailto:[EMAIL PROTECTED] On Behalf Of hank 
  williamsSent: Friday, June 23, 2006 10:03 AMTo: flexcoders@yahoogroups.comSubject: 
  Re: [Junk E-Mail - LOW] [flexcoders] Another simple flex newbie 
  question
  
  
  Thanks. One last question on this. I have no problem defining how to put a 
  component in the same directory and using MyComp="*", but if I want to put it 
  in a sub directory, MyComp="MyComponents" is not working. The MyComponents 
  directory is now at the same level as the main app. Any ideas? 
  ThanksHank
  On 6/23/06, Matt 
  Horn <[EMAIL PROTECTED]> 
  wrote: 
  You can use anything when 
you define a namespace. You need to matchwhatever you use in your mxml 
tags; for example, if you name it fred,then you reference the ButtonComp 
control with a "fred" prefix:http://www.adobe.com/2006/mxml"xmlns:Fred="*"> In 
this case, the file ButtonComp.mxml is in the same directory as theapp 
that references it. The entire file can consist of something assimple 
as:http://www.adobe.com/2006/mxml"/>hth,matt 
hornflex docs> -Original Message-> From: flexcoders@yahoogroups.com> 
[mailto:flexcoders@yahoogroups.com] On 
Behalf Of hank williams> Sent: Friday, June 23, 2006 10:19 AM> 
To: flexcoders@yahoogroups.com> 
Subject: Re: [Junk E-Mail - LOW] [flexcoders] Another simple> flex 
newbie question>> Ok, so in looking at the docs, to include a 
directory you> use xmlns:MyComp="*" >> This should as I 
understand it include everything from the> main app 
directory.>> Is MyComp a reserved word that is the holder of 
the directory> path, or could you use other words here instead of 
MyComp. >> Thanks> Hank>>> On 
6/23/06, Shannon Hicks <[EMAIL PROTECTED]> 
wrote:>>   You want to use 
MXML components...> >> http://livedocs.macromedia.com/labs/1/flex20beta3/wwhelp/wwhim> 
pl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=Part1_Ge 
tStarted.html > 
mpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=Part1_G 
etStarted.html>>>   
You can pass in data when the component is called, and> even have 
bendable and/or functions that return 
values/objects.>>   
Shan>>  
>>   From: flexcoders@yahoogroups.com> 
[mailto:flexcoders@yahoogroups.com] On 
Behalf Of hank williams >   Sent: 
Friday, June 23, 2006 8:10 AM>   
To: flexcoders@yahoogroups.com>   
Subject: [Junk E-Mail - LOW] [flexcoders] Another> simple flex newbie 
question 
>   
How do you modularize 
MXML.>>   In actionscript we 
import classes, and each class> represents some conceptual chunk, but 
I am not sure what the> equivalent is in MXML. 
>>   I have been looking at 
lots of code examples, but they> are all small. This has been very 
helpful in learning how> APIs work, but I am on the edge of my two 
day project feeling> bloated and unmodular. 
>>   I am sure, lots of 
people will say the answer is> cairngorm, but for right now I want to 
learn MXML "raw"> before adding another layer on top of 
it.>>   Thanks 
>   
Hank   
-->   No virus found in this 
incoming message.>   Checked by AVG 
Free Edition.>   Version: 7.1.394 / 
Virus Database: 268.9.2/372 - > Release Date: 
6/21/2006>>>   
-->   No virus found in this 
outgoing message.>   Checked by AVG 
Free Edition.>   Version: 7.1.394 / 
Virus Database: 268.9.2/372 -> Release Date: 
6/21/2006> 
Yahoo! Groups Sponsor ~-->Something is new at 
Yahoo! Groups.  Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM~->--Flexcoders 
Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links<*> To visit your group on the web, go 
to:http://groups.yahoo.com/group/flexcoders/ 
<*> To unsubscribe from this group, send an email 
to:[EMA

RE: [Junk E-Mail - LOW] [flexcoders] Another simple flex newbie question

2006-06-23 Thread Shannon Hicks





Jean-Luc is right... it's 
mycomponents.*
 
Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Jean-Luc 
ESSERSent: Friday, June 23, 2006 10:08 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [Junk E-Mail - LOW] 
[flexcoders] Another simple flex newbie question



You'll have to specify .* to get to the files 
inside your directory.
MyComp="MyComponents.*" should work.
 
Jean-Luc.
 

  - Original Message - 
  From: hank williams 
  
  To: flexcoders@yahoogroups.com 
  Sent: Friday, June 23, 2006 5:02 PM
  Subject: Re: [Junk E-Mail - LOW] 
  [flexcoders] Another simple flex newbie question
  
  
  Thanks. One last question on this. I have no problem defining how to put a 
  component in the same directory and using MyComp="*", but if I want to put it 
  in a sub directory, MyComp="MyComponents" is not working. The MyComponents 
  directory is now at the same level as the main app. Any ideas? 
  ThanksHank
  On 6/23/06, Matt 
  Horn <[EMAIL PROTECTED]> 
  wrote: 
  You can use anything when 
you define a namespace. You need to matchwhatever you use in your mxml 
tags; for example, if you name it fred,then you reference the ButtonComp 
control with a "fred" prefix:http://www.adobe.com/2006/mxml"xmlns:Fred="*"> In 
this case, the file ButtonComp.mxml is in the same directory as theapp 
that references it. The entire file can consist of something assimple 
as:http://www.adobe.com/2006/mxml"/>hth,matt 
hornflex docs> -Original Message-> From: flexcoders@yahoogroups.com> 
[mailto:flexcoders@yahoogroups.com] On 
Behalf Of hank williams> Sent: Friday, June 23, 2006 10:19 AM> 
To: flexcoders@yahoogroups.com> 
Subject: Re: [Junk E-Mail - LOW] [flexcoders] Another simple> flex 
newbie question>> Ok, so in looking at the docs, to include a 
directory you> use xmlns:MyComp="*" >> This should as I 
understand it include everything from the> main app 
directory.>> Is MyComp a reserved word that is the holder of 
the directory> path, or could you use other words here instead of 
MyComp. >> Thanks> Hank>>> On 
6/23/06, Shannon Hicks <[EMAIL PROTECTED]> 
wrote:>>   You want to use 
MXML components...> >> http://livedocs.macromedia.com/labs/1/flex20beta3/wwhelp/wwhim> 
pl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=Part1_Ge 
tStarted.html > 
mpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=Part1_G 
etStarted.html>>>   
You can pass in data when the component is called, and> even have 
bendable and/or functions that return 
values/objects.>>   
Shan>>  
>>   From: flexcoders@yahoogroups.com> 
[mailto:flexcoders@yahoogroups.com] On 
Behalf Of hank williams >   Sent: 
Friday, June 23, 2006 8:10 AM>   
To: flexcoders@yahoogroups.com>   
Subject: [Junk E-Mail - LOW] [flexcoders] Another> simple flex newbie 
question 
>   
How do you modularize 
MXML.>>   In actionscript we 
import classes, and each class> represents some conceptual chunk, but 
I am not sure what the> equivalent is in MXML. 
>>   I have been looking at 
lots of code examples, but they> are all small. This has been very 
helpful in learning how> APIs work, but I am on the edge of my two 
day project feeling> bloated and unmodular. 
>>   I am sure, lots of 
people will say the answer is> cairngorm, but for right now I want to 
learn MXML "raw"> before adding another layer on top of 
it.>>   Thanks 
>   
Hank   
-->   No virus found in this 
incoming message.>   Checked by AVG 
Free Edition.>   Version: 7.1.394 / 
Virus Database: 268.9.2/372 - > Release Date: 
6/21/2006>>>   
-->   No virus found in this 
outgoing message.>   Checked by AVG 
Free Edition.>   Version: 7.1.394 / 
Virus Database: 268.9.2/372 -> Release Date: 
6/21/2006> 
Yahoo! Groups Sponsor ~-->Something is new at 
Yahoo! Groups.  Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM~->--Flexcoders 
Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links<*> To visit your group on the web, go 
to:http://groups.yahoo.com/group/flexcoders/ 
<*> To unsubscribe from this group, send an email 
to:[EMAIL PROTECTED]<*> 
Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
  

--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 

RE: [Junk E-Mail - LOW] [flexcoders] Another simple flex newbie question

2006-06-23 Thread Shannon Hicks





You want to use:
 
xmlns:mx="MyComponents/*
 
Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of hank 
williamsSent: Friday, June 23, 2006 10:03 AMTo: 
flexcoders@yahoogroups.comSubject: Re: [Junk E-Mail - LOW] 
[flexcoders] Another simple flex newbie question


Thanks. One last question on this. I have no problem defining how to put a 
component in the same directory and using MyComp="*", but if I want to put it in 
a sub directory, MyComp="MyComponents" is not working. The MyComponents 
directory is now at the same level as the main app. Any ideas? 
ThanksHank
On 6/23/06, Matt Horn 
<[EMAIL PROTECTED]> wrote:
You can use anything when you 
  define a namespace. You need to matchwhatever you use in your mxml tags; 
  for example, if you name it fred,then you reference the ButtonComp control 
  with a "fred" prefix:http://www.adobe.com/2006/mxml"xmlns:Fred="*"> In this 
  case, the file ButtonComp.mxml is in the same directory as theapp that 
  references it. The entire file can consist of something assimple 
  as:http://www.adobe.com/2006/mxml"/>hth,matt 
  hornflex docs> -Original Message-> From: flexcoders@yahoogroups.com> 
  [mailto:flexcoders@yahoogroups.com] On 
  Behalf Of hank williams> Sent: Friday, June 23, 2006 10:19 AM> 
  To: flexcoders@yahoogroups.com> 
  Subject: Re: [Junk E-Mail - LOW] [flexcoders] Another simple> flex 
  newbie question>> Ok, so in looking at the docs, to include a 
  directory you> use xmlns:MyComp="*" >> This should as I 
  understand it include everything from the> main app 
  directory.>> Is MyComp a reserved word that is the holder of the 
  directory> path, or could you use other words here instead of MyComp. 
  >> Thanks> Hank>>> On 6/23/06, 
  Shannon Hicks <[EMAIL PROTECTED]> 
  wrote:>>   You want to use 
  MXML components...> >> http://livedocs.macromedia.com/labs/1/flex20beta3/wwhelp/wwhim> 
  pl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=Part1_Ge 
  tStarted.html > 
  mpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=Part1_G 
  etStarted.html>>>   You 
  can pass in data when the component is called, and> even have bendable 
  and/or functions that return 
  values/objects.>>   
  Shan>>  
  >>   From: flexcoders@yahoogroups.com> 
  [mailto:flexcoders@yahoogroups.com] On 
  Behalf Of hank williams >   Sent: 
  Friday, June 23, 2006 8:10 AM>   To: 
  flexcoders@yahoogroups.com>   
  Subject: [Junk E-Mail - LOW] [flexcoders] Another> simple flex newbie 
  question 
  >   
  How do you modularize 
  MXML.>>   In actionscript we 
  import classes, and each class> represents some conceptual chunk, but I 
  am not sure what the> equivalent is in MXML. 
  >>   I have been looking at 
  lots of code examples, but they> are all small. This has been very 
  helpful in learning how> APIs work, but I am on the edge of my two day 
  project feeling> bloated and unmodular. 
  >>   I am sure, lots of people 
  will say the answer is> cairngorm, but for right now I want to learn 
  MXML "raw"> before adding another layer on top of 
  it.>>   Thanks 
  >   
  Hank   
  -->   No virus found in this incoming 
  message.>   Checked by AVG Free 
  Edition.>   Version: 7.1.394 / Virus 
  Database: 268.9.2/372 - > Release Date: 
  6/21/2006>>>   
  -->   No virus found in this outgoing 
  message.>   Checked by AVG Free 
  Edition.>   Version: 7.1.394 / Virus 
  Database: 268.9.2/372 -> Release Date: 
  6/21/2006> 
  Yahoo! Groups Sponsor ~-->Something is new at 
  Yahoo! Groups.  Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM~->--Flexcoders 
  Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
  Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
  Groups Links<*> To visit your group on the web, go 
  to:http://groups.yahoo.com/group/flexcoders/ 
  <*> To unsubscribe from this group, send an email 
  to:[EMAIL PROTECTED]<*> 
  Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.9.2/372 - Release Date: 
6/21/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
  
 

Re: [Junk E-Mail - LOW] [flexcoders] Another simple flex newbie question

2006-06-23 Thread Jean-Luc ESSER





You'll have to specify .* to get to the files 
inside your directory.
MyComp="MyComponents.*" should work.
 
Jean-Luc.
 

  - Original Message - 
  From: 
  hank williams 
  
  To: flexcoders@yahoogroups.com 
  Sent: Friday, June 23, 2006 5:02 PM
  Subject: Re: [Junk E-Mail - LOW] 
  [flexcoders] Another simple flex newbie question
  
  
  Thanks. One last question on this. I have no problem defining how to put a 
  component in the same directory and using MyComp="*", but if I want to put it 
  in a sub directory, MyComp="MyComponents" is not working. The MyComponents 
  directory is now at the same level as the main app. Any ideas? 
  ThanksHank
  On 6/23/06, Matt 
  Horn <[EMAIL PROTECTED]> 
  wrote:
  You can use anything when 
you define a namespace. You need to matchwhatever you use in your mxml 
tags; for example, if you name it fred,then you reference the ButtonComp 
control with a "fred" prefix:http://www.adobe.com/2006/mxml"xmlns:Fred="*"> In 
this case, the file ButtonComp.mxml is in the same directory as theapp 
that references it. The entire file can consist of something assimple 
as:http://www.adobe.com/2006/mxml"/>hth,matt 
hornflex docs> -Original Message-> From: flexcoders@yahoogroups.com> 
[mailto:flexcoders@yahoogroups.com] On 
Behalf Of hank williams> Sent: Friday, June 23, 2006 10:19 AM> 
To: flexcoders@yahoogroups.com> 
Subject: Re: [Junk E-Mail - LOW] [flexcoders] Another simple> flex 
newbie question>> Ok, so in looking at the docs, to include a 
directory you> use xmlns:MyComp="*" >> This should as I 
understand it include everything from the> main app 
directory.>> Is MyComp a reserved word that is the holder of 
the directory> path, or could you use other words here instead of 
MyComp. >> Thanks> Hank>>> On 
6/23/06, Shannon Hicks <[EMAIL PROTECTED]> 
wrote:>>   You want to use 
MXML components...> >> http://livedocs.macromedia.com/labs/1/flex20beta3/wwhelp/wwhim> 
pl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=Part1_Ge 
tStarted.html > 
mpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=Part1_G 
etStarted.html>>>   
You can pass in data when the component is called, and> even have 
bendable and/or functions that return 
values/objects.>>   
Shan>>  
>>   From: flexcoders@yahoogroups.com> 
[mailto:flexcoders@yahoogroups.com] On 
Behalf Of hank williams >   Sent: 
Friday, June 23, 2006 8:10 AM>   
To: flexcoders@yahoogroups.com>   
Subject: [Junk E-Mail - LOW] [flexcoders] Another> simple flex newbie 
question 
>   
How do you modularize 
MXML.>>   In actionscript we 
import classes, and each class> represents some conceptual chunk, but 
I am not sure what the> equivalent is in MXML. 
>>   I have been looking at 
lots of code examples, but they> are all small. This has been very 
helpful in learning how> APIs work, but I am on the edge of my two 
day project feeling> bloated and unmodular. 
>>   I am sure, lots of 
people will say the answer is> cairngorm, but for right now I want to 
learn MXML "raw"> before adding another layer on top of 
it.>>   Thanks 
>   
Hank   
-->   No virus found in this 
incoming message.>   Checked by AVG 
Free Edition.>   Version: 7.1.394 / 
Virus Database: 268.9.2/372 - > Release Date: 
6/21/2006>>>   
-->   No virus found in this 
outgoing message.>   Checked by AVG 
Free Edition.>   Version: 7.1.394 / 
Virus Database: 268.9.2/372 -> Release Date: 
6/21/2006> 
Yahoo! Groups Sponsor ~-->Something is new at 
Yahoo! Groups.  Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM~->--Flexcoders 
Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch 
Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links<*> To visit your group on the web, go 
to:http://groups.yahoo.com/group/flexcoders/ 
<*> To unsubscribe from this group, send an email 
to:[EMAIL PROTECTED]<*> 
Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
  
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
 

Re: [Junk E-Mail - LOW] [flexcoders] Another simple flex newbie question

2006-06-23 Thread hank williams



Thanks. One last question on this. I have no problem defining how to put a component in the same directory and using MyComp="*", but if I want to put it in a sub directory, MyComp="MyComponents" is not working. The MyComponents directory is now at the same level as the main app. Any ideas?
ThanksHankOn 6/23/06, Matt Horn <[EMAIL PROTECTED]> wrote:
You can use anything when you define a namespace. You need to matchwhatever you use in your mxml tags; for example, if you name it fred,then you reference the ButtonComp control with a "fred" prefix:
http://www.adobe.com/2006/mxml"xmlns:Fred="*">
In this case, the file ButtonComp.mxml is in the same directory as theapp that references it. The entire file can consist of something assimple as:http://www.adobe.com/2006/mxml"/>hth,matt hornflex docs> -Original Message-> From: 
flexcoders@yahoogroups.com> [mailto:flexcoders@yahoogroups.com] On Behalf Of hank williams> Sent: Friday, June 23, 2006 10:19 AM> To: 
flexcoders@yahoogroups.com> Subject: Re: [Junk E-Mail - LOW] [flexcoders] Another simple> flex newbie question>> Ok, so in looking at the docs, to include a directory you> use xmlns:MyComp="*"
>> This should as I understand it include everything from the> main app directory.>> Is MyComp a reserved word that is the holder of the directory> path, or could you use other words here instead of MyComp.
>> Thanks> Hank>>> On 6/23/06, Shannon Hicks <[EMAIL PROTECTED]> wrote:>>   You want to use MXML components...>
>> http://livedocs.macromedia.com/labs/1/flex20beta3/wwhelp/wwhim> pl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=Part1_Ge
tStarted.html > mpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=Part1_G
etStarted.html>>>   You can pass in data when the component is called, and> even have bendable and/or functions that return values/objects.>>   Shan>> 
>>   From: flexcoders@yahoogroups.com> [mailto:flexcoders@yahoogroups.com] On Behalf Of hank williams
>   Sent: Friday, June 23, 2006 8:10 AM>   To: flexcoders@yahoogroups.com>   Subject: [Junk E-Mail - LOW] [flexcoders] Another> simple flex newbie question
>   How do you modularize MXML.>>   In actionscript we import classes, and each class> represents some conceptual chunk, but I am not sure what the> equivalent is in MXML.
>>   I have been looking at lots of code examples, but they> are all small. This has been very helpful in learning how> APIs work, but I am on the edge of my two day project feeling> bloated and unmodular.
>>   I am sure, lots of people will say the answer is> cairngorm, but for right now I want to learn MXML "raw"> before adding another layer on top of it.>>   Thanks
>   Hank   -->   No virus found in this incoming message.>   Checked by AVG Free Edition.>   Version: 7.1.394 / Virus Database: 268.9.2/372 -
> Release Date: 6/21/2006>>>   -->   No virus found in this outgoing message.>   Checked by AVG Free Edition.>   Version: 7.1.394
 / Virus Database: 268.9.2/372 -> Release Date: 6/21/2006> Yahoo! Groups Sponsor ~-->Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM~->--
Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: 
http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links<*> To visit your group on the web, go to:http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:[EMAIL PROTECTED]<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/

__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
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] Difference between two dates

2006-06-23 Thread Pan Troglodytes



I swear, I really think the date class was designed by a crazy man.  You hear that Adobe? - CRAZY! :DOn 6/23/06, Daniel Tuppeny <
[EMAIL PROTECTED]> wrote:








  






I was using .day instead of .date
 
TFI Friday! =)


From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of Daniel 
TuppenySent: 23 June 2006 15:33To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Difference 
between two dates

I think I need more coffee
 
The following code (which I'm sure is correct!), 
returns around 2.8 when I'm expecting around 3.2. Anyone spot my 
error?
 
 
 
public static function getMonths(startDate:Date, 
endDate:Date):Number  {   if (startDate > 
endDate)   {var tmp:Date = 
endDate;endDate = 
startDate;startDate = 
tmp;   }  var 
numMonths:Number = 0;  // Get number 
of months in years   numMonths += (endDate.fullYear - 
startDate.fullYear) * 12   numMonths += endDate.month - 
startDate.month;   numMonths += (endDate.day - startDate.day) 
/ 30; // This needs fixing  return 
numMonths;  }__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__ [Inbound Mail Scanned by 
MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


  













-- 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] Flashpaper and Flex 2 bug

2006-06-23 Thread Michael van Leest
Hi,

Is there any progress on the FlashPaper bug in Flex 2?
I've tried to load the flashpaper swf, but some functionalities don't 
work (search, selection etc).

Thanks,

Michael


 Yahoo! Groups Sponsor ~--> 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/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

<*> 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] Difference between two dates

2006-06-23 Thread Daniel Tuppeny





I was using .day instead of .date
 
TFI Friday! =)


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Daniel 
TuppenySent: 23 June 2006 15:33To: 
flexcoders@yahoogroups.comSubject: RE: [flexcoders] Difference 
between two dates

I think I need more coffee
 
The following code (which I'm sure is correct!), 
returns around 2.8 when I'm expecting around 3.2. Anyone spot my 
error?
 
 
 
public static function getMonths(startDate:Date, 
endDate:Date):Number  {   if (startDate > 
endDate)   {var tmp:Date = 
endDate;endDate = 
startDate;startDate = 
tmp;   }  var 
numMonths:Number = 0;  // Get number 
of months in years   numMonths += (endDate.fullYear - 
startDate.fullYear) * 12   numMonths += endDate.month - 
startDate.month;   numMonths += (endDate.day - startDate.day) 
/ 30; // This needs fixing  return 
numMonths;  }__This 
email has been scanned by the MessageLabs Email Security System.For more 
information please visit http://www.messagelabs.com/email 
__ [Inbound Mail Scanned by 
MessageLabs]

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
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 - LOW] [flexcoders] Another simple flex newbie question

2006-06-23 Thread Matt Horn
You can use anything when you define a namespace. You need to match
whatever you use in your mxml tags; for example, if you name it fred,
then you reference the ButtonComp control with a "fred" prefix:


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





In this case, the file ButtonComp.mxml is in the same directory as the
app that references it. The entire file can consist of something as
simple as:

http://www.adobe.com/2006/mxml"/>

hth,

matt horn
flex docs

> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of hank williams
> Sent: Friday, June 23, 2006 10:19 AM
> To: flexcoders@yahoogroups.com
> Subject: Re: [Junk E-Mail - LOW] [flexcoders] Another simple 
> flex newbie question
> 
> Ok, so in looking at the docs, to include a directory you  
> use xmlns:MyComp="*"
> 
> This should as I understand it include everything from the 
> main app directory.
> 
> Is MyComp a reserved word that is the holder of the directory 
> path, or could you use other words here instead of MyComp. 
> 
> Thanks
> Hank
> 
> 
> On 6/23/06, Shannon Hicks <[EMAIL PROTECTED]> wrote:
> 
>   You want to use MXML components...
>
>   
> http://livedocs.macromedia.com/labs/1/flex20beta3/wwhelp/wwhim
> pl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=Part1_Ge
tStarted.html >
 mpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=Part1_G
etStarted.html> 
>
>   You can pass in data when the component is called, and 
> even have bendable and/or functions that return values/objects.
>
>   Shan
> 
> 
> 
>   From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of hank williams
>   Sent: Friday, June 23, 2006 8:10 AM
>   To: flexcoders@yahoogroups.com
>   Subject: [Junk E-Mail - LOW] [flexcoders] Another 
> simple flex newbie question
>   
>   
>   
> 
>   How do you modularize MXML.
>   
>   In actionscript we import classes, and each class 
> represents some conceptual chunk, but I am not sure what the 
> equivalent is in MXML.
>   
>   I have been looking at lots of code examples, but they 
> are all small. This has been very helpful in learning how 
> APIs work, but I am on the edge of my two day project feeling 
> bloated and unmodular. 
>   
>   I am sure, lots of people will say the answer is 
> cairngorm, but for right now I want to learn MXML "raw" 
> before adding another layer on top of it.
>   
>   Thanks
>   Hank
>   
> 
> 
>   --
>   No virus found in this incoming message.
>   Checked by AVG Free Edition.
>   Version: 7.1.394 / Virus Database: 268.9.2/372 - 
> Release Date: 6/21/2006
>   
> 
>   
>   
>   
> 
>   --
>   No virus found in this outgoing message.
>   Checked by AVG Free Edition.
>   Version: 7.1.394 / Virus Database: 268.9.2/372 - 
> Release Date: 6/21/2006
>   
> 
> 
>  
> 


 Yahoo! Groups Sponsor ~--> 
Something is new at Yahoo! Groups.  Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/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

<*> 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] Difference between two dates

2006-06-23 Thread Daniel Tuppeny





I think I need more coffee
 
The following code (which I'm sure is correct!), 
returns around 2.8 when I'm expecting around 3.2. Anyone spot my 
error?
 
 
 
public static function getMonths(startDate:Date, 
endDate:Date):Number  {   if (startDate > 
endDate)   {var tmp:Date = 
endDate;endDate = 
startDate;startDate = 
tmp;   }  var 
numMonths:Number = 0;  // Get number 
of months in years   numMonths += (endDate.fullYear - 
startDate.fullYear) * 12   numMonths += endDate.month - 
startDate.month;   numMonths += (endDate.day - startDate.day) 
/ 30; // This needs fixing  return 
numMonths;  }

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
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] selectedDate not set after choosing a date from DateChooser

2006-06-23 Thread Pan Troglodytes



Can you post your code somewhere?  I am using DateField's selectedDate property with no problems.On 6/23/06, Bas J. Brey <
[EMAIL PROTECTED]> wrote:








  











I set the selectedDate of a DateField, this works. But
when I choose a date from the connected DateChooser the selectedDate is set to
null. Can anyone verify this? I'm now forced to parse the text from the
DateField.

 

 







  













-- 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] Difference between two dates

2006-06-23 Thread Daniel Tuppeny






I'm struggling to 
get the difference between two dates in months...
 
I want to input 
something like Jan 1st and July 18th, and get something like 7.5 
out.
 
I tried using 
.getTime() and then creating a date from the result, but that's not accurate 
because of variable length months. I then wrote the below, but it only works for 
whole months (and I need decimals).
 
It would've taken me 
seconds in C# (DateTime - DateTime = Timespan), but I can't find any useful 
methods in Flex. Am I missing something simple?
 
 
 
if (startDate > 
endDate)   {var tmp:Date = 
endDate;endDate = 
startDate;startDate = 
endDate;   }  var 
numMonths:Number = 0;  while 
(startDate <= 
endDate)   {numMonths++;trace(startDate.month);if 
(startDate.month == 
12){ trace("reset"); startDate.fullYear++; startDate.month 
-= 
12;}else trace("inc"); startDate.month++;   }  return 
numMonths;


The information contained in this e-mail and/or any attachments is confidential and intended only for the individual(s) to which it is addressed. If you are not named as an addressee you must not disclose, copy or take any action in reliance of this transmission. This e-mail and its attachments have been scanned for viruses by MessageLabs Ltd.




 



__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

__._,_.___





--
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 - LOW] [flexcoders] Another simple flex newbie question

2006-06-23 Thread hank williams



Ok, so in looking at the docs, to include a directory you  use xmlns:MyComp="*"This should as I understand it include everything from the main app directory.Is MyComp a reserved word that is the holder of the directory path, or could you use other words here instead of MyComp.
ThanksHankOn 6/23/06, Shannon Hicks <[EMAIL PROTECTED]> wrote:









You want to use MXML components...
 

http://livedocs.macromedia.com/labs/1/flex20beta3/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=Part1_GetStarted.html
 
You can pass in data when the component is called, and even 
have bendable and/or functions that return values/objects.
 
Shan


From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of hank 
williamsSent: Friday, June 23, 2006 8:10 AMTo: 
flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] [flexcoders] 
Another simple flex newbie question


How do you modularize MXML.In actionscript we import classes, and 
each class represents some conceptual chunk, but I am not sure what the 
equivalent is in MXML.I have been looking at lots of code examples, but 
they are all small. This has been very helpful in learning how APIs work, but I 
am on the edge of my two day project feeling bloated and unmodular. I am 
sure, lots of people will say the answer is cairngorm, but for right now I want 
to learn MXML "raw" before adding another layer on top of 
it.ThanksHank
--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.9.2/372 - Release Date: 
6/21/2006




--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.2/372 - Release Date: 6/21/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] e4x adding attributes across members.

2006-06-23 Thread Matt Horn
Here's a basic example using for each:


http://www.adobe.com/2006/mxml";>




 
hth,

matt horn
flex docs 

> -Original Message-
> From: flexcoders@yahoogroups.com 
> [mailto:[EMAIL PROTECTED] On Behalf Of coder_flex
> Sent: Thursday, June 22, 2006 10:49 PM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] e4x adding attributes across members.
> 
> If my xml structure looks like this:
> 
> var inputXML:XML =
> 
>  quantity="2"/>
>  quantity="4"/>
>  quantity="5"/>
> ;
> 
> I wanted an e4x expression to get the total of price*quantity 
> across all the books.
> 
> The way I am trying to achieve this is:
> define a function:
> public function addToTotal(totalObj:Object, 
> perBookTotal:Number):void { totalObj.totalAmt+=perBookTotal; }
> 
> then call the function from e4x expression:
> 
> var totalClass = new Object();
> totalClass.totalAmt = 0;
> 
> inputXML.book.(addToTotal(
> totalClass, Number(@price)*Number(@quantity)));
> trace(totalClass.totalAmt);
> 
> I am in the process of trying this. Is this going to work at 
> all? Or is there a better way of achieving this.
> 
> Thanks in advance for all the help.
> 
> 
> 
>  
> 


 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

<*> 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] Another simple flex newbie question

2006-06-23 Thread hank williams



Thanks. I hadnt looked at MXML components because I thought they were more like flash components(ugh), and thats not how we do code modularity in flash.I appreciate the tip.Hank
On 6/23/06, Shannon Hicks <[EMAIL PROTECTED]> wrote:









You want to use MXML components...
 

http://livedocs.macromedia.com/labs/1/flex20beta3/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=Part1_GetStarted.html
 
You can pass in data when the component is called, and even 
have bendable and/or functions that return values/objects.
 
Shan


From: flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] On Behalf Of hank 
williamsSent: Friday, June 23, 2006 8:10 AMTo: 
flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] [flexcoders] 
Another simple flex newbie question


How do you modularize MXML.In actionscript we import classes, and 
each class represents some conceptual chunk, but I am not sure what the 
equivalent is in MXML.I have been looking at lots of code examples, but 
they are all small. This has been very helpful in learning how APIs work, but I 
am on the edge of my two day project feeling bloated and unmodular. I am 
sure, lots of people will say the answer is cairngorm, but for right now I want 
to learn MXML "raw" before adding another layer on top of 
it.ThanksHank
--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.9.2/372 - Release Date: 
6/21/2006




--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.394 / Virus Database: 268.9.2/372 - Release Date: 6/21/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] Another simple flex newbie question

2006-06-23 Thread Jean-Luc ESSER





The answer is Cairngorm !
(sorry, couldn't resist) :D
 
JL
 

  - Original Message - 
  From: 
  hank williams 
  
  To: flexcoders@yahoogroups.com 
  Sent: Friday, June 23, 2006 3:09 PM
  Subject: [flexcoders] Another simple flex 
  newbie question
  
  
  How do you modularize MXML.In actionscript we import classes, and 
  each class represents some conceptual chunk, but I am not sure what the 
  equivalent is in MXML.I have been looking at lots of code examples, 
  but they are all small. This has been very helpful in learning how APIs work, 
  but I am on the edge of my two day project feeling bloated and unmodular. 
  I am sure, lots of people will say the answer is cairngorm, but for 
  right now I want to learn MXML "raw" before adding another layer on top of 
  it.ThanksHank
__._,_.___





--
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 - LOW] [flexcoders] Another simple flex newbie question

2006-06-23 Thread Shannon Hicks





Oops...
 
Silly spell-checkers. Components are bindable, not 
bendable.
 
Of course, they are FLEX-able... Ha!
 
Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of Shannon 
HicksSent: Friday, June 23, 2006 8:21 AMTo: 
flexcoders@yahoogroups.comSubject: RE: [Junk E-Mail - LOW] 
[flexcoders] Another simple flex newbie question



You want to use MXML components...
 
http://livedocs.macromedia.com/labs/1/flex20beta3/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=Part1_GetStarted.html
 
You can pass in data when the component is called, and even 
have bendable and/or functions that return values/objects.
 
Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of hank 
williamsSent: Friday, June 23, 2006 8:10 AMTo: 
flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] [flexcoders] 
Another simple flex newbie question


How do you modularize MXML.In actionscript we import classes, and 
each class represents some conceptual chunk, but I am not sure what the 
equivalent is in MXML.I have been looking at lots of code examples, but 
they are all small. This has been very helpful in learning how APIs work, but I 
am on the edge of my two day project feeling bloated and unmodular. I am 
sure, lots of people will say the answer is cairngorm, but for right now I want 
to learn MXML "raw" before adding another layer on top of 
it.ThanksHank
--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.9.2/372 - Release Date: 
6/21/2006
--No virus found in this outgoing message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.9.2/372 - Release Date: 
6/21/2006

--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.9.2/372 - Release Date: 
6/21/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.9.2/372 - Release Date: 6/21/2006
 


RE: [Junk E-Mail - LOW] [flexcoders] Another simple flex newbie question

2006-06-23 Thread Shannon Hicks





You want to use MXML components...
 
http://livedocs.macromedia.com/labs/1/flex20beta3/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=Part1_GetStarted.html
 
You can pass in data when the component is called, and even 
have bendable and/or functions that return values/objects.
 
Shan


From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On Behalf Of hank 
williamsSent: Friday, June 23, 2006 8:10 AMTo: 
flexcoders@yahoogroups.comSubject: [Junk E-Mail - LOW] [flexcoders] 
Another simple flex newbie question


How do you modularize MXML.In actionscript we import classes, and 
each class represents some conceptual chunk, but I am not sure what the 
equivalent is in MXML.I have been looking at lots of code examples, but 
they are all small. This has been very helpful in learning how APIs work, but I 
am on the edge of my two day project feeling bloated and unmodular. I am 
sure, lots of people will say the answer is cairngorm, but for right now I want 
to learn MXML "raw" before adding another layer on top of 
it.ThanksHank
--No virus found in this incoming message.Checked by AVG 
Free Edition.Version: 7.1.394 / Virus Database: 268.9.2/372 - Release Date: 
6/21/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.9.2/372 - Release Date: 6/21/2006
 


[flexcoders] Another simple flex newbie question

2006-06-23 Thread hank williams



How do you modularize MXML.In actionscript we import classes, and each class represents some conceptual chunk, but I am not sure what the equivalent is in MXML.I have been looking at lots of code examples, but they are all small. This has been very helpful in learning how APIs work, but I am on the edge of my two day project feeling bloated and unmodular.
I am sure, lots of people will say the answer is cairngorm, but for right now I want to learn MXML "raw" before adding another layer on top of it.ThanksHank

__._,_.___





--
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] SOLUTION IS A BUG ? Re: ExternalInterface Flex 2 FireFox issue.....

2006-06-23 Thread Tom Chiverton
On Friday 23 June 2006 13:43, Daniel Tuppeny wrote:
> "bug compatible with IE"? I don't understand. IE does innerHTML
> correctly. Firefox *completely* changed the structure of the document,

Trust me, it's best not to argue, or we'll do the while document.getElement() 
(or whatever) debate again :-)

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

We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the 
Year at the 2005 Growth Company Awards



 Yahoo! Groups Sponsor ~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/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

<*> 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] SOLUTION IS A BUG ? Re: ExternalInterface Flex 2 FireFox issue.....

2006-06-23 Thread Daniel Tuppeny
> > I also found an awful bug in Firefox as I was doing it (open
attached 
> > as html in Firefox and compare to IE)!
> 
> This is why innerHTML isn't in the standard - trying to be
> bug compatable with IE is a silly game to start :-)

"bug compatible with IE"? I don't understand. IE does innerHTML
correctly. Firefox *completely* changed the structure of the document,
nesting nodes that should be siblings. If they can't make it work, they
should take it out - they shouldn't just leave non-standard buggy code
in there! :(

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


 Yahoo! Groups Sponsor ~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/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

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

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

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





[flexcoders] Flex 2.0 profiling

2006-06-23 Thread Damien Mandrioli










Hi all,

 

I would like to know if a code profiler is envisaged for the
final release of Flex Builder.

I’m experimenting some very strange CPU consumption et
memory leak, is there known performance problems in the beta 3 ?

 

Next I will try to isolate the problem to post it here.

 

Damien




__._,_.___





--
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] Saving DataGrid Items in to Database.

2006-06-23 Thread sreedhar reddy



Hi,    This is Sreedhar. I am working with Flex Builder 2 Beta 3, Java Server Pages, and Sequel 2005.      Actually, I am trying to save entire Datagrid Items in to a table in the database by a Button Click.      I am very thankful, if somebody helps me in this problem.   Thanks & Regards,  SreedharThanks & Regards,Sreedhar 
	

	
		 
Yahoo! India Answers: Share what you know. Learn something new Click here
Catch all the FIFA World Cup 2006 action on Yahoo! India Click here
__._,_.___





--
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: Please Adobe. Unanswered questions, and building the community

2006-06-23 Thread george_w_canada
I'd rather to sit and wait the release day of Flex 2. There's only
several days left (next week?) it will save your time a lot with the
official release but not beta version. You could buy or try it or use
SDK only.

George

--- In flexcoders@yahoogroups.com, "sourcecoderia" <[EMAIL PROTECTED]> wrote:
>
> IMHO a community is not at all built this way, any answer is better 
> then no answer. For developers we ask a question if it goes without 
> response we think either they are ignoring the question, can't be 
> bothered, or it's a bug. Since the first thought is that they can't 
> be bothered we continue to try and find a solution to the problem, 
> until completely frustrated. 
> 
> Theses things are very important (to me at least) when choosing to 
> switch from a dot net development environment to something such as 
> flex. I've been working with flex for a year now, and of course I'm 
> very happy with it, however I feel that the community involvement 
> from adobe is rather lacking. 
> 
> You can't hope to build a solid community that supports it self, we 
> are not the experts, you are. We need your help, and you need our 
> help. But; the communication, and participation in the building of 
> the community has to work both way's. I've answered far more 
> questions then I have had answered, I participated in the alpha 
> testing, I've reported bug's in this forum. All this I'm very willing 
> to do, and continue doing. However your community support people 
> could at least take the time and read the question, and either 
> confirm it as a bug, not possible, or give an idea of where to look. 
> 
> I'm not unhappy with Flex, I'm rather impressed and energized. 
> Learning a new language, and platform is difficult, and time 
> consuming. 
> 
> Why are there no tutorials except the few you have done to get people 
> up to speed, where is all the learn by example stuff, tips, general 
> community building. Surly you can invest in some full time community 
> support personnel.
> 
> Flex is moving Adobe into a developer realm, as apposed to the 
> designer realm. I think if you hope to convince the developer realm 
> (a more demanding task) community involvement from Abode needs to be 
> greatly increased. A couple blog entries a week will not do it. A 
> couple of questions answered here, and there will not do it. We need 
> to see that your behind us, that you want to help us succeed with 
> your product, that you continue to listen, and that you're doing 
> everything humanly possible to help get us up to speed. 
> 
> Flex has the potential to be more then just some other platform. In 
> order to go head to head with MS, and unlock the dedicated developer 
> community they've built, you need to greatly increase your community 
> involvement.
> 
> Hopefully in posting this I've not managed to get on the spam/ignore 
> list of all Adobe support :)
> 
> 
> Here are some example things with no response, I'm sure if asked, 
> every person in this forum could repost at least 1 or 2 unanswered 
> questions. Any answer is better then none.
> 
> Garbage collection and removeChild [Flex 2 beta 3]?
> 
> http://groups.yahoo.com/group/flexcoders/message/40262
> 
> 
> E4X Interpreter:
> 
> http://groups.yahoo.com/group/flexcoders/message/40342?
> threaded=1&var=1&p=1
> 
> I can't get a xml chain to bind here.
> 
> [Bindable]
> public var boundtarget:XML = new XML
> (Jason);
> private var owatch:ChangeWatcher;
>   
> private function Init_TargetBinding():void{
>   //build the array for the property chain
>   owatch = BindingUtils.bindProperty(text1, "text",this,
> [ "boundtarget","namex"]);
>   trace(owatch.isWatching());
> }
> 
> 
> 
> as well as being able to do the below
> 
> BindingUtils.bindProperty( txtField, "text", this, 
> ["xdata","item","(@id=='3456')","description"] );
> 
> 
> 
> Bug confirmation please ? Felx 2.0 b3
> 
> http://groups.yahoo.com/group/flexcoders/message/39228
> 
> FileReference upload bytes FB2
> 
> http://groups.yahoo.com/group/flexcoders/message/35364
> 
> 
> Still problems with Tree, and drag and drop Flex 2.0 b3
> 
> http://groups.yahoo.com/group/flexcoders/message/37927
> 
> Cursor questions Flex 2.0 B3
> 
> http://groups.yahoo.com/group/flexcoders/message/38461
>







 Yahoo! Groups Sponsor ~--> 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/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

<*> 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] e4x adding attributes across members.

2006-06-23 Thread Tom Chiverton
On Friday 23 June 2006 03:49, coder_flex wrote:
> inputXML.book.(addToTotal(
> totalClass, Number(@price)*Number(@quantity)));
> trace(totalClass.totalAmt);

Eww.
Take a look at the 'for each' example in the docs :-)

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

We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the 
Year at the 2005 Growth Company Awards



 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

<*> 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] SOLUTION IS A BUG ? Re: ExternalInterface Flex 2 FireFox issue.....

2006-06-23 Thread Tom Chiverton
On Friday 23 June 2006 09:57, Daniel Tuppeny wrote:
> I also found an awful bug in Firefox as I was doing it (open attached as
> html in Firefox and compare to IE)!

This is why innerHTML isn't in the standard - trying to be bug compatable with 
IE is a silly game to start :-)

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

We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the 
Year at the 2005 Growth Company Awards



 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

<*> 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: htmlText formating destroyed by binding execution

2006-06-23 Thread n51red
That's great, thanks for letting me know.

--- In flexcoders@yahoogroups.com, "Gordon Smith" <[EMAIL PROTECTED]> wrote:
>
> I believe this has been fixed since Beta 3.
> 
>  
> 
> - Gordon
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of n51red
> Sent: Thursday, June 22, 2006 3:22 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Re: htmlText formating destroyed by binding
> execution
> 
>  
> 
> Forgive my rudeness in bumping this post but this problem is a 
> persistent nusance I like would like to find out what's going on.
> 
> ...And should have mentioned that I'm referring to f2b3.
> 
> --- In flexcoders@yahoogroups.com 
> , "n51red"  wrote:
> >
> > I've come across some odd behaviour with Text components that 
have 
> the 
> > htmlText attribute in use. If a binding execution causes the text 
to 
> > change while some of that text is selected, the text styles 
revert to 
> > their defaults, ignoring values set either inline or in CSS. I 
assume 
> > this is a problem with the Text component class.
> > 
> > I've got round the problem with the use of font tags in the html, 
but 
> > that's left me feeling unclean. Has anyone else come across this 
> > problem?
> > 
> > N51
> >
>






 Yahoo! Groups Sponsor ~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/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

<*> 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] Reloading flex app cuts breeze presentation sound (BUG?)

2006-06-23 Thread João Fernandes










I just found this one, i was listening presentation
in the background http://adobechats.breezecentral.com/p31075720/

And the sound just began to stop, I first thought
it was randomly but then I realized that each time I reloaded my flex 2 app,
this interfered with the presentation. The presentation doesn’t stop but
the sound stop working as soon as I reload my app.

 

Regards

 

João Fernandes
Dep. Informática - Área de Desenvolvimento
Cofina media

Avenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGAL
Tel (+351) 213 185 200 . Fax (+351) 213 540 370
[EMAIL PROTECTED]

 




__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
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] About dates sent to a webservice. Is this correct?

2006-06-23 Thread Bas J. Brey










You set a date e.g. 25th of January 2005
00:00 GMT +2

Flex sends it to the service as 24th of
January 2005 22:00 ?

 

If so than you can never use a “date”
type in your webservice cause then you miss timezone information.

 

 

 

 




__._,_.___





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



  






__,_._,___





  1   2   >