[Flashcoders] Get video played time

2009-12-04 Thread ACE Flash
I am loading an FLV dynamically using the NetConnection and NetStream
classes and display the video in a Video object, my question is shall I use
the Enter_Frame event to get the video played time?

If so, I need to remove the event after the video completed by checking
NetStream.Play.Complete?

thank you

 code snippets ==

videoHolder.addEventListener(Event.ENTER_FRAME, videoPlayTime );

function videoPlayTime(e:Event):void
{
 videoPlayTime+/+totalVideoDuration;
}
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Get video played time

2009-12-04 Thread Bob Wohl
You may want to listen for Netstream.play.start and then start a timer
on a status method. When the video is complete, pause the timer. If
there's a playlist type functionality, listen to the same events to
start/stop the timer.

There are quite a few status updates when working with video depending
on what your user cases are.

hth


On Fri, Dec 4, 2009 at 9:07 AM, ACE Flash acefl...@gmail.com wrote:
 I am loading an FLV dynamically using the NetConnection and NetStream
 classes and display the video in a Video object, my question is shall I use
 the Enter_Frame event to get the video played time?

 If so, I need to remove the event after the video completed by checking
 NetStream.Play.Complete?

 thank you

  code snippets ==

 videoHolder.addEventListener(Event.ENTER_FRAME, videoPlayTime );

 function videoPlayTime(e:Event):void
 {
         videoPlayTime+/+totalVideoDuration;
 }
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] The Flash Debug Player

2009-12-04 Thread Gregory Boudreaux
What does the Flash Debug Player do exactly?

Does it affect your browsing experience when you are not trying to
debug anything?

Thanks.

gregb

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Get video played time

2009-12-04 Thread Henrik Andersson

Bob Wohl wrote:

You may want to listen for Netstream.play.start and then start a timer
on a status method. When the video is complete, pause the timer. If
there's a playlist type functionality, listen to the same events to
start/stop the timer.


I suspect that this might not account for seeking, pausing and/or buffering.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Get video played time

2009-12-04 Thread Bob Wohl
actually, yes, you would pause all status updates via what ever
actions you want to pause the play head.

the status monitor start/stops/pause and updates all depend on your use case.

B.

On Fri, Dec 4, 2009 at 9:31 AM, Henrik Andersson he...@henke37.cjb.net wrote:
 Bob Wohl wrote:

 You may want to listen for Netstream.play.start and then start a timer
 on a status method. When the video is complete, pause the timer. If
 there's a playlist type functionality, listen to the same events to
 start/stop the timer.

 I suspect that this might not account for seeking, pausing and/or buffering.
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] The Flash Debug Player

2009-12-04 Thread Zeh Fernando
It displays error messages in a new dialog when an error occurs (otherwise
it'd just ignore them blindly), connects to external tools for debugging
(tracing and things like that), and provides additional methods (like
System.gc()).

It's also a very small bit slower than the normal player.

I'd say the biggest impact in your day-to-day browsing experience is seeing
the error dialogs when an error occur (pretty common specially on some video
players or crappy websites).

Zeh

On Fri, Dec 4, 2009 at 11:32 AM, Gregory Boudreaux gjboudre...@fedex.comwrote:

 What does the Flash Debug Player do exactly?

 Does it affect your browsing experience when you are not trying to
 debug anything?

 Thanks.

 gregb

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] The Flash Debug Player

2009-12-04 Thread alpha
 What does the Flash Debug Player do exactly?

 Does it affect your browsing experience when you are not trying to
 debug anything?

Mainly, it allows you to output trace statements in conjunction with
something like Flash Tracer (I think that's the name), or use a debugger
like Monster Debugger or X-Ray.

You'll also find a lot of bugs on other people's pages. It outputs error
messages you don't see in the regular version. I often get error messages
on things like MLB team sites.

Cordially,

Kerry Thompson

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] The Flash Debug Player

2009-12-04 Thread Dave Watts
 What does the Flash Debug Player do exactly?

It captures debug information that would normally not be captured, and
shows you raw error messages instead of silently swallowing them.

 Does it affect your browsing experience when you are not trying to
 debug anything?

In general, no. However, I've occasionally encountered sites where
people have published Flash content with debug symbols still included,
and the debug player will let you capture that information. That can
sometimes be entertaining.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] The Flash Debug Player

2009-12-04 Thread Gregory Boudreaux
Thanks everyone!

I'll try it and see what I get.

gregb

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] The Flash Debug Player

2009-12-04 Thread Glen Pike

Hi,

   Slightly OT, but this might be useful / helpful for some people:

   You can also use a 3rd party program like Kewbee Plugin Switcher 
that will allow you to switch Flash Player versions without uninstalling 
every time.  It will require a browser restart, but with Firefox's 
restore session capability that is not as frustrating as it used to be...


   Kewbee Plugin Switcher can be a bit tricky to setup with all the 
players, but basically, you install a flash player version in your 
browser, start the Plugin Switcher program, which finds the player 
version.  Then kill the Plugin Switcher, uninstall the Flash Player and 
repeat the process for as many versions of player that you want...  It 
integrates quite well with IE and Firefox in Windows.  The switcher for 
standalone / IDE does not seem to work very well and it does not like a 
couple of versions of FP8 / FP9 - won't switch them for IE I think. 

   It is handy if you need to switch your browser player around every 
