none
如何使用 axShockwaveFlash 播放FLV RRS feed

  • 问题

  • axShockwaveFlash1.Movie =@"\flvplayer.swf?file=d:\1.flv";
    axShockwaveFlash1.play();

    这样写播放不能成功,请问后面参数是怎么写的?
    不以物喜,不以己悲
    2010年11月25日 9:00

答案

  •  

    Hi,

     

    你可以参考这个帖子里提供的代码:

     

    AxShockwaveFlash axShockwaveFlash = new AxShockwaveFlash();
    axShockwaveFlash.Location =
    new System.Drawing.Point(0, 0);
    this.Controls.Add(axShockwaveFlash);
     
    axShockwaveFlash.LoadMovie(0, Environment.CurrentDirectory + @"\movie.swf");
    axShockwaveFlash.SetVariable("quality", "Low");
    axShockwaveFlash.ScaleMode = 0;
    axShockwaveFlash.Width = 1000;
    axShockwaveFlash.Height = 700;
    axShockwaveFlash.Name =
    "myFirst";
    axShockwaveFlash.Play();


    Sincerely,
    Eric
    MSDN Subscriber Support in Forum
    If you have any feedback of our support, please contact msdnmg@microsoft.com.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    2010年11月26日 2:04
  •  

    Hi,

     

    你可以参考这个帖子里提供的代码:

     

    AxShockwaveFlash axShockwaveFlash = new AxShockwaveFlash();
    axShockwaveFlash.Location =
    new System.Drawing.Point(0, 0);
    this.Controls.Add(axShockwaveFlash);
     
    axShockwaveFlash.LoadMovie(0, Environment.CurrentDirectory + @"\movie.swf");
    axShockwaveFlash.SetVariable("quality", "Low");
    axShockwaveFlash.ScaleMode = 0;
    axShockwaveFlash.Width = 1000;
    axShockwaveFlash.Height = 700;
    axShockwaveFlash.Name =
    "myFirst";
    axShockwaveFlash.Play();


    Sincerely,
    Eric
    MSDN Subscriber Support in Forum
    If you have any feedback of our support, please contact msdnmg@microsoft.com.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.

    您没有提到  必须要有一个座位播放器的 swf文件存在。
    入了ipad,最近用ipad上论坛
    2011年3月11日 6:50
    版主

全部回复

  •  

    Hi,

     

    你可以参考这个帖子里提供的代码:

     

    AxShockwaveFlash axShockwaveFlash = new AxShockwaveFlash();
    axShockwaveFlash.Location =
    new System.Drawing.Point(0, 0);
    this.Controls.Add(axShockwaveFlash);
     
    axShockwaveFlash.LoadMovie(0, Environment.CurrentDirectory + @"\movie.swf");
    axShockwaveFlash.SetVariable("quality", "Low");
    axShockwaveFlash.ScaleMode = 0;
    axShockwaveFlash.Width = 1000;
    axShockwaveFlash.Height = 700;
    axShockwaveFlash.Name =
    "myFirst";
    axShockwaveFlash.Play();


    Sincerely,
    Eric
    MSDN Subscriber Support in Forum
    If you have any feedback of our support, please contact msdnmg@microsoft.com.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
    2010年11月26日 2:04
  •  

    Hi,

     

    你可以参考这个帖子里提供的代码:

     

    AxShockwaveFlash axShockwaveFlash = new AxShockwaveFlash();
    axShockwaveFlash.Location =
    new System.Drawing.Point(0, 0);
    this.Controls.Add(axShockwaveFlash);
     
    axShockwaveFlash.LoadMovie(0, Environment.CurrentDirectory + @"\movie.swf");
    axShockwaveFlash.SetVariable("quality", "Low");
    axShockwaveFlash.ScaleMode = 0;
    axShockwaveFlash.Width = 1000;
    axShockwaveFlash.Height = 700;
    axShockwaveFlash.Name =
    "myFirst";
    axShockwaveFlash.Play();


    Sincerely,
    Eric
    MSDN Subscriber Support in Forum
    If you have any feedback of our support, please contact msdnmg@microsoft.com.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.

    您没有提到  必须要有一个座位播放器的 swf文件存在。
    入了ipad,最近用ipad上论坛
    2011年3月11日 6:50
    版主