ActionScript 2.0 :: Load A Big Music File?

Feb 10, 2009

The SWF is defaultly about 1 meg. The music file is about 3 megs as well (total 4 megs).Once the SWF has finished loading, I would like the music file to play, and then loop indefinitely.I don't want to embed the music,because that will bloat the load time so much.Streaming seems like the obvious answer, but I am having trouble then with the music starting immediately after the load has finished. Additionally when you are streaming music you can't specify how many times to loop the sound?

View 0 Replies


Similar Posts:


ActionScript 2.0 :: Load Music Through A Text File?

Mar 19, 2004

I want to load music through a text file with actions:

Code:
<a href="asfunction:_global.loadSound.myMusic.mp3"><font color="#FF0000">play</a></font>

It doesn't work though.

View 12 Replies

ActionScript 2.0 :: Load Music Through A Text File With Actions?

Mar 19, 2004

I want to load music through a text file with actions:

Code:
<a href="asfunction:_global.loadSound.myMusic.mp3"><font color="#FF0000">play</a></font>

It doesn't work though. Does anyone know how to do this?

View 12 Replies

ActionScript 2.0 :: Music Separate From Flash File / Still Have Start Stop Music Buttons?

Oct 11, 2009

I want a site to have background music, but when I attach the music to the file it makes it quite large ...3 meg and the site is slow to load. Is there any way of having the music separate from the flash file and still have start stop music buttons?

View 2 Replies

ActionScript 1/2 :: When File Loads In The Browser - Music Immediately Plays And Loops Until Click A Button To Stop The Music

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

IDE :: Play Music File Once Only On Click Of Play Button Until Music Stops

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

Load The Music For A Particular Section Using Streaming Audio?

May 13, 2009

Im making a website in flash 8 pro and would like to know how i can load the music for a particular section using streaming audio. I mean i dont want the soundtracks to occupy to much space so i want to make the website load in and then if someone clicked and navigated into contacts then i want the contacts soudntrack to load only then or preferably stream from a folder.

View 4 Replies

ActionScript 3.0 :: Sound - Does Not Load The Next Music Without Any Error

Dec 3, 2008

I have a seriour problem with my new application. I am using AS3 and AIR. It's a web radio. When the music end, I load the next music of playlist. The error is. Sometimes he load the file and sometimes he crashes and does not load the next music without any error. How can I resolve that?

View 1 Replies

ActionScript 3.0 :: Load External Music Player?

Jan 22, 2009

I have been browsing the web for HOURS looking for help with this subject. I created a flash based website and I need to load my myspace and snocap music player into my flash project. Both players are flash based....I'm certain there is some form of actionscript I can use I just don't know what it is and I am getting frustrated! [url]...

View 2 Replies

ActionScript 3.0 :: Efficient Way To Load Background Music?

Aug 14, 2009

Ok, so I've tried a lot of different ways of loading background music in Flash, and now I'm wondering what the most efficient way of doing it really is.

I have my DocumentClass, and I have a MusicPlayer class. The MusicPlayer class controls the volume and mute function, as well as holding all the visible elements of the music player.

Where should I load the music initially? From the DocumentClass at the startup? Or in the MusicPlayer after the site has initially loaded? I want the music to start playing as soon as the initial loading process has finished.

View 3 Replies

ActionScript 2.0 :: Music Is Set To Load As Streaming, Not As Event?

Jul 22, 2011

the first is related with sounds buffering and the second is about dynamic drawing.I work with Flash Professional 8.0.

1) I have published a flash work in my site, my swf file loads a sound externally, it doesn't start before the sound is completely loaded because the music is related to the animation's events. If the user wants to see the movie again by pressing a button, it doesn't start instantaneously, it seems like loading the sound (from website) again and not from the user's computer, it's supposed there's already a copy of the mp3 file in the user computer cause the movie was saw once before. The music is set to load as streaming, not as event. There's no other file in the movie, like bitmaps or whatever could slow the re-starting the movie. What am I doing wrong?.

2)I want the effect of curves, spirals, branching curves that are be drawing in the background. I saw these on tv commercials and they look cool. Flash methods for drawing are well but for a project like I told, it becomes very time consuming.

View 5 Replies

ActionScript 3.0 :: Error #1010 When Load New XML Music List

Feb 16, 2010

My purpose is do make a flash, where background music playing (from XML file list). Everything works fine. But when I press a button to load new XML file with new music list, a got output error code.

TypeError: Error #1010: A term is undefined and has no properties.
at index_fla::MainTimeline/F_MP3_laadimine()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()

[Code].....

View 2 Replies

ActionScript 2.0 :: Checkbox To Load Music With Shared Objects?

Jul 3, 2007

I've been banging my head against the wall trying to figure this one out for the past few days, without luck. I want to do three things with my little applet:

1) When the applet is loaded on my website and you've never visited the website before, load the background music and an unchecked checkbox for disabling it.

2) If you check that check box, it will stop the music and use a shared object so that the next time the user visits the site, the music will default to disabled and will not load the external mp3 file.

3) If the user then unchecks the box at some later date, the program will act like #1 until it is checked again.

View 2 Replies

ActionScript 2.0 :: Control The Music In A Base Movie When Different Movies Load Into It?

Feb 6, 2004

i want to know weather it is possible to control the music in a base movie when different movies load into it using load movie. it can done manually by using a volume slider. but is there any way to controll it using action script??Suppose "start.swf" is a base movie with a music (xyz.mp3, event sound, 50 loops) in which different movies load in defferent levels. I want to controll the sound volumes differently when each movie loads & plays.

like when "one.swf" loads the volume = 50,
"two.swf" loads the volume = 0

View 4 Replies

HTML :: How To Run Music File From SWF

