Actionscript 3.0 and FMS2

Ask a Question related to Macromedia Flash Flashcom, Design and Development.

  1. #1

    Default Actionscript 3.0 and FMS2

    Can i use Actionscript 3.0 to connect to RMTP?
    Because NetStatusEvent always return netConnection.Connect.Failed when i use :
    my_nc.connect("rtmp://127.0.0.1/tutorial_hello")

    Which works fine with Actionscript 2.0

    ThaNKS.


    MikeHil Guest

  2. Similar Questions and Discussions

    1. Using a Player with FMS2
      I am using Flash Media Server 2 to try to play .flv meetings through the ccPlayer (http://ncam.wgbh.org/webaccess/ccforflash/ccplayermain.html). My...
    2. FMS2 and CS3
      I've been beating my head against the wall on trying to get a simple video streaming going with CS3 and FMS2. Are there any "HelloWorld" type...
    3. FMS2 on FC4 anyone?
      Has anyone been able to install FMS2 on Fedora Core 4? Installations with -plaformWarnOnly goes fine. But the server won't start. I can see the...
    4. [Q] Can I do this with FMS2???
      Hi... :) Okay... I was wondering if this can be done in FMS2... Let's say that I have a movieClip that is the same size as the stage, and this...
    5. [FMS2] - ActionScript Server Side.
      Hallo all Im having some problems with a configuration of FMS2 edge and origin.... The first time i connect to my application the variable...
  3. #2

    Default Re: Actionscript 3.0 and FMS2

    I am asking the exact same question. Maybe it has to do with the following to
    points in the documentation:
    [bullet]Loading and playing an audio or video file is not allowed if the
    calling SWF file is in a network sandbox and the file to be loaded is
    local.[/bullet][bullet]By default, loading and playing an audio or video file
    is not allowed if the calling SWF is local and tries to load and play a remote
    file. A user must grant explicit permission to allow this.
    [/bullet]
    There seems to be preciously little information on the web on using the AS3
    NetConnection classes with FMS2.

    WebMinder Guest

  4. #3

    Default Re: Actionscript 3.0 and FMS2

    Found the answer here: [url]http://maohao.wordpress.com/2007/04/20/as-3-to-fms-20/[/url]
    Just ad the following line before you create the NetConnection instance:
    [Q]NetConnection.defaultObjectEncoding = ObjectEncoding.AMF0;[/Q] The
    explanation is also in the help file: [Q]By default,
    NetConnection.defaultObjectEncoding is set to use the ActionScript 3.0 format,
    AMF3[/Q] FMS2 still uses the AMF0 format.

    WebMinder Guest

Posting Permissions

  • You may not post new threads
  • You may 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