Re: [Flashcoders] Problems with IE starting a sound stream.

2006-07-07 Thread David Saunders

I beleave its a interation with IE and FLASH player some how.

I have a computer that i call my test computer, its set up with ME,
and the curent updates, and few other aps. And it occurs everytime on
this computer. It has no fire wall(even tho its behind a NAT) , not
ativirus( I rinstall the OS about once a week). I am unble to resolve
this issue. since I have beter eskills in JavaScript and PHP.

My soulution is to just detect for IE browsers and redirect them to
the WMP plugin unknow to the user. And this seam to resolve my
streaming issues.


Any one have a client side solution to this? Were trying to play
icecast 2.3 streams.

thanks..



On 7/4/06, Orindom Dhar [EMAIL PROTECTED] wrote:

Tested on lot of client computers,which didn't have zone alarm installed in 
them.

  The problem seems to lie elsewhere, not in zonealarm.

  anyone there,would be grateful for some light thrown into this.

  regards,

  Arin
Marc Hoffman [EMAIL PROTECTED] wrote:
  Test on other computers. I had the same problem and it was caused by
a ZoneAlarm setting on the client computer.

Marc Hoffman

At 02:41 AM 7/4/2006, you wrote:
is there any solution to this problem even when server sends
Transfer-Encoding: Chunked? Is it any bug with flash player upto ver 8.0 ?

 Is there any possible solution at the client side?

 Please help!

 regards,

 Arin



 Alexis Glass wrote:
 Is your server sending the data with Content-Length set in the header or
as Transfer-Encoding: Chunked? Flash up to version 8 in IE doesn't seem
to play audio loaded using loadSound unless the header has
Content-Length set. Flash 9 seems to work most of the time, but slows
to a crawl if the file being loaded is big (say, bigger than 15 MB).

Alexis

David Saunders wrote:

  I tried loading the flash player from several version of IE, the sound
  never
  starts. I can play the flash on the same computer in firefox or
  standalone.
 
  But the problem is not that it not geting the data, but not startign
  to play
  the stream.. I use the following code.
 
  -- code snip --
 
  this.createTextField(message_txt, this.getNextHighestDepth(),
  10,10,300,22)
  this.createTextField(status_txt, this.getNextHighestDepth(), 10, 50,
  300,
  40);
  status_txt.autoSize = true;
  status_txt.multiline = true;
  status_txt.border = true;
 
 
  _soundbuftime=3;
 
  var globalsound = new Sound();
  globalsound.loadSound(http://ss1.gotdns.org:8000/test,true);
  globalsound.start(true);
 
  var my_interval:Number;
  my_interval = setInterval(checkProgress, 100, globalsound);
  function checkProgress(the_sound:Sound):Void {
  var pct:Number = Math.round
  (the_sound.getBytesLoaded()/the_sound.getBytesTotal()*100);
  var pos:Number = Math.round(the_sound.position/the_sound.duration*100);
  status_txt.text = the_sound.getBytesLoaded()+ of
  +the_sound.getBytesTotal()+ bytes (+pct+%)+newline;
  status_txt.text += the_sound.position+ of +the_sound.duration+
  milliseconds (+pos+%)+newline;
  }
 
  stop();
 
  --- End code snip --
 
  The getBytesTotal and duration incresases, the getBtytesloaded and
  position
  stay at 0.. My obsevation says the flash is geting the mp3 stream, yet
  never
  starting to play it?
 
 
 
  I am a newbie at codeing flash and useing this project to learn what i
  can
  :)
  

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



-
Do you Yahoo!?
 Get on board. You're invited to try the new Yahoo! Mail Beta.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Problems with IE starting a sound stream.

2006-07-04 Thread Orindom Dhar
is there any solution to this problem even when server sends Transfer-Encoding: 
Chunked? Is it any bug with flash player upto ver 8.0 ?
   
  Is there any possible solution at the client side?
   
  Please help!
   
  regards,
   
  Arin
   
   
   
  Alexis Glass [EMAIL PROTECTED] wrote:
  Is your server sending the data with Content-Length set in the header or 
as Transfer-Encoding: Chunked? Flash up to version 8 in IE doesn't seem 
to play audio loaded using loadSound unless the header has 
Content-Length set. Flash 9 seems to work most of the time, but slows 
to a crawl if the file being loaded is big (say, bigger than 15 MB). 

