Have a question abount create GUI Control
Moderator: MADRIX Team
Have a question abount create GUI Control
I want to create a ctrlbutton in script
but when i compile then got an error message as blow
//----------------------------------
syntax error,unexpected identifier,expecting $end
//----------------------------------
here is my script
//----------------------------------
ctrlbutton myButton = {"Button", "OnButton"};//Here is the error line
void InitEffect()
{
}
void PreRenderEffect()
{
}
void PostRenderEffect()
{
}
void MatrixSizeChanged()
{
InitEffect();
}
void OnButton()
{}
//----------------------------------
my OS is windows 7 32 bit
madrix software version is 2.14
could anybody help me thanks
but when i compile then got an error message as blow
//----------------------------------
syntax error,unexpected identifier,expecting $end
//----------------------------------
here is my script
//----------------------------------
ctrlbutton myButton = {"Button", "OnButton"};//Here is the error line
void InitEffect()
{
}
void PreRenderEffect()
{
}
void PostRenderEffect()
{
}
void MatrixSizeChanged()
{
InitEffect();
}
void OnButton()
{}
//----------------------------------
my OS is windows 7 32 bit
madrix software version is 2.14
could anybody help me thanks
Re: Have a question abount create GUI Control
Hi chen,
In its simplicity, your script works!
I think you accidentically opened the wrong Script Editor.
MADRIX has 4 different Script Editors. You will need to open the MAS Effect Script Editor. Please select the effect "MAS Script Effect" and open the editor next to "Limit Script Execution" (as shown here: http://www.madrix.com/scripthelp/hidd_gui_elements.html).
Please do not open the Effect Macro Editor.
Thanks!
In its simplicity, your script works!
I think you accidentically opened the wrong Script Editor.
MADRIX has 4 different Script Editors. You will need to open the MAS Effect Script Editor. Please select the effect "MAS Script Effect" and open the editor next to "Limit Script Execution" (as shown here: http://www.madrix.com/scripthelp/hidd_gui_elements.html).
Please do not open the Effect Macro Editor.
Thanks!
Re: Have a question abount create GUI Control
OK,I got it.
Thanks for your reply
Thanks for your reply