| Matthew Ganz 2005-06-23, 5:49 pm |
| hi.
i have a 3 screen application:
1. screen 1 holds a button. when you roll over the button, you got to
screen 2...( the button is also on screens 2 and 3 )
2. screen 2 is where i connect to my FCS host. i create my net
connection object here. on successful connection, you go to screen 3
3. screen 3 holds my video box and is also where i create my
netstream object and affiliate it with my net connection object.
it also holds a 'close' button.
it works good when i first launch the app. but when i click 'close' and
then i roll over the button again the video sometimes comes up and
sometimes doesn't. i'm thinking that when i click 'close' i should be
deleting my net connection object. currently, what i do is close my
netStream object a la: __ns.close(). i don't think that is right because
when i roll over the button again it creates another net connection
object. so i'm essentially creating another one without deleting the old
one.
i'm getting the feeling that i'm not setting this up in the best way.
can anyone give any advice, shed some light, or show me how to correctly
close a net connection object?
in the big picture, this is what i want to do:
create a flash app where a user can roll over a button and a mask drop
downs and i begin connecting to my host. upon connection, the video box
plays the stream. but there's a close button where the mask will
disappear and video will stop playing. but they can roll over the button
again and each time it connects to my host and plays again.
any insight and tips are greatly appreciated.
thanks. -- matt.
=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
|