[advanced search]
Results from the most recent live auction are here.
17 members in the live chat room. Join Chat!
Register Rules & FAQ NP$ Store Active Threads Mark Forums Read
Go Back   NamePros.Com > Design and Development > Graphic Design / Flash
User Name
Password

eLogoContest.com: Logo Design Contest Supersite
Forum Sponsor
New contests everyday. Start yours for only $19.00.

Old 12-22-2007, 06:22 AM   · #1
hazza.mcazza
NamePros Member
 
Trader Rating: (0)
Join Date: May 2005
Posts: 100
NP$: 160.00 (Donate)
hazza.mcazza is an unknown quantity at this point
AS2: a non-component equivalent to FLVPlayback.complete?

hi,

i'm using
Code:
var nc:NetConnection = new NetConnection(); nc.connect(null); var ns:NetStream = new NetStream(nc); video.attachVideo(ns);

to play my FLVs. i don't want play, pause, rewind buttons or anything, but what i do need, is to know when the video has reached it's end, so that i can 'gotoAndPlay(something else);'

i found FLVPlayback.complete, but this is just for components (?). is there an equivalent?

thanks very much,
-Hazza.


Please register or log-in into NamePros to hide ads
__________________
-hazza. www.hmorton.net

-Gorillazforum.com
hazza.mcazza is offline   Reply With Quote
Old 12-22-2007, 10:36 AM   · #2
hazza.mcazza
NamePros Member
 
Trader Rating: (0)
Join Date: May 2005
Posts: 100
NP$: 160.00 (Donate)
hazza.mcazza is an unknown quantity at this point
i've found the onStatus command and am trying to use it like this:

Code:
ns.onStatus.Play.Stop = function() { gotoAndStop('stage3'); };


but again, with no joy -- can anyone suggest anything??

thanks very muchm
-Hazza.
__________________
-hazza. www.hmorton.net

-Gorillazforum.com
hazza.mcazza is offline   Reply With Quote
Old 12-24-2007, 09:42 AM   · #3
paaaaaaaaaa
NamePros Regular
 
Trader Rating: (17)
Join Date: Mar 2005
Posts: 411
NP$: 150.00 (Donate)
paaaaaaaaaa is a jewel in the roughpaaaaaaaaaa is a jewel in the roughpaaaaaaaaaa is a jewel in the rough
try:

Code:
var listener:Object = new Object(); listener.complete = function(event:Object):Void { gotoAndStop('stage3'); }; ns.addEventListener("complete", listener);
__________________
Ripe Website Manager Project
paaaaaaaaaa is offline   Reply With Quote
Closed Thread

NamePros is a revenue sharing forum.

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Site Sponsors
Hunting Moon Hunting Moon http://www.mobisitetrader.com/
Advertise your business at NamePros
All times are GMT -7. The time now is 01:57 AM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0