[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

04/20/2009 at 12:51PM PDT, ID: 24339003
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.4

Flash sample code for a weighing scale?

Asked by Zoplax in Adobe Flash, Adobe Creative Suite, WebApplications

Tags: flash, adobe, database, animate

I'm looking for sample code or at least a rough idea of how to implement the following in Flash.  Basically I want to be able to tie numeric values to either sides of an animated balance, and be able to show a transition when the values in each side are shifted.

For example, say the total value fielded by the balance is 100, with 50 on the left and 50 on the right.  At equilibrium, there will be 50 on each side.  If the left is heavier, it might show 70 left, 30 right.  If the right is heavier, it might show 20 on the left, 80 on the right.  In either case the total adds up to 100.

I'd want to have the animation be fluid so that if a value on either side is changed, the transition can be seen once the user clicks a button or otherwise triggers an event to apply the change.  As far as the values themselves, I have no clue how Flash would grab such values outside of itself.  Could I have it look at the DOM and watch the values of a couple of textbox controls?  Could I tie it to a database and execute a scalar function when I need to grab the values?

If I don't need to use Flash and could instead do something like this from Javascript or some weird CSS tricks, that would be cool too, but I'm suggesting Flash at the outset because I have it handy and am just new at it.
Attachments:
 
Image of the type of balance I'm talking about.
Image of the type of balance I'm talking about.
 
[+][-]04/20/09 11:48 PM, ID: 24191457

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Adobe Flash, Adobe Creative Suite, WebApplications
Tags: flash, adobe, database, animate
Sign Up Now!
Solution Provided By: blue-genie
Participating Experts: 1
Solution Grade: B
 
 
 
Loading Advertisement...
20091111-EE-VQP-91 - Hierarchy / EE_QW_3_20080625