sound it only works when placed on timeline. Im pasting the as where im using so that anyone can maybe see a solution. One thing to note, my swf is being loaded by another swf, ok...?
In my flash game, every time you click a button, it plays a short sound. Almost all of the buttons work - Except for a few random handful. Those couple play the sound twice. I don't know why either - I double checked everything.None of the frames have sound. The buttons that play twice are only set to play once. I didn't do anything different between the ones that worked and the ones that don't work.
I have an issue with how Macs play timeline animation slower than PC. On the PC the animation plays right and syncs correctly with the music.
I have a tree that grows, when it finished an axe chops it. The tree finishes and the axe starts chopping the tree at exactly 30 seconds into the song which is exactly how it is meant to happen.
Syncs right on PC but on Mac, the tree finishes and the axe starts chopping at 50 seconds into the song.
During the tree animation, I also have some other swf movies loading in the background so that it is preloaded and ready to go when required because I am trying to prevent any delays or the chance of a preloader from appearing when these swf needs to start playing.
What is causing the Mac to have a slower animation. I do notice in general than Macs take longer to play an animation than PC on a browser.
Is this just natural or do you think the Mac and PC difference caused here is due to me loading swf movies into the background?
What are my options to make the sync right. I can not make the animation actionscript based, so I am stuck with timeline based animation.
I think music streaming would be the best solution here. Right now, I am triggering the music as an event, but I am worried of the stuttering effect using streaming music, while my animation plays and swfs are loading in the background and the viewer has a slow PC.
I have a Flash 8 site that plays a music clip throughout the site. I have a flv video on one of my site's pages and would like to know if there is a way to stop the site's music when the user clicks on the "Play" button of the video and to have the site music start again when the video either ends or the user clicks on stop.
We have 4 buttons, each calls a different swf. Cannot get one swf to unload audio when another is called.Have tried many scripts but none work. Still hear audio of previous swf on top of newly-loaded swf. This was never a problem in AS2 but too late to go back to AS2, must resolve in AS3.I read that this is a bug but everything I have tried does not work. Have been using UILoader to get position accurate x=150, y=40.
For loading have tried List, UILoader, addChild, etc. Don't know which is best to use so it can be unloaded.
I�v build a simple flash projector to offer to my local fire department Essentially they used to in internal audio alarms to warn firefighters when there is an accident, fire, aggression, etcIn the version 1.0 they click several buttons, one to play the alarm sound, otherto announce the vehicle or vehicles that goes out, and a last one that says what is occurring.
The problem they report is that the sounds play immediately when you click in each of the buttons, and even the sound overlaps the other, which makes they click on each button and have to wait for the sound to finish and then click next. All this is normal because I associated the sounds to the buttons. What do I need to do the flash in this order in the version 2 of my projector:
1 The Fireman choose the type of alarm you want to play and click the button corresponding (but do not want the sound to play now) let's imagine that he pressed the button "alarm 1"
2 The Fireman choose (s) vehicles which are going out to the occurrence (but do not want the sound to play now) let's imagine that pressed the button "ABSC01"
3 The Fireman choose the type of occurrence (but do not want the sound to play now) we will imagine that pressed the button "fire"
4 finally the fireman holding down the "PLAY" (the green on on the top of the image) and this Makes the sounds selected to start playing in sequence, liker "Alarm 1" then "ABSC01 "and then" Fire "
Logically speaking I believe that each button must declare a variable associated with every unique sound, and then pressing the button takes the variables and plays them in sequence and without overlapping sounds.
I'm having trouble with sound in Flash. I may have went about coding the wrong way, because most of my codes are on frames.
So, I have these two variables
var outsideDay:Sound = new daysong(); var outsideNight:Sound = new nightsong();
And I want to play these songs on a specific frame. However, the sounds play sporadically, like 50 times at once. I think it's because I have other codes that link to the frames with a Enter_Frame function. How can I get the sounds to loop and not play multiple times at once?
I'm newbie in flash. I have created a button - it looks perfect. I got seperate keyframes for UP, OVER, DOWN and HIT events. The OVER (and only it) has assigned the sound. The problem is flash plays sound (assigned to OVER) for DOWN event (no sound assigned). I have no idea what is wrong, tried everything with this. I am unable to find soultion,
I'm developing a web app with PHP and I need to test if a page of a website has background music. As many of you already know, this is the list of the tag (I miss someone?) where the background sound can be inserted in a webpage:[code]While checking if there's background audio because of the presence of the tag bgsound or audio is easy to do, testing if a flash animation has the sound is not so easy (at least for me).I know that I can check if a tag embed has in the src attribute something like sound.mp3 but how can I test if the sound is totally embedded in the flash animation?I searched a lot to find an answer but unfortunately I've not found one.
I have a movie clip with a sound at the beginning of my project, and when I click a button in another scene it starts playing the voiceover from that clip. I don't have the button linked to that clip.
the sound is place inside a movieclip timeline on the first frame. its about 600 frames long the sound. the main timeline were the movieclip is situated is only 1 frame long. The main timeline is 50 frames long.I thought if the movieclip was not on the frame the sound wouldnt play.
i have an issue with the sound in the game.ive place a soundtrack on the first frame. its a long sound track. over 600 frames long. I place the sound inside a movieclip due to a large size. My issue i have is it sound plays even on the frames the movieclip is not situated on.when i return to the frame. the sound starts to overlap and play twice which is a bit of a mess and a racket.
I made an intro animation for a website. Packaged it up into a movie clip, selected "Export for ActionScript", dragged it into my timeline, and gave it an instance name (myIntro_mc).
This is not an exported swf... it only exists in my library as a symbol (and what ever folder of classes it goes to when you export for action script).
The intro plays some animation, has a button to continue to the site, plays some more animation and then stops.
The movie clip is in its own layer and has 4 frames of the main timeline.
If I don't tell the main timeline to stop in frame 1, the intro never shows up... playback goes directly to frame 5 (which is the home page).
If I put a stop(); in the first frame the intro plays and stops and the main timeline never resumes.
I can't sort out how to tell the movie clip to play the parent timeline when it reaches the end... nor can I figure out how to wait in the main timeline for the intro to finish playing before resuming the main timeline.
I've been gnawing at this an embarrassing amount of time and have tried all sorts of bad code in both the main timeline and in the child movie clip.
The flow player will play the audio of a *.flv, but doesn't play the video and I've no idea why. The initial example page using the default flowplayer flv url works fine. When I change the url to my godaddy site, it doesn't work. I'm using Movavi Video Suite 8 to perform the conversion to flash from mp4. I think the metadata is included in the flash file when it converts, but I'm not certain. I used the meta data injector found here: [URL] to inject meta data into the flash files and it still did not work.
Also of note is that the player's progress bar shows the start, current, & end time values of the video, so I think the metadata is there. I've still no clue why this isn't working, though.
I wonder if it's my *.flv file as the player will load the mp4 file it was generated from. I used a premium application called MOVAVI Video Suite to perform the conversion. I don't think this is the case because I can upload the converted *.flv file to youtube and it plays fine.
Also worth noting is that the Flow Player plays audio and not video both when the flv source is pointed to my godaddy site as well as when its pointed to a local folder on my hard drive that contains the player, it's files, the video files, and the example .html page being used to test this.
Possibly something else worth mentioning is that I have not put the flow player files on my godaddy site yet because the video picture isn't showing locally.I have the same issue with the LongTailVideo player.
Here is the html for my test page:
<!-- include flowplayer JavaScript file that does Flash embedding and provides the Flowplayer API. --> <script type="text/javascript" src="flowplayer-3.1.4.min.js"></script>
All my sounds work however, the play button only seems to play my sound when I click on the pause or stop button first! Plus, my stop button acts like a pause button, it doesn't start the song from the beginning once it stops. [code]...
I want to attach a sound to the main timeline (rollover sound) that i can call from on(rollover) button events. I will be attaching the same sound to several buttons.
When I play my animation in the Flash working file, the animation stops at the end of the timeline, as it should. But when I test the movie, or export it to any movie format, it will play an instance of a movie clip symbol that I used within the animation. There are no extra frames in the timeline beyond what should be considered the last frame. Is there a setting or something I have overlooked that might cause that instance of the symbol to play at the end of the animation, without appearing in the main timeline?
I want to attach a sound to the main timeline (rollover sound) that i can call from on(rollover) button events. I will be attaching the same sound to several buttons.
My question is how do I incorporate playback controls to a Embedded Video that plays with the timeline? I saw how easy it was to add playback components when you import video externally. I figured that I probably need to start by creating my play back components, but then I need code to tell the swf what to do?
i'm habing abit of problem with this code, its supposed to play pause and stop, the problem being that when i press stop then play it only plays from the last pause and not the beggining how to get it to play from the start after the stop button is pressed
I've assigned a sound to the button over frame and a different one to the button down frame. When i over over the button the button over sound plays. When I then click the button, the button over sound plays AND the the sound I put in the button down frame plays.
I have built a couple of sites in Flash, however, I have a problem with a current site I'm working on. My client wants various photos to fade out in a "checkerboard" fashion, which I am doing via its own movie clip and adding in the appropriate area on the main timeline. However, when I add a blank keyframe on the following page to add a new movie clip (with the next set of pictures, the timeline starts playing through the entire website, not recognizing stop actions or frame labels.
What I try to do is make a RSS reader in flash that plays a sound when the RSS feed is changed. In an older version I reloaded the xml via a little timer, but what I understand about this socketthingy is that it keeps an open connection with the server/feed? Am I correct that this socket parses data (or smth) as soon as the xml changes ? If yes, why dont this work ? (it does after loading, but not if the swf is running and the xml is changed)
I have created a SWF file that plays/stops sound. The SWF file works great when previewed in Flash CS4, but does not work when inserted in the HTML file.Here are the 2 files that are automatically generated when I INSERT>MEDIA>SWF in Dreamweaver CS4:
swfobject_modified.js expressInstall.swf Here is the ActionScript3 that I am using in the Flash file:
I have a website [URL] when I go there if I click the video archives button then play a video then click on the home or photos button or one of the alternate background buttons on the left the video goes away as it should but not always the audio (especially when I click while the video is still buffering). Is there a command I can use to kill the sound from the flvPlayback component and nothing else(I have a mp3 player there also I so I don't want to use the SoundMatrix class. btw the videos are all played on an instance of the flvPlayback component.