Flex :: Build A Flash Player For The Company's Shoutcast Server?
Nov 9, 2009
I am trying to build a flash player for my company's Shoutcast server, and have seen a few articles about it on the 'net, including this SO question here. However, I can't seem to get the audio stream to actually play. It seems to be connecting alright, but calling stream.play() doesn't seem to do anything.
public function stream() {
private var url:URLREQUEST = "my.domain.com";
private var sStream:Sound = new Sound();
sStream.load(url);
sStream.play();
}
View 2 Replies
Similar Posts:
Dec 23, 2008
how can we catch streaming from Shoutcast in Flash?
View 2 Replies
Feb 28, 2012
There's a code that works while I'm trying it in FLASH. It streams shoutcast :
var soundOBJ : Sound = new Sound();
soundOBJ.load(new URLRequest("http://176.9.42.221:8000/"));
soundOBJ.play( );
When I publish it and deliver on server, shoutcast doesn't stream
View 1 Replies
Mar 12, 2009
i've been asked to build a slide puzzle for an advertising company. While the puzzle itself will be straightforward they want it to thave a 'solve' button that shows the puzzle animating to the correct finish position from the positition the tiles are currently in (after the user has moved them around). It's a 4x2 grid puzzle.
Any thoughts on the best way to achieve this? Everything i come up with seems unneccessarily complex.
View 11 Replies
Aug 5, 2011
I've ran into a weird problem while trying to send a JSON command to my company's flash player. Basically, i am unable to pass a playlist to this player - nothing happens - using the following command:
player.sendEvent("LOAD_PLAYLIST", json_str);
but the weirdest part is that if I print the entire command using Firebug's console.log, copy it and paste it into the code (thus hardcoding the playlist), everything works like a charm.
For instance, the following code:
player.sendEvent("LOAD_PLAYLIST", "{"streams": [{"src": "rtmp://xxx.xxx.xx:80/redirectvodxxx/nas2.share/h264/512x384/progname1/prog_1_20110804.mp4"},{"src": "rtmp://xxx.xxx.xx:80/redirectvodxxx/nas2.share/h264/512x384/progname2/prog_2_20110804.mp4"},{"src": "rtmp://xxx.xxx.xx:80/redirectvodxxx/nas2.share/h264/512x384/progname3/prog_3_20110804.mp4"}]}");
was obtained using
console.log('[loadNewListofContents] playing the following content list: player.sendEvent("LOAD_PLAYLIST", ' + json_str.toString() + ');');
and if i hardcode it, it works!I've tried all the toString() tricks I can think of (ex: json_str.toString(), '"' + json_str.toString() + '"', etc...) but so far no such luck.
View 2 Replies
Oct 26, 2009
I've found only one flash player, that plays my Shoutcast stream directly to my site. I've designed it the way I like, put my shoutcast url in it and everything I wanted. The only one problem I couldn't decide is that I can't "tell" the player not to autostart with page load. I tried with "autoplay="false" when I embed the player in site, but nothing happens. I suppose that I need to put something in my actioscript.
function MD5(string) {
function RotateLeft(lValue, iShiftBits) {
return(lValue << iShiftBits | lValue >>> 32 - iShiftBits);
} // end function
function AddUnsigned(lX, lY)
[Code] .....
View 1 Replies
Sep 15, 2011
I have successfully created numerous AS3 to PHP contact forms. I know they work. However, I can't use PHP on the company server. I need an example of a working AS3 to ASP contact form.
View 1 Replies
Oct 18, 2009
I need to implement add mp3 player to my AIR application build with flex
is there any tutorials on building mp3 player ( i didn't found any in the web )
View 2 Replies
Mar 31, 2011
In TFS 2010 build, I have a new build and I want to call an ant script that builds Flash. How do I call the ant script? Also How can I compile the Flash directly? I've seen the Power Tools and this question but it doesn't help me as we don't have TFS 2008. I can't find any documentation on how to use the power tools except the 1 sentence on the bottom of download page saying to create your build the old way and import it (which isn't very helpful). I've installed the power tools on the agent computer but I don't see any new options in the Toolbox when I'm designing the build flow.
View 2 Replies
Jul 29, 2010
is it possible for me to build a server in java so that i can let my different flash clients communicate with each other?
View 3 Replies
Dec 14, 2010
- Is there a benefit to hosting FLV files on a Flash Media Server when they are under 2-3 minutes?I've been working on a couple different video projects as of late... some are simple web player with 30 second ads and others are working with longer videos like 2-3 minutes. I currently have an FLV hosting provider running Flash Media Server but with videos so small don't they download for the user as progressive anyway and there is no real benefit whether I am using my FLV host or my traditional web host?
i also use a separate video hosting company to handle my mobile videos mainly because I am a bit naive on how that works as well. I had a project with straight links to play video on mobile phones (with three different version served up based on OS). But it seems like most of those were progressive downloads as well.
View 1 Replies
Jun 5, 2010
I have to build a video conference application with flex 3.
View 1 Replies
Apr 1, 2012
As a first step getting a Hello World Flex-to-Java application to compile and run I followed: [URL] And it ran successfully. However now I wish to automate the build in Maven. How to specify the Flex Server location in the pom.xml?
View 1 Replies
Dec 20, 2010
I have a server with some simple java objects running. I want to build the client with Flex and connect to the server data with BlazeDS. The problem is the Flash Builder is not generating the Classes correctly. Just the properties are being generated, the inheritance are not being generates.
View 1 Replies
Sep 17, 2011
I want to create a new flash video player for my project.
1- Is there any document
2- How can I modify the opacity in the seek bar?
3- What exactly in width and height is the proper size?
View 1 Replies
Apr 6, 2010
I'm having a problem with labels disappearing on Flex's datavisualization.swc charts that are built on our build server via ANT and the Flex 3.3 SDK. I've made sure that our license is applied properly on the build server (hence no water marks), and I've made sure the exact same datavisualization.swc was copied from my dev machine into the Flex3.3SDK/frameworks/libs directory.
Could it be a font problem? (Though we're really only using default fonts.) Here's the problem, missing axis labels on the build server Here's how it's supposed to look with labels (taken on my local development machine)
View 1 Replies
Nov 9, 2009
Morning stackers! So my question today isn't dealing with any code, but how to go about this the correct way from the start. I have a video player built to a static size (max: 800x600) which I'll have to re-code every time I need it to be a different size. What I need it to do in the near future is dynamically resize itself and all the elements inside of it based on 1 width variable that it will received either from HTML or XML. Now to me there are 2 ways to go about this:
Start with the smallest size possible and resize upwards, but I'm unsure of how the Flash movie will actually expand upwards as of right now.
Or 2, start with the largest size possible (in this case 800x600) and size everything down. Step 1, I think seems to be the better way to go about this (ala YouTube style), but Step 2 also seems like it could be the easier way? A friend of mine mentioned that I should go with the larger size and have elements resize in each class, then fix to the upper left hand corner. However for the player to fit inside of certain div columns on sites, blogs whatever he said that there will have to be an HTML/CSS side of this... meaning that the div containing the resized flash player will have to cover up the areas of the Flash movie that are not to be shown? Is that possible to put a 800x600 flash movie into a div that smaller then 800 pixels wide? And cover it up with another div?
View 2 Replies
Oct 10, 2010
is it possible to play video stream from non-adobe(or homebrew server), in the newest flash player(10).It looks like the VideoPlayer only plays the stream from FMS? Is it the business model of Adobe?
View 2 Replies
Apr 14, 2011
I just started working with ant a few days ago. Right now I have a general buildall.xml which should call each project's build.xml. Because some projects depend on each other, I need to rebuild some other projects which depend on it. This isn't a problem--I'm just setting the depends property of the target. However, ant is always building the dependencies, even when the files haven't changed.Let's say project1 has no dependencies; project2 depends on project1; project3 depends on project1, 2; project4 depends on project1, 2, and 3; and so on.I could hack a solution which looks at project K, and checks if project 1 .. project K have updated files using uptodate. If so, then run the target. This is messy and appears unnecessary.
What is the cleanest way to implement this?EDIT: So I decided to just hack in a bunch of targets, "check_projectK" where it does the uptodate checks on all of its source files, its build file, and the build files of the 1 .. K-1 projects. Due to dependencies, this is always handled correctly. However, this is still a large amount of copy and paste for a large workspace.
View 1 Replies
Feb 11, 2012
I have a swc plugin embedded in my product to stream live video to a group of recipients.The plugin uses the NetStream, NetGroup and NetConnection objects, the server I use to handle the RTMFP session is Influxis.One client creates a group as a publisher, and stream a live video.His Camera is enabled and I can see the video on the screen as well. The others connect to his group and play the video.Peer assisted Networking is enabled for both the publisher and the recipients.The plugin worked well in all 10.x versions (10.1/10.2/10.3)However, when upgrading to flash player 11.x, it stopped working.
-11.x to 11.x isn't working.
-10.x with 11.x isn't working.
-only 10.x to 10.x is working.
The server I use to handle the RTMFP protocol is Influxis.com I sent them the same question as well.The weirdest fact is that I'm using flash builder 4.6 with 4.6 sdk, which is aimed for flash player 11.1, and it is only working with 10.x flash players.
View 2 Replies
Aug 4, 2011
I'm building a Facebook multiplayer game where the client side is in FLEX and the server side is in Java and I wanted to know if there is a guide on how to build the server clients managing system. When I say server clients managing system, I mean a server which many clients will connect to and will be able to choose between tables to join and play or to create their own table, same way as in texas holdem poker.
View 1 Replies
Feb 19, 2010
I have a working TCP/IP socket server that loads 3-flash files in succession. How can I unload previous files and eliminate the garbage build up? 2-Flash clients are active, 1-the loader, 2-the next Flash file being loaded, however "the Flash files don't unload." Maybe there's a "put - kill" method or something similar to addChild removeChild in as3.
[Code]....
View 2 Replies
Jun 23, 2011
I had a question about RED5 & Adobe... Does anyone know if it is possible to broadcast multiple video chats using Adobe flash player from "RED5 flash server"?
View 2 Replies
Mar 11, 2009
I tried to build a multiple flv player using ActionScript 2 (Flash 8) and managed to get a working model on my desktop, but it still won't function from the web server.
View 1 Replies
Apr 17, 2011
i was curious on what i would need to incorparate flash to my business website rather than the service we are using currently. We have noticed that the flash images on our website are having issues loading and getting stuck currectly.My website address is http:[url]... there is flash type images at the top of the page as well as the middle.
View 1 Replies
Nov 29, 2011
I am trying to create an app used to display my company's portfolio. This includes a show-reel section.I developed it using HTML and jQuery, and converted it into an AIR app using the plugin for Dreamweaver.Admittedly this my first attempt at creating an app this way, but it all went smoothly until I wanted to play the video.
My Flash video player does not work, and according to some similar posts I read this is because of a referencing issue. I found several solutions for Flex, but that does not help my specific case.HTML 5 does not seem to work in AIR 2.0 either, so I am a bit stumped.
View 10 Replies
Apr 11, 2008
First post - I'm a designer just picking up AS2 for the 3rd year - so I know how to get in trouble..nonetheless, I created a flash presentation for the company I work for and they want to use the demo at conferences and what not... It's a single scene with nested/nested/nested MC spewn throughout... right now everything was hodgepodged in AS3 as I was desperately trying to get familiar with it. So I suck
I can't figure out how to tell the topmost timeline (or root?) timeline to play as soon as an embedded mc finishes playing or even one layer above the nested MC - everything is on a timeline, nothing is loaded, I have no real programming skill anymore...or ever
my final result is to have my same button driven presentation run automatically so the buttons no longer need to be clicked to continue.
View 5 Replies
Jul 22, 2010
In my game the player can create turrets, those turrets will be put into a array but my problem is that i dont want the player to be able to build 2 turrets or more on the same spot. this is what i have tried so far:
[Code].....
View 1 Replies
Dec 2, 2011
I like to build an video player width a syncron diashow.So there should be a video connected to a xml file which contains the time and the image path. When the video passes one cue point, the image should change.I tried the component flvplaybackcaptioning, but this component only works with text.?
View 1 Replies
Jan 2, 2011
I am trying to create a flash player to stream an on online Internet radio station using FMS. I chose FMS after being told that I need RTMP server to extract the metadata. Our radio audio is being encoded using a DJ interface called SAM Broadcaster. But for some reason, it does not have an option to send over the stream directly to a Flash Media Server. Only options are either IceCAST or ShoutCAST. How should i setup the stream? Should it be Stream encoder>> IceCAST/SHOUTCast Server>>Flash Media Server>>Flash Player Client. Or should I setup Stream Encoder>>Flash Media Server>>Flash Player Client? Shouldn't Flash Media Server be an alternative to IceCast or Shoutcast? If that is the case, how do I send over the stream from SAM Broadcaster directly to Flash Media Server without restreaming through another streaming server?
View 2 Replies