Alexis

David Saunders wrote:

 I tried loading the flash player from several version of IE, the sound 
 never
 starts. I can play the flash on the same computer in firefox or 
 standalone.

 But the problem is not that it not geting the data, but not startign 
 to play
 the stream.. I use the following code.

 -- code snip --

 this.createTextField(message_txt, this.getNextHighestDepth(),
 10,10,300,22)
 this.createTextField(status_txt, this.getNextHighestDepth(), 10, 50, 
 300,
 40);
 status_txt.autoSize = true;
 status_txt.multiline = true;
 status_txt.border = true;


 _soundbuftime=3;

 var globalsound = new Sound();
 globalsound.loadSound(http://ss1.gotdns.org:8000/test,true);
 globalsound.start(true);

 var my_interval:Number;
 my_interval = setInterval(checkProgress, 100, globalsound);
 function checkProgress(the_sound:Sound):Void {
 var pct:Number = Math.round
 (the_sound.getBytesLoaded()/the_sound.getBytesTotal()*100);
 var pos:Number = Math.round(the_sound.position/the_sound.duration*100);
 status_txt.text = the_sound.getBytesLoaded()+ of
 +the_sound.getBytesTotal()+ bytes (+pct+%)+newline;
 status_txt.text += the_sound.position+ of +the_sound.duration+
 milliseconds (+pos+%)+newline;
 }

 stop();

 --- End code snip --

 The getBytesTotal and duration incresases, the getBtytesloaded and 
 position
 stay at 0.. My obsevation says the flash is geting the mp3 stream, yet 
 never
 starting to play it?



 I am a newbie at codeing flash and useing this project to learn what i 
 can
 :)
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


 __
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Problems with IE starting a sound stream.

2006-07-04 Thread Marc Hoffman
Test on other computers. I had the same problem and it was caused by 
a ZoneAlarm setting on the client computer.


Marc Hoffman

At 02:41 AM 7/4/2006, you wrote:
is there any solution to this problem even when server sends 
Transfer-Encoding: Chunked? Is it any bug with flash player upto ver 8.0 ?


  Is there any possible solution at the client side?

  Please help!

  regards,

  Arin



  Alexis Glass [EMAIL PROTECTED] wrote:
  Is your server sending the data with Content-Length set in the header or
as Transfer-Encoding: Chunked? Flash up to version 8 in IE doesn't seem
to play audio loaded using loadSound unless the header has
Content-Length set. Flash 9 seems to work most of the time, but slows
to a crawl if the file being loaded is big (say, bigger than 15 MB).

Alexis

David Saunders wrote:

 I tried loading the flash player from several version of IE, the sound
 never
 starts. I can play the flash on the same computer in firefox or
 standalone.

 But the problem is not that it not geting the data, but not startign
 to play
 the stream.. I use the following code.

 -- code snip --

 this.createTextField(message_txt, this.getNextHighestDepth(),
 10,10,300,22)
 this.createTextField(status_txt, this.getNextHighestDepth(), 10, 50,
 300,
 40);
 status_txt.autoSize = true;
 status_txt.multiline = true;
 status_txt.border = true;


 _soundbuftime=3;

 var globalsound = new Sound();
 globalsound.loadSound(http://ss1.gotdns.org:8000/test,true);
 globalsound.start(true);

 var my_interval:Number;
 my_interval = setInterval(checkProgress, 100, globalsound);
 function checkProgress(the_sound:Sound):Void {
 var pct:Number = Math.round
 (the_sound.getBytesLoaded()/the_sound.getBytesTotal()*100);
 var pos:Number = Math.round(the_sound.position/the_sound.duration*100);
 status_txt.text = the_sound.getBytesLoaded()+ of
 +the_sound.getBytesTotal()+ bytes (+pct+%)+newline;
 status_txt.text += the_sound.position+ of +the_sound.duration+
 milliseconds (+pos+%)+newline;
 }

 stop();

 --- End code snip --

 The getBytesTotal and duration incresases, the getBtytesloaded and
 position
 stay at 0.. My obsevation says the flash is geting the mp3 stream, yet
 never
 starting to play it?



 I am a newbie at codeing flash and useing this project to learn what i
 can
 :)
 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Problems with IE starting a sound stream.

