Jump to content
GreenSock

khw2010

Members
  • Posts

    15
  • Joined

  • Last visited

khw2010's Achievements

0

Reputation

  1. Can you point me to a tutorial on masking in flash? Thanks so much.
  2. I want to create an image that appears, from its center. (the visualization begins at the center of the image and moves out to the perimeter of the image -- hoping that makes sense). See this vid as an example, check out 0:08 All images seem to appear from the center then spread out. How can this be achieved? Masking? transformaroundcenter? Many thanks in advance!
  3. Thanks for your reply, going to try to work it out on my own. If I continue to have problems, I'll make sure to upload a .swf as an example.
  4. Thanks Carl, appreciate you helping out (and I do realize what a remedial exercise it is/was), forgive me if I was not able to articulate myself -- still learning. This is what is happening when I use TimelineMax (prior to your first message): I can get the words "A,B,C" to appear one after the other (one 3 separate lines), and subsequently move to the L of the stage. However, when I try to get words A,B,C to move to the upper L of the stage and shrink, they move on top of each other as opposed to being on three separate lines(if that makes sense). Using your code, the same thing happens. Is this a matter of spcaing w. their X & Y properties? And please be gentle, still learning. Thanks!
  5. So frustrated -- all the more so b/c I know that this is a relatively easy fix: I have three words that appear one after the other, (let's say A,B,C). I then want these words to move the the L (together - ABC) I then resize ABC, smaller, to the upper L corner. I'm sure this is a transform issue, etc. but I just can't get my brain around it. Could you provide me with sample code so I can visualize? I could provide a sample file, but it's written out in the most backwards way I don't think it would help. Many thanks in advance!!
  6. Not sure if "the tweening" portion of the forum is appropriate for this q, but here goes: I've been working w. TweenMax for a few months now (LOVE IT), however, for some reason I'm having some rather interesting problems related to my "com" folder. FYI, for each new project I copy the "com" folder into each new project folder and begin working with a new flash file (which is saved within said new project folder). For some reason my most recent project has been hit with several errors all indicating that the com folder cannot be located (see below): Scene 1, Layer 'actions', Frame 1, Line 1 1172: Definition com.greensock could not be found. Scene 1, Layer 'actions', Frame 1, Line 2 1172: Definition com.greensock.easing could not be found. Scene 1, Layer 'actions', Frame 1, Line 3 1172: Definition com.greensock.plugins could not be found. Scene 1, Layer 'actions', Frame 1, Line 4 1172: Definition com.greensock.loading could not be found. Scene 1, Layer 'actions', Frame 1, Line 5 1172: Definition com.greensock.events could not be found. Scene 1, Layer 'actions', Frame 1, Line 1 1172: Definition com.greensock could not be found. Scene 1, Layer 'actions', Frame 1, Line 2 1172: Definition com.greensock.easing could not be found. Scene 1, Layer 'actions', Frame 1, Line 3 1172: Definition com.greensock.plugins could not be found. Scene 1, Layer 'actions', Frame 1, Line 4 1172: Definition com.greensock.loading could not be found. Scene 1, Layer 'actions', Frame 1, Line 5 1172: Definition com.greensock.events could not be found. For all intents and purposes the file should be located, I've done nothing different in creating new projects, so can't for the life of me understand -- what gives? Incidentally, workaround this time was to save my new flash file in an old project folder. Also, for your info, this is what my project folder looks like: com // the come folder Lesotho2020.fla // the flash file Any help is greatly appreciated!
  7. I have an mc of a gift tag that I would like to see rotate a few degrees up and down -- to give the illusion that the tag is "dangling" from a string (back and forth as it were) (the string is a separate image). I've tried everything from changing the x and y coords, to using the {rotate:}. I'm thinking the prob is the registration point as it relates to the rotate function. How can I change the registration? Any help you can offer is much appreciated!! my code thus far: TweenMax.to (mc1, 5, {x:124, y:255, rotation:10}); it works -- sort of -- but the tag should dangle from the top, not the bottom as it seems to be. I've included a .swf file so you can see how it performs. Many, many thanks in advance!
  8. Thanks for your response, to answer your q's: 1) Why? Well, b/c I'm still learning and usually lift code from a previous project (which used the x prop) that worked. Therefor me and my "noviceness" left it there thinking "if it ain't broke, don't fix it!). Thanks for clarifying. 2) And thanks for the advice, still learning flash and tweenmax/lite, so this is helpful Thanks again! KHW
  9. Below is code which I have written for a banner. There is a rather long pause btwn the bolded red line and the bolded black lines. Thoughts? Thanks in advance! var timeline:TimelineMax = new TimelineMax({repeat:-1}); timeline.append (TweenMax.from(mcTxt1,2,{autoAlpha:0, roundProps:["x"]}) ); timeline.append (TweenMax.from(mcTxt2,2,{autoAlpha:0, roundProps:["x"]}),0.2); timeline.append (TweenMax.from(mcTxt3,2,{autoAlpha:0, roundProps:["x"]}),0.2); timeline.append (TweenMax.from(mcTxt4,2,{autoAlpha:0, roundProps:["x"]}) ); timeline.append (TweenLite.to(s1, 4, {autoAlpha:0}) ); timeline.appendMultiple ([TweenMax.from(s2, 3,{autoAlpha:0}),TweenMax.from(mcTxt6, 3,{autoAlpha:0}), TweenMax.from(mcTxt7, 3,{autoAlpha:0})],0); timeline.appendMultiple ([TweenMax.to(s2, 2,{autoAlpha:0}),TweenMax.to(mcTxt1, 2,{autoAlpha:0}), TweenMax.to(mcTxt2, 2,{autoAlpha:0}), TweenMax.to(mcTxt3, 2,{autoAlpha:0}), TweenMax.to(mcTxt4, 2,{autoAlpha:0}), TweenMax.to(mcTxt6, 2,{autoAlpha:0}), TweenMax.to(mcTxt7, 2,{autoAlpha:0})], 8); timeline.append (TweenLite.to(s3, 4, {autoAlpha:1}) );
  10. Problem solved! It was the fonts. Thanks so much!!
  11. Thanks for the response. my prob is two-fold. Unfortunately my flash file is over the required limit, b I'll try to explain as best i can, You will see that there are two lines of code that I added before i finalized the movie (which were not included in my previous post). This being mcTxt13. 1. The animation as it stands now works up until mcTxt10 & mcTxt12 appear. Once they fade, the entire line appears again (mcTxt13). Then the last line mcTxt11. 2. When creating the animation, I thought simply deleting the lines of code referencing this 2nd occurrence (mcTxt13) would resolve this issue. However, upon doing that, the line appears thruout the entire movie. What gives? I'll try to mess around w. the fonts and properly embed them as you suggest. I suspect it might be b/c I am importing text directly from Illustrator? Thanks in advance for your speedy reply! Please bear in mind this was created on a MAC, Flash CS5 (if that matters). Code follows: var tl:TimelineLite = new TimelineLite(); tl.append( TweenMax.from(mcTxt8, 3, {autoAlpha:0}) ); tl.append( TweenMax.to(mcTxt8, 2, {autoAlpha:0}) ); tl.append( TweenMax.from(mcTxt9, 3, {autoAlpha:0}) ); tl.append( TweenMax.to(mcTxt9, 2, {autoAlpha:0}) ); tl.append( TweenMax.from(mcTxt10, 3, {autoAlpha:0}) ); tl.append( TweenMax.from(mcTxt12, 3, {autoAlpha:0}) ); tl.appendMultiple( [TweenMax.to(mcTxt10, 3,{autoAlpha:0}), TweenMax.to(mcTxt12, 3,{autoAlpha:0})]); tl.append( TweenMax.from(mcTxt13, 3, {autoAlpha:0}) ); tl.append( TweenMax.to(mcTxt13, 3, {autoAlpha:0}) ); tl.append( TweenMax.from(mcTxt11, 3, {autoAlpha:0}) );
  12. Trying to work out an issue with the following code: var tl:TimelineLite = new TimelineLite(); tl.append( TweenMax.from(mcTxt8, 3, {autoAlpha:0}) ); tl.append( TweenMax.to(mcTxt8, 2, {autoAlpha:0}) ); tl.append( TweenMax.from(mcTxt9, 3, {autoAlpha:0}) ); tl.append( TweenMax.to(mcTxt9, 2, {autoAlpha:0}) ); tl.append( TweenMax.from(mcTxt10, 3, {autoAlpha:0}) ); tl.append( TweenMax.from(mcTxt12, 3, {autoAlpha:0}) ); tl.appendMultiple( [TweenMax.to(mcTxt10, 3,{autoAlpha:0}), TweenMax.to(mcTxt12, 3,{autoAlpha:0})]); tl.append( TweenMax.from(mcTxt11, 3, {autoAlpha:0}) ); --- mcTxt10 should appear, then mcTxt12, then both should fade out together, at which point mcTxt11 should appear. When I test the movie, mcTxt10 and 12 appear before any other mc's and do not fade. What is the prb here? Thanks in advance.
  13. thank you! works perfectly. great product, and i'm slowly learning, so kudos to you!
  14. noobie q: I have created, or proffered some code to fade in mcTxt8 for a few secs, then fade out; then fade in mcTxt9 for a few secs then fade out; After this I need to fade in mcTxt10 and end the animation. I know the code below isn't correct or as smooth as it should be, (there is lag time btw mcTxt9 & 10, which I don't like) any suggestions? Thanks! var clips:Array = [mcTxt8, mcTxt9]; var timeline:TimelineMax = new TimelineMax({repeat:0}); timeline.insertMultiple( TweenMax.allFrom(clips, 6, {autoAlpha:0}, 5), 1); timeline.insertMultiple( TweenMax.allTo(clips, 3, {autoAlpha:0}, 5), 5); timeline.append (TweenMax.from(mcTxt10,1,{autoAlpha:0}));
×