ActionScript 3.0 :: Removing Audio When New Swf Is Opened?

Oct 18, 2010

I have built my site in CS3 and I have used a loader. On my site I have embedded video links, when the other video links are pressed, the audio from the prior swf keeps playing.

[URL]
 
the videos are in the TV Section.

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Removing Previous MovieClip When New Page Opened

Apr 2, 2011

I am rebuilding my website and need to remove a mc when another mc is clicked. [URL]. The movie clips are pages and if you check the link you will see the pages aren't removed they simply stay on the page when the new mc appears. This is the relevant part of the .as which appears to have a remove code but doesn't seem to take affect.

function navigate (e:MouseEvent):void {
trace (e.target.name);
// Remove the current movie clip
container_mc.removeChildAt (0);
switch (e.target.name) {
[Code] .....

View 2 Replies

ActionScript 3.0 :: Removing Previous Movie Clip When New Page Is Opened?

Apr 2, 2011

how to remove a mc when another mc is clicked.The movie clips are pages and if you check the link you will see the pages aren't removed they simply stay on the page when the new mc appears.This is the relevant part of the .as which appears to have a remove code but doesn't seem to take affect.

------
function navigate (e:MouseEvent):void {
trace (e.target.name);

[code]....

View 4 Replies

ActionScript 3.0 :: Pause Stage/swf With Audio When A New Tab Is Opened/ Out Of Focus In Browser

May 16, 2011

I have created a container in Flash Professional CS5 for my project's CBT.  I've been able to script many of the features we require using AS3, but there are a couple of things I'm still trying to work out. I would like the swf presently playing in one tab to pause and go silent when another swf is opened in a new tab (the sound is inside this externally loaded swf which is loaded inside a movie clip from buttons nested a movie clip down).  I've tried :

var originalFrameRate:uint = stage.frameRate;
var standbyFrameRate:uint = 0;
addEventListener(Event.ACTIVATE, onActivate);
addEventListener(Event.DEACTIVATE, onDeactivate);

[Code].....

This function is present when I publish the CBT with Captivate, so obviously there must be code available. You can set the Captivate button to open url in new window and pause movie. Is there something I can add to the html file that is similar to the "has Priority" for mobile devices or is there javascript that can be added to the flash itself?

View 1 Replies

ActionScript 3.0 :: Removing Audio From Background?

Jun 14, 2009

i am trying to remove my sound from background...for some reason keep getting this error

Error: Error #2029: This URLStream object does not have a stream opened.
at flash.media::Sound/close()
at Soundbox/killAudio()

[code].....

View 1 Replies

Flash :: Actionscript - Remove The Audio - Put The Audio Into A Byte Array And Then Re-add The Audio To The Flv Video?

Aug 6, 2010

If I import an FLV video is there any way to remove the audio, put the audio into a byte array, and then re-add the audio to the flv video?

View 1 Replies

Swf Opened Directly In Browser Web

Feb 8, 2010

I have some problems with flash display in the browser. If i open with the browser a file .swf it appears smaller than the original version. I can see it in the correct dimensions only if I use the Full Sceen option (F11). How can I correct this problem to let the user get the original version?

View 3 Replies

Cursor Blinking When Flash App Opened?

Feb 17, 2009

I had written movie player for my website few months ago and I'm upgrading it by adding some new functionality from time to time. Not long ago I've observed quite curious behavior of my browser. If my site is opened in one of tabs in browser, the cursor is blinking, from arrow to handcursor, when I'm rolling over links. Interesting is that it happens in every tab opened in browser, if only one of them contains my website. Closing my site returns every other tab to normality. I tried opening my site with blocked this one .swf file (my player) and also was everything ok. I've tested this on few different browsers and systems and it seems to happen in MacOS (tested in Safari, FF2, FF3 and Opera) Windows (in FF2, FF3, Safari, Opera IE6, IE7 and Chrome), no matter if installed version of FlashPlayer is 9 or 10. On Ubuntu Linux it doesn't happen in FF3, nor in Opera (only this two browsers tested).

I've built my player in Flash CS3, using AS2. Unfortunately, I don't know in which version of my application the problem has occurred. Of course I could examine whole code line by line, but that's about 2.5k lines and it is not the work I want to do if not necessary... I've searched lot of forums, but I found solution nowhere. Maybe someone had spotted such a strange browser behavior or simply does know, what may cause it?

The problematic site is [URL]. If you want, open it in one of tabs and try to play with links in other, you'll see what I'm writing about.

View 2 Replies

ActionScript 2.0 :: Close Last Opened Door?

Mar 14, 2012

I'm setting up a scenario with 12 doors, each with unique (but not sequential) instance names. I've set up a variable that, when a door is clicked, it takes on the instance name of that door. This is working.When clicked, the door movieclip plays to a midpoint in it's own timeline and stops (open position). You can close it by clicking the now opened door which returns it to frame one of it's timeline.Now, I'm trying to make the next door clicked check first to see if the previously clicked door is still open. If it is, it will make the previously open door play() <----- this will hit the end of the open door's timeline which resets it to frame one > and then play itself and set it's instance name as the new "lastOpened" door variable.I was able to manually do it (trying to avoid overlap with neighboring doors) by just directly referring to the instance names so I thought it'd be as simple as dropping the instance name and referring to the variable.[code]

View 3 Replies

ActionScript 2.0 :: Checking If Popup Has Opened?

Oct 3, 2005

I've got a bit of code that opens a popup, then tries to send info to it using localConnection. It's not working, is it because it's sending the connection too early? How can I make it check that the window is open before I send it?

[Code].....

View 3 Replies

IDE :: Include One Button Which When Clicked Opened?

Jan 13, 2009

In an flash template / website I want to include one button which when clicked opened the [URL].. site to make payment ( to my paypal account) and after making payment the user will come back to this flash template / website to download one pdf file. Is it possible? If yes then what will be the most possible way to do this? I have no idea how to make payment [URL]..

View 4 Replies

ActionScript 2.0 :: Make A Loader For A Swf That Has Already Been Opened?

Jan 25, 2004

Is there a way to make a loader for a swf that has already been opened but has a:

on (release) {
loadMovie('movie.swf', 2);
}
on a button?

see, the 'movie.swf' file is rather large in this case, and I don't want the person to think something is wrong. Also, ANOTHER problem is that the movie.swf file was created from an imbeded .fla that no longer exists. So it's stuck just being the movie that it is. I also can't import it to another .fla b/c it just shows up as blank keyframes.

View 1 Replies

Flash Banner Cropped At Right Side When Opened?

Aug 31, 2010

I have made my flash banner, when I open it it's cropped at the right size, however if I click and drag the window to make it bigger then I can see everything which is off the stage. Is this normal? Or am I missing some kind of last stage in the design process where I have to hide everything or crop the banner? Just want to make sure the banner is prepared properly before giving to the client.

View 3 Replies

Selected Text Highlight In Opened .as File?

Jul 21, 2009

If i open .as file (or something else) in Notepad++ and select any variable or some other text, it will highlight all of the occurences of this variable in text of this opened document. And you can quickly see where this variable have assignemnts and so on. But in Flash CS3 i can only use standard Find dialog to search throug opened .as file and it finds only one occurence, then you hit "Find Next" and you've got another. Not so comfortable. So does that feature exist in Flash CS IDE, or something similar? (i can't find that)

View 1 Replies

ActionScript 3.0 :: Push The Page Down When A Click Ad Is Opened?

May 12, 2010

The main problem is the page needs to be pushed down when the ad is opened, there needs to be a a code that will push the page down, not cover it up...

View 1 Replies

Professional :: Get The SWF To Have A Solid Background When Opened By Buttons?

May 23, 2010

I have buttons that load SWF files. when i test the SWF they have a solid background. However, if i use a button to open the swf they have transparent/no background, yet you can still see the contents of the swf.
 
How do i get the SWF to have a solid background when opened by buttons?

View 1 Replies

Professional :: Clear Recently Opened Files?

Aug 24, 2010

I couldn't find where to clear the recently opened files. Where do I do that in Flash CS4?

View 2 Replies

Media Server :: Finding The Opened Streams?

Sep 21, 2010

After solving an important issue about the audio conference, i have another doubt. The question is, when the user enter in the conference, how can i get the opened streams of the server, in order to automatically let the attendee hear the presenter?

View 1 Replies

Flex :: Multiple Instances Of A TitleWindow Opened

Sep 27, 2011

My Flex application is one consisting of several "subapps". Basically, the main application area is an ApplicationControlBar with buttons for each of the subapps. The rest of the area is a canvas where the subapps are displayed.Only one subapp is visible at a time. When switching between subapps, we do a canvas.removeAllChildren(), then canvas.addChild(subAppSwitchedTo).It's essentially a manual implementation of a ViewStack (the pros and cons of which are not the topic of this, so refrain from commenting on this).In one of my subapps (let's say subapp "A"), I have a search function where results are displayed in a TitleWindow that gets popped up. Workflow is like enter search criteria, click search button, TitleWindow pops up with results (multiple selection datagrid), choose desired result(s), click OK, popup goes away (PopUpManager.removePopUp), and continue working. This all works fine. The problem is if I switch to a different subapp (say "B" -- where A gets removeAllChildren()'d and B gets added), then switch back to A and search again, when the results TitleWindow pops open, there will be TWO stacked on top of each other. If I continue to navigate away and back to A, every time I search, there will be an additional popup in the "stack" of popups (one for each time A gets addChild()'d).

I'm not sure what to do about it and it's causing a serious usability bug in my application.It's like I somehow need to flush the PopUpManager or something (even though I'm correctly calling removePopUp() to remove the TitleWindow).[code]

