Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works

use of Behavior

  • Please log in to reply




  • Member
  • PipPip
  • 55 posts

I m planning to creat one small animations. But I got stuck somewhere..I am explaining. Please try to help me out regarding dis...

Layer 1 I have created one small animation
Layer 2 I have given the behavior "gotoandstop "
Layer 3 I have created one button
Layer 4 I have given the behavior "gotoandplay"

Now its working...but my point is...on that same file....I wanna creat another animation on layer 5 and wanna repeat the same animation.....when I do and click on my button both of the animation are coming together....

Simply i want..in a same file...for one button one animation....2nd button different animation...3rd button another animatin....like dat.......I don't know whether i have writted my problems correctly or not..but buddies..try to help me out.


  • 0




    Retired Staff

  • Retired Staff
  • 190 posts
well what i would do is creat both layers you want animated as movie clips in this instance. that will allow the animation on layer five to loop properly. this can be done by; once you have made the animations amovieclipnd dropped them to the appropriate layers on the main time line, labeling each object and then including the play button as a seperate object with the code of something like

[codebox]on(release) {

to make it so the initialse stopped add a keyframe at the start of the time line with the code

  • 0




  • Topic Starter
  • Member
  • PipPip
  • 55 posts
Dude..can you make a fla file and send to me via mail Removed?? please please help me....

Once again i m telling you my problem.....

Layer1 : 1st movie (like one ball is moving from left to right)
Layer2 : 2nd Movie (like - one star is moving from left to right)
Layer3 : Button1
Layer4 : Button2

Now I want when i will press Button1, Layer1 movie will play and for button2, layer2 movie will play....

Hope i will get reply soon

Edited by ScHwErV, 21 February 2008 - 06:34 AM.
Don't post your email address in the open forum.

  • 0

Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP