We're sorry, but this discussion has just been closed to further replies.
Tags:
I don't know if this whole randomisation concept is really simple or really complex, but it's a secondary interactive component that I might want to include just to mix things up a bit.
Hi Rob,
I was just wondering how to create a spherical panorama, one like http://www.papervision3d.org/demos/panorama/ and http://flashpanoramas.com/blog/2007/05/23/add-some-life-to-panoramas/ Do they work the same way as the one we've been doing in class?
There appears to be a lot of programs to buy which help you make it but I don't know if this is necessary, or perhaps the university already has something which can do it?
Thanks.
Hi Rob! I'm wondering if you're still gonna be available to help us... Haha.
Anyway here's my problem: looping movie clips. I want a movie clip to only start when I click on a button, so I've made a blank frame in the beginning of movie clip with the action stop(); But then I want the movie clip to loop until I click on another button.
I know a movie clip automatically loops itself, but because of the stop(); at the beginning, it doesn't do so.
Help meeee!
stop(); in the first frame of the Movie Clip symbol's timeline, try putting something like myMovie.stop(); (replace "MyMovie" with whatever the instance name is of your movie clip) in the first frame of the root movie's timeline, i.e., where we usually put the functions to handle mouse movements etc.myMovie.stop(); in whatever frame the movie instance first appears on the stage.Hi Rob,
I've been looking through the dancer files actions and can't figure out what the "dancer1.dancing", I mean I can see that the 'dancer1' is an instance name but where does the '.dancing' come in?
dancer1.dancing refers to a variable (or "flag") that I added to the dancer1 movie clip. I did this the first time I set the value for dancer1.dancing before any of the functions. This is something that Actionscript 2.0 allows you to do that Actionscript 3.0 doesn't, it's very powerful (and quick) to do but it can also be difficult to understand when you're looking through someone else's code.dancer1.dancing flag to keep track of when the dancer is dancing. That was I can easily switch between "dancing" and "not dancing" modes when the mouse is clicked. Notice that these flags DO NOT control whether the movie clip is animating, they are just used to keep track of whether they are or not. Have a look inside the dancer1.onPress function. First, it checks to see whether the dancer is dancing or not, if it is then it stops the animation and sets the value of dancing to false, if not, then it plays the animation and sets the value of dancing to true. That's all there is to switching between two states using a mouse click...Another question! How exactly do I make buttons function (click --> something happens/plays)? Buttons as in button symbols. onPress doesn't work (I assume that's only for movie clips?)
© 2009 Created by Rob Saunders on Ning. Create Your Own Social Network