ActionScript 3.0 :: SoundMixer.stopAll Not Working With Captivate Content?

Aug 10, 2010

am building eLearning courses using a Flash-based AS 3.0 course playerI use SoundMixer.stopAll to stop sounds when progressing through the course, pressing buttons etc also call SWFs made in Captivate into my courses. These SWFs have audio in them. But when I progress through these slides (by clicking a next button), the sound from the captivate made slides overlaps (keeps playing). SoundMixer.stopAll does not seem to work for captivate SWFs

View 1 Replies


Similar Posts:


ActionScript 3.0 :: SoundMixer.stopAll And Removechild Not Working?

Feb 20, 2012

I am trying to load multiple movies into a single swf. the problem is when I load another swf holding the movie... it keeps playing the sound from that movie even when I change to another one. what I have

ActionScript Code:
import flash.display.SimpleButton;
import flash.display.DisplayObject;

[code]......

View 9 Replies

ActionScript 3.0 :: SoundMixer.stopAll(); Not Functioning?

Feb 19, 2009

I use the AS3.0 stated below to control a simple Flash play/stop button to play/stop a mp3 on a webpage. Since I am using about 15 of those players on one page and a lot of visitors are to lazy or unaware to press 'stop' before clicking 'play' on a next player, a 'stopallsounds' would be great: so, whenever a play-button is clicked all the 'earlier' sounds will stop playing.

So, the buttons seem to work fine but the line "SoundMixer.stopAll();" in the playfunction paragraph is not doing what i want it to do; other/earlier sounds just keep playing.

[Code]...

View 0 Replies

ActionScript 3.0 :: SoundMixer.stopAll(); - Kill Audio In Loaded SWF?

Aug 25, 2010

I've currently got a flash site written in AS3, into which i'm loading an AS2 SWF that plays audio.The AS2 SWF is loaded into a container movieclip at Frame 10, when a specific navigation button is pressed, the playhead advances to this frame, and calls the SWF. When the user navigates away from this frame, SoundMixer.stopAll(); is called to kill the audio from the loaded AS2 SWF.

This works fine inside of Flash however, when deployed to the browser, the audio playing in the loaded AS2 SWF carries on playing.I've tried loading a new blank SWF in it's place to kill the audio, as well as a blank SWF with stopAll(), all of these solutions work within the Flash IDE (CS4) however the audio always persists in the browser.

Code:
var swfLoader:Loader = new Loader();
holderMC.addChild(swfLoader);
var bgURL:URLRequest = new URLRequest("ytPlayer.swf");

[code]....

View 1 Replies

ActionScript 3.0 :: SoundMixer.stopAll(); Affecting NetStream  Event.info.code - Bug?

Sep 10, 2009

I'm loading and progressively streaming an F4V Video using pure actionscript code (No playback component used) and after the video begins streaming I place a MUTE button on the stage that when clicked executes the SoundMixer.stopAll(); instruction.
 
When the movie completes playing I use the following code to monitor the NetStream state changes and place a NEXT button on the stage when the video finishes.
 
When the video completes there is a NetStream event.info.code issued - "NetStream.Play.Stop"

[Code]...

View 2 Replies

ActionScript 2.0 :: SWF Not Working When Imported Into Captivate 4?

Sep 30, 2009

i have produced a simple drag and drop slide for use in my captivate project, works fine standalone, but when i import into Captivate it doesnt work correctly, the drag and drop element works ok but it doesnt seem to be targeting the drop target i then use to then goto the next frame etc.

