Jump to content
Search Community

l00py

Members
  • Posts

    8
  • Joined

  • Last visited

l00py's Achievements

0

Reputation

  1. Ok.. thanks for looking into it. Guess it's time for me to migrate to AS3.
  2. Ok, I created a really simplified version of the website in order to dispaly my issue when using TweenLite. When running the manually tweened file there are no timing issues and it always loads. (I havent included that file.. dont think it helps) If you open the base file which loads the Slideshow and click between the skip and reload buttons a bunch of times and let the slideshow play you will probably notice fades speeding up and slowing down. Some tweens hang around too long. Then make sure the slideshow totally completes and hit the skip button again... then replay. After hitting the replay button this time.. nothing loads.
  3. Ok so I sort of got it working. It does play through but its not perfect. The issue arises when I click between skip intro and replay intro multiple times. Its unlikely to happen unless someone is testing the site but I'd like my site to perform as best as I can with my limited programming ability. I also want to avoid issues once I start adding content from the other pages. For testing, I created a version of each a TweenLite intro as well as a manually tweened version. The manual version always reloads perfectly when clicking around the site but the timing of the TweenLite version gets thrown off after a couple of replays in a row. I guess there would be programming fixes for this issue but im sure its beyond my ability. Here's a short version of my modified TweenLite code. If you see anything that can would aid this issue let me know.. otherwise I'll sadly go with the manual version. import com.greensock.*; import com.greensock.easing.*; import com.greensock.plugins.TweenPlugin; import com.greensock.plugins.AutoAlphaPlugin; TweenPlugin.activate([AutoAlphaPlugin]); Slide_01._visible = false; Slide_01._alpha = 0; Slide_02._visible = false; Slide_02._alpha = 0; Slide_03._visible = false; Slide_03._alpha = 0; var timeline:TimelineLite = new TimelineLite(); timeline.append(TweenLite.to(Slide_01, 3, {autoAlpha:100, ease:Quad.easeIn}), 0); timeline.append(TweenLite.to(Slide_02, 3, {autoAlpha:100, ease:Quad.easeIn}), 0); timeline.append(TweenLite.to(Slide_03, 2, {autoAlpha:100, ease:Quad.easeIn}), -1.5); //I have 20 extra slides following this sequence and below is the last line of code which automatically takes the intro to the main page. TweenLite.delayedCall(62, _level0._root.gotoAndPlay, ["part1"], _level0);
  4. I did just notice that the line of code actually doesnt point to anyting import com.greensock.easing.TweenPlugin; Looks like it should be like this: import com.greensock.plugins.TweenPlugin; But even after changing it there is no fade in.. it just skips to the next image. I've attached the FLA. Also, yes the com folder is in the same directory as my FLA.
  5. Thanks again. I added the line of code but it's still not working. Is there anything in the rest of the code that you find wrong?
  6. Great. thanks for the quick feedback! So I tried making some adjustments but I just cant seem to get the tweens working. Here's my code: import com.greensock.*; import com.greensock.easing.*; import com.greensock.plugins.AutoAlphaPlugin; TweenPlugin.activate([AutoAlphaPlugin]); Slide_01._visible = false; Slide_02._visible = false; Phrase1a._visible = false; var timeline:TimelineLite = new TimelineLite(); timeline.append(TweenLite.to(Slide_01, 3, {autoAlpha:100, ease:Quad.easeIn}), 0); timeline.append(TweenLite.to(Slide_02, 3, {autoAlpha:100, ease:Quad.easeIn}), 0); timeline.append(TweenLite.to(Phrase1a, 3, {autoAlpha:100, ease:Quad.easeIn}), -1.5); I just get a blank screen. Nothing fades in.
  7. So I finally finished putting together an introduction for my website when all started to go wrong. Maybe I am setting up my files incorrectly but here is a quick outline on what I did.. maybe someone can give me some advice... - Firstly I created a base swf (level 0) which automatically loads an intro that comes from an external swf, after completed it goes directly to the Home page which is another swf - From the base swf there is a main menu which contains 3 buttons each loading an external swf each into level 1.. (so when a menu button is clicked the new swf knocks out the previous one loaded for that menu item from level 1) - For my intro swf, I imported all 20 jpg slides each at about 70kb and seperated each into its own layer and set the alpha to 0 for each one in TweenLite (mc._alpha = 0) - Then I used TweenLite to set the alpha to 100 for each image starting from the first and ending on the last in order to create a crossfade right through to the end. The introduction seemed to work properly until I started introducing the other menu item swfs. This shouldnt be an issue since all external swfs are getting loaded all into level 1. I tried also using unloadmovienum before loading the new movie but that didnt seem to help either. The issue is that it plays the intro animation perfectly on the first view but if i click away and then hit the replay intro button.. on the second viewing the intro timings are really messed up and quite choppy. I am back to manual tweening.. since it wasnt working properly. Any ideas on how to get this working would be greatly appreciated.
  8. Hey guys, I am new to TweenLite and I have an issue that is driving me up the wall!! At the end of a TweenLite sequence how can I get to a specific frame label on a _level0 swf? This code I am using is sort of working but is causing me issues when I hit a relplay button. Is there something I can use other than delayedCall.. like maybe onComplete? how would it be written? TweenLite.delayedCall(59, _level0._root.gotoAndPlay, ["part1"], _level0); Basically I would like to have my animation finish playing and then automatically go to a specific frame label on level 0. Any help would be much appreciated!
×
×
  • Create New...