ActionScript 2.0 :: Putting Sounds In Flash Game

Jun 11, 2005

im having problems putting sounds in my flash game....im using flash MX and im making a tile based RPG game ....i got the background music playing in the first map...but when my character enters the second map, the music stops and play all over again in the beginning.....i want the music to be continously playing while the character is on map 1 and map 2...how can i remedy this? im using this simple A.S for the bg music in map 1:

[Code]...

i tried to remove the line stopAllSounds();....as a result, the music became overlapping when the character transfers from one map to another. Also is there any other way to make maps easier?. coz ryt now im using 2-dimensional arrays for my map....i only have two 640x480 maps now and it's starting to get confusing editing them

View 3 Replies


Similar Posts:


ActionScript 1/2 :: Flash Game - Putting Each Armor And Update On A Different Frame Inside The Player Movieclip?

Jan 29, 2011

I am trying to create my first semi-serious flash game. The problem I am having is I want to be able to click a button in the players inventory to equip a different armor to the player, and have that armor work in the game on the same movieclip(Player) without having to re-make all the attacks and moves etc. for each change on another movieclip. My ideas are extremely novice like putting each armor and update on a different frame inside the Player movieclip and then doing a gotoAndStop to the frame. Though that may work I don't know how to goto a frame inside a movieclip. I would like to control this using as much code as possible.I would paste my code but I don't have any code for this part of the game so far. I have tried some simple coding but so far I cannot get the pieces together.

View 1 Replies

ActionScript 3.0 :: A Board Game - Get Classes To Putting Together A Board Game?

Mar 22, 2010

where to get classes to putting together a board game, free of course.I do not want to use them actually but get the idea of how mine would incorporate into the classes.I have a board game where I want each square on the board to know if it is occupied or not, to change its color, and to keep track of what is actually happening with it.

View 2 Replies

ActionScript 2.0 :: Add Right And Wrong Sounds To A Game?

Apr 22, 2005

Does anyone know any tutorials on adding right and wrong sounds to a game? Im making this game where on a wrong answer there is a wrong sound and on a right answer a right sound!

View 1 Replies

ActionScript 3.0 :: Load External Sounds To Be Used For Events In A Game?

Mar 20, 2011

I have a game where sounds are triggered when things happen. These sounds need to be loaded externally so they can be changed. It seems like the sound class is just for loading streaming sound files. Is there a good way to load in these sounds and then have them triggerable and controllable by game events?

View 3 Replies

ActionScript 2.0 :: Use With Music Is Affecting All Other Sounds - Button Sounds And Background Sound

Apr 16, 2010

I followed the mp3player tutorial (part 3) from [URL] and got it working fine. Only problem is that the setVolume I'm trying to use with my music is affecting all my other sounds - button sounds and background sound. I'm aware of the createEmptyMovieClip/attachSound approach and got it working on my other sounds. But Lee's tutorial-mp3player is using a slight different technique, and so my normal approach doesn't quite work.

[Code]....

View 7 Replies

ActionScript 3.0 :: Synchronize Sounds Perfectly To Do A Kind Of Audio Mixer Using Different Sounds?

Feb 7, 2011

I want to synchronize sounds perfectly to do a kind of Audio Mixer, using different sounds. [URL] does it perfectly, I've been researching and researching and I just don't know how to do it! How does [URL] synchonize audio so perfectly? you can even change sounds and the new ones will come on time! How do I do that? Is it just Action Script? or something else?

View 1 Replies

ActionScript 2.0 :: CS3 Getting Sounds To Start Again After Using Stop All Sounds

Nov 29, 2009

I have a film with 4 scenes in it: Here's a link to the film and as you can see the film does not play the music the second time because of the StopAllSounds function which is probably the wrong code to use. The first scene is just a button with 1 frame, a stop action and a music clip. The second scene is the film. The third scene is the credits fourth scene is a Play again button. I have a Stop all Sounds action on the fourth scene because if I do not use it and I press the Play Again button, the music from the first song keeps playing but also the music from the film starts up again so it starts to play twice. What I want to know is, how do I get the music to stop at the end of the film but start up again once I hit Play Again?

I am using Flash CS3 if that helps and using Actionscript2.

View 2 Replies

Professional :: Putting Flash Swf On A DVD

Jan 6, 2011

I'm making a presentation in Flash that needs to be put on a DVD, which we will given to people in my organization to view at home. The presentation will not contain any interactivity. It will have text, music, video, and narration.
 