View 2 Replies

Actionscript 2.0 :: XML - Answers Only Load The First Time The Swf Is Opened

Feb 24, 2009

I'm doing this project for a school competition, I'm nearly done but I'm having some XML trouble. I have a custom quiz, which is an external swf loaded into another swf on a certain button click. The Questions from the quiz always loads properly, but the answers only load the first time the swf is opened. Every other time, the "Answer Placeholder" text shows up instead. This can be seen at [URL], scroll over the arrows on the side of the page, and then click on "Quiz". It may work the first time, but after a page refresh, just the placeholders again.

[Code]...

View 3 Replies

ActionScript 3.0 :: URLStream Object Does Not Have A Stream Opened

Dec 14, 2009

I successfully built a XML gallery; everything seems to work fine. But everytime I click on a thumbnail, I will get the following error:Error: Error #2029: This URLStream object does not have a stream opened.I researched on this error, and it seems this error involves sounds. Something about trying to load something that's already fully loaded. Therefore, I'm confused since I don't have any sound in my gallery. On top of that, the gallery works just fine but this error keeps popping up in Flash.[code]

View 1 Replies

ActionScript 2.0 :: Path For Mc In Component In Currently Opened .fla For A .swf Panel

Aug 21, 2004

some may know im building a hell-of-a-component. which basically types text. i figured out how to get a movieclip to act as a cursor. but now that my list of options/attributes/settings or whatever you want to call them are so huge, i decided i really had to make a custom UI. now ive done most of it now (hence the array.sort() question earlier - thanks sen! ) but i want to be able to preview what the current cursor is (if they choose to use a movieclip!).

