263 posts
  • Has been part of the Envato Community for over 6 years
  • Located in Antarctica
  • Has sold $100+ on Envato Market
  • Has collected 1+ items on Envato Market
+1 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
  • Has been part of the Envato Community for over 7 years
  • Has sold $5,000+ on Envato Market
  • Located in Canada
  • Has collected 10+ items on Envato Market
+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