Jump to content
Search Community

robtarren

Members
  • Posts

    7
  • Joined

  • Last visited

1 Follower

robtarren's Achievements

0

Reputation

  1. Carl, you're a star...thank you very much
  2. Hi guys, this is probably more of general Actionscript query than a specific Greensock one, but you guys are sooooo good I thought I'd try here first! I have picked out this particular pieces of code from my timeline that will expose an image from underneath another image that is on a different layer - //code that calls the function to bring image to front timeline.append( TweenMax.to(image_05, 1, {x:320, onStart:bringToFront, onStartParams:[image_05]})); //function that brings the layer to the front function bringToFront(object:DisplayObject):void { object.parent.addChild(object); } This all very nice when first run, but the timeline is on an infinite loop so when it spins back round to the start again, the image that I've exposed is sat on top everything (until other layers start to take precedence)...booo! I'm a complete noob when it comes to Actionscript, I've had a search around and I see lots of things about swapdepths and removechild and I've given them all a whirl but I end up with errors galore! Could someone help me simply reset the layer to it's original state when the loop restarts pleeeease?! Cheers, Rob
  3. Hi guys, I signed up to the Shockingly Green membership last week which I see gives me access to homepage animation source code. I've had a look around the site and the confirmation email, but I can't seem to see where I download it? Could you point me in the right direction please? Cheers, Rob
  4. Thanks for the heads up Carl and the example code, probably one of the simpler questions you've had to answer!
  5. Hi guys, Absolute newbie here, so please go gently! I have simple masking animation that starts with a background image, a rectangle then slides across from the left which exposes a masked layer, the rectangle then increases in size to fully expose the layer. I've knocked up a simple version of what I mean using the Flash timeline and the workspace, but I'd like to replicate this using purely AS3 and the Greensock plugins if possible so I can neatly slot it into my code. I've had a search around the forums, but can't see what I'm after, but then I don't really know the terminology of what I'm after! Could anybody point me in the right direction of how I go about doing this please! Here's what I've done using the timeline, but am trying to achieve using solely actionscript - http://www.robtarren.co.uk/flash_example/test.swf Oh, I will also want to animate the image (movie clip) after it has been exposed. Thanks in advance.
  6. Thanks Greensock, that's great, thanks for clearing it up. I actually registered a couple of hours ago and downloaded the Shockingly Green package and I'm just playing around with some of the features...absolutely awesome! My main concern was that if I decided that Flash wasn't for me anymore and decided to stop incorporating it in new sites in a few months time, would all my old sites suddenly go kaput in 12 months from today! But you've put my mind at ease!
  7. Hi Carl, I'm just in the process of reviewing the options available and would just like absolute clarification of the your sentence - "Your projects that are compiled while your license is valid will not automatically stop working"....does this mean that - a) if I register and pay today, create and upload a Greensock based flash animation tomorrow, then this same animation will still function forever without renewing the license? if I then tried to tweak the same animation in 18 months time it wouldn't compile and I would have to renew the license? Cheers, Rob
×
×
  • Create New...