Discussion Overview
The discussion revolves around coding techniques in ActionScript 2.0 for animating an object in Macromedia Flash, specifically how to implement tweening triggered by button clicks. Participants explore various methods for achieving this animation while addressing the limitations of buttons versus movie clips.
Discussion Character
- Technical explanation
- Debate/contested
- Mathematical reasoning
Main Points Raised
- One participant seeks code to tween an object in Flash, emphasizing that the button used to trigger the animation is separate from the object itself.
- Another participant suggests using an onFrameEvent to update the object's position based on velocity or distance to a target, but acknowledges that this would cause continuous movement rather than being triggered by a button.
- A different participant points out that buttons are typically stationary and proposes using an invisible button over a movie clip to trigger animation.
- One participant expresses a preference for a single frame solution to avoid complexity, while another argues that using multiple frames is cleaner and more efficient.
- There is a suggestion to use conditional statements to change the target location for tweening based on button clicks, with a focus on managing multiple target positions.
- One participant raises the issue of needing to tween between five different sections, prompting further discussion on the best approach to manage multiple target locations without excessive manual coding.
Areas of Agreement / Disagreement
Participants express differing opinions on the best method to implement the tweening effect, with some advocating for multiple frames and others preferring a single frame approach. The discussion remains unresolved regarding the optimal solution for managing multiple target locations.
Contextual Notes
Participants highlight limitations related to the use of buttons versus movie clips, the complexity of managing multiple tweening actions, and the potential performance implications of different coding strategies.