works perfecttttttttt as usual ur my flash actionscripts hero xD haha and as usual helped me.
thanks so so so so much that was so helpful and teached me more of what i don't know
thanks so so so much man
btw i saw most of ur projets on ur site soo much useful stuff and represent how much the owner is so creative and don only code but use it to do sum cool art designs xD.
do u mind sending me ur email or even if i needed anything can i pm u on ur profile?
Maxwel a.k.a. Wild Lion
just wondering if the page that i got that swf at always lag and flash player crash after stopping the stream and leave it for a while. is that maans that the stream is loading?? and causing that issue to happen??
also in my server it shows everytime i stop the stream then turn it on back +1 means another stream was opened
here is the code:
this is the last problem that i face with this lethal project rofl at least for me and if it is solved imma be so glad and soo thankful
thanks in advace
do you see the same problem at http://www.kglad.com/Files/forums/streamError2.html
not really but maybe cuz my code is diffrent than mine and i am using same code in virtual 3d chatting world and it lag whole room when this flash movie get stoppedand as i mentioned everytime i stop the stream and replay it. it add +1 listener in my radio stream that means it don close the one before and it keep loading after stopping and thats why it lags or maybe need to clean flash cache ? idk really
anywayz i added a link in my previous post that contain whole code of as3 of player
thanks alooot man u helped much and still do :S
i have discovered something else when i kick my flash player from the server or stop the server then get it up back what happens is that the player keeps playing until the point which it was kicked then the streams cuts (which is soo normal and what use to happen, nothing wrong with that) but the problem is that when i stop it again then replay it and as expected to play a new stream which is playing right now after the server is back up but what happens is totally diffrent. it plays the stream from where the swf is loaded (which was my first problem at the begining which we solved) but that don't happen except when the ip/player is kicked from server and try to reconnect to it or server was down then got it back up else it works fine.
but as conclusion that the player still cache or store the old stream and this is the problem of everything in my opinion even the lagging of the player
thanks alott kglad
if you don't see the same problem with http://www.kglad.com/Files/forums/streamError2.html you probably have a coding issue.
yea and thats what i mentioned in previous code and thats why i also posted my code but maybe u don have time to help its ok tho.
but all i am asking is to tell me from where of my code this problem happens which part of code? or even if u cant be sure tell me which part might be the reason as a guess even
also i have mentioned lately that that problem happen in the 3d world chat not while browsing. it lag whole room in that chatting world.
thanks alot for ur help tho wheather u gonna help me with that problem or not . u have helped me with lots of other issue so thank you
i can't tell you anything about your code but i can tell you about mine. what problem do you see at: http://www.kglad.com/Files/forums/streamError2.html
i can't tell realy cuz i use just part of ur code not whole but i am gonna test it now
but all i need to ask atm. ur code close the stream completely and don let it load more after pressing stop button?? and there is a way to clean the cached stream or already loaded stream that the player played after pressing the stop button? so as when the server is down it don play the old already played and loaded part of the stream sine the sef was loaded??
dats all i relaly care about and i am talking about ur code not mine in this case
thanks in advance
if you want to prevent retrieval of any file from cache you can append a changing query string so instead of:
var songFile:URLRequest=new URLRequest("whatever");
var songFile:URLRequest=new URLRequest("whatever?queryS="+Math.random());
you're not cleaning the user's cache. you don't and can't control that. you're just making the browser think it needs to load a new file.
if you're retrieving the url from an xml file, use the string methods to append that query string.
after much expeieriencing with the code i knew that the problem is that i didn't import some important package. man ur awesome and ur the best cuz u helped me as much as i needed help and maybe more i am so kglad knowing you bro and i am still gonna have u sooner or later for real hard flash work bussiness (hiring you) when my site gets more known soon enough
Have a great days until we meet sooner or later
Maxwel AKA Wild Lion