| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Oops I did it again
Join Date: Oct 2001
Location: Melbourne
Posts: 8,578
|
hey all
trying to play a couple of external flvs through 1 netstream object (ie one finishes, the next plays) this works fine ActionScript Code:
the trace happens and everybody is happy. But if I try to make it play the next vid with ActionScript Code:
it continually crashes flash, crashes my browser etc... what am I doing wrong? Thanks
__________________
Billy Online Galleries Free Flash Video Tutorials Photo Website Template Don't email or PM me questions... |
|
|
|
|
|
#2 |
|
Oops I did it again
Join Date: Oct 2001
Location: Melbourne
Posts: 8,578
|
btw if I place a button comp on the stage and add this code
ActionScript Code:
and click this halfway through the first vid, it jumps to the second vid without any problems...
__________________
Billy Online Galleries Free Flash Video Tutorials Photo Website Template Don't email or PM me questions... |
|
|
|
|
|
|
|
|
#3 |
|
Thing
Join Date: Jun 2001
Location: UK
Posts: 2,418
|
Does it work if you do
ActionScript Code:
|
|
|
|
|
|
#4 |
|
Oops I did it again
Join Date: Oct 2001
Location: Melbourne
Posts: 8,578
|
nope that was the first thing I tried
|
|
|
|
|
|
#5 |
|
Thing
Join Date: Jun 2001
Location: UK
Posts: 2,418
|
I was thinking you may need to clear the video before you clear the stream but I guess not.
Maybe when the first stream finishes (without you interupting it) the object tries to re-initialise itself and there's a lag in doing so? Try using a setInterval to repeatedly grab at the next video stream at second intervals |
|
|
|
|
|
#6 |
|
Oops I did it again
Join Date: Oct 2001
Location: Melbourne
Posts: 8,578
|
nice one mort
this ActionScript Code:
plus this ActionScript Code:
work a treat... Thanks mate!! |
|
|
|
|
|
#7 |
|
Thing
Join Date: Jun 2001
Location: UK
Posts: 2,418
|
![]() |
|
|
|
|
|
#8 |
|
Registered User
Join Date: May 2004
Posts: 14
|
I tell you what - this thread/solution has saved my life/hair - I couldn't find anyone else with this problem and as usual MM are as useless as ever - cheers Mortimer and Billy T
|
|
|
|
|
|
#9 |
|
Thing
Join Date: Jun 2001
Location: UK
Posts: 2,418
|
:]
For the benefit of anyone searching threads for netStream related stuff there is now a tutorial here http://www.nwebb.co.uk/nw_htmlsite/i...al=flv2&part=1 (soon to be on actionscript.org)
__________________
............................ FLEX/FLASH BLOG Previous Flash Tutorials ............................ |
|
|
|
|
|
#10 |
|
Registered User
Join Date: Jun 2001
Posts: 247
|
Just a note. As far as I have found it is not possible to play 2 stream simultaneously with the standard use of the netConnection/netStream Objects. I know this isn't what the BillyT was trying to do, but for people like me that are that search and find this thread... good luck.
![]() |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|