The videos will be short and contain sound, should I embed them in the fla file? I planned to break the presentation into scenes to make it easier to manage, and so they'll just play one after another. My computer can burn DVDs, so I was just going to export the swf to DVDS.

View 2 Replies

ActionScript 3.0 :: Flash - Writing A Simple Game Rule For A Platform Game?

Feb 28, 2011

I'm creating a game at the moment for my university course and it involves the player character jumping on top of boxs twice to break them as opposed to just once.What would be the most efficient/simple way of writing this in Actionscript 3.

View 1 Replies

Putting Keyframe In Flash Video?

Jul 10, 2009

I need to put a key frame in an .flv file
 
More specifically, I'm just converting a video into FLV using the Adobe Media Encoder. I'm primarily a web designer, not a video guy, I've always just used the built in Insert FLV function in Dreamweaver to put Flash Video in. However, when autoplay is off I need to know how to control what frame shows up on the front of the video before it starts playing.

View 1 Replies

Flash :: Putting A File On Website?

Nov 18, 2009

I'm having trouble with publish my flash file. I have uploaded my flash file (flash.html) and (flash.swf) to my ftp. Then I copy and paste the html code onto the page of my website which is (without the star)
  
<*html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>flash</title>

[Code]...

But when I view it on my website this pop-up comes up What am I doing wrong =/?

View 14 Replies

Putting A Flash File On Website?

Nov 28, 2010

I'm having trouble with publish my flash file. I have uploaded my flash file (flash.html) and (flash.swf) to my ftp. Then I copy and paste the html code onto the page of my website which is (without the star)

<*html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

[code].....

View 2 Replies

Actionscript :: Flash - Putting Two Scripts Together?

Jun 5, 2011

I have two scripts I wish I could make a game with, but can't seem to make them work together.[URL] the objective of the game is for the player to get to the opposite end of the "maze" without being hit by the enemy.

View 1 Replies

Putting A Website In A Flash File?

Oct 19, 2007

well i want to know how to get a website and put it in a flash document.

View 1 Replies

Actionscript 3 :: Flash Game Engine Selection Of An Awesome Game?

Dec 14, 2011

I am thinking of developing of a game like this: [URL]... Do you have any idea - by which game engine I may develop this type of games? I am not sure whether I have to use any 3d physics engine? I think JiglibFlash may be useful, but I am not sure.

View 1 Replies

Professional :: Putting Flash Movie Onto A Webpage?

Feb 16, 2010

once I have created a flash movie, how do I put that movie on another web pageI am constructing using html and css?I only want the flash movie to occupy a an area of 770px width and 75px height and I have already created the div id=""and formatted in css. I just need to put the flash movie in this section.

View 1 Replies

Flash - Putting A MovieMaterial Behind A DAE Model In Papervision3D?

Apr 30, 2010

I'm doing a project using FLARManager augmented reality and the Papervision3D library. Unfortunately, Papervision is giving me a lot of problems.My scene3D contains a DAE model and a plane. The plane has a MovieMaterial and is playing a video through FLVPlayback. The DAE and the plane are both inside the same DisplayObject3D container. FLARManager transforms the container so that everything appears through the angle of the marker.

My DAE model is a TV, the screen of the TV is transparent. I want to have my Plane inside of my DAE model, so that the Movie playing on the plane material appears to be what is playing on the TV.The problem is that, even if the plane has a lower Z index then the TV, it always appears in front of the TV.

How do I have my plane and its MovieMaterial appear behind the TV, so that some of its corners are cut out by the TV and the part of the TV thats transparent let me see the Movie? If its impossible, anyone has an idea of how I could get the desired effect of having a movie play on the screen of my DAE tv model?

View 1 Replies

Flash :: Css - Firefox Putting Gap / Margin Under Header?

Mar 31, 2011

I have a flash header on my site - nothing crazy, just a short clip. It works in safari and opera on the mac and all IE versions on PC. It will not work properly on firefox on either PC or Mac. Firefox seems to be putting a gap of 10-20px under the flash I have looked up many fixes for this as it seems to be a known problem. I have seen people say it's because the "object" element it treated like letters in FF, so it allows room for the "tails" on a G and Y etc (not sure if I explained that well enough, hopefully you get the idea). I have tried margin:0; padding:0; line-height:0; font-size:0;

