ActionScript 3.0 :: Scene Change Action And Mute
Mar 2, 2009
In a certain part of my movie i want it to go from scene 1 to scene 3 but for the life of me i cant remember what the script for that would be, and i figure since it was AS 2.0, its changed by now, and in scene 3 i want an mc that has sound in it to be muted but not the whole movie.
View 1 Replies
Similar Posts:
Jan 13, 2012
I am using the following code to mute sound in a flash file - basically turning the volume to 0 or 1.It works fine until I go to a different scene. Once I load a new scene the button no longer works.
[Code]...
View 1 Replies
Sep 27, 2002
Is there a way to mute all sounds in a whole scene? I want to have a button that turns off all sounds and stops all sounds from playing until i press the button again. The button is done and there's a "set(gallerysound,1) instruction in it when first pressed, and then it changes to zero the second time around. But now I'm stuck. How do i use this var to control the sounds in other keyframes? (preventing the sounds from playing until gallerysound changes again) ?
View 7 Replies
Oct 2, 2006
Code:
_root.navigationMC.onPress = function() {
startPreload("blue.swf");
}
If I wanted to change an action from a button click to a frame-based action, what do I use instead of onPress? The hints from the AS editor are all click-based.
View 1 Replies
Jan 27, 2011
I am using code from a tutorial that I downloaded to get an Home.swf to preload in my "index" page.the problem is that a part of the code reads
movie1_btn.onPress=function(){
startPreload ("Home.swf");
}
which means that I have to create a button to get the .swf file to load, how do I edit this code so that the action begins on it's own at that frame?
View 5 Replies
Jun 1, 2006
how do you make a button use the gotoandplay action to go to another scene? Its scene 420 i need to get to
View 3 Replies
Feb 3, 2009
I've downloaded the the Flash mp3 Player. I did some minor modifications to it and it works well. The only problem I have is that when the mute button is pressed, the current song is mute(s.setVolume(0)), but when the next song comes up, the mute button is not in mute state(Volume not set to 0). I want to keep the mute state unchanged when the songs are playing untill the mute button is pressed again.
View 6 Replies
Feb 3, 2007
i have an animation and some movie clips. i want to add my scene an action that brings movieclips from my library randomly on my stage in every 20 seconds. how can i do that? the movieclips should be on the stage so we can see them but they should be invisible until they called from the action.
View 6 Replies
Jan 27, 2011
ive made a button in the scene 1 which i have managed to navigate to scene 2 but when i click the button it goes to scene 2 but displays everthing that is in scene 1 in scene 2, how can sort this out so upon the button click in scene 1 it goes to scene 2 and only display content in scene2.
[Code]...
View 1 Replies
Aug 5, 2010
So i have a flv playing on a flash load. I need the mute button toggled to "mute" by default.
Code:
my_FLVPlybk.muteButton = mutebtn;
that is the mute button instance i am using.
View 1 Replies
Jan 9, 2009
I was analyzing the files of a image gallery that I`m working on and I noticed that it evolve three files: one xml, one php and one flash. According what I saw there is no need to change the php file (its only say how to organize de file code gallery.xml). I need to change the actionscript code in flash file.
The image gallery is designed to open a lightbox like window inside the flash when is clicked to see the larger size of the image. I need that, when the file extension is not an image (or it is a .html extension file) the link just opens a target _blank window or even a pop-up window with width and height defined that itis a html.
I believe that the better way to solve this is saying in actionscript language in the flash file that, if the src= of the image is a file with .html extension, it besides open that like lightbox image inside the flash, simlpy open that link in a news window or pop-up. It is possible to do this in actionscript?
[Code].....
View 0 Replies
Jul 13, 2009
I was given a flash file for the header of a template site, but I am unable to change the movie/scene. No matter what changes I make when I test scene/movie I am not seeing any changes I have made. Even if I hide all layers and save when I test the scene nothing has changed. the only flash work I've done is making a banner that fades to different images.
View 2 Replies
Sep 13, 2004
Check out this code:
[CODE]...
everything here is fine. It opens finely. But... i want to pass parameters where if i click a button in html page My.swf should open a particular scene called 'Scene 2' rather than scene 1. i tried
[CODE]...
View 2 Replies
Sep 21, 2002
is it posible to use action script to change tint efect on object. I found only alpha property posible to change.. I nead to put color (100%) tint on instance.. an then using actions change this percents depending on user behaver... (I can do it withaut actions.. but I dont wont to.. (lot of work..)
View 6 Replies
May 24, 2010
i made a full site all based in flash and divided the pages in scenes
i need a button to do exact that. when u click the button it must play some frames and then go to other scene.
i can't tell to go to other scene in the last frame because there are a lot of scenes and buttons that have to do the same.
15 buttons - 15 scenes - play 30 frames and then change the button-scene!
View 7 Replies
Jun 23, 2009
I got 12 scenes on my file and all of them are running on actionscript 2.0 engine. I import a new scene but it requires a actionscript 3.0 engine. is it possible to change the actionsript on a particular scene?
View 1 Replies
Jun 8, 2011
I just wanna change the scene when i press ENTER key, but it seems people have tons of ways and it doesn't work out well, this is what im doing:[code]And it doesnt work, this is the error report:1061: Call to a possibly undefined method addEventListener through a reference with static type Class.1061: Call to a possibly undefined method keyDown through a reference with static type Class.
View 9 Replies
Mar 22, 2009
I have a video player in a multimedia presentation I am building in Flash, which is almost complete and just having one problem. When I change the page (scene change), I can still hear the audio form the video. The Video is still playing, how can I stop this?I was thinking if I added a stop function to all the buttons that link to different pages, but I don't know how to refer to the FLVPlayer. Somethink like
Bio_btn.addEventListener(MouseEvent.CLICK, StopVideo);
function StopVideo ????????????????{
???????????????();
[code].....
View 1 Replies
Jun 2, 2009
how do we change the button colour using action strip. for example , i have created a button , and the fill colour for the button is green now. After i click on the button , i want the button to change to red colour .
View 5 Replies
Aug 14, 2009
I am editing code on a previously made site and was wondering if there was a quick way to load an external pdf once you hit a certain frame.They currently are loading an external swf. I just want to take that out and add in a pdf.[code]
View 2 Replies
Feb 11, 2010
I'm trying to find out if there is a way to get an animation to stream in the background and not reset or change when there is a frame jump or scene change. I just want it to become the permanent background.Kind of the way a sound can be set to loop and stream non-stop so long as you don't go back to the frame in which the sound started.
View 3 Replies
May 22, 2010
i made a full site all based in flash and divided the pages in scenes
i need a button to do exact that. when u click the button it must play some frames and then go to other scene.
i can't tell to go to other scene in the last frame because there are a lot of scenes and buttons that have to do the same.
15 buttons - 15 scenes - play 30 frames and then change the button-scene!
View 1 Replies
Nov 6, 2010
when 2 objects collide scene change?i was wondering if there was a way to change the scene when two objects collide in action script 3?
View 5 Replies
Jan 11, 2012
I have a plan of a park and want to make some different zone (red, green, blue, etc.) I know how to make them but dont know how to put them to 50% of opacity.
View 3 Replies
Jan 21, 2012
I want to change the scene when my timer is equal to zero how can i do that
import flash.events.TimerEvent;
var count:Number = 100;
var myTimer:Timer = new Timer(300,count);
[code]........
View 2 Replies
Nov 6, 2010
i was wondering if there was a way to change the scene when two objects collide in action script 3?
View 5 Replies
Jan 10, 2012
I've looked around and found various answers... tried a few, but am still getting an error perhaps i can get an indepth breakdown on why my code isnt working.
first off i have 2 scenes already created. "scene 1" and "scene 2" i want a button in scene 1 to goto and play scene 2 frame 1
here is my code:
ActionScript Code:
Multitouch.inputMode = MultitouchInputMode.TOUCH_POINT;
// to be used for touch on android
startButton.addEventListener(TouchEvent.TOUCH_TAP, ms_touchStart);
[Code].....
View 6 Replies
Jan 17, 2012
I was wondering how i can change scene in AS2 in a specified hours of the current day..Until the date the scene 1 contain "Promo coming soon".when the time set is reached (example at 5pm) the swf go to scene2 and play the promo image.. it's possibile?
View 9 Replies
Nov 18, 2003
If you put a button symbol into a movie clip. Then, place the movie clip onto the main time line. Add multiple scenes to the movie and multiple frames on the pain timeline. Go back to the button within the movie clip and program it
[Code]...
View 14 Replies
Aug 8, 2009
I would like to make when I hit a button,It starts playing another scene and frame number. nIm useing gotoAndPlay(100); right now for my script. how do you change the scenes names?
View 3 Replies