Forgot username/password? Don't have an account?
Login with Facebook
Home » Courses » AS3 Advanced Interfaces » Animating a Fire
Subscribe for updates.
* New to us? log in with Facebook and get a free day pass

AS3 Advanced Interfaces

  1. Casting and DataTypes (02:27)
  2. Interface Errors (06:20)
  3. Playing With Fire (04:06)
  4. Animating a Fire (15:59)
  5. Multiple Interfaces (13:31)
  6. AS3 Interface Inheritance (02:39)
  7. Vectors (04:03)
  8. Conclusion (04:21)

Animating a Fire

Now that we have our art on stage and its ready to animate its time for us to start animating. More or less at this stage we know what we want but we don't know exactly what we want. In this video we start exploring optional animations until we feel its right. We start with animating one of the layers and then learn a few more tricks regarding reusing of code and how we can reuse our animation for other layers. By the end of this video we will have a working fire. We will create a stop method that will enable us to stop our animations and start them. This is in a goal to enable us to control the animations from our main class. Notice that even though we don't actually call the touch method it will automatically trigger when user clicks on the fire when published! Nifty right? This is happening because in an earlier class we set a mouse event that calls the touch in the main - Even before we created the class everything was set in place! Really cool and exactly the point of polymorphism and interfaces. The idea of not needing to worry about totally separate blocks of code but instead building out the internal logic set knowing the external one will work as it was worked on earlier and we do not need to change anything within it.
Got A Question?

'I love being Prime'

Have a question but don't want to ask it publicly? If you are a prime member just ask right here and we will get back to you within 48 hours. Not prime yet? no worries you can ask publicly below.

Act now while we have available seating

Our on line school is private, affordable and interactive with trainer support.
Act now save your seat before someone else takes yours.
Act now