[flexcoders] Re: Tree Component closing and opening item

2006-09-20 Thread Mick Robin
Thanks barry and Mike!

I have tried all the permutations and combinations it works fine 
without animation but when we set the animation true.It does not.

I agree with Mike,We really have to do some major changes on the 
Tree component to achive this.

Anyway,I wanted to achieve somthing like this.This is a AS2 
Component:

http://www.sephiroth.it/tutorials/flashPHP/custom_tree/index.php

regards,


--- In flexcoders@yahoogroups.com, "Michael Schmalle" 
<[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> Actually, 'I think'... Having looked at the Tree code quite 
extensively, it
> is NOT possible.
> 
> The reason being is the way the tween logic works in the Tree. 
When a tween
> is currently running, there cannot be any other tween going 
because there is
> only 1 instance of the tween in the whole tree. It would just 
theoretically
> reset the tween.
> 
> Have a look a the method expanItem() and you will see a large 
block of logic
> that calculates opening rows etc.
> 
> When thinking about it logically, it is impossible without major 
logic and
> really the way this Tree is made, I don't think it would ever be 
possible.
> 
> The Tree is not like an Accordion that has 'specific' sectors. The 
tree is
> always dynamically created based on openItems.
> 
> Peace, Mike
> 
> On 9/18/06, barry.beattie <[EMAIL PROTECTED]> wrote:
> >
> >   no takers, Mick?
> >
> > this was one thing I wanted to look into before being 
sidetracked with
> > some datagrids.
> > at first I was thinking of keeping a register of what was opened 
so I
> > knew what to close.
> > then I was thinking of closing all before opening the selected 
one.
> > these are just some rough thoughts in absence of anything better.
> >
> > it *must* be possible: the panels do it.
> >
> > cheers
> > barry.b
> >
> >  
> >
> 
> 
> 
> -- 
> What goes up, does come down.
>







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

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

<*> Your email settings:
Individual Email | Traditional

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

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

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

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





[flexcoders] Expand an item and close the already opened item of Tree

2006-09-18 Thread Mick Robin



Hi,     I want to expand an item and close the already opened item at the same time keeping the animation true.     Any idea how to do that in flex 2.0?     Thanks and Regards,  Mick __Do You Yahoo!?Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com 
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___



[flexcoders] Tree Component closing and opening item

2006-09-18 Thread Mick Robin



Note: forwarded message attached. 
		Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  






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

  




__,_._,___

--- Begin Message ---
Hi,     I want to exapnd an item and close the already opened item at the same time keeping the animation true.     Any idea how to do that in flex 2.0?     Thanks and Regards,  Mick    
	
	
		Want to be your own boss? Learn how on  Yahoo! Small Business. 
--- End Message ---


[flexcoders] Re: Tree Component expandItem Animation true problem.

2006-09-05 Thread Mick Robin
Hi,

Thanks Deepa for ur solution.I have tried to use custom 
ItemRenderer.Tweening is working fine.But how I do I change the row 
backgroud color when user selects a row? is there any handler to 
chage the selected color.

I have used the following code in my ItemRenderer:

Inside the updateDisplayList:

 if(TreeListData(super.listData).hasChildren) {

   graphics.clear();
   graphics.beginFill(0xF4C403,1.0);
   graphics.lineStyle(1, 0xF4C403, 1.0);
   graphics.drawRect(0, 0, unscaledWidth, unscaledHeight); 
   graphics.endFill()
}

Thanks again for your reply.

regards,
Mick
--- In flexcoders@yahoogroups.com, "Deepa Subramaniam" 
<[EMAIL PROTECTED]> wrote:
>
> This is because of the way the depthColors are drawn. They are only
> drawn in drawRowBackgrounds() which gets called in 
updateDisplayList()
> so the row background colors are not tweened during the animation. 
I've
> added an enhancement request to allow for tweening of background 
row
> colors during the animation.
> 
>  
> 
> Possible workarounds include overriding onTweenUpdate() and 
manually
> tweening the backgroundColor of each row yourself. You might be 
able to
> get away with writing your own TreeItemRenderer where each 
UITextField
> was encompassed in an HBox with backgroundColor set. However I 
think
> since renderers are re-used, you'd have to write some code to make 
sure
> that as each renderer is re-used its backgroundColor is changed to
> maintain the color ordering prescribed by that row's depth.
> 
>  
> 
> If you find the shifting of colors too ugly, you can change your
> openDuration to 0 so that there is no animation and the items just 
open
> with the correct background row color. 
> 
>  
> 
> HTH, 
> 
> -deepa
> 
>  
> 
> 
> 
> From: flexcoders@yahoogroups.com 
[mailto:[EMAIL PROTECTED] On
> Behalf Of Mick Robin
> Sent: Tuesday, September 05, 2006 7:20 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] Tree Component expandItem Animation true 
problem.
> 
>  
> 
> Hi,
> 
>  
> 
> I got  a problem with the Tree Component. I have set the following
> properties for theTree componenet in my application:
> 
>  
> 
> labelField="@label"
> 
>  width="100%" 
>height="100%"
>defaultLeafIcon= "undefined"  
>folderOpenIcon="undefined"
>folderClosedIcon="undefined"
>disclosureClosedIcon="undefined"
>disclosureOpenIcon="undefined"  
>fontSize="10"
>depthColors= "[0xF4C406,0xff,0xF4C403]"
>borderStyle= "none"   
>useRollOver="false"
>selectionDuration="0"
>selectionColor= "0x99
> 
>  
> 
> Now when I am trying to call 
> 
> Tree.expandItem(event.currentTarget.selectedItem,true,true) 
method.It
> opens the child items .Only thing the animation for the parent 
node does
> not work.Only the labels get animated but the color behind the 
label
> doesnot animate it suddely changes it position.I want the label and
> color to move at the same time.Any help??
> 
>  
> 
> Thanks in advance
> 
> Mick
> 
>  
> 
>  
> 
>   
> 
> 
> 
> Do you Yahoo!?
> Get on board. You're invited
> 
<http://us.rd.yahoo.com/evt=40791/*http:/advision.webevents.yahoo.com
/ma
> ilbeta>  to try the new Yahoo! Mail.
>







--
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] Tree Component expandItem Animation true problem.

