ActionScript 3.0 :: Unloaded Multimedia SWF But Video Still Playing

Jul 25, 2011

I'm creating an eLearning interface to load other multimedia rich SWF contents. As from the title, I do unloadAndStop() the multimedia rich SWF and the SWF disappeared from the stage. However, video content from the unloaded SWF were still playing.

According to Adobe:
Code:
As a result, the following occurs for the child SWF file and the child SWF file's display list:
Sounds are stopped.
Stage event listeners are removed.
Event listeners for enterFrame, frameConstructed, exitFrame, activate and deactivate are removed.
Timers are stopped.
Camera and Microphone instances are detached
MovieClips are stopped.

The 2nd problem I face will be, after unLoadAndStop() my parent font type also change to "Times New Romans" although I have embedded the the font type to the flash. I have to reload the parent to get back the design font type.

View 7 Replies


Similar Posts:


IDE :: Audio From Unloaded Swf Keeps Playing?

May 28, 2009

I'm trying to load a successive series of swf, each containing audio, into a loader. As each ends, it's unloaded and the next one loads. I'm using the following code:

Code:
var ldr:Loader = new Loader();
var c:int = 0;

[code].....

View 2 Replies

ActionScript 3.0 :: Audio From Unloaded Swf Keeps Playing?

May 28, 2009

I'm trying to load a successive series of swf, each containing audio,into a loader.As each ends,it's unloaded and the next one loads.I'm using the following code:

[CODE]var ldr:Loader = new Loader();var c:int = 0;var clips:Array = new Array("dmt1.swf","dmt2.swf","dmt3.swf","dmt4.swf")addChild(ldr);ldr.load(new URLRequest(clips[0]));
addEventListener(Event.ENTER_FRAME, loading);[/CODE]...........

Each swf loads just fine, but the audio from the previously loaded swf start playing again, so there's a layered audio mishmash.

View 1 Replies

Flash :: Sound Keeps Playing After External Swf Was Unloaded

Oct 14, 2010

