There is not an <mx:Breadcrumb> component in Flex .. it's behavior you would have to bake
into your own application.  From a UI point of view, the <mx:LinkBar /> tag might be a good
starting point for you to contain a Breadcrumb trail in.
 
 
Think about how you might encapsulate a link bar component; your link bar has a
data provider that is the links to be displayed.  You could encapsulate that
data provider, and expose methods on your BreadCrumb component that
encapsulate the array with methods such as descend() or ascend() that push
or pop links onto the link bar data provider, and switch the view accordingly.
 
If you have a basic understanding of how to extend Flex component, spend some
time mucking around with the Link Bar, and think about what you'd want a
public API to look like, it shouldn't be a great deal of work for you to be able
to create a custom component:
 
<magic:BreadCrumbs id="trail" />
 
and then be able to perform ActionScript calls such as:
 
trail.descend( "anchorName" ); // push anchorName on the breadcrumb trail for current view
trail.ascend(); // pop the current anchor off the stack and toggle back the view
 
Note that I don't have any source for this (I'm brainstorming here) and assume
that "magic" is the namespace that I create my custom component in.
 
Hopefully I've lifted one corner in this email, and that you can lift the other three....
 
Best,
 
Steven
 
--
Steven Webster
Technical Director
iteration::two
 
This e-mail and any associated attachments transmitted with it may contain confidential information and must not be copied, or disclosed, or used by anyone other than the intended recipient(s). If you are not the intended recipient(s) please destroy this e-mail, and any copies of it, immediately.
 
Please also note that while software systems have been used to try to ensure that this e-mail has been swept for viruses, iteration::two do not accept responsibility for any damage or loss caused in respect of any viruses transmitted by the e-mail. Please ensure your own checks are carried out before any attachments are opened.
 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Shahnavaz Alware
Sent: 15 June 2005 20:37
To: [email protected]
Subject: [flexcoders] Flex Component

Hi All,

 

This is a repetition of my last email. Does Flex provide anything for “Breadcrumb/trail”? Actually I have to replace the ViewStack implementation by some kind of trailing functionality. So I am trying to find out how I can achieve the same Viewstack implementation with multiple PATH to get to the same screen. Any reply would be helpful as I am new to this Flex UI.

 

Thank you,

 

Shahn

 



Yahoo! Groups Links

Reply via email to