263 posts
  • 7 Years of Membership
  • Antarctica
  • Author Level 2
  • Collector Level 1
+2 more
x360c
says
The code below throws this error:
1120: Access of undefined property video01_conn.
1120: Access of undefined property video01_stream.
1120: Access of undefined property video01_stream.
1120: Access of undefined property video01_stream.
1120: Access of undefined property video01_st.
And here’s the code
package 
{
    import flash.events.MouseEvent;
    import flash.display.MovieClip;
    import flash.net.NetStream;
    import flash.net.NetConnection;
    import flash.events.Event;
    import flash.media.SoundTransform;
    import flash.media.Video;
    import caurina.transitions.Tweener;
    public class video01 extends MovieClip
    {
        var video01_conn:NetConnection = new NetConnection();
        video01_conn.connect (null);
        var video01_stream = new NetStream(video01_conn);
        video01_stream.play (null);
        video01_stream.togglePause ();
        var video01_st = new SoundTransform();
        video01_stream.soundTransform = video01_st;
    }
}

Please help and thanks in advance, again.

691 posts
  • 8 Years of Membership
  • Author Level 4
  • Canada
  • Collector Level 2
+2 more
geoken
says

Your class doesn’t have a main function. You need to sort that out before you start trouble shooting anything.

You need to have a function with the same name as your class.

by
by
by
by
by
by