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;
}
Dynamic Markup
portect
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...
http://blogs.msdn.com/ptorr/archive/2006/07/06/658680.aspx
KevMac
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
ScaryKidsScaringKids
Shailendra Kumar
This is great!
Where can I find samples
Samples "Chapters", "Buttons" and "HelloWorld" don't use this feature.