Ask a Question related to Macromedia Flash Flashcom, Design and Development.
-
99forever #1
Help with unloading movie
So here's the situation.
I'm trying to create a flash movie that has a two buttons and a loader
component.
One button will pull a video from one streaming source and load it using the
loader, the other will pull from another streaming source and load it using the
same loader.
When I click button 1 the stream loads up fine and in my FMS Admin console, I
see the number of clients increase by 1. When I click button 2, the steam
loads up and the total client increase again.
So basically, everytime I click the button, the number of clients increases
even if I load the same stream over and over again. This will continue until I
close the movie or the server limit is reached (I am currently using the
development version of FMS).
My code is pretty simple.
It's as follows:
btn1.onPress = function() {
loader1.unload();
loader1.load("url1");
}
btn2.onPress = function() {
loader1.unload();
loader1.load("url2");
}
The issue here is that I can't get it to properly unload the movie so the
connection with FMS remains. I've tried making button 1 load the streame and
button 2 unload the stream, but no matter how much I press button 2, it would
not unload and the stream will remain there running.
If anyone has any suggestions, it would be much appreciated.
Thanks.
99forever Guest
-
Unloading a streaming movie
Hello, I'm building a media player that can play .flv streaming files as well as ..swf files. I'm looking for a way to unload a .flv streaming... -
Unloading web service
Hello! How can I unload my web service from aspnet_wp.exe programmatically? The OS is Windows 2003 server, .NET v1.1.4322. Thanks in advance! ... -
Unloading a loaded movie
Hi, I'm sure this is a pretty simple question, but I'm new to all this I have a button that when pressed loads an external swf into my movie, when... -
Question regarding controlling and/or loading and unloading external movie clips based on objects _y position.. please HELP!
Here is the situation... Look here http://www.worthyconcepts.com/Version2/Bars1.html I am loading multiple external movies (right now only... -
HPL unloading error
Dear all, OS: Solaris 2.7 Memory : 2048MB CPU : 4 Engine Version : IDS 7.31.UC2 I'm using HPL to unload my database into the flat files... -
fmslove #2
Re: Help with unloading movie
Are you using NetConnection API inside loader1.load("uri1") ?
In that case it would be required to explicitly close the Netconnection using NetConnection.close();
fmslove Guest
-
99forever #3
Re: Help with unloading movie
I placed a loader component on the stage and gave it an instance name of
"loader1" and set autoLoad to false.
In the actionscript window, I added the code in my first post.
I'm not sure if the load function uses the NetConnectionAPI or not. The load
command is a predefined method of loader.
I've tried loading the external swf streams into a MC using NetCommand with no
luck so far.
If any one has any suggestions on the best way to do this, I'm flexible in the
approach to take as long as it works.
All I want to do is load SWF files which are just containers for rmtp streams
and I want to be able to switch between different SWF/streams.
Thanks.
99forever Guest



Reply With Quote

