Home > Terms > English (EN) > frame label

frame label

You can assign frame labels to specific frames in your project. This strategy enables you to assign a descriptive name to an individual frame, making it easier to visually distinguish the different sections in the Timeline and easier to jump to specific frames with ActionScript. A frame must have a keyframe in it to assign a frame label.

Frame labels are helpful because you can reference a specific frame in the Timeline by referring to it by name instead of using frame numbers in your ActionScript code.

It is beneficial to use frame labels because it makes your code more readable. Additionally, if you add or remove frames when you edit the Timeline, the numbers may change later. Using frame labels ensures that the labels you apply will remain the same, eliminating the need to change any hard-coded frame number references in your code.

It is a best practice to place the layers that include ActionScript and a layer for frame labels at the top of the layer stack in the Timeline. For example, rename the layer that contains your ActionScript to actions and rename the layer that contains frame labels to labels and drag them to the top of the layer stack, above the other layers in your project.

To add a frame label, select any keyframe in the Timeline. In the Property inspector, enter the desired text in the Name field of the Label section. If more frames extend to the right past the frame label, the name of the frame label will appear in the frame area of the Timeline.

0
Collect to Blossary

Member comments

You have to log in to post to discussions.

Terms in the News

Billy Morgan

Sports; Snowboarding

The British snowboarder Billy Morgan has landed the sport’s first ever 1800 quadruple cork. The rider, who represented Great Britain in the 2014 Winter Olympics in Sochi, was in Livigno, Italy, when he achieved the man-oeuvre. It involves flipping four times, while body also spins with five complete rotations on a sideways or downward-facing axis. The trick ...

Marzieh Afkham

Broadcasting & receiving; News

Marzieh Afkham, who is the country’s first foreign ministry spokeswoman, will head a mission in east Asia, the state news agency reported. It is not clear to which country she will be posted as her appointment has yet to be announced officially. Afkham will only be the second female ambassador Iran has had. Under the last shah’s rule, Mehrangiz Dolatshahi, a ...

Weekly Packet

Language; Online services; Slang; Internet

Weekly Packet or "Paquete Semanal" as it is known in Cuba is a term used by Cubans to describe the information that is gathered from the internet outside of Cuba and saved onto hard drives to be transported into Cuba itself. Weekly Packets are then sold to Cuban's without internet access, allowing them to obtain information just days - and sometimes hours - after it ...

Asian Infrastructure Investment Bank (AIIB)

Banking; Investment banking

The Asian Infrastructure Investment Bank (AIIB) is an international financial institution established to address the need in Asia for infrastructure development. According to the Asian Development Bank, Asia needs $800 billion each year for roads, ports, power plants or other infrastructure projects before 2020. Originally proposed by China in 2013, a signing ...

Spartan

Online services; Internet

Spartan is the codename given to the new Microsoft Windows 10 browser that will replace Microsoft Windows Internet Explorer. The new browser will be built from the ground up and disregard any code from the IE platform. It has a new rendering engine that is built to be compatible with how the web is written today. The name Spartan is named after the ...

Featured Terms

Melissa taing
  • 0

    Terms

  • 0

    Blossaries

  • 43

    Followers

Industry/Domain: Psychology Category: Behavior analysis

mulligrubs

A state of being - sullen or sulky behavior, experiencing colic, or grumpiness. The original meaning of this word derived from megrim, which means ...

Featured blossaries

Azazeel

Category: Literature   1 3 Terms

Pollution

Category: Health   1 17 Terms