Make a Dropdown Menu
To create a dropdown menu in AutoPlay Media Studio:
1. Create a project with six label objects, and arrange them as follows:
2. Insert the following code into the On Click event of Label1:
3. Insert the following into your Global Functions:
To create a dropdown menu in AutoPlay Media Studio:
1. Create a project with six label objects, and arrange them as follows:
2. Insert the following code into the On Click event of Label1:
Kod:
if visible then
Label.SetVisible("Label2", false);
Label.SetVisible("Label3", false);
Label.SetVisible("Label4", false);
Label.SetVisible("Label5", false);
Label.SetVisible("Label6", false);
visible = false;
else
Label.SetVisible("Label2", true);
Label.SetVisible("Label3", true);
Label.SetVisible("Label4", true);
Label.SetVisible("Label5", true);
Label.SetVisible("Label6", true);
visible = true;
end
3. Insert the following into your Global Functions:
Kod:
visible = false;