float:left; vertical-align:middle; and clear;both; - not at the same time, I have tried many combinations and got most of these ideas from other threads/articles where people had found a solution. I have tried this CSS on an id attached to the object, on the element object and on the parent div - I just can't seem to fix it! Also, as a side note - I've noticed the flash looks good in IE6, IE7 but IE8 makes it looks awful - can anyone explain why or confirm that is what they see? Im a mac user so borrow a laptop to test, it would be good to hear if anyone else see's this problem.

View 1 Replies

Actionscript 3 :: Make A Game Tutorial Of Flash Game?

Apr 1, 2011

how to make a game tutorial as farmville game tutorial to teach the user to play the game. i have recently involve in make that kind of game tutorial for its user by actionscript 3

View 1 Replies

Putting Objects (Instance Names) Into Array In Flash CS4

Sep 15, 2009

I worked again on a new Project and stumbled while trying Arrays. I have two cubes(cube_mc, cube2_mc) in my scene.

My code:
var gy:Number = 0;
var gravity:Number = .2
var moving:Array = new Array(cube_mc, cube2_mc);
this.addEventListener(Event.ENTER_FRAME, gravityFUNC);
function gravityFUNC(event:Event):void{
gy+=gravity;
moving.y+=gy;
};

I was trying to put both cubes into the array, and then affecting the whole Array with gravity. When I test it nothing happens, and it shows no errors.

View 2 Replies

Flash CS4 :: Putting Objects(Instance Names) Into An Array?

Sep 15, 2009

I worked again on a new Project and stumbled while trying Arrays.

I have two cubes(cube_mc, cube2_mc) in my scene.

My code:
 
Code:var gy:Number = 0;
var gravity:Number = .2
var moving:Array = new Array(cube_mc, cube2_mc);

[Code]....

I was trying to put both cubes into the array,
 
and then affecting the whole Array with gravity.
 
When I test it nothing happens, and it shows no errors.

View 1 Replies

Master Pages - Putting Link To Flash Object SWF

May 28, 2010

I have a asp.net master page that gets used by pages many /levels/deep/. I will put a link to a flash file in this template. I tried doing it like this but it did not work, what the best practice here?
<object width="924" height="200">
<param name="movie" value="/live.swf">
<embed src="/live.swf" width="924" height="200">
</object>

View 1 Replies

IDE :: Difference Between Setting The Entire Site In Flash, And Putting It Together?

Mar 3, 2009

I would like to design a dynamic website. [url] In this site they organized all of the swfs in xml.What is the difference between setting the entire site in flash, and putting it together like the example?

View 2 Replies

Flash Games - When Game Page Loading , The Flash Game Itself Does Not Appear?

Feb 15, 2010

When game page loading , the flash game itself does not appear ( just white area as the holder of the flash game) untill the game almost finish downloading, then it appears .. This long waiting with just white area makes visitors leave, thinking there was nothing there.

View 1 Replies

ActionScript 3.0 :: Putting Picture Galleries And Other Components Into A Flash Website?

Jul 15, 2010

I have created a flash website but I am yet to put in the music player and photo gallery.However as I would like to use a free player off a source on the internetThe site is designed in CS4, then published onto the server through Dreamweaver. The problem is, all (well, the vast majority) of all the players on the internet provide no .FLA file, but just a .SWF and a few others. How am I supposed to put this into the flash site, as there is no flash file to copy and paste the frames into my site?

View 0 Replies

ActionScript 2.0 :: FLASH - Putting A Simple Photo Gallery With About 3 Or 4 Different Images On Website

Nov 16, 2006

how do I go about putting a simple photo gallery with about 3 or 4 different images on my website. methe programs that I need to sownload and any other useful materials that would be needed to get this completed.

View 3 Replies

ActionScript 3.0 :: Taking A Textfield Or JS Variable From HTML Page Amd Putting It Into A Flash String?

Dec 23, 2010

I have a variable called AICC_Student_ID, which is talking to an LMS to pull in a student's unique ID (usually the same as their NTID). I need to take that JS variable value, and slap it into a String for treatment.I looked at the work it would take to use SWFObject, and since this little swf is going onto literally thousands of pages, manually hacking each and every one is just not worth it.

View 1 Replies

Flash :: Made A Game And In The Game?

Oct 20, 2009

well i made a game and in the game there is music at the first frame and when u lose to goes back to first fram and more music plays so they are overlapping.

View 10 Replies

Add Sounds In Your Flash?

Jul 5, 2009

how do u add sounds in your flash?im using macromedia flash pro 8

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved