Dynamic Markup
Is it planned to support dynamic markup? Like dynamic html.
It would be very usable to be able to manage XMU elements from inside the script:
function OnPlay()
{
elements["mainButton"].style.visible = false;
}
Is it planned to support dynamic markup? Like dynamic html.
It would be very usable to be able to manage XMU elements from inside the script:
function OnPlay()
{
elements["mainButton"].style.visible = false;
}
It's not just planned -- it's already there :-)
You can do exactly that today -- you can animate any animatable element you like from within script. You can also add, remove, and modify elements themselves (add a new button, remove a div, etc.) but there are some restrictions on exactly how much DOM structure you can change without re-loading the page (which might result in a frame or two of 'freeze-frame' while the DOM is reloaded)
Have you been trying something but not getting it to work correctly?
This is great!
Where can I find samples?
Samples "Chapters", "Buttons" and "HelloWorld" don't use this feature.
The "Pretty Buttons" blog sample uses it to some extent; I don't have a very interesting example up right now that modifies lots of different things though...