Expand my Community achievements bar.

rtmpchannel is undefined

Avatar

Level 1
Any help would be appreciated. I have been using Flex 2 and
recently tried upgrading to Flex 3 beta 2. In my app i use a
consumer and producer to connect to a external java jms topic. When
I compile now in Flex 3 i get the error "Call to a possibly
undefined method RTMPChannel". After searching doesn't seem to be
under mx.messaging.channels anymore. Is there a new way to connect
that is similar to RTMP? Or is this a bug?
3 Replies

Avatar

Former Community Member
RTMPChannel is now in LCDS's fds.swc.



If you don't need to connect to RTMP you can comment out the
RTMPChannel

from your services-config.xml, otherwise you'll need to add
fds.swc to your

Flex project's library path (and don't forget the
locale/en_US/fds_rb.swc

for localization strings too).



Note that if you're building Flex Library projects (i.e.
making swcs of your

own), there's a known issue with Flex 3 Beta 2 that means you
can't include

Flex2 compiled swcs like fds.swc in the library path. This
has been fixed

since and you should be able to try out a nightly build of
the Flex 3 SDK:




http://labs.adobe.com/technologies/flex/sdk/flex3sdk.html





Hello avenick8879,



> Any help would be appreciated. I have been using Flex 2
and recently

> tried upgrading to Flex 3 beta 2. In my app i use a
consumer and

> producer to connect to a external java jms topic. When I
compile now

> in Flex 3 i get the error "Call to a possibly undefined
method

> RTMPChannel". After searching doesn't seem to be under

> mx.messaging.channels anymore. Is there a new way to
connect that is

> similar to RTMP? Or is this a bug?

>





Avatar

Level 1
Thanks Peter, I had a fds.swc out on my server where the fds
was living so i copied that over to the machine where my flex
project is and linked it to the library path and I still got the
error. I figured this was because it was from an older version of
FDS and not LCDS, so I downloaded LCDS and ran the exe but I can't
find a copy of fds.swc inside that? Where do i get fds.swc and will
this work with the older version of FDS out on the server because I
really don't want to mess with that configuration.

Avatar

Former Community Member
LCDS is usually deployed as a J2EE WAR file, which is
actually a compressed

archive just like a .zip file. If you expand this you'll find
/WEB-INF/flex/libs/fds.swc

and /WEB-INF/flex/locale/en_US/fds_rb.swc.