Sep 12, 2011

I looked over some cool examples of media scripts such as sound manager and other music player plugins for websites. I find that they are running the music file from a .swf file. So as I'm not aware of any website from where I can learn to code this?

View 2 Replies

Professional :: Adding A Music File?

Sep 21, 2010

just created a slideshow that loops because I want it to continuously play. I added another timeline layer and inserted my music file which is 4:03 minutes long which I set to loop as well. However after it has been playing for about 15-20 seconds it sounds like it is layering another music file on top of the existing one and so on and so forth, so a couple of minutes

View 20 Replies

Movie Clips And Background Music - Unable To Stop Music At The End Of The Animation?

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

ActionScript 2.0 :: Music To Continue Playing But The GetURL Function Seems To Stop The Music

Dec 13, 2005

When the movies performs the getURL action, I want the music to continue playing, but the getURL function seems to stop the music at frame 152 (where the getURL action is placed), when I wanted the music to continue to frame 257 (the end of the movie). I hope I've explained this clearly

View 3 Replies

ActionScript 1/2 :: Make The Music In This File Play Only Once?

May 8, 2011

What action/script do write to make only the music stop looping?[URL]... Im using AS2 . Im kinda new to flash so can you please explain thoroghly.

View 7 Replies

ActionScript 2.0 :: Loading And Activating Music Into Another File

Nov 30, 2010

I'm trying to load music into a another file using the loadMovie method. This is my script:

ActionScript Code:
stop();
this.createEmptyMovieClip("musicContainer",20);
audioStatus = false;
trace(audioStatus);
[Code].....

As you can see, first I created an empty clip. Next step was to create a variable named "audioStatus" to know if the button has been pressed or not. It seems I'm doing something wrong because the movie is not loading the music and it-s not detecting my var.

View 3 Replies

ActionScript 2.0 :: Stop One Music File When Play Another?

Nov 23, 2009

I'm developing a band site and currently have all the song clips playing and stopping via start/stop buttons. The issue is that all of the songs can be playing at the same time if you don't manually stop the other songs. The idea would be to have a song stop automatically if a user pushed play for another song.This is all the AS I have on the button right now:

Code:
on (release)
{

[code].....

View 1 Replies

ActionScript 3.0 :: Music Sync Animation - Create A Music Animator?

Nov 9, 2010

I am trying to create a music animator. It will have bars that move up and down do the beat of the music. This is like windows media player where the music animations play. I want it to be verticle bars, where some are in sync with like the base and others are in sync with the tempo. Does anyone know of a tutorial for this? I am trying to emplement it within my website so that whatever music I am playing will auto control the bars and sync.

View 5 Replies

ActionScript 2.0 :: Streaming Music Using Flash, But After The 3rd Music Is Done, It Just Stops?

Feb 21, 2007

I am streaming music from my site using flash, but after the 3rd music is done, it just stops. Do i have to flush something or create a new music object for each 3 songs?

View 6 Replies

ActionScript 2.0 :: Music Loop - If Statement - Check Whether Or Not The Music.swf

Apr 5, 2005

I have 'Sound On' and 'Sound Off' buttons on mutiple scenes and I am playing the music loop in my flash movie by loading an external swf. When I move to the next scene the sound reloads which I do not want. How do I use an if-statement that checks whether or not the music.swf, that needs to be loaded is found and when it is found, go to a frame?

View 1 Replies

ActionScript 3.0 :: Music Player - Loads An External File?

Apr 16, 2009

I've made a a music player in as3 that loads an external file:

var music:Sound = new Sound(new URLRequest("walk.mp3"));
var sc:SoundChannel;
var isPlaying:Boolean = false;[code]............

But i wanted the music to start as soon as you open the movie... how do i do it?

View 1 Replies

ActionScript 3.0 :: Turn Off Music On Multiple Flash File?

Nov 30, 2009

I have a website that reloads same flash swf on different pages. It has music attached to the swf file. My question is how to make people turn off music on a single page and when they look at other pages, the pages remain 0 volume, and when they turn on the music on a single page, it globally turn on all other swf files music.

View 2 Replies

ActionScript 2.0 :: Music - Optimize File Size And Performance?

Apr 28, 2006

i am looking to use a fair amount of music in a project that a user has dynamic control over. because file size is an issue i was wondering the best way in which to optimise file size and performance? i have noticed the loadSound command for retrieving it from a server and also considered using a linkage and not exporting in the first frame (if i do this how do i export it afterwards?).

View 3 Replies

ActionScript 3.0 :: Music Player And Minimal Xml - Change The Way The MP3 File Is Called On

Jun 18, 2009

Everything works perfect but i need to change the way the MP3 file is called on. I'm brand new with AS3 and XML but have a PHP background so I attempted to understand the script and have not had any luck. The index.htm file displays a very simple music player which calls on the button_mp3_player SWF. The FLA has a portion of code that calls on an XML file to load a particular song. What I need to do is remove the XML file completely and define the MP3 file name in the index.htm. I assume some AS3 code needs to be altered so that it does not call on the XML and also that the index.htm code needs to be altered to define the MP3.

[Code]...

View 4 Replies

ActionScript 2.0 :: How Does The Backend Compile The DIY Music File For The User To Download

May 2, 2006

I have some question, Please check out this two site. [URL] My question is how this is done? Both in the front end and back end. How does the system recognize which music to play when the timeline hit in the front end. And how does the backend compile the DIY music file for the user to download. It just so dynamic.

View 3 Replies

ActionScript 3.0 :: Mute/unmute The Volume For An Internal Aif Music File Using A Button?

Mar 9, 2009

I need the code to mute/unmute the volume for an internal aif music file using a button.

View 2 Replies







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