Loop Inside Symbol


(MMuser) #1

I took a look at few threads but I’m still no sure: Can we loop animations inside Symbols? I created a Symbol from a sprite and a timeline action together, but it didn’t work.


(Nick ) #2

You should be able to do this.

  1. Create the symbol
  2. build the animation in the symbol
  3. on the last frame put in a timeline action “GoTo 0:00 in Main timeline”

Here is an example.

looping symbol.hype.zip (14.3 KB)


#3

_May be i have some misunderstanding, but it does not work for me. :frowning: _

As i understand, there should be a looped animation inside a symbol.
So, where ever the symbol keeps on the main timeline … the loop should be fine.
Right?

Must correct myself… It works, when starting the Browser. Not inside Hype


(Nick ) #4

You should be able to see the symbol animation as well as the main timeline animation.
One thing to check is if you are out of Symbol editing mode.
You get into Symbol editing mode by double clicking the symbol and while IN editing mode (Purple band on timeline) you can only see the animation in the symbol.

Think of a Symbol as a Movie within a Movie.
The Main Hype document has it’s own timeline(s).
A Symbol has it’s own timeline(s)

The main Hype timeline sees the Symbol as an Object that can be called upon when necessary.
But the Symbol has it’s own set of timelines.
To view all the timelines in action you need to be in the Main timeline. NO Purple band.

And yes you will not see the timeline action play out in hype. You will need to preview.
Here is a video of the symbol timeline and the main working together in Hype.
and the updated looping symbol file so that you can see how it is constructed.

looping symbol2.zip (18.5 KB)


#5

Thanks for clarify


(MMuser) #6

I did it! Thank you Nick! As Mischu mentioned, I also was trying to preview it inside Hype with no success.