DECO2102

Interactive Multimedia Design

Guys,

This discussion thread is your place to make requests for learning about the types of interaction that you would like to use in your projects.

So far my shortlist is:
1. Controlling the timeline
2. Animating rollovers for buttons
3. Controlling the playback of videos
4. Scrolling around large canvases

But I know you will want some more... so please speak up!

-RoB-

Share

Reply to This

Replies to This Discussion

Wendy said:
Yay! Thank goodness you're still here :P Thanks for solving the other problem.
I'm not sure if this is too complicated: I have a starting scene of stick figures walking around the screen. You click on a stick figure and a "screen" drops down from the top to show something else. I want the "screen" to have a degree of transparency so the stick figures can still be seen walking around the stage in the background, but at the same time I want them to be rendered unclickable/inactive as long as the "screen" is there.

Is this hard to do? I tried some googling and I didn't get much. Probably not searching up the right keywords. All I got was something called "levels" which I don't really understand.

One way that you might do this is to use a variable a bit like the "dancing" one that I used in the dancing example and check whether this is "true" or "false" at the beginning of the onPress() function. Let's say that you call this variable active and that at the start of the movie it is true then when the screen is activated you set this variable to false. You'd then check for it in onPress() like this...
mymovie.onPress = function () {  if (active == false) return;
  // All the usual stuff would go here...
}

Reply to This

Vinata Ciputra said:
Hey. My button symbols works with onPress. Make sure you put down the instance name, and put in the code in the actions - frame.
If you want to put in the code inside the symbol itself, the code i'm using is on(release).

example:

on(release){
gotoAndPlay(1);
}

Wendy said:
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?)

Good work Vinata! That's a good suggestion... on(release) is actually from Actionscript 1.0 which is also from when the original Button type comes from. This should work fine in Actionscript 2.0 movies however and if makes life pretty simple. In theory on(release) is the same as onRelease() but I always go with what works in practice rather than theory. ;-)

Reply to This

Reply to This

RSS

About

Rob Saunders Rob Saunders created this social network on Ning.

Badge

Loading…

© 2009   Created by Rob Saunders on Ning.   Create Your Own Social Network

Badges  |  Report an Issue  |  Privacy  |  Terms of Service