Newbie Question - Player volume
Title: Newbie Question - Player volume Hi all I'm still fiddling around trying to learn MC. This time I've created a little movie player consisting of a player and two buttons. One button allows you to select a different movie file to be viewed, and the other simply closes the stack. I'd like to add a Mute button that sets the volume at which the movie will play to minimum. I don't seem to be able to find the relevant property. I've checked the Player properties and the videoClip properties, looking for volume, sound or audio, but I can't find anything. Is there such a property? TIA Tim
RE: Rookie question - mouseUp on unlocked field
Title: RE: Rookie question - mouseUp on unlocked field Excellent suggestions, thank you. Tim -- From: Sjoerd Op 't Land Reply To: [EMAIL PROTECTED] Sent: Tuesday, 26 September 2000 16:28 To: [EMAIL PROTECTED] Subject: Re: Rookie question - mouseUp on unlocked field I think making the field clear whenever the user clicks in it it is not nice. If the user want to select some characters, the field clears. Maybe you want to clear the field when the user clicks the first time (so a cursor appears). Then the script would be: on openField put empty into field Degrees C put empty into field Degrees F end openField A nice one would be: on returnInField send mouseUp to button Convert end returnInField on enterInField send mouseUp to button Convert end enterInField So when the user presses return or enter, the convert starts. BTW Do you know how to round numbers on a certain digits? If not, you can use this: set the numberFormat to 0.## Tim Barber wrote: Hi all I'm just fiddling around trying to learn how to use MC. I'm creating a simple temperature converter, and I've encountered a problem. My card consists of two fields (Degrees C and Degrees F), two labels(for the fields) and two buttons (Convert and Quit) If I understand the MetaTalk reference correctly (and it's more than likely I don't), an unlocked field doesn't receive mouseUp messages unless you hold down the ctrl key (I'm on a Mac). How then do I script the field to clear itself when I click in it? I've tried using a selectionChanged message handler, but it started acting weird. Here is the code I'm using. on selectionChanged #or mouseUp put empty into field Degrees C put empty into field Degrees F #I want it to clear both fields select field Degrees C end selectionChanged #or mouseUp My plan is that you click on either field and it clears both. You then enter whichever value you have (Centigrade or Fahrenheit) into the field, and click the Convert button. Depending on which field you entered, the Convert button calculates the result and populates the other. TIA Tim Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
Rookie question - mouseUp on unlocked field
Title: Rookie question - mouseUp on unlocked field Hi all I'm just fiddling around trying to learn how to use MC. I'm creating a simple temperature converter, and I've encountered a problem. My card consists of two fields (Degrees C and Degrees F), two labels(for the fields) and two buttons (Convert and Quit) If I understand the MetaTalk reference correctly (and it's more than likely I don't), an unlocked field doesn't receive mouseUp messages unless you hold down the ctrl key (I'm on a Mac). How then do I script the field to clear itself when I click in it? I've tried using a selectionChanged message handler, but it started acting weird. Here is the code I'm using. on selectionChanged #or mouseUp put empty into field Degrees C put empty into field Degrees F #I want it to clear both fields select field Degrees C end selectionChanged #or mouseUp My plan is that you click on either field and it clears both. You then enter whichever value you have (Centigrade or Fahrenheit) into the field, and click the Convert button. Depending on which field you entered, the Convert button calculates the result and populates the other. TIA Tim
RE: Rookie question - mouseUp on unlocked
Title: RE: Rookie question - mouseUp on unlocked Of course, how simple! Thanks Andu -- From: andu Reply To: [EMAIL PROTECTED] Sent: Tuesday, 26 September 2000 13:58 To: [EMAIL PROTECTED] Subject: Re: Rookie question - mouseUp on unlocked Hi all I'm just fiddling around trying to learn how to use MC. I'm creating a simple temperature converter, and I've encountered a problem. My card consists of two fields (Degrees C and Degrees F), two labels(for the fields) and two buttons (Convert and Quit) If I understand the MetaTalk reference correctly (and it's more than likely I don't), an unlocked field doesn't receive mouseUp messages unless you hold down the ctrl key (I'm on a Mac). How then do I script the field to clear itself when I click in it? I've tried using a selectionChanged message handler, but it started acting weird. Here is the code I'm using. Tim, what you are trying to do is kind of against expectations but ... Imagine you entered the wrong number in one of the fields and you want to select some or all of it in order to delete/change it. Set the lockText of the fields to true when you click the Convert button; that would enable the fields to accept a mouseUp. In that mouseUp you can put empty into the 2 fields and set the lockText of them to false. on selectionChanged #or mouseUp put empty into field Degrees C put empty into field Degrees F #I want it to clear both fields select field Degrees Cend selectionChanged #or mouseUp My plan is that you click on either field and it clears both. You then enter whichever value you have (Centigrade or Fahrenheit) into the field, and click the Convert button. Depending on which field you entered, the Convert button calculates the result and populates the other. TIA Tim Regards, Andu ___ [EMAIL PROTECTED] Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
Ok, what now?
Title: Ok, what now? Hi all I've just downloaded the MetaCard starter kit, and had a bit of a look at the demo, and quite frankly it impressed the hell out of me. What I'd like now is a few ideas on how I might put this thing to good use. If anyone has any great ideas or tips on how make the most of MetaCard, please respond (on or off list as you prefer). Cheers Tim