the path of the movieclip to be used as a cursor is, from within the component is: Typr.cursorMC i tried using xch.Typr.cursorMC but that didnt work and ive no idea how i could link in with a currently open flash document. or if its even possible.

View 1 Replies

Media Server :: Fms 3.5.2 - Video / Audio Streaming Application - Audio Stops Or Lags Behind

Aug 25, 2009

I ran a simple live video streaming application for the first time with actual users and ran into a couple of serious performance issues that had not turned up during testing. In this instance there was one video stream from a live web cam and used FMLE at 150 kbps using VP6 and MP3 @22k. There were 16 clients and everything worked pretty good for about 30 minutes. (although some clients said their audio and video were out of sync by up to 3 seconds)

Then individual clients would have either the video freeze or the video would continue and the audio would stop. These clints had to "disconnect" and then "connect" again to the application. This happened to all of the clients at one time or another for several minutes. I stopped and restarted the FMLE with progessively lower bandwidth settings down to 75 kbps but still clients were having the same issue.

I eventually stopped the FMLE and used the applications built in publisher at 45 kbps and that seemed to eliminate the freeze/dropping issue. But of course the video quality was very poor and some clients still reported that the audio was out of sync with the video. The server hosting the FMS application is a quad processor dell with lots of memory and network connectivity. The Flash Media Admin Console performance graph showed the total Bandwidth as 3 Mbps at maximum.

