A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: No Media Components

  1. #1
    Member
    Join Date
    Aug 2002
    Location
    UK
    Posts
    31

    No Media Components

    Hi guys, hope you can help...i'm using flash mx 2004 education version (i'm a teacher). I want to stream a .flv movie but don't have access to mediaPlayBack component in my version of flash. What are my options ?????

    I can't really upgrade as I want to use this with the pupils s part of a new multimedia course we have just introduced..

    I know its dead easy with professional but to upgrade would be expensive and I would also have to get the software validated by the people that run out local authorities servers and this takes months....

    Any ideas.......

  2. #2
    OOP is one letter from OOPS kortex's Avatar
    Join Date
    Aug 2005
    Location
    New Hope, PA
    Posts
    2,668
    You can use the 30 day free trials of pro.
    Jeremy Wischusen
    Flash - Flex - LAMP - Web Developer Purple Inc
    AS OOP FAQ-Best Practices Thread | Flashkit OOP Tutorials | Purple Inc (day job) | Blog


  3. #3
    Member
    Join Date
    Aug 2002
    Location
    UK
    Posts
    31
    Not really an option as this will be an on going thing.. its not me producing a resource once for pupils to use but the pupils who will have to produce streamed video resources as part of their work.

    Is there any way i can get the component and use it in my version of flash ?????

  4. #4
    FK Slacker
    Join Date
    Jun 2000
    Location
    vancouver
    Posts
    3,208
    For basic video streaming (progressive download, really):

    First, click the popup menu in the Library panel and select New Video. Drag an instance of the video onto the stage and give it an instance name (ie: myVideo). Then add this code:
    code:

    nc= new NetConnection();

    nc.connect(null);

    nc.onStatus=function(info){
    trace("nc: "+info.code);
    }

    stream= new NetStream(nc);

    _root.video.attachVideo(stream);

    stream.setBufferTime(3);

    stream.play("myfile.flv");



    HTH,

    K.

  5. #5
    Member
    Join Date
    Aug 2002
    Location
    UK
    Posts
    31
    Hi, thanks alot... I had a go at that and it will play fine but only the sound comes out no picture.... any ideas why this is happening..
    Last edited by andy_landers; 02-18-2006 at 08:40 AM.

  6. #6
    Member
    Join Date
    Aug 2002
    Location
    UK
    Posts
    31
    no worries...sorted it...wrong instance name...thanks for all you help i'm really new at this. just now need to add some control buttons and a progress bar.

    Finally, any ideas why both using thsi code or using MediaPlayBack component both work fine on my local computer but when I upload to the my isp the video does not play...does my isp need to do anything to support .flv files ??????

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center