2006-07-04 Thread Orindom Dhar
Tested on lot of client computers,which didn't have zone alarm installed in 
them. 
   
  The problem seems to lie elsewhere, not in zonealarm.
   
  anyone there,would be grateful for some light thrown into this.
   
  regards,
   
  Arin
Marc Hoffman [EMAIL PROTECTED] wrote:
  Test on other computers. I had the same problem and it was caused by 
a ZoneAlarm setting on the client computer.

Marc Hoffman

At 02:41 AM 7/4/2006, you wrote:
is there any solution to this problem even when server sends 
Transfer-Encoding: Chunked? Is it any bug with flash player upto ver 8.0 ?

 Is there any possible solution at the client side?

 Please help!

 regards,

 Arin



 Alexis Glass wrote:
 Is your server sending the data with Content-Length set in the header or
as Transfer-Encoding: Chunked? Flash up to version 8 in IE doesn't seem
to play audio loaded using loadSound unless the header has
Content-Length set. Flash 9 seems to work most of the time, but slows
to a crawl if the file being loaded is big (say, bigger than 15 MB).

Alexis

David Saunders wrote:

  I tried loading the flash player from several version of IE, the sound
  never
  starts. I can play the flash on the same computer in firefox or
  standalone.
 
  But the problem is not that it not geting the data, but not startign
  to play
  the stream.. I use the following code.
 
  -- code snip --
 
  this.createTextField(message_txt, this.getNextHighestDepth(),
  10,10,300,22)
  this.createTextField(status_txt, this.getNextHighestDepth(), 10, 50,
  300,
  40);
  status_txt.autoSize = true;
  status_txt.multiline = true;
  status_txt.border = true;
 
 
  _soundbuftime=3;
 
  var globalsound = new Sound();
  globalsound.loadSound(http://ss1.gotdns.org:8000/test,true);
  globalsound.start(true);
 
  var my_interval:Number;
  my_interval = setInterval(checkProgress, 100, globalsound);
  function checkProgress(the_sound:Sound):Void {
  var pct:Number = Math.round
  (the_sound.getBytesLoaded()/the_sound.getBytesTotal()*100);
  var pos:Number = Math.round(the_sound.position/the_sound.duration*100);
  status_txt.text = the_sound.getBytesLoaded()+ of
  +the_sound.getBytesTotal()+ bytes (+pct+%)+newline;
  status_txt.text += the_sound.position+ of +the_sound.duration+
  milliseconds (+pos+%)+newline;
  }
 
  stop();
 
  --- End code snip --
 
  The getBytesTotal and duration incresases, the getBtytesloaded and
  position
  stay at 0.. My obsevation says the flash is geting the mp3 stream, yet
  never
  starting to play it?
 
 
 
  I am a newbie at codeing flash and useing this project to learn what i
  can
  :)
  

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com



-
Do you Yahoo!?
 Get on board. You're invited to try the new Yahoo! Mail Beta.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Problems with IE starting a sound stream.

2006-07-03 Thread David Saunders

I tried loading the flash player from several version of IE, the sound never
starts. I can play the flash on the same computer in firefox or standalone.

But the problem is not that it not geting the data, but not startign to play
the stream.. I use the following code.

-- code snip --

this.createTextField(message_txt, this.getNextHighestDepth(),
10,10,300,22)
this.createTextField(status_txt, this.getNextHighestDepth(), 10, 50, 300,
40);
status_txt.autoSize = true;
status_txt.multiline = true;
status_txt.border = true;


_soundbuftime=3;

var globalsound = new Sound();
globalsound.loadSound(http://ss1.gotdns.org:8000/test,true);
globalsound.start(true);

var my_interval:Number;
my_interval = setInterval(checkProgress, 100, globalsound);
function checkProgress(the_sound:Sound):Void {
  var pct:Number = Math.round
(the_sound.getBytesLoaded()/the_sound.getBytesTotal()*100);
  var pos:Number = Math.round(the_sound.position/the_sound.duration*100);
  status_txt.text = the_sound.getBytesLoaded()+ of
+the_sound.getBytesTotal()+ bytes (+pct+%)+newline;
  status_txt.text += the_sound.position+ of +the_sound.duration+
milliseconds (+pos+%)+newline;
}

stop();

--- End code snip --

The getBytesTotal and duration incresases, the getBtytesloaded and position
stay at 0.. My obsevation says the flash is geting the mp3 stream, yet never
starting to play it?



I am a newbie at codeing flash and useing this project to learn what i can
:)
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Problems with IE starting a sound stream.

