ActionScript 3.0 :: Creating A Soundboard Assistance?
Jun 3, 2011
How do I make a stop all sounds button or set a key on the keyboard to stop all sounds?*I would really like to have the key stop all of them but still like to know how to do both.
I'm a games design student from the UK I'm currently working on a music project. for this I want to create a soundboard where the user can select a multiple number of files and then play them as one track, my plan is to record background, rhythm, melody and random event tracks and have the user select one of these elements from each bank of samples and have a button for them to hear the outcome.So far i can get the soundboard elements to work, but no matter where i look or who i ask no one seems to know how to make this idea work, someone suggested using an array but when i started looking at arrays there seems to tutorials on creating them but not implementing them.
I'm creating a soundboard, and and I've been using Flash for about 2 weeks and Actionscript for about a week, so you'll have to excuse my ignorance. I've used google to look for specific things to no avail so here Okay, so, I have a soundboard that, when pressing a button, it will hide or show certain buttons on the page, to give the feeling of multiple pages. All my visibility stuff works like a champ.
Right now, in the working version of my soundboard, I'm not using functions to instantiate my linkable objects, create the array, or populate the array to hold the linkable objects. I would like to use functions to make my code less obtuse. I looked around for a while trying to figure out how to pass an array of objects into a function but i haven't had much success. I'm not quite sure if it's even possible to do.
It may be a little confusing the way I explain it but here I go. I've been testing in Flash CS5 for awhile and saw it may be something like Photoshop, more specifically while drawing. In Photoshop there are layers which I use to divide parts of the picture such as the hair and the head in two different layers so that if there is a problem say at the top of the forehead where the hair is, the layer dividing the two separates it so when I erase a part of the head the hair doesn't go with it because it's not on the same layer.
Unfortunately in Flash it doesn't appear to work that way...in one layer I draw the head the other I draw the hair, I see a mistake in the head near the hair and I erase it...a part of the hair goes with it...then I have to redraw that part which can be time consuming unless I want a relatively bad animation(which I don't) since it's obviously not set as a default in Flash is there anyway to set it as that? I do tend to make quite an amount of mistakes in Flash because of how the brush and such works..
I had a developer who created a flash slideshow which utilized xml to load the image and attach a url to it. The project works as it should except for the urls...which seems to be set to the first one you click on.I am not a programmer, and the developer I was using, died. So, now I am stuck with a file that just needs one thing fixed to work. Any assistance in this endeavor would be most appreciated. If you want to use the files for yourself once they are fixed, feel free.
I seem to be unable to reference flash files in my HTML code that reside on a server different than that of the HTML page. When both the "swf" file and webpage are on the same server, everything works accordingly to plan using either the absolute or relative link to the swf file.
I am trying to follow and create a tutorial which explains how to make a bouncing ball.I am really struggling with the Action Script 3.0 even though the teacher types it in.I am inserting the code so that you can view it.[code]
I'm a student with basic (but growing) knowledge of flash, and for one of my projects I have to create a website in Flash CS3 (an actionscript 2.0 file) which will then be imported in to Dreamweaver and uploaded.
I would like to have a screen with multiple buttons and when the button is clicked different MC's will be imprted into the .fla file. For instance button 1 will import 1_MC, button 2, 2_MC, button 3, 3_MC etc. point me to a tutorial or give me a down and dirty example using AS3?
I have a simple problem that I've been working on for hours, trying to go through trial and error myself. But here's the problem. I have a function on the main timeline named startClips. Now, I want to call this from from within two movie clips, the other nested inside the other. In other words, I have a movie clip called holder, and inside of a holder, I have a movieclip called homebase. Now, here is all the code I've been trying to use to access the startClips function which is own the main timeline from the movieclip homebase:
The request has been to modify the first item by including an FLV player. This I've done and have working without flaw.My trouble arises when users select any of the other 4 tabs and then attempt to return to the first tab where they should see a transition into the playing FLV. This is not happening after the initial load. It's been quite awhile since I've worked with AS but I figure this issue should be able to be resolved if I inject a condition to determine what item is selected.
This isn't working. In fact, it seems to be skipping the initial condition if(t == "welcome"). If the nave is determined within the var navs:Array, how then can one determine the selected location?
I have my main.fla which imports external swfs that contain flv's. I have three buttons that navigate the main timeline to frames 2-4. At frames 2-4 an external swf gets loaded into an empty movie clip via this code. Each loaded swf acts like a menu with some nice vidoes loading in the background.The problem i found is the flvs continue to play as i navigate between menus, which makes the main swf/fla slow down becuase the pc is working harder to deliver all the stuff running in the background. I've added this code to frame 1 of my empty movie clip that is in my library that has the instance name 'menu1'I keep getting the error "Access of undefines property mc1"I have the source files for my site here if you can take a look and see what I'm doing wrong. I have removed this code so i don't get the error and have tried other things to no avial.
/////////////////////// var loader:Loader = new Loader(); addChild(loader); loader.load(new URLRequest(MovieClip(this.parent).src));
I have my main.fla which imports external swfs that contain flv's. I have three buttons that navigate the main timeline to frames 2-4. At frames 2-4 an external swf gets loaded into an empty movie clip via this code. Each loaded swf acts like a menu with some nice vidoes loading in the background.
The problem i found is the flvs continue to play as i navigate between menus, which makes the main swf/fla slow down becuase the pc is working harder to deliver all the stuff running in the background. I've added this code to frame 1 of my empty movie clip that is in my library that has the instance name 'menu1'
I keep getting the error "Access of undefines property mc1"
I have the source files for my site here if you can take a look and see what I'm doing wrong. I have removed this code so i don't get the error and have tried other things to no avial. [URL]
/////////////////////// var loader:Loader = new Loader(); addChild(loader); loader.load(new URLRequest(MovieClip(this.parent).src)); ////////////////////
if there is a way to use the _rotation property with the Tweening class to make a movie clip continually to rotate from it's current position instead of starting back at the original position and doing the same rotation again.
I'm trying to make an movie object rotate 90 degrees by clicking on a button and then when you click the button again, the movie rotates 90 more degrees. I don't want it to start over and do that same 90 degree rotation with the Tween class.
I'm running in to a problem where I've added additional pages (20+ pages in total) and everything after page 16 is transparent.
//pageflip version 2.02 (200405031400) // //(for the latest version, always check at http:url....) // //this code is written by Macc 2004.05.03[code].....
I'm working with the following code, and want to have my slideshow images fade into each other. At the moment, the picture before, after it's reached its delay setting, just switches off and the next one fades in, meaning the background displays (which isn't desirable)
Need assistance with "dynamic" pathing I encountered a problem in my flash file. What I want to do is, use a For-Loop to set the size for up to 10 different Movie clips at the same time?[code]...
im a digital artist (beginner) and i want to make some flash animations..i downloaded the flash cs3 (after seeing some comments that cs5 it not a big deall) from adobe but when i tried to install it i got an error so i download it from another site but i got the same error after extracting the files and tried to install English:: setup has detected an error and can not continue. For assistance contact customer support Adobe im not soure but i thing that at the one i downloaded from adobe site i got something like '' can not extract files'' then got the error from above so maybe some files are missing here are the files i got after they got extracted
So I'm using Adobe Flash CS4 and I'm trying to create a pop-up window with an enclosed .swf file (not a link). I want the pop up to have my gallery/portfolio artwork but all the code that I try doesnt work.
I have a file .fla and some other files like .as(I think they are actionScript classes dependent of the fla). But I am trying to create the swf with adobe flash. So I open the fla and I do: File - export movie but the resultant swf file is less size than the original swf file because I think it is not including the dependent *.as files.
I am wondering about how to create Apple Maccintosh DOC in Adobe Flash.It should work same as it work in Mac (like SLIDING and GROWING movement on mouse over).
I've got a DVD style project where I need to be able link to files such as PDFs, JPGs and WMVs giving the user the ability to save these to their local drive.
I'm creating it with CS4 but the Filereference.save doesn't work as it needs a HTTP or HTTPS address.
I am trying to create a new swf with AIR and Flash CS3. All I want to do is push a button and have a new swf saved to the desktop with a line of actionscript in it. The actionscript can be anything stop(); - for instance.I have been messing around with ByteArray and I can save an image to a swf but I can't find any information on what I want to do.
And I am creating a box game where the user has to avoid the boxes but i want to put lives on so when the user moves over the box one of the lives goes down.