2006-09-05 Thread Mick Robin



Hi,     I got  a problem with the Tree Component. I have set the following properties for theTree componenet in my application:     labelField="@label"   width="100%"    height="100%"   defaultLeafIcon= "undefined"     folderOpenIcon="undefined"   folderClosedIcon="undefined"   disclosureClosedIcon="undefined"   disclosureOpenIcon="undefined" fontSize="10"   depthColors=
 "[0xF4C406,0xff,0xF4C403]"   borderStyle= "none"  useRollOver="false"   selectionDuration="0"   selectionColor= "0x99     Now when I am trying to call   Tree.expandItem(event.currentTarget.selectedItem,true,true) method.It opens the child items .Only thing the animation for the parent node does not work.Only the labels get animated but the color behind the label doesnot animate it suddely changes it position.I want the label and color to move at the same time.Any help??     Thanks in advance  Mick       
		Do you Yahoo!? 
Get on board. You're invited to try the new Yahoo! Mail.
__._,_.___





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








   






  
  
SPONSORED LINKS
  
  
  

Software development tool
  
  
Software development
  
  
Software development services
  
  


Home design software
  
  
Software development company
  

   
  







  
  
  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: dynamic method attachment to SharedObject

2006-06-27 Thread Mick Robin
Hi Dominick,

Thanks for your inputs, but can you please ellaborate on this?

I tried to search on the client property for SharedObject. What I 
got is: 

"client:Object  [read-write]

Indicates on what object callback methods should be invoked. The 
default is this. You can use this property if you have two data 
handlers that have the same set of methods, but act differently 
depending, for example, in an application with two windows where a 
button in one window toggles the view in the other window."

I am not sure what they mean from the above documentation. 

I know this is too much to ask, but would you please explain it to 
me with a snippet on the same?

Thanks in Advance.
Mick



--- In flexcoders@yahoogroups.com, "Dominick Accattato" 
<[EMAIL PROTECTED]> wrote:
>
> I think it has a client property which can point to a custom class 
with
> those methods.
> 
> On 6/27/06, Mick Robin <[EMAIL PROTECTED]> wrote:
> >
> >Hi,
> >
> > I am working on a one to one chat application. I am using flex 
builder 2.0 Beta
> > 3 & Flash Media Server 2.0. While working with sharedObject, I 
have
> > come across a problem. I just wanted to attach a dynamic method 
to
> > SharedObject the way I used to do in AS2.0, AS1.0. The main 
issue is
> > SharedObject class is no more dynamic.
> >
> > Here is the code what I want to achieve in AS2.0
> >
> > public var usersSO:SharedObject;
> >
> > usersSO.msgFromSrvr= function(event:Object){
> >   msgFromSrvrHandler(event);
> > }
> >
> > How can I achieve the same thing using AS3.0?
> >
> > Thanks in advance..:)
> > Mick
> >
> > --
> > Yahoo! Groups gets better. Check out the new email 
design.<http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=41142/*http:/
/groups.yahoo.com/local/newemail.html>Plus there's much more to come.
> >
> > 
> >
>






 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] dynamic method attachment to SharedObject

2006-06-27 Thread Mick Robin



Hi,     I am working on a one to one chat application. I am using flex builder 2.0 Beta 3 & Flash Media Server 2.0. While working with sharedObject, I have come across a problem. I just wanted to attach a dynamic method to SharedObject the way I used to do in AS2.0, AS1.0. The main issue is SharedObject class is no more dynamic.     Here is the code what I want to achieve in AS2.0     public var usersSO:SharedObject;     usersSO.msgFromSrvr= function(event:Object){  msgFromSrvrHandler(event);  }     How can I achieve the same thing using AS3.0?     Thanks in advance..:)  Mick 
		Yahoo! Groups gets better. Check out the new email design. Plus there’s much more to come. 
 

__._,_.___





--
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] Flash Media Server with Flex 2.0

2006-03-31 Thread Mick Robin



Thanks a lot for showing me the way!João Fernandes <[EMAIL PROTECTED]> wrote:  Mick, Here is a sample how to integrate FMS with Flex 2:http://coenraets.com/viewarticle.jsp?articleId=98João FernandesDep. Informática - Área de DesenvolvimentoCofina mediaAvenida João Crisóstomo, Nº 72 . 1069-043 Lisboa PORTUGALTel (+351) 213 185 200 . Fax (+351) 213 540 370[EMAIL PROTECTED]-Original Message-From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mick RobinSent: quinta-feira, 30 de Março de 2006 12:10To: flexcoders@yahoogroups.comSubject: [flexcoders] Flash Media Server with Flex 2.0Hi,I am implementing audio-video chat functionality using Flash Media
 Server and Flex 2.I would appriciate if anybody shares their expertise of audio-video chat in FMS/Flex2.Thanks in Advance,Mick--Flexcoders Mailing ListFAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txtSearch Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links
		How low will we go? Check out Yahoo! Messenger’s low  PC-to-Phone call rates.





--
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] Flash Media Server with Flex 2.0

2006-03-31 Thread Mick Robin
Hi,

I am implementing audio-video chat functionality using Flash Media 
Server and Flex 2.

I would appriciate if anybody shares their expertise of audio-video 
chat in FMS/Flex2.

Thanks in Advance,
Mick









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