so often...


   http://www.pluginswitcher.de/

   Old Flash Players - http://kb2.adobe.com/cps/142/tn_14266.html

   Flash Player uninstaller - http://kb2.adobe.com/cps/141/tn_14157.html
  
   HTH


Glen

Dave Watts wrote:

What does the Flash Debug Player do exactly?



It captures debug information that would normally not be captured, and
shows you raw error messages instead of silently swallowing them.

  

Does it affect your browsing experience when you are not trying to
debug anything?



In general, no. However, I've occasionally encountered sites where
people have published Flash content with debug symbols still included,
and the debug player will let you capture that information. That can
sometimes be entertaining.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


  


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] The Flash Debug Player

2009-12-04 Thread Gregory Boudreaux
Nice to know... Thanks!

gregb

-Original Message-
From: flashcoders-boun...@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Glen
Pike
Sent: Friday, December 04, 2009 11:29 AM
To: Flash Coders List
Subject: Re: [Flashcoders] The Flash Debug Player

Hi,

Slightly OT, but this might be useful / helpful for some people:

You can also use a 3rd party program like Kewbee Plugin Switcher 
that will allow you to switch Flash Player versions without uninstalling

every time.  It will require a browser restart, but with Firefox's 
restore session capability that is not as frustrating as it used to
be...

Kewbee Plugin Switcher can be a bit tricky to setup with all the 
players, but basically, you install a flash player version in your 
browser, start the Plugin Switcher program, which finds the player 
version.  Then kill the Plugin Switcher, uninstall the Flash Player and 
repeat the process for as many versions of player that you want...  It 
integrates quite well with IE and Firefox in Windows.  The switcher for 
standalone / IDE does not seem to work very well and it does not like a 
couple of versions of FP8 / FP9 - won't switch them for IE I think. 

It is handy if you need to switch your browser player around every 
so often...

http://www.pluginswitcher.de/

Old Flash Players - http://kb2.adobe.com/cps/142/tn_14266.html

Flash Player uninstaller -
http://kb2.adobe.com/cps/141/tn_14157.html
   
HTH

Glen

Dave Watts wrote:
 What does the Flash Debug Player do exactly?
 

 It captures debug information that would normally not be captured, and
 shows you raw error messages instead of silently swallowing them.

   
 Does it affect your browsing experience when you are not trying to
 debug anything?
 

 In general, no. However, I've occasionally encountered sites where
 people have published Flash content with debug symbols still included,
 and the debug player will let you capture that information. That can
 sometimes be entertaining.

 Dave Watts, CTO, Fig Leaf Software
 http://www.figleaf.com/

 Fig Leaf Software provides the highest caliber vendor-authorized
 instruction at our training centers in Washington DC, Atlanta,
 Chicago, Baltimore, Northern Virginia, or on-site at your location.
 Visit http://training.figleaf.com/ for more information!
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


   

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] The Flash Debug Player

2009-12-04 Thread Henrik Andersson

al...@cyberiantiger.biz wrote:

use a debugger
like Monster Debugger or X-Ray.


Monster is not using the real debugging protocol, so that does not count.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] The Flash Debug Player

2009-12-04 Thread alpha
Henrik Andersson wrote:

 Monster is not using the real debugging protocol, so that does not count.

That's a bit harsh, isn't it? True, it doesn't let you set break points
and step through code, but it lets you see the state of your program at
any particular point. It has other limitation, like not being able to see
private vars, but it's not without its value.

It's not a true debugger in the sense that you and I mean, but it is a
valuable debugging tool. That does count.

Cordially,

Kerry Thompson

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] The Flash Debug Player

2009-12-04 Thread Henrik Andersson

al...@cyberiantiger.biz wrote:

Henrik Andersson wrote:


Monster is not using the real debugging protocol, so that does not count.


 snip


It's not a true debugger in the sense that you and I mean, but it is a
valuable debugging tool. That does count.


For the purpose of actually needing the debugging player, it does not.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] The Flash Debug Player

2009-12-04 Thread alpha
Henrik Andersson wrote:

 For the purpose of actually needing the debugging player, it does not.

Ah, I see what you're saying. I used Monster Debugger only briefly (I use
a _lot_ of private variables and functions, so it was of little use to
me). I didn't remember its not needing the debug player.

I concede your point :-)

Cordially,

Kerry Thompson

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] The Flash Debug Player

2009-12-04 Thread Merrill, Jason
 I concede your point :-)

This says a lot about a person I think. Being able to admit you were
wrong is a very good personality trait.  Too often on these lists, and
in life, people debate until they are red in the face, even when as the
debate progresses and deep down they realize they are wrong or even just
partially wrong.  I myself have been guilty of this from time to time.
Anyway, just a side topic, thought that was worth mentioning.  I would
love this list to continue that kind of attitude, this is, along with
Flash_Tiger, one of the better flash discussion lists.

Ok, eveybody hug.


Jason Merrill 

 Bank of  America  Global Learning 
Learning  Performance Soluions

Join the Bank of America Flash Platform Community  and visit our
Instructional Technology Design Blog
(note: these are for Bank of America employees only)

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders