Jump to content
Search Community

cerulean last won the day on April 30 2013

cerulean had the most liked content!

cerulean

Members
  • Posts

    133
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by cerulean

  1. I'm setting up a series of slides using Jack/Carl's animateIn()/Out() methodology I'm running into a problem when I seek to move one of my sprites around in one of my slides -- it happens out of order. Specifically I put in something like this tl.append(new TweenMax(_theTarget,0,{x:854,y:104})); deep into the animation, but adding this call makes the sprite appear there right at the start. That is the call is appearing out of sequence. Does having a time of 0 force the tween 'out of sequence'? I.e. some sort of immediate render? Could someone explain to me -- dense today -- what the immediate render parameter in the timelineMax calls really does? Also, one additional thing -- the _reason_ that the animateIn()/Out() methodology works is because NONE of the child timelines start playing until the master timeline starts? Thus one can build all day and nothing will happen until the main class starts its timeline? I was wondering, in light of the above. Thanks!
  2. A followup question: any hints as to how to match the main timeline to an external narration? My thought was to simply do a TimelineMax.insert() of a slides animateIn() at the correct audio cue, followed by a TimelineMax.append() of the animateOut(). One of the nifty things about your example is the 'squeeziness' of using multiple append methods -- so that everything stretches and shrinks depending on the internal animations of the individual slides. When matching an external audio narrative, logically, you have to abandon this?
  3. I'm setting up a slideshow that needs to run in conjunction with an external audio narration. It seemed to me that using the animateIn() and and animateOut() technique described in "Tips and Tricks" was the best way to do this -- and simply to manually note in the audio transcript the times and use them to set up the master timeline (or would a better way to do this be to convert the audio to and FLV and listen to cuepoints and pause/play the master timeline?). My question, though, is how do I combine the timelinemax/lite techniques with Flash IDE animations? Some of the slides have animations that would be much easier to do "by hand" (that is, using Flash's own timeline) than through code. But this interferes with the simplicity of the animateIn()/Out() techniques Jack described. How do I build up a timeline within the slide that the master timeline can keep track of when the slide's timeline is done? What's the best way? I'm a newbie to TimelineMax but have watched the video and read the documentation, but am unclear how to integrate with the IDE. Thanks.
  4. Argh. Was building in Flash Builder making the main class extend from Sprite. That must be it. Thanks!
  5. I saw an earlier thread on this and you use rawContent from the SWFLoader. But it's not working for me. Thus var ldr:DisplayObjectLoader = LoaderMax.getLoader(pageName); if (pageName == "whatever" && ldr is SWFLoader) { var mc:MovieClip = MovieClip(SWFLoader(ldr).rawContent); mc.customFunction(); } I get TypeError: Error #1034: Type Coercion failed: cannot convert pmMain@16592521 to flash.display.MovieClip. Where pmMain is the name of the loaded SWF (and it's root class).
×
×
  • Create New...