Showing posts with label audio. Show all posts
Showing posts with label audio. Show all posts

<bg_mp3 fadeout=""/>

A fadeout for a previously defined background mp3 file (see <bg_mp3 file=""/>).

The value for fadeout="" defines the length of the fadeout in seconds.

The attribute file="" may optionally be added to the <bg_mp3 fadeout=""/>
tag (<bg_mp3 fadeout="5" file="my_audio.mp3"/>) to start a new background mp3 after the fadeout has ended. If no file is defined, <bg_mp3 fadeout=""/> will simply fade out the previous mp3. (Unless a complete file path beginning with "http://" is specified, the file path from <media_path> in <settings> will be assumed.)

Child of: <click>, <drag_drop>, <drag_move>, <mouse_click>, <mouse_down>, <mouse_move>, <mouse_out>, <mouse_over>, <node name="">, <press>, <release>
Parent of: Nothing

Examples:

<bg_mp3 fadeout="5"/>

<bg_mp3 fadeout="5" file="my_audio.mp3"/>

<bg_mp3 file=""/>

A .mp3 audio file to play in the background.

Unless a complete file path beginning with "http://" is specified, the file path from <media_path> in <settings> will be assumed.

Only .mp3 files are permitted.

STOP in place of a file name will stop the playback of any previously started background mp3.

By default, the audio file will not loop. The attribute loop="yes" may optionally be added to the <bg_mp3 file=""/> tag (<bg_mp3 file="my_audio.mp3" loop="yes"/>) to allow the file to loop. If the file is set to loop, it will continue to do so until it is stopped explicitly using STOP or another background mp3 is started.

Parent of: Nothing
See also: <media_path>

Examples:

<bg_mp3 file="my_audio.mp3"/>

<bg_mp3 file="my_audio.mp3" loop="yes"/>

<bg_mp3 file="STOP"/>

<bg_mp3 toLevel="" seconds=""/>

The volume level, between 0 and 100, to which to adjust a previously defined background mp3 file (see <bg_mp3 file=""/>) and the number of seconds the volume transition should take.

Note that any subsequently defined background mp3 file will begin playing at the most recently set volume level.

Parent of: Nothing

Example:

<bg_mp3 toLevel="75" seconds="5"/>

<media_retries>

Specifies the number of times Flash should try to retrieve a media asset before sending a "file not found" error.

This tag is useful for managing server overload.

This tag applies to background mp3 files, images and media files except those defined within <youtube_medias>.

Default value: 5
Child of: <settings>
Parent of: Nothing

Example:

<media_retries>10</media_retries>

<mute>

Mutes the currently playing video or audio.

The mute will remain in effect until it is turned off in a subsequent node.

Accepted values are ON or OFF.

Default value: OFF
Child of: <node name="">
Parent of: Nothing

Examples:

<mute>ON</mute>

<mute>OFF</mute>

<pause>

Pauses the currently playing video or audio.

The pause will remain in effect until it is turned off in a subsequent node.

Accepted values are ON or OFF.

Default value: OFF
Child of: <node name="">
Parent of: Nothing

Examples:

<pause>ON</pause>

<pause>OFF</pause>