Professional :: Can't Make Music On / Off Button Work For Movie Built In CS5
Aug 10, 2010
This Message Used To Be Entitled:"Can't make music on/off button work for my movie built in CS5..."But after literally WEEKS of being on this forum (& desperately seeking the answer in numerous ways) do you mean to tell me there is ABSOLUTELY NO ONE ON THIS FORUM that knows how to make a music/sound button work correctly? [code]Perhaps it's a simple adjustment,.
View 11 Replies
Similar Posts:
Feb 20, 2012
I ve got a drag and drop code working, but what I really want to do is have a check answers button that tells the user, you have none correct, or two correct or all wrong... I have one target area, and 3 correct answers (out of 7) so I would like to let the user put as many ansers on the target as they want and then check if they have any correct, also a reset code would be nice to put everything back where it started... I tried to break my code up but the events then went mad, Here is what i have so far, it works instantly and lets crrect answers stay and incorrect bounce back..
stop();
yes1.visible=false;
allcorrect.visible=false;
doit.text="drag over the words that mean Vision";
[Code].....
View 1 Replies
Oct 6, 2010
On the about page of my Flash website, I wanted 7 buttons to navigate to various labels. I just finished the first button. I made it while I was inside the about_mc. It worked well but would NOT navigate. I took the button OUT of the Movie clip and made a separate layer on the about page for buttons and pasted it there and it worked perfect. When I made it inside the mc, is there some different code I should have used other than the standard code for making a button navigate to a frame. I built an addeventlistener and a function. BUT they only worked when the button was "ON TOP" of the mc NOT when it was INSIDE the mc. I have a transition tween on the about_mc and therefore the button does not tween when it is on TOP of the mc only when it is inside the mc.
var aboutTween:Tween = new Tween(about_mc, "y", Elastic.easeOut, -200, 146, 3, true);
laborLaw1_btn.addEventListener(MouseEvent.CLICK, laborLaw1);
function laborLaw1(evtObj:MouseEvent):void{ gotoAndStop("laborLaw1_fl"); }
[code].....
View 2 Replies
Sep 20, 2010
I want to design a music button for a game like geochallenge
View 1 Replies
Nov 24, 2005
I have made small site:[URL] But I can manage to work my on/oof music button with my slider. Can somebody give me the most simple codes for this? I have already song inside the project, so it doesn't need to be loaded from the web. I have try everything, but nothing. I manage to turn on/off music, but to slide it... noup...
View 2 Replies
Aug 15, 2011
I saved as swf & got this error msg in the compiler errors: Symbol=but1,layer 4, frame=1 Mouse events are only for button instancesIn the library I checked the properties of the button and its a movies clip, I'm not sure if it will make any difference if I change to button or graphic?I would like to upload the fla and swf files but this forum doesn't seem to allow me to attach files to messages.
View 3 Replies
Feb 2, 2012
I wanted to make play button. Kind of this huge one in the middle of the screen as users used to see on YouTube.Here is the code for it which seems to work:
play_btn.addEventListener(MouseEvent.CLICK, onClick_Play);function onClick_Play(event:MouseEvent) :void {
SWF_flv2.play();
[code].....
View 3 Replies
Oct 13, 2011
I have a Start button on the title screen. I want the music to stop when you click on the start button. Also, I want for another music to start when you go to the next part of the animation and to stop when you click on another button.
View 5 Replies
Apr 30, 2011
I'm working on an animation where I have my "dog" fighting the evil vacuum cleaner. I got most of it to work the way I want it to.
1) I have movie clips entitled pepper_mc (where my dog is supposed to be walking), swirl (where a swirly-type symbol is supposed to spin over the dead vacuum's head), and vacuum_mc (where the evil vacuum is supposed to have a swinging arm (called vacuumarm_mc) that I created using the bone tool). When I add them to the stage and test them, the animations within the movie clips don't happen.
2) I have background music that I'd like to stop playing at the end of the animation, but I'm not sure how to do that. (using the stop(); actionscript doesn't help).Where am I going wrong? I'm using Flash Pro CS5.
Here's the file --> Pepper and the Vacuum of DOOM!
View 1 Replies
Mar 30, 2009
I downloaded a flash template and have modified it to suit our company but there is something that I can't do. When the file loads in the browser, music immediately plays and loops until you click a button to stop the music. On our video page, we have video
that we need to play that has sound in it. How do I get the background music to stop when my video plays without having to go up and stop the music manually. The videos are loaded via an external XML document and there are no buttons in the FLA file to link code to. the website is [URL]
View 4 Replies
Aug 22, 2011
* I have a flash project called contact
* The document class is ContactClass
I am trying to make a sprite button with graphics and can't make it work. I have successfully added text fields so I know the path is correct. I suspected my code was correct and confirmed it should be, after reading several tutorials showing the process for creating sprite buttons with graphics. Anyway, I imported nearly every class on Earth, but certainly everything which needs to be. Stage is gray and 800x600.The graphics code by itself with appear, but not when linked to the sprite. Also, the sprite won't appear no matter what. Another interesting piece of the puzzle: nothing will trace, not even objects such as textfields which actually appear and function on the stage when I text the code.
public class ContactClass extends Sprite {
public function ContactClass() {
var home_btn:Sprite = new Sprite();[code]....
View 3 Replies
Oct 15, 2010
The movie was designed in several flash files, each has been combined into a single movie clip and then all the movie clips have been moved into the master document.
Each movie clip is on a single slide.
They play through and when a clip reached the end I have used the actionscript root.gotoAndPlay(x) where x is the slide number of the next clip in the sequence as such my timeline looks like this[code]...
View 1 Replies
Dec 15, 2009
I am trying make a preloader for a site I've bulit.I did this site via the displaylist the whole thing and I have every pages linked togther as actionscript files
View 0 Replies
Nov 30, 2010
I cant find any conflicting assignments in keyboard preferences.
View 6 Replies
Aug 2, 2004
i am trying to to do the following. I have 2 buttons on a page.when i click the first button it should just display the image i want it to.when i click the second button it should display the other image i want to display.
View 2 Replies
Apr 22, 2011
I downloaded Creative Suite 5.0 Web Premium so I could built be an banner animation for my web site. There are three programs included in the suite, Flash Builder, Flash Catalyst and Flash Professional. Which one do I use to built and animation or do I need to use them all ?
View 3 Replies
Nov 10, 2010
When I test the movie my hyperlink works fine, but when I publish it, doesn't work. I'm not experienced with ActionScript. Here are some screen shots of what I got...
View 3 Replies
Jan 9, 2010
I have 3 movieclips, and I want them to work like buttons. It's for a website, so they need to redirect the user to a URL.
The entire flash file has 7 layers, and one of these layers is called "AS3", and is ment for all my actionscript. So, i figured if I gave the MC's an instance name, then I could write the AS3 in the "AS3"-layer. But I can't seem to get any code to work.
View 10 Replies
Jul 1, 2009
I am trying to make the button to work. My button is located on the main timeline, but my action is placed inside the movie clip. So when the button on the main timeline is pressed I want flash to play frame labeled "enq" inside the movieclip. Makes any sense? The code i am using is:
[Code]...
View 4 Replies
May 29, 2009
I'm attempting to allow only the buttons that are in my array work during MOUSE_OVER.
The tricky thing for me is identifieing more than one button in the same if statement. Does the onButtonOver function need to be in a for loop?
Code:
var myArray=[3, 4];
for (var i:int = 0; i < buttonArray.length; i++) {
this["btn"+i].addEventListener(MouseEvent.MOUSE_OVER, onButtonOver);
this["btn"+i].buttonMode=true;
[Code].....
View 1 Replies
Mar 12, 2010
I made some TextFields, I put EventListeners and I would like to make them act like Buttons. (tf.buttonMode = true is not very usefull)
View 2 Replies
May 1, 2009
Using Macromedia Flash Professional 8.
I have a website banner made in Flash. I have added a music file to it and Play and Stop buttons. I also have a Replay button to replay the banner animation once it stops.
I have put the music on a separate frame so that it will not play automatically when the banner loads. I have made the Play button direct to the frame the music is located at so that when clicked, it will go to that frame and play the music file.
The problem I am currently having is that if I click the Play button more than once, it will play the music file again on top of the current play-through.
So if I click Play, the music will play. Then if I click it again, the music will play again, but on top of the first instance of the music, so two instances of it will now be playing and it sounds horrible.
I would like to make it so that if you click Play when the music is playing, it will not play the music again until the music has stopped.
View 6 Replies
Sep 30, 2010
I am trying to make a button work in a Flash cs4 file using as2. It is a template I am modifying from DreamTemplate. I don't know what I am supposed to change and exactly what I should change that unknown code to Here is the code I have:
[Code]...
As you can see I have tried to replace the url that was in the quotes and it does not work.
View 1 Replies
May 19, 2009
I'm using Flash CS3 (AS2.0) - how an I make the submit button in my movie work with the 'enter' on my keyboard?
View 1 Replies
Oct 12, 2010
How do I make a button created in CS4 flash open another page in my website?
I created the button in flash cs4 with a static state and a pulsing state on "Over" and "down" that works fine. I tried adding the following action to the button>
on (press) {getURL("aboutus.html?include=contact","_self");}
but nothing happens when I view it in live view. and all the pages exsist in the file. (Using Dreamweaver CS4 to build webpages.)
View 5 Replies
Apr 5, 2011
Is it possible to make the browsers back button work inside a SWF but using just AS3 and not any other external files or anything else changed in the HTML page?
View 2 Replies
Feb 3, 2010
trying to make the close button work on this homework project. This app scatters photos on the stage, randomly and at random angles. They are drag and droppable and the clicked photo comes to the fore. Each photo has a close button intended to remove the photo from the stage, this last is what won't work. I know its a common topic, but nothing I've tried has worked so far. onClickCloseBtn is the problem.
Code:
package
{
import flash.display.*;[code]........
View 1 Replies
Aug 2, 2004
i am trying to to do the following. I have 2 buttons on a page.when i click the first button it should just display the image i want it to.when i click the second button it should display the other image i want to display.
View 2 Replies
Aug 18, 2010
how to go about getting the Flash Player(s) that's built into the CS5 IDE updated? According to System.capabilities.version, it's running v10.1.52.14 which, according to this page on the Adobe site, says was a pre-release version of Flash Player and should not be used! It also seems to have an annoying bug where HTML tags are frequently shown as raw HTML, rather than being rendered, which makes testing stuff in the IDE a real pain.
View 12 Replies
Nov 17, 2011
Lets make it simple. Lets say I have the stage with a combo box. I will have 100 frames with the combo box tweening from position to another. I easily can do it and see the animation of the combobox over the timeline. But when I create the swf file, the animation doesn't work. This also happens to all the other components. They don't accept any type of animation except if they are embeded in another movie clip.
View 6 Replies