Discussing the nuts and bolts of software development

Monday, April 27, 2009

 

FlexDock

FlexDock is a custom component which allows to have a number of "expandable boxes" placed in horizontal direction. It is not possible to have more than one box expanded at the same. Click on the box expanding the clicked box and shrinking previously expanded box. Shift + Click shrinking the expanded box.

The component which is actually our "box" is called CanvasBox. For expanding the boxes I prefer to use Caurina Tweener, it is also possible to use built-in mx.effects.Resize, but I prefer Caurina Tweener's one:

private var _rollOverTween:Object = {width:200, height:200, time:0.45, transition:"easeOutBack", onComplete:onRollOver};
private var _rollOutTween:Object = {width:90, height:90, time:0.2, transition:"linear", onComplete:onRollOut};

When the user clicks on the button the Tweener.addTween( this, _rollOverTween); method is called, it is possible to change the content of the box in the click handler, but if you want your UI not to be broken it is better to do those changes in the onComplete handler of the tween.

Besides the CanvasBox component we also need to have a component which will hold the boxes. It is called BoxHolder and it is template component. It has _content field which is storing the boxes, pay attention at [ArrayElementType("CanvasBox")]:

// An array which stores the UI components
// of our content
[ArrayElementType("CanvasBox")]
private var _content:Array;

Every time you click on a box, the closeOthers method is called which is shrinking previously expanded box.

private function closeOthers(event:MouseEvent):void
{
   for each(var component:CanvasBox in _content)
   {
      if(component != event.currentTarget)
      {
         component.roolOut();
      }
   }
}

DEMO | SOURCE

Comments:
Nice! I didn't know about ArrayElementType. Very informative.
 
It will be useful for you to learn more about college education in any case. You can use it in order to achieve success in your career.
 
Thanks for sharing your wealthy information. It is very beneficial for us.
This is one of the excellent posts which I have seen.
I go through your all of your blog, but this blog is the best one!! You've done really a great work dear keep it up!
windveil blue metallic
 
It isn't feasible to have more than one container increased at the equal. click at the field increasing the clicked field and shrinking the formerly elevated box. shift + click shrinking the expanded field. fish collagen | bovine collagen | collagen peptide suppliers
 
This blog is what I was looking for. This piece of content will really help me. Thanks for sharing it.
 
Thanks for share your information. Your blog has been really great. I learned a lot from here. I hope you will give us such more awesome blogs.
3Movierulz
 
Thanks for your marvelous posting! I quite enjoyed reading it, you can be a great author.I will remember to bookmark your blog and will often come back later in life. I want to encourage you to ultimately continue your great writing, have a nice weekend!
Moviesda
 
Are you a celebrity? If you are, you will find your name and information on celeb networth - the database which is open for everyone.
 
What a thrilling post, you have pointed out some excellent points like Finance Coursework, I as well believe this is a superb website. I have planned to visit it again and again.
 
Shop Coats and coats at Marks and Spencer. For adaptable Coats and coats with exemplary styling and contemporary class. Redesign your outerwear with styles that are exemplary yet-current, easily cool and consistently agreeable.
 
Your exposition will be protected on the off chance that you buy it from mindful dealers like essays, writing papers, and some more. These organizations will present a counterfeiting free exposition, and consequently, there will be any possibilities getting found out.
 
FlexDock is a custom component which allows to have a number of "expandable boxes" placed in horizontal direction. Now its time to avail power only dispatch servicesfor more details.

 
Hello friends, its great post about tutoring and completely defined,
 
keep it up all the time
 
Great delivery. Outstanding arguments.

 
Keep up the amazing effort.

 
Great post! This article is a treasure trove of knowledge, and I'm truly grateful for the insights you've shared here. Your explanations are clear and concise, making it a pleasure to read. Your efforts are commendable, and your expertise is truly appreciated
Nueva Jersey Orden Protección

 
Amazing, Your blogs are really good and informative. I got a lots of useful information in your blogs. Click on the box expanding the clicked box and shrinking previously expanded box. Shift + Click shrinking the expanded box Personal Injury Attorney Virginia beach. It is very great and useful to all. Keeps sharing more useful blogs...
 
In the contemporary scene of advanced education, the excursion towards procuring a doctoral certificate is set apart by a huge achievement: the dissertation. Nonetheless, this amazing assignment frequently accompanies its reasonable part of difficulties and intricacies, leaving numerous understudies having an overpowered and unsure outlook on where to start. Luckily, the coming of online dissertation help administrations has changed the manner in which understudies approach this scholastic undertaking, offering an abundance of help and direction readily available.

Online dissertation help administrations give an extensive scope of help customized to meet the different requirements of doctoral understudies setting out on their examination process. From subject choice and proposition keeping in touch with information examination and last altering, these administrations offer priceless help all through each phase of the dissertation cycle. By utilizing the ability of experienced scholastics and analysts, understudies can explore the intricacies of dissertation composing with certainty and clearness.

One of the essential benefits of online dissertation help administrations is the availability and accommodation they manage the cost of understudies. At this point not limited by topographical imperatives or restricted by conventional available time, understudies can get to help and direction at whatever point and any place they need it. Whether they are shuffling various obligations or confronting tight cutoff times, online dissertation help administrations offer adaptability and accommodation that take care of the requests of the present occupied doctoral understudies.

Besides, online dissertation help administrations give an abundance of assets and instruments to work with the exploration interaction. From admittance to academic information bases and writing surveys to reference the executives programming and copyright infringement identification instruments, these administrations offer understudies the fundamental assets they need to direct careful and thorough exploration. By smoothing out the examination interaction and giving admittance to important assets, online dissertation help administrations engage understudies to deliver unique and top notch research that fulfills the guidelines of their scholastic foundations.

Notwithstanding research help, online dissertation help benefits additionally offer master direction and mentorship to understudies exploring the intricacies of dissertation composing. Experienced coaches and tutors give customized input and backing, helping understudies refine their thoughts, defeat hindrances, and remain inspired all through the dissertation interaction. By cultivating a strong and cooperative learning climate, these administrations engage understudies to understand their full scholarly potential and make progress in their doctoral examinations.

In any case, it is vital to recognize that the utilization of online dissertation help administrations brings up significant issues about scholastic respectability and morals. While looking for help with examination and composing is allowable and, surprisingly, empowered, understudies should guarantee that they maintain the standards of scholarly trustworthiness and respectability. This implies appropriately ascribing sources, recognizing commitments from online dissertation help benefits, and complying to the moral rules of their scholarly organizations.
 
The post on flexdock from thefiles.macadamian.com provides valuable insights into this versatile docking framework for Flex applications. It highlights the features and benefits of flexdock, offering developers a powerful tool for creating flexible and customizable user interfaces. The clear and concise explanations make it easy for readers to understand how flexdock can streamline their development process and enhance the user experience. Additionally, the post demonstrates practical examples and use cases, illustrating the versatility and effectiveness of flexdock in real-world scenarios. Overall, it serves as an informative resource for developers seeking to leverage flexdock in their Flex projects, showcasing its capabilities and potential for creating rich and dynamic applications.
Domestic Violence in New Jersey





 
Masters Dissertation Help" provides expert guidance tailored to the rigorous standards of master's level education. Our experienced team of professionals offers personalized support at every stage of the dissertation process, from topic selection to final submission. With a focus on quality, timeliness, and academic integrity, we ensure that your dissertation meets the highest standards of excellence. Let us help you navigate the complexities of your masters dissertation help with confidence and achieve your academic goals.
 
Post a Comment



<< Home

This page is powered by Blogger. Isn't yours?