silid

Members
  • Content Count

    7
  • Joined

  • Last visited

Community Reputation

1 Newbie

About silid

  • Rank
    Newbie
  1. silid

    Setting visibility of tween max

    If you put all your objects into an array you could use staggerTo. var textFields = [tf1, tf2, tf3, tf4, tf5]; TweenMax.staggerTo(textFields, 0, {alpha:0}, 0); See: https://greensock.com/asdocs/com/greensock/TweenMax.html#staggerTo()
  2. silid

    Set framerate on timeline

    Thanks. Yes I am in Europe. Perfect @Carl I had thought it was attached to an instance. I hadn't realised it applied globally.
  3. silid

    Set framerate on timeline

    Thanks for the reply. I'm making animation for broadcast and work in 50 fields per second. So it isn't a particular animation I want help with, I just want to be able to count in frames at a rate of 50 fps. When using flash I set the frame rate of the stage and that was fine. I'm looking for the equivalent as I migrate. I presume that when I set the timeline to useFrames it is using 60fps? So if I set timeScale(0.833333) I will get 50 fps approx? It seems the easiest way is for me to alter the Ticker class to make 50 the default value. But ideally fps would exist as a variable that is passed from the tween to its ticker and from a timeline to a tween to a ticker.
  4. silid

    Set framerate on timeline

    If I create a new Timeline set to use frames for timing eg. var tl = new TimelineMax({ useFrames: true }); How do I set the frame rate of the timeline? The only example I can find is for setting the frame rate is for a tween, rather than a timeline, and the ticker property doesn't exist for a timeline. TweenLite.ticker.fps(60); I am migrating some flash animations to JS and I need a frame rate of 50. is it possible to set a frame rate for the whole timeline? Thanks.
  5. silid

    Greensock AS3 documentation where is it?

    Support for this has been waning for a while - if you really are ditching it for good, have you considered open sourcing your as3 modules?
  6. silid

    Change text value on timeline

    Thanks. I'm using actionscript and that plugin doesn't seem to exist here, is there an alternative?
  7. Hi I am trying to change a text value in an animation using a timeline, for example, i'd like the text to animate off, the value to update, and then animate on again. I need to know that the animate on doesn't start until the text value has changed. I hoped to be able to use the timline.set(textfield, {text:"NewValue"}); but it seems that set/tween can only use numeric values? How can I best achieve this result?