I have a flash application, some kind of a play-list that loads external SWF video player (I don't have code access to that external file), so users can watch the video or skip to another one. When user switches to another video new SWF file is being loaded.

The problem: If user didn't finish watching the video and skips to the next then I unload previous SWF file (unloadAndStop()) and load a new one. And because the previous SWF was playing it is not actually unloaded, it is still playing on the background (I hear two audio tracks: current and previous).

View 1 Replies

Flash :: Unloaded AVM1 Swfs Trace Out As Unloaded But Memory Is Not Freed For The AVM2 Machine

Mar 29, 2010

I have a large project built in as3. Part of its main functionality is to load and unload various as2 swfs. The problem is that the memory ins't free up once they are unloaded.

I have access to the as2 swfs code base and destroyed all objects, stopped and killed timers, listeners, removed from stage, destroyed all the MovieClip.protoypes that were created. They look to be clean as far as the AS2 debugger show no remnants of the object after the destroy function is run. In AS3 i've closed the local connection, cleaned all references/listeners to the AVM1Movie and ran Loader.unloadAndStop(). The trace out in flex says the swf was unloaded but looking at windows task manager the memory usage never drops to when it was before the as2 swf was loaded. Each as2 swf can take up to 80 megs each time it's run so memory gets eaten up fast and loading and unloading a few as2 files.

At this point if the AS2 swfs are unloaded the only thing that I can assume that could be left is MovieClip.prototype and/or _global, _root variables add during the AS2's run time. But i've gone through those and can't find anything else that might be sticking. Has anyone ever seen problems before with the AVM1 machine not freeing up its memory?

View 2 Replies

ActionScript 3.0 :: Stop Sound Once Video Unloaded?

Feb 21, 2009

I am loading swf's that have an flv embedded on the timeline. When the user selects from the menu I unload the swf and load another. This is working fine, but the audio from the first swf's video keeps playing. How can I kill this first videos audio track?

View 3 Replies

Actionscript 3.0 :: Seek Unloaded Time In Flash Video Player?

Jun 21, 2011

I created a flash video player. Could any one show me how to seek unloaded time in flash video player?

View 1 Replies

ActionScript 3.0 :: VIDEO Stops Playing, Continue Playing Flash Movie?

Aug 7, 2009

I am loading an external SWF file into my main timeline. The external SWF file contains an FLV video. At a certain point in my main timeline, the SWF file loads and plays the video. Is there a way to say...

If the VIDEO (FLV) is done playing, gotoAndPlay(X)?

View 4 Replies

Multimedia Development Platforms?

Dec 15, 2009

I've been out of multimedia development since then, but have started dabbling in Flash. The version of Flash my company currently owns is old--Flash MX. It's old, but has been good enough to prototype some ideas that I have.My boss says he's willing to upgrade my version of Flash and send me for training, but before he does so, he wants me to confirm that Flash is the best platform for me to learn.So that's the question: what's the best development platform for multimedia development? I've been reading that people predict Director is on its way out, even though it's more powerful than Flash. I've seen people mention AIR and FLEX, but I don't really know anything about them.

View 1 Replies

Java :: QT Vs Flex / Flash / AIR For Multimedia

Nov 1, 2010

I develop a MIDI application using AIR that read MIDI code from Java and found it could not perform fast enough unless I move everything to Java. In actionscript, does Green thread can improve AIR/Flash by acting as a multithread application which can improve NativeProcess performance in reading and writing?If not, say would you suggest moving all to Java or choosing Qt framework? I am not comfortable with C++ language.

View 1 Replies

Professional :: Playing An External Video File And Upon Video Being Played, Move Onto Next Frame?

Dec 16, 2011

I suppose the title says it all.  I can load an external video file (FLV) and I can have it play.  I also have the custom buttons made to control the clip.  The only thing I have left to do is to have the main timeline move onto frame 2 once the external video reaches its end.  I am using actionscript 3 and flash cs 5.5. 

View 7 Replies

ActionScript 2.0 :: Preloaded Video Already Starts Playing While Preloading (at About 30%), But Without Showing The Video?

May 2, 2005

I've been using the "Reusable Preloader Using MovieClipLoader" from the tutorial section of this site.The only difference is that i don't use'm for preloading jpg. I load external swf files containing video. Everything works fine so far. The only problem is that the preloaded video already starts playing while preloading (at about 30%), but without showing the video.This is the code i have so far:

Code:
bar._visible = false;
border._visible = false;
this.createEmptyMovieClip("container", "100");[code].....

View 6 Replies

ActionScript 3.0 :: Multi Video Player - Audio From The Last Video Remains Playing Even When Prompted To Stop??

Jun 2, 2010

I built a timeline based player with 2 menus and many videos that you can play.The buttons move the timeline to a frame label and the video plays. The back button has a stop function built in it so the video stops playing when its hit.It plays wonderfully locally but once on a server after a few clicks it boggs down and sometimes the audio from the last video remains playing even when prompted to stop. I was pointed to use the add and remove child functions to prevent this but being very new to Flash and 100% self taught i have zero idea on how to do this. The link to the player is[url]....Even if its a link to a tutorial or something.

View 3 Replies

Actionscript 2.0 :: How To Detect When Video Finished Playing To Play Next Video

May 31, 2010

How can I detect when a video has finished playing a.k.a stopped playing, so I can tell flash to play the next video in an array?

This is my code:

Code: Select allvar x:XML = new XML();
x.ignoreWhite = true;
var urls:Array = new Array();

[code]....

View 1 Replies

Actionscript 2.0 :: Detect When Video Finished Playing, To Play Next Video?

Aug 17, 2009

How can I detect when a video has finished playing a.k.a stopped playing, so I can tell flash to play the next video in an array?

This is my code:

Code: Select allvar x:XML = new XML();
x.ignoreWhite = true;
var urls:Array = new Array();
var desc:Array = new Array();

[Code]....

View 1 Replies

ActionScript 3.0 :: Advantage/disadvantage To Designing Multimedia ?

Jun 3, 2011

Is there an advantage/disadvantage to designing multimedia (for example a simple animation with music) using fully as3, or is it the same as using the the editor (timeline)? will it boost performance/speed to code the tweens, clips and textfields?

View 2 Replies

ActionScript 3.0 :: Video Buttons Not Work Unless Video Playing

Jan 20, 2010

I have a vido page. Once I get to that page I can't navigate anywhere else unless I click the video thumbnail button and as long as the video is playing the buttons are active. I can I change this so the I don't have to click a video thumbnail button to navigate out of that page.

Code:
one.addEventListener(MouseEvent.CLICK, vid1);
two.addEventListener(MouseEvent.CLICK. vid2);
function vid1 (e:Event):void {
vidPlayer.source = "vid1.flv";
} function vid2 (e:Event):void {
[Code] .....

View 15 Replies

ActionScript 2.0 :: Put Together A Class For Playing Video Using The Video Object?

Aug 23, 2008

I am trying to put together a class for playing video using the Video object. So far, I have only been successful in getting the Video object to fully work when not using a class setup. In the documentation, I have read that to use the Video object you have to actually drag/create the video object onto the stage. So, in my next attempt, I created the video object onto the stage within a MovieClip but still trying to use a class/linkage setup with the Video inside inside of a MovieClip container. No luck there either. Here is the basic AS2 script that is linked to a MovieClip that contains the Video object ("video" instance) within it.

Code:
class VideoTest {
private var nc:NetConnection;
private var ns:NetStream;

[code].....

I am getting the following error with this script.

Code:
Line 14: There is no property with the name 'video'.
Line 15: There is no method with the name 'video'.

View 3 Replies

ActionScript 3.0 :: Catch Events From The Multimedia Keys On A Keyboard?

Jul 6, 2011

how to catch events from the multimedia keys on a keyboard in the Flex Framework? I tried using keyboardevent but, no luck ::- (. I'm developing a media player.

View 9 Replies

ActionScript 2.0 :: Variables - Make A Multimedia / Presentation Where Depending On The Options

May 15, 2009

i need to make a little multimedia/presentation where depending on the options you take (normal buttons) a Mc plays and in the end you a get list of itmes depending on the choices you took. I cant remember how to do it, its been a few years since i last did something like this, is there any good tut where i can understand how to do it? cant find anything, basically what i want is to be able to save the choices the user takes during the "game" and with each lode a different .txt at the end. Is this possible with Fl8? its going on a USB Stick, and it'll be a .exe that will load a few swf . . .

View 6 Replies

Flash :: Recommend For Writing Custom Multimedia Player Embedded Into Web-browser?

Oct 5, 2011

I'm going to write a custom multimedia player. It will be embedded into a web-browser and will receive data from a server over SSL connection.

Required functionality is: MPEG4 video and different VoIP audio decoding (e.g. G.711 or G.729) custom controls waveform representation (or just flexible drawing API) I think about Adobe Flash (or Flex). But I know little about this technology. My biggest concern is multimedia decoding.

Can you recommend Adobe Flex or anything else for this project? What pitfalls can I expect on this way?

[Code]...

View 3 Replies

Java :: Youtube Keep Flash Video Playing / When Go To Users Profile Page From Video Page?

Aug 31, 2011

In the cosmicpanda update for youtube, you can go from a video page to the video creators profile page while your video is still playing in flash. Does anyone how Youtube accomplishes this? I would like to know if it's possible to keep the flash state of a site constant while moving from page to page on a site.It doesn't seem as if the flash is reloading, so I don't think that they are just saving cookies for the current video time and starting the video at that point when they refresh.I would assume that they're using ajax, but the application of this feature is really clean. The URL gets correctly changed to the users' profile page's URL. The back button still works as it should. (I can press back and forward between video page and user profile page and the video continues going clean and never drops.)

View 2 Replies

ActionScript 3.0 :: Video Playback - 60 Seconds Video To Start Playing After 40 Seconds Have Been Downloaded

Jul 19, 2010

1) I want a 60 seconds video to start playing after 40 seconds have been downloaded - to do that I set the NetStream.bufferTime to 40 seconds and retrieve "NetStream.Buffer.Full" event causing the video to really start playing. This step is OK.

2) However, the "NetStream.Buffer.Full" causes data to stop downloading. So the remainder of the video begins to download no sooner than after the 40 seconds have been played. This step is my issue. Can anyone tell me how to avoid this unintended effect? (i.e. playing a video and downloading data at the same time?)

View 2 Replies

ActionScript 3.0 :: SWF Becomes Unloaded Before Use It?

Jan 13, 2011

that is my very strange problem.I have the following setup:A loader swf (responsible for the loading bar) loads a controller swf. The progress bar gets filled up to 50% (100% of that swf are 50% of the whole process).When the controller swf is loaded, it is added to the stage.Then, the controller swf starts loading other swfs (for buttons, and other program related stuff).The progress of this loading is given the loader swf and make up the other 50%.When the progress reaches 100%, the loader swf hides and the controller swf is displayed.

[Code]...

View 4 Replies

CS3 Best Way Of Playing Video?

Apr 20, 2009

not got my earlier problem sorted yet (about the title contuing to loop) but have another question now! ive managed to get an audio clip into my page complete with play and stop buttons. the audio is dynamically loaded

id like to put video in and have an flv video to use. id like to dynamically load it so keep the overall file size down and have navigation buttons for the user using actionscript 3 but not sure how to do this. looked around online and getting increasingly furstrated!

View 4 Replies

Swf In Flv Not Stopping, Video Keeps Playing?

Jun 4, 2010

I'm making a basic flash website, and have already created the site structure, but I'm having trouble adding FLV and SWF, as they aren't responding as I would like.

1) I have built a basic flash photo gallery, and it works great. I have exported the SWF, but when I add that to my main sites keyframe, it plays non stop, and the buttons on that embedded SWF don't work.

2) After adding a FLV video to a keyframe, it works as I would like. Except that when I click to another keyframe after starting the video, it keeps playing. How would I be able to pause/stop the video if a navigation button to other keyframes are clicked.

