Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Sept 27, 2015 21:59:23 GMT
Can I offer a download from within a scene?
I would like to make an advent calendar. Every day would be a scene, with some content in it plus a little gift for downloading, for instance, a PDF or an image or an audio file. I do not want to open this file in the scene or in another browser window/tab - the visitors should just press a button and download the file, so they can look at it later. Is this possible?
|
|
rexmor
Junior Member
Posts: 27
|
Post by rexmor on Sept 28, 2015 2:03:23 GMT
Hi,
Yeah, you can just add a button or any object and add a link.
GetUrl("http://domain.com/download.zip");
hope this help.
|
|
|
Post by dk on Sept 28, 2015 7:22:29 GMT
Hi maxie, I would love to see your calendar when it's finished. How are you planning to make it? Javascript generated or hard coded into the Hippani timeline which would mean there would be 360 frames i it each year?
d.k
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Sept 28, 2015 11:56:32 GMT
Hi @maxie, I would suggestion you to use GetNewUrl() instead of GetUrl() , just in case.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Sept 28, 2015 22:19:34 GMT
Hello rexmore, dk and FlashKnight, Thank you very much for your advice. I will try it with zipped files then. dk - I am sorry I do not quite understand your question. I confess, I am a newbie in HippoAnimator (as my question showed). After studying some of the samples shown on the Hippani website and doing some of the tutorials, this advent calendar (or: Christmas calendar) will be my first real project with this software now. I think this advent calendar should be possible to make with HippoAnimator, provided the program can handle many - 25 - scenes. The calendar - scene 1 - will link to 24 other scenes (similar to the "Zoo" example on the Showcase page), with some javascript for checking the day. Correct me, if you think there is another (better) solution. Of course, I will show you the calendar when it is ready. :-)
|
|
|
Post by dk on Sept 28, 2015 23:25:12 GMT
Hi maxie, You are much like me then I am an animator and do not understand a lot of JavaScript. From what I have seen here on the forum it could be possible to have dynamic page data generated on the fly by just using JavaScript. The other way is to use the Hippani timeline with preset page data like preset text, shapes, buttons etc. It all depends on how clever you are with JavaScript. There is a "Frame option" when you insert an object that allows you to use the timeline or not. When this option is unchecked you can use JavaScript to drive your project. d.k
|
|