2006-07-03 Thread Alexis Glass
Is your server sending the data with Content-Length set in the header or 
as Transfer-Encoding: Chunked? Flash up to version 8 in IE doesn't seem 
to play audio loaded using loadSound unless the header has 
Content-Length set.  Flash 9 seems to work most of the time, but slows 
to a crawl if the file being loaded is big (say, bigger than 15 MB). 


Alexis

David Saunders wrote:

I tried loading the flash player from several version of IE, the sound 
never
starts. I can play the flash on the same computer in firefox or 
standalone.


But the problem is not that it not geting the data, but not startign 
to play

the stream.. I use the following code.

-- code snip --

this.createTextField(message_txt, this.getNextHighestDepth(),
10,10,300,22)
this.createTextField(status_txt, this.getNextHighestDepth(), 10, 50, 
300,

40);
status_txt.autoSize = true;
status_txt.multiline = true;
status_txt.border = true;


_soundbuftime=3;

var globalsound = new Sound();
globalsound.loadSound(http://ss1.gotdns.org:8000/test,true);
globalsound.start(true);

var my_interval:Number;
my_interval = setInterval(checkProgress, 100, globalsound);
function checkProgress(the_sound:Sound):Void {
  var pct:Number = Math.round
(the_sound.getBytesLoaded()/the_sound.getBytesTotal()*100);
  var pos:Number = Math.round(the_sound.position/the_sound.duration*100);
  status_txt.text = the_sound.getBytesLoaded()+ of
+the_sound.getBytesTotal()+ bytes (+pct+%)+newline;
  status_txt.text += the_sound.position+ of +the_sound.duration+
milliseconds (+pos+%)+newline;
}

stop();

--- End code snip --

The getBytesTotal and duration incresases, the getBtytesloaded and 
position
stay at 0.. My obsevation says the flash is geting the mp3 stream, yet 
never

starting to play it?



I am a newbie at codeing flash and useing this project to learn what i 
can

:)
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Problems with IE starting a sound stream.

2006-07-03 Thread Cor
Hi,

Used your snippet and it works for me. 

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens David Saunders
Verzonden: dinsdag 4 juli 2006 5:37
Aan: flashcoders@chattyfig.figleaf.com
Onderwerp: [Flashcoders] Problems with IE starting a sound stream.

I tried loading the flash player from several version of IE, the sound never
starts. I can play the flash on the same computer in firefox or standalone.

But the problem is not that it not geting the data, but not startign to play
the stream.. I use the following code.

-- code snip --

this.createTextField(message_txt, this.getNextHighestDepth(),
10,10,300,22)
this.createTextField(status_txt, this.getNextHighestDepth(), 10, 50, 300,
40); status_txt.autoSize = true; status_txt.multiline = true;
status_txt.border = true;


_soundbuftime=3;

var globalsound = new Sound();
globalsound.loadSound(http://ss1.gotdns.org:8000/test,true);
globalsound.start(true);

var my_interval:Number;
my_interval = setInterval(checkProgress, 100, globalsound); function
checkProgress(the_sound:Sound):Void {
   var pct:Number = Math.round
(the_sound.getBytesLoaded()/the_sound.getBytesTotal()*100);
   var pos:Number = Math.round(the_sound.position/the_sound.duration*100);
   status_txt.text = the_sound.getBytesLoaded()+ of
+the_sound.getBytesTotal()+ bytes (+pct+%)+newline;
   status_txt.text += the_sound.position+ of +the_sound.duration+
milliseconds (+pos+%)+newline;
}

stop();

--- End code snip --

The getBytesTotal and duration incresases, the getBtytesloaded and position
stay at 0.. My obsevation says the flash is geting the mp3 stream, yet never
starting to play it?



I am a newbie at codeing flash and useing this project to learn what i can
:)
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com