C# 클래스 SwfDotNet.IO.Tags.DefineButtonSoundTag

DefineButtonSoundTag defines the sounds that are played when an event occurs in a button.

A sound is played for only a subset of the events that a button responds to:

  • RollOver: The cursor enters the active area of the button.
  • RollOut: The cursor exits the active area of the button.
  • Press: The mouse button is clicked and the cursor is inside the active area of the button.
  • Release: The mouse button is released while the cursor is inside the active area of the button.

This tag was introduced in Flash 2.

상속: BaseTag, DefineTag
파일 보기 프로젝트 열기: bladecoding/SwfExport 1 사용 예제들

공개 메소드들

메소드 설명
DefineButtonSoundTag ( ) : System

Creates a new DefineButtonSoundTag instance.

DefineButtonSoundTag ( ushort buttonId, ushort buttonSoundChar, SoundInfo buttonSoundInfo, ushort buttonSoundChar1, SoundInfo buttonSoundInfo1, ushort buttonSoundChar2, SoundInfo buttonSoundInfo2, ushort buttonSoundChar3, SoundInfo buttonSoundInfo3 ) : System

Creates a new DefineButtonSoundTag instance.

ReadData ( byte version, BufferedBinaryReader binaryReader ) : void

see base class

Serialize ( XmlWriter writer ) : void

Serializes the specified writer.

UpdateData ( byte version ) : void

see base class

보호된 메소드들

메소드 설명
GetSizeOf ( ) : int

Gets the size of.

메소드 상세

DefineButtonSoundTag() 공개 메소드

Creates a new DefineButtonSoundTag instance.
public DefineButtonSoundTag ( ) : System
리턴 System

DefineButtonSoundTag() 공개 메소드

Creates a new DefineButtonSoundTag instance.
public DefineButtonSoundTag ( ushort buttonId, ushort buttonSoundChar, SoundInfo buttonSoundInfo, ushort buttonSoundChar1, SoundInfo buttonSoundInfo1, ushort buttonSoundChar2, SoundInfo buttonSoundInfo2, ushort buttonSoundChar3, SoundInfo buttonSoundInfo3 ) : System
buttonId ushort Button id.
buttonSoundChar ushort Button sound char.
buttonSoundInfo SwfDotNet.IO.Tags.Types.SoundInfo Button sound info.
buttonSoundChar1 ushort Button sound char1.
buttonSoundInfo1 SwfDotNet.IO.Tags.Types.SoundInfo Button sound info1.
buttonSoundChar2 ushort Button sound char2.
buttonSoundInfo2 SwfDotNet.IO.Tags.Types.SoundInfo Button sound info2.
buttonSoundChar3 ushort Button sound char3.
buttonSoundInfo3 SwfDotNet.IO.Tags.Types.SoundInfo Button sound info3.
리턴 System

GetSizeOf() 보호된 메소드

Gets the size of.
protected GetSizeOf ( ) : int
리턴 int

ReadData() 공개 메소드

see base class
public ReadData ( byte version, BufferedBinaryReader binaryReader ) : void
version byte
binaryReader SwfDotNet.IO.Utils.BufferedBinaryReader
리턴 void

Serialize() 공개 메소드

Serializes the specified writer.
public Serialize ( XmlWriter writer ) : void
writer System.Xml.XmlWriter Writer.
리턴 void

UpdateData() 공개 메소드

see base class
public UpdateData ( byte version ) : void
version byte
리턴 void