Re: AMS4 Training
Joey, make sure yu load the mp3 first (mp3.Load), dont just play it:
Copy/Paste this action in a LOAD button:
<font color=blue><IR_ACTIONS_LIST>
<Action name="File Browse">
<Type>54</Type>
<Function>0</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<DefaultDirectory>%Desktop%</DefaultDirectory>
<DefaultFileName/>
<DefaultFileExtenstion>*.MP3</DefaultFileExtenstion>
<FileFilter>MP3's (*.MP3)|*.mp3|</FileFilter>
<AllowMultipleSelect>0</AllowMultipleSelect>
<FileMustExist>1</FileMustExist>
<Variable>%FullPath%</Variable>
<DialogTitle>File Open</DialogTitle>
<DialogType>0</DialogType>
</Action>
</IR_ACTIONS_LIST></font color=blue>
Copy/Paste this in a PLAY button:
<font color=blue><IR_ACTIONS_LIST>
<Action name="Load">
<Type>105</Type>
<Function>0</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<MP3File>%FullPath%</MP3File>
<External>1</External>
</Action>
<Action name="Play">
<Type>106</Type>
<Function>0</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
</Action>
</IR_ACTIONS_LIST></font color=blue>
Joey, make sure yu load the mp3 first (mp3.Load), dont just play it:
Copy/Paste this action in a LOAD button:
<font color=blue><IR_ACTIONS_LIST>
<Action name="File Browse">
<Type>54</Type>
<Function>0</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<DefaultDirectory>%Desktop%</DefaultDirectory>
<DefaultFileName/>
<DefaultFileExtenstion>*.MP3</DefaultFileExtenstion>
<FileFilter>MP3's (*.MP3)|*.mp3|</FileFilter>
<AllowMultipleSelect>0</AllowMultipleSelect>
<FileMustExist>1</FileMustExist>
<Variable>%FullPath%</Variable>
<DialogTitle>File Open</DialogTitle>
<DialogType>0</DialogType>
</Action>
</IR_ACTIONS_LIST></font color=blue>
Copy/Paste this in a PLAY button:
<font color=blue><IR_ACTIONS_LIST>
<Action name="Load">
<Type>105</Type>
<Function>0</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
<MP3File>%FullPath%</MP3File>
<External>1</External>
</Action>
<Action name="Play">
<Type>106</Type>
<Function>0</Function>
<DTIndentLevel>0</DTIndentLevel>
<Enabled>1</Enabled>
<ErrorHandling>
<UserNotificationMode>2</UserNotificationMode>
<CustomErrorMessage/>
<OnErrorAction>0</OnErrorAction>
<JumpToLabel/>
</ErrorHandling>
</Action>
</IR_ACTIONS_LIST></font color=blue>
Comment