On KeyUp change sprite and sound
I made something in Flash and it works fine. Now I am trying
to migrate it to Director.
I need to have six sprites on the stage.. they are avi's and
they loop. Each has a sound cast memebers associated with it. They
are designed to run in synch.
I would rather re do it from scratch in director thatn import
the swf.But my lingo and understanding of Director is kinda almost
zero.
I can get the mouseUp to change a sprite but I need key board
interactivity. And using key codes like (32) for spacebar etc
I need to adapt this very basic instruction
(The code is below)
to this... onKeyDown change sprite "myClipOne" to member ==
"myClipTwo"
and there is because there is a Play Sound behaviour attached
to the "myClipOne" sprite I also need this
on the same onKeyDown event to swap the sound from
"mySoundOne" to you guessed it "mySoundTwo"
Each of the movie sprites will have a bunch of keys
associated with it. And pressing keys just changes the avi and the
sound for each movie on the stage. Simple really but I am stuck
with it.
I need to use Director for this project and would be most
grateful for any help.
Cheers
Try something like:
on keyUp me
case _key.keyCode of
32:
sprite(1).member = member("myClipTwo")
sound(1).play([#member: member("mySoundTwo")])
36:
sprite(2).member = ...
sound(2).play([#member: member("...")])
-- other key codes listed as required
end case
end
Similar Messages
-
On Key Event change sprite and sound
I can't sort this out for the life of me.
I have this at the moment....They are cast member scripts.
There are four movies that switch on mouse clicks along with
their associated sound.
Trouble is that they are different sizes and the largest
stays on the screen behind the new clip.
I tried an unload
_movie.unLoadMember(member("movieTwo"))
but wherever I put it it did not work.
I am new to Director and using ver11
I have put the first clip on channel 1 and its sound on sound
channel 1. Then that has a cast memeber script to swap the sound
and image from the cast.. Each clip has a cast member script to
move to the next clip.
I did post earlier in the 'basics' a similar problem but have
as yet found no solution.
I really do need to have the changing of clips and of sound
driven by key events. But I cannot get any key
event to be recognised by director when the projector runs..
Where does one put key.up and key.down in director?
I really am stuck here and truly any help would be great
CheersYou can place 'on keyUp' or 'on keyDown' event handlers on
any sprites
that would normally get keyboard input (i.e. editable #text
or #field
sprites as well as certain #flashComponents). You can also
make a
"movie-wide" control by putting an 'on MouseUp'handler in a
MOVIE
script. This event will happen if there is no editable text
item on the
stage.
If you want to use a global keyDown handler, you need to set
up 'the
keyDownScript' (refer to the help file for explanation and
syntax) -
I've made a movie in iMovie. Now all of a sudden the sound that I added to my video is mute. I havn't changed anything and in my other iMovie-projects the sound is working fine. What is the problem? Help!
Try double tapping the movie clip itself when inserted in the timeline and ensure that sound is on on the actual clip on the movie time line.
-
Why has my ringtone and sounds changed?
Why has my ringtone and sounds changed? Even though it shows the songs I have chosen it still uses default tones etc I have tried to change them but it still uses default ones.
I have this problem too. 4 of my favourite contacts ringtones won't stay as the ones I have selected. They keep reverting to the tone "opening" which isn't even my default one. Has anyone got a solution to this very annoying fault?
-
Changed to linux from windows and lost all my touchscreen and sound
changed to linux from windows and lost all my touchscreen and sound
dina6370 wrote:
changed to linux from windows and lost all my touchscreen and sound
Hi,
You need some sorts of driver, please try the following forum:
http://www.linuxquestions.org/
Good luck
BH
**Click the KUDOS thumb up on the left to say 'Thanks'**
Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem. -
i'm going to europe for 6 months my question does the voltage change can burn my computer...? what do i need to buy to ensure my macbook is safe and sound?
Read the small print on your power brick. It handles 110 - 240 volts automatically. All you need is a plug adapter to make your current wall plug fit the European wall sockets.
-
Hi!
I've a problem with KDE and sound.
When KDE shows a alert the alert's sound sounds with delay. 3-5 seconds.
Same happens with kde start.
Can anybody help me?
Thanks!Pilli wrote:
Hi!
I've a problem with KDE and sound.
When KDE shows a alert the alert's sound sounds with delay. 3-5 seconds.
Same happens with kde start.
Can anybody help me?
Thanks!
Change the player to mplayer or something in the control panel (Sound and Multimedia - System notifications - Player Settings). -
IS THERE A WAY TO CHANGE THE NOTIFICATION SOUNDS FOR REMINDERS?
IS THERE A WAY TO CHANGE THE NOTIFICATION SOUNDS FOR REMINDERS?
Yes you can, in the sense that this is an "Alert" sound you've set for the whole Mac software, and of course this is set in System Preferences > Sounds > Sound Effects. This will change the "alert sound" for the whole Mac.
So, No, you can't change only this particular Alert sound. If you could, it would be done in System Preferences > Notifications, and your only option there is whether you want the sound or not (Chkbox on "Play sound when receiving Notifications") -
Is there a way to change the notification sound for the FB app
is there a way to change the notification sound for the FB app?
Go to: Settings, Sounds and look for Facebook Post. You can click on it and select which sound you want.
-
How do I change the startup sound level on my desktop??
How do I change the startup sound level on my desktop?
use StartNinja ! worked for me.
it works under Mountain Lion and is even retina-ready:
http://www.allvu.com/index.php/sndownloadpage.html -
I have a MacBook pro with built in camera; my daughter has an imac with iSight camera unit. We can do iChats via AIM, and used to have no trouble, but lately, the iChat runs for about one minute, at which point the picture I am seeing begins to deteriorate into squares, and slows down; I lose normal action and sound as well... although my daughter and granddaughter can still see and hear me. Any suggestions on solving this problem
Hi
First has your daughter set the Quicktime streaming setting, goto sys prefs/quicktime/streaming/streaming speed, set to 1.5mbps(dont use automatic)
In ichats prefs click on video and change bandwidth limit to 500.
Restart iChat.
Tony -
Music and sounds folders not appearing under "music and sounds" tab for approx 5 min after launch
So every time I launch fcpx, under the "music and sounds" tab, all that is appearing is my iTunes folder, with the other folders (iLife sounds, FCP sound effects, etc) not appearing for about 5 min or so...anyone else experiencing this? Is there a fix?
Nothing ever shows up under the "Music and Sounds" tab for me. I can wait an hour and nothing "appears." The dropdown menu is blank and can never be used to select anything: It remains blank.
I've deleted preferences, rebooted, logged-in as a different user and reinstalled the application. None of that has made the "Music and Sound" section work.
If I drag a folder to the top area (after pulling down the gray bar) the icon changes to show a green plus sign and the top area is outlined with green. After dropping the folder nothing happens; it does not appear in the list. I've tried several different folders from iTunes and other locations, all to no avail. -
"sent mail" tone doesn't work. All other tones do. What to do?
ILive changed tones and rebootedHi Gwing17,
Welcome to the Apple Support Communities!
I understand that all of your iPhone sounds are working as expected except for the Sent Mail sound. I understand that you have already changed the Sent Mail sound as well as reset your iPhone and the issue persists. In this situation, to isolate the issue, I would first recommend backing up your iPhone to either iTunes or iCloud.
Back up and restore your iPhone, iPad, or iPod touch using iCloud or iTunes - Apple Support
After you have backed up, I would recommend restoring your iPhone and setting it up as new to test the Sent Mail sound. If the sound works as expected, try restoring from your backup and test the sound again. Please let me know if the issue returns or if the sound still does not work when you set up your iPhone as a new device.
Use iTunes to restore your iOS device to factory settings - Apple Support
Cheers,
Joe -
AVAudioRecorder data usage and sound quality
Witch is the best setting to the right mix of file size(data usage) and sound quality(ability to hear the conversation) when we work with AVAudioRecorder.
Thanks
WillyAntonBecker wrote:
Alternatively, I can avoid the overage fees by agreeing to change my plan -- increase my monthly allowance -- but I have to pay the difference for all of the months that have already gone by all the way back to the beginning of my contract. In other words, I have to pay for additional GBs for months that are in the past and for which I have no possible way to actually use that data allowance. This is NOT TRUE. You can have the change backdated to the BEGINNING of your CURRENT billing cycle but it WILL NOT go further back than that.
I must say, that as a business model for raking in un-earned revenue, it's pretty impressive. As a customer, though, I'm not terribly impressed.
Does anyone else feel that these practices are just a wee bit unfair, to put it mildly?
I would think that the following would be fair business practices:
(1) If I don't use some GB data allowance, for which I've already paid, then that allowance should roll into the next month OR; Verizon doesn't have roll over minutes and they most likely will not have roll over data.
(2) I should get a refund for data allowance that I don't use. Should you ALSO get a refund for unused minutes while you are at it? I don't watch all of the channels for which my cable company charges me. I would prefer a refund for THOSE before I get a refund for minutes/data from Verizon. I would make a considerably larger refund with that.
(3) Alternatively, since Verizon believes it is OK to charge extremely inflated overage fees, then I feel it's only fair that they refund to me, at that inflated rate, for GBs that I don't use in any given month.
How do the rest of you feel? I feel you should most likely look for a provider which better fits your view on how they should price their service. Good luck.
Sincerely frustrated,
Anton -
IOS 5 Sound Quality and Sound Check issues
So since upgrading my iPod to iOS 5 the sound quality of my music has deteriorated massively and sound check no longer works as it should.
Tracks sound crackly and audio volume will remain balanced for a few tracks when sound check is on, then all of a sudden become completely unbalanced and all over the place. My iPod is only just about useable, it's a bit of a disaster that its main feature doesn't work as it should.
Everything else in my iOS5 works as it should.
Any help would be greatly appreciated.
Richard.Since I bought iPhone4 and listened my songs with "Ipod app" and external speakears I was amazed how brilliant, sharp, intense, clear, perfect bass, perfect trebble the sound was, there was no distortions or saturations ever... The sound quality was just PERFECT with the equalization OFF!!! Not remember if I had SoundCheck ON before but now it doesn't make any difference. I installed iOS 5 over 4.3.1 or so and now sound is just more like noise compared to iOS 4, I have selected all presets or equalizations but ALL are poor, maybe some presets work better with some songs but still they are poor.... Songs did not have clarity!! The volume force was like degraded, now I have to set higher volume to produce same force than before with less volume... iOS 5 max volume (100%) is like iOS 4.2.1 85-90% of volume. Difference is that iOS 5 maximum volume starts slightly to distort or saturate audio quality... before with iOS 4 sound quality was Crystal Clear even with max volume!!! In short SOUND QUALITY is DEGRADED... or perhaps I'm a very critical and nonconformist guy in terms of audio quality... this kind of degradation is quite notorious when one loves music!! or is there some other configuration I'm missing here??
Totally agree with Richard!!
At first I thought it was a problem with my phone... I used to believe iOS 5 was engineered for new iPhone 4S hardware and since it is shipped with dual-core processor, I thought my phone was short in resources!!!
Why max volume is lower in intensity???
Why equalization with the EQ Off changed?? All my songs were stored on iTunes, they must have same sound quality properties as they were when first ripped..
I hope Apple enginneers did not sacrifice volume output force in favor of saving some battery, because normally we charge battery when listening music at home with our personal speakers equipment.
I would like to understand the reasons why the new "Music App" was "changed", and why these changes have to go backwards!! That is sad... because for iPhone or iPod lovers music was always important.
thanks
Maybe you are looking for
-
At the risk of sounding like an idiot
I seem to remember having QT Pro on my powerbook when I bought it. At least I had the ability to watch stuff full screen. Somewhere along the line I updated QT because of some prompt probably, and lost the use of all of QT's features, including full-
-
New iPad AirPlay Icon in Music app
I have had this happen twice now so I am thinking it may be a bug. When in the music app on the new iPad, clicking the AirPlay icon only shows the iPad in the list even though I have an Apple TV. If I go to the AirPlay to mirror the iPad, the Apple T
-
Password to iPad forgotten, now it's locked
My son changed the password on the iPad and has forgotten it. Now, the iPad is locked. Is it possible to reset, or recover the "new" password?
-
When I try to set up iCloud, it deletes all my calendar info. Why, and how to prevent deletion of important info when setting up iCloud?
-
IOS4 mail client only showing 2-line preview for some emails
The only account tied into my iPhone 4 right now is my Gmail account. I was able to set it up quickly and it's been mostly trouble-free. However, I noticed that even though I have "Preview" set to "2 lines", it is not showing the preview for every em