Hype Animations

(Austin) #1

Is it possible to use Hype animations outside of the hypeDocument? I would like to be able to use Hype’s animations on an iframe that would be the hypeDocument’s parent.

Something like this:
hypeDocument.parent.parent.setElementProperty(iframe, a, b, c, d)

or like how jQuery does it.
$('iframe').animate({left:'30px'}, 5000);

(Jonathan Deutsch) #2

Sorry this isn’t possible presently. Hype’s API can only operate on elements made within a Hype document.