View 8 Replies

Asp.net :: Skinnable Audio Player (or Something Similar To Windows Vista Audio Control In Task Bar) For The Web?

Mar 11, 2010

Anyone know of a skinnable audio player (or something similar to Windows Vista audio control in task bar) that i can embed in my website?

A player that can be customized to use a 'speaker' icon instead of a 'play' icon. When the speaker is clicked, the volume can be adjusted or turned off. The option of being able to autoplay and set the default volume level.

View 1 Replies

CS4 Media Encoder Audio - Audio Sound Stops After A Few Seconds From The Beginning?

Aug 4, 2009

I am converting from .FLV's to .F4V. Video outputs fine but the audio sound stops after a few seconds from the beginning.I have tried many different settings for the audio with no luck. Also, tried on a colleague's machine who is running CS3, which works fine, so something is buggy in CS4...

View 1 Replies

ActionScript 3.0 :: Audio Synchronization - If The Audio Were On The Timeline You Could Set Sync Params To Stream?

Mar 11, 2010

Because the player optimizes framerate, antialiasing etc dependent on the performance capabilities of the platform upon which it is running, it was nearly impossible to ensure animation syncronization w/ audio. If the audio were on the timeline you could set sync params to stream, but if the audio is loaded programically forget it .. well until AS3 ..The following code throttles the player framerate to lock step the animation to the audio .. not perfect but the principal works ..

View 1 Replies

Php :: Recording Audio On Website: Red5 Stream Or Posting The Audio Data?

Sep 6, 2011

Let me first establish what I want to do:My user is able to record voicenotes on my website, add tags to said notes for indexing as well as a title. When the note is saved I save the path of the note along with the other info in my DB.Now, I have 2 choices to do the recording, both involve a .swf embedded in my site:

1) I could use Red5 server to stream the audio to my server and save the file and return the path to said file to my app to do the DB saving, seems rather complicated since I would have to convert the audio and move it to the appropriate folder that belongs to the user in a server side Red5 app, which I'm not very aware of how to build.

2) I could simply record the audio and grab its byte array, do a Base64 encoding on it and send it to PHP along with the rest of the data that is necessary (be it by a simple POST or an AJAX call), decode it on the server and make the file with the appropriate extension, audio conversion would also occur here using ffmpeg, this option seems simpler but I do not know how viable it is.

View 1 Replies

Media Server :: Stream And Audio Line Level Feed Rather Than The Audio From A Computer's Microphone?

Apr 1, 2012

Is there a way to stream and audio line level feed rather than the audio from a computer's microphone?

View 1 Replies

ActionScript 1/2 :: Audio To Not Play When Moved To New Position For Audio Player

Aug 25, 2009

I have an audio player that has a custom timeline and playhead. I am using a start and stop drag to move in the time line but the only way i can make it work is to have it play when ever I release the play head. I would like it to stay stopped if the player is paused and play if the player was playing.
 
[Code]...

View 5 Replies

Get The Audio Level Chart From The Library Into View Along The Audio Timeline?

Oct 25, 2009

The images for animation load okay. The sound loads okay.  But the animation images need to be inserted in coordination with the sounds, which is difficult using only the ears  There is a visual graph of audio levels in the library window, which I have seen appear in the timeline also but only momentarily.  I do not know how to keep the audio graph on the timeline so as to know where to put the images.  I can keep the graph open on the little library window when it is open but not on the timeline. how to keep the graph open on the audio track while I work on the image tracks.

View 1 Replies







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