on (press) {
startDrag(this, true);
}
on (release) {

[Code]......

is there another way to reference "/want_box" that will work in Captivate?

View 1 Replies

ActionScript 3.0 :: Unload/StopAll/Eliminate Sounds?

May 22, 2007

The problem i've run into is I play the sound (embedded in the timeline so i can sync up animation) in a scene, then move onto another scene using a button. But by the time i get to the 4th or 5th scene all the sounds that I have previously played all play at once. Even if I use the SoundMixer.stopAll(); at every possible chance - it doesn't seem to unload the sounds from memory.

View 6 Replies

ActionScript 3.0 :: SoundMixer.computeSpectrum Seems Off?

May 21, 2009

Using the example found in the class documentation, you'll notice the bass frequencies are crammed on the low end too much, and the higher frequencies will sometimes register even in the bytearray.position = 0 float.  Is this a problem with the design of the computeSpectrum class?  Because I can take the same file, put it in another spectrum analyzer and see the bass and treble spread more evenly.[URL]

View 4 Replies

ActionScript 3.0 :: SoundChannel And SoundMixer?

Sep 2, 2010

when do we use SoundChannel and SoundMixer?

View 3 Replies

Scrollbar Not Working For XML Content MC

Aug 19, 2009

I have a movie clip that loads thumbnails from images folder by reading the location of image from xml file...The problem is I have put up a scroll bar but its not working i.e its not scrolling the thumbnails' movie clip contents. I am uploading the fla...any line of code I need to change I think its the scrolling function. The scrolling script I used is from kirupa. I don't want to use classes in this...and want the up n down buttons to remain.

View 6 Replies

Flash :: Record Audio From SoundMixer?

Jan 6, 2011

I'd like to record live to a server the audio produced by some kind of drum machine made in flash, is it possible with FMS to record audio which is NOT from a Microphone object but from flash' SoundMixer?

View 1 Replies

ActionScript 3.0 :: Youtube Api And SoundMixer.computeSpectrum?

Mar 31, 2011

I connect to the sound of youtube website, how can I bond SoundMixer.computeSpectrum

[Code]...

View 6 Replies

ActionScript 3.0 :: SoundMixer For Individual Sounds?

Oct 29, 2010

I been trying to find this but no luck so far. Is it possible to get different soundmixer values for two different sounds that are playing at the same time?

At the moment it seems to me that the soundmixer takes the combined sound output for analysis, which si not what I need.

View 2 Replies

ActionScript 3.0 :: Remaking SoundMixer.computeSpectrum()?

Jul 8, 2009

For the past couple of weeks I've been wracking my brains over SoundMixer.computeSpectrum(), arguably the coolest method in ActionScript 3. It's the one that spits out the last 256 (or so) audio samples that hit the speakers, with the option of viewing that data in the time domain (waveform) or the frequency domain (Fourier transform). It's great for visualizing music, but its major drawback is that it only operates on global, playing audio, which means you cannot visualize different channels or preprocess the visualization.

Sound.extract(), a new method in Flash Player 10, gives you a Sound object's entire waveform at any time you want; I've managed to line up the waveform in Sound.extract() perfectly with the waveform in SoundMixer.computeSpectrum(), so they are literally neck-in-neck. In this SWF I'm drawing two lines- a blue line, which uses data from SoundMixer.computeSpectrum(), and a red line, which uses data from

[Code]...

View 11 Replies

ActionScript 2.0 :: Xml Content Working With Layers?

Feb 23, 2009

I have to create a map in flash (I'm most likely going to be bringing in graphics from fireworks, but that's a separate issue).I have been provided with an xml document which (I am hoping anyway) will dictate which country on the map should change to a clickable state. This xml document is being output from a database for which some countries will have a 'story' behind them some won't .. but over time each country gets a story.

Primarily, the flash movie therefore needs to 'know' when a country has something to display.Thus far, I reckon the xml document will have to have a value for each country which says content = true or false (or content="0" or "1" .. meaning the same thing).The flash movie then needs to parse the xml value to enable it to display a clickable version of the country visible (layer / movie clip visibility?) IF that country now has clickable content .. else it just sits there in a different colour (i.e. greyed out) and isn't clickable. Hopefully the xml document will eventually also contain the URL which the button needs, so the right page opens when it's clicked. how do I link each country to it's bit of the xml document to control the movie clip visibility and pull it's getURL data to achieve this?

View 1 Replies

ActionScript 3.0 :: Captivate TOC On Top Of SWF?

Jun 17, 2011

In a Captivate 5 file, I imported a Flash AS3 file. I added the Flash file to the first Captivate slide and set the swf properties to display for the entire project. Essentially the Flash file is a skin/interface for the Captivate file. Everything is working fine, but the TOC is on top of the skin.

The scenario worked fine with Cativate 4 and AS2. The Flash skin has a TOC button. When the button is clicked, the TOC opens beneath the skin.

How can I position the TOC in the display list?

View 0 Replies

ActionScript 3.0 :: SoundMixer - Not Fast Enough For External Loading

Aug 2, 2010

Using AS3 here - [URL]. I've got lots of externally loaded videos on this site most of which are XML driven. The "SoundMixer.stopAll();" works as it should, basically. I include it on each destination frame. If you click the "Jump Creative" entry point a video is set to auto-load and play. Now try clicking away on News while the video is loading. If the user clicks away while the video is loading, the audio will kick in after navigating away and after it has loaded.

View 12 Replies

ActionScript 3.0 :: Youtube Api And SoundMixer.computeSpectrum Does Not Work

Mar 31, 2011

I managed to run my youtube api and SoundMixer.computeSpectrum.SoundMixer.computeSpectrum are online, positionBar, player.getDuration (), player.getCurrentTime () does not work.Everything is running on localhost.I do not know is the security issue,

View 4 Replies

Actionscript 3 :: Red5 / Fms: Recording Audio From Soundmixer

Jan 4, 2011

i'm wondering if there's a way to record live audio from flash' SoundMixer (NOT from the microphone).

View 1 Replies

ActionScript 3.0 :: SoundMixer.computeSpectrum With Loaded FLV Movies?

Aug 31, 2009

I'm trying to use the code below to show a graphical representation of the sound from externally loaded FLVs, as they play.The code I have is below, can I change this to listen for whatever sounds Flash is playing at the moment and computeSpectrum from tha

Code:
var url:String = "song.mp3";
var request:URLRequest = new URLRequest(url);

[code]......

View 5 Replies

ActionScript 3.0 :: FlashVars And Sound Mute (soundMixer)

Mar 15, 2011

I need to mute the sound in my flash movie via html (flashVars parameter).My code in timeline is:[code]

View 6 Replies

ActionScript 2.0 :: Tabbed Content With SwapDepths Not Working Right?

Apr 2, 2009

I followed this tutorial on making Tabbed Content with swapDepths, but mine isn't working quite right. When you click a tab the text and icon disappear behind the tab. So each tabbed page is an mc and there is a button for each tab that has this AS on it:

on (release) {
_root.btn1.swapDepths(3) ;
_root.tab1.swapDepths(2) ;
}

View 3 Replies

ActionScript 3.0 :: Button Not Working Under Loaded Content?

Aug 28, 2011

Plain and simple, I have a button that does not work if it exists on a layer below a loaded SWF. If I drag the button layer up above the layer where the eternal SWF is loading into and publish, the button works fine, yet if the button is below the layer that the clip is loading into it does not work at all, even when no content appears over the button. There is no button at all in the loaded clip that would interfere...

View 5 Replies

ActionScript 2.0 :: Ultra Simple Load Flv Content Not Working?

Jun 23, 2009

I've looked everywhere and keep getting the same answer. I have a standard flv player component with the instance name of 'movies'. i have a button, that when clicked i want it to load a certain flv into said player... so... ive got behind the button (for example..)

on (release){
_root.movies.contentPath = "http://www.mywebsite.com/mymovie.flv";
}

it compiles, i run my flash and my flv player doesnt play my content.. why?? the url is 100% correct as if i put it in manually, it works fine.

View 5 Replies

ActionScript 3.0 :: Pass Captivate Variable?

Aug 18, 2010

I used the following code on a frame within an swf that was imported  to a CP4 slide. This worked fine in as2. I'm wondering how to write the  same code in as3.
 
_parent._parent._parent.rdcmndNextSlide = 1;

View 2 Replies

ActionScript 3.0 :: Referencing Objects In Captivate?

Jul 6, 2009

I need to be able to dynamically position a component generated in Captivate 4 via ActionScript that in child SWF that is imported into the Captivate project. The problem is that I don't know how to reference the objects in the parent movie. I can set a label on the object and reference the parent itself with:

MovieClip(this.parent)

but this doesn't seem to work:

MovieClip(this.parent).label.y

And I suspect that it is because some how Captivate subclasses the objects but I'm having trouble finding out how the hierarchy is structured.

View 2 Replies

ActionScript 2.0 :: Captivate Accessible In Flash

Jul 24, 2009

I've got Captivate movies dynamically loading into a Flash movie. The problem is, the tab index which works so well when the Captivate movies are in stand-alone mode falls apart when loading the Captivate movie into a Flash shell. I've tried tabEnabled=false and tabChildren=true for the movie clip that contains the Captivate movie, but with no results. Does anyone know how to get the focus manager to tab to objects in a Captviate movie when that movie is running in a Flash shell?

View 1 Replies

ActionScript 2.0 :: Loading Swf Created In Captivate 4?

Dec 24, 2010

I have created a .swf using Captivate 4. When I try to load the swf into a Flash project - (AS2) I get the following output:

Branching::script:;;
deepak branching : scripteval:[object Object];

I rewrote the Flash using components and the same thing happens. So, I'm thinking it has something to do with how Captivate makes the .swf.

View 9 Replies

ActionScript 2.0 :: Button Not Working Inside The Content Movie Clip

Mar 1, 2010

I got an issue and i can not figured out why this utton not working. So. Here is the code which i use to navigate between pages:

[Code]..

View 3 Replies

ActionScript 1/2 :: Controlling Embedded Captivate SWFs

May 25, 2006

I have a SWF (SWF A) that I'm loading into a movieclip (Movieclip C)which is part of another SWF (SWF B). Basically, SWF B functions as a player, with play and pause controls. These controls control Movieclip C where the external SWF A is loaded into.Normally, I have had no problem with this and it always works. At run time, when you click the pause button on SWF B, a stop() command is issued to Movieclip C, which stops the play of
the external movieclip (SWF A) loaded into it.However, I did a screen capture with Captivate and published it as a SWF. I loaded this SWF (SWF A) into Movieclip C in SWF B at run time. However, clicking the controls on SWF I created has NO EFFECT on the SWF I created in Captivate. It just keeps playing.I guess all SWFs are NOT created equal. How can I make this work?

View 4 Replies







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