View 1 Replies

Professional :: Swf Video Not Playing?

Jan 19, 2010

I created a video player (flvplayer component) and have one video as the source.  I've had CS4 create the html and embed the video.  Locally the video plays fine, however once loaded on the server the player's skin and button show up but not the video.  The service provider said that they allow flash and have the MI

View 2 Replies

Professional :: Video Not Playing On .swf?

Jun 21, 2010

I imported a video to my FLA (cs4), and added a playhead. On my local machine the video plays fine , but when emailed to someone to test, the page with the video displays only a blank spot. Also , on my local, I have a home page, and link for video, when I do click to videos, that works, but if I click home button I made, the video sounds keeps playing. I guess making the video display would be first priority, then the make it stop when not on the page containing it would be 2nd,

View 12 Replies

ActionScript 3.0 :: Video Not Playing When Run Swf?

Dec 12, 2010

I have some video that I uploaded and when i test movie it doesnt work.  At first i had two videos on one frame and then i move one to a different layer.  Initially when i uploaded them they both worked until i changed the parameters (auto play).  but on the 3 frames in which I have the videos; the ones on the top doesnt play and the ones on the bottom plays.

View 4 Replies

Professional :: Playing A FLV Video?

Nov 28, 2011

I'm using Flash CS4.I just dropped an FLV file into my document and tested it.What asctionscript can I use to get it to not autoplay?Instead I would like to place the words "Click Here to play video" on top of the video so that when the user clicks on the text the video then begins to play.

View 2 Replies







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