Professional Web Applications Themes

Stupid Newbie need help - Macromedia Flash Flashcom

Good Day .. I've installed FMS2 ... copied application(ion) into the application folder .. but any attempt to connect fails .. the uri I'm using is .. [url]http://192.168.0.10/ion/SharedFiles/Precautions.flv[/url] any ideas ???...

  1. #1

    Default Stupid Newbie need help

    Good Day ..
    I've installed FMS2 ... copied application(ion) into the application folder ..
    but any attempt to connect fails .. the uri I'm using is ..
    [url]http://192.168.0.10/ion/SharedFiles/Precautions.flv[/url]
    any ideas ???



    hisheirs Guest

  2. #2

    Default Re: Stupid Newbie need help

    You need to create a Flash swf from where you will access the Video(.flv) file. The url you will be using in the fla will look like rtmp://<IP of FMS>/<appliaction>/<instance>/<stream name>
    newtoflashcom Guest

  3. #3

    Default Re: Stupid Newbie need help

    THANKS for the response ..
    That's exactly what I have .. a swf w/ a embedded flv player ..
    the flv plays fine if I reference it locally .. but for some reason I can not connect to FMS ...
    hisheirs Guest

  4. #4

    Default Re: Stupid Newbie need help

    I'm missing something very basic here ...
    my client side code is ...

    theVid = "rtmp://192.168.0.10/ion/SharedFiles/Precautions.flv"

    NetCon = new NetConnection();
    NetCon.connect(null);
    NetStrm = new NetStream(NetCon);
    VidWin.attachVideo(NetStrm);
    NetStrm.play(theVid)

    if I bypass FMS e.g. theVid = "P:/Program Files/Macromedia/Flash Media Server
    2/applications/ion/SharedFiles/Precautions.flv"

    it works ...
    the FMS management console sees the server .. the application instance .. but
    I cannot get the client to connect .. ???

    hisheirs Guest

  5. #5

    Default Re: Stupid Newbie need help

    Put the following mapping in your Vhost file and try again

    <VirtualDirectory>
    <Streams>SharedFiles;P:/Program Files/Macromedia/Flash Media Server
    2/applications/ion/SharedFiles</Streams>
    </VirtualDirectory>




    newtoflashcom Guest

  6. #6

    Default Re: Stupid Newbie need help

    [Q]I'm missing something very basic here ...
    my client side code is ...

    theVid = "rtmp://192.168.0.10/ion/SharedFiles/Precautions.flv"

    NetCon = new NetConnection();
    NetCon.connect(null);
    NetStrm = new NetStream(NetCon);
    VidWin.attachVideo(NetStrm);
    NetStrm.play(theVid)

    if I bypass FMS e.g. theVid = "P:/Program Files/Macromedia/Flash Media Server
    2/applications/ion/SharedFiles/Precautions.flv"

    it works ...
    the FMS management console sees the server .. the application instance .. but
    I cannot get the client to connect .. ???[/Q]

    Take a look man...

    if using FMS...
    the var "thevid" has incorrect parameters...
    in your case that sould be set as "Precautions" (w/o .flv)
    the NetCon.connect(null); should be
    NetCon.connect("rtmp://192.168.0.10/appName");

    but if it's not using FMS you should not use RTMP on the vid variable, but use
    HTTP instead!

    good luck!

    Vinicius Hacebe Guest

Similar Threads

  1. Newbie Stupid Problem
    By Ender.bg in forum Macromedia Flash Flashcom
    Replies: 2
    Last Post: October 7th, 07:46 PM
  2. shockwave is stupid
    By clark_kent_clone in forum Macromedia Shockwave
    Replies: 1
    Last Post: April 5th, 03:49 AM
  3. Stupid question.
    By duit in forum Coldfusion - Getting Started
    Replies: 1
    Last Post: April 4th, 07:04 PM
  4. Im really stupid so please help me
    By the post starter webforumsuser@macromedia.com in forum Macromedia Flash Sitedesign
    Replies: 1
    Last Post: August 29th, 08:56 PM
  5. Stupid newbie question re website hit counting
    By Michael McLaughlin in forum PERL Miscellaneous
    Replies: 3
    Last Post: July 22nd, 11:42 PM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139