wiki:FRAME_LINK_TRIGGERING_R0
Last modified 3 years ago Last modified on 03/11/09 06:25:20

Pages linking to FRAME_LINK_TRIGGERING_R0:
TASK_INDEX

Ticket Summary Owner Status Type Component Priority Effort Importance
#1140 FRAME_LINK_TRIGGERING_R0 sriggins closed planned_task LINKS 3 0.5 0

Reported by Astea, 4 years ago.

Description

wiki page: FRAME_LINK_TRIGGERING_R0 - effort: 0.5d

Analysis_owners

sriggins

Analysis_reviewers

boyan

Analysis_score

4

Design_owners

pap

Design_reviewers

jani

Design_score

3.5

Imp._owners

pap, kyli

Imp._reviewers

meddle

Imp._score

3.5

Test_score

0

Analysis

Overview

This task is about how users will trigger links while in test mode.

While in author mode, the user can select a frame and get the link halo for frames. They will be able add actions to the frame and then put Sophie into test mode.

Once in test mode, the mouse and keyboard actions can effect how links are triggered. When passing a mouse over the frame, any mouseEnter actions would be triggered. When the mouse leaves the frame, mouseLeave actions would triggered.

When the user clicks the frame, any mouseDown/mouseUp/mouseClicked actions should be triggered.

The R3 event system should handle the proper hierarchy of event handling for frames. If not, that will be to be fixed. What I mean by this is that, for example, if the user has a text frame, and some text in the frame has a link and the frame itself has a link, if the user clicks the text link, only the text link should trigger. If the user clicks any text that is not linked, the click should be sent up the object hierarchy to the frame, which would then handle the click and trigger any actions on the frame.

Task requirements

  • Add event handling to frames for: (if neeeded)
    • mouseEnter
    • mouseLeave
    • mouseDown
    • mouseUp
    • mouseClicked
  • Dispatch actions based on events sent to the frame
  • Make sure R3 Event system sends the proper events to the frame (it should be)

Task result

The result of this task is code

Implementation idea

There should be no if-then statements. The dispatch of the actions should be transparent and shared among all objects, whether they are frames, or text, or a portion of a movie or image. You should just make sure that the proper event sends the right event id to whatever module is executing events.

Write as little code as possible. Most of this code should be shared amonst all objects that can trigger actions.

How to demo

Attach an action to a frame, change into test mode and then execute the link by clicking on the frame

Design

(Describe your design here.)

Implementation

(Describe and link the implementation results here (from the wiki or the repository).)

Testing

(Place the testing results here.)

Comments

(Write comments for this or later revisions here.)