Flex :: Adobe Air Stream End On Line (EOF)?

Mar 27, 2010

I need to read a file, which has an "n" number of lines, I need to know when reading the end of each line, so I can store the line in an array, ok so far I have

[Code]...

View 2 Replies


Similar Posts:


Flex :: Set A Breakpoint At A Given Line Number In Adobe's FDB?

Mar 1, 2010

I'm learning the Flex command-line debugger, and I haven't been able to find information on this particular use case.I'd like to add a breakpoint to a specific line in one of my class files. I can add breakpoints at the start of a function in a class, but I can't figure out how to set it at a specific line (e.g. line 117 in Foo.as)?When I try to set one for a file on a given line, I get one at a different location:(fdb) break Foo 111Breakpoint 1 at 0x######: file Foo.as, line 115I've verified the line # I'm specifying is valid, so I don't think the FDB is trying to compensate.

View 1 Replies

Flash :: Line Chart Possible To Achieve Using Adobe's Built In Charting Component In Flex?

Jan 13, 2012

I'm new to Flex/AS3. I've attached an example line chart below. I want to know if this type of graph can be created using the standard line-series chart available in Flex (Flash Builder 4.6), or whether there's something drawn below that is non-standard and would therefore require some rather involved customization. The key features are:

-Different line styles and colors (dashed, dot-dash, solid, thick, thin, opacity)
-Placement of units (y-axis "seconds" and x-axis "Hz")
-x-axis zoom/pan control bar below graph (move knobs in and out to set x-axis min and max plotted values)
-Log x-axis scale, linear y-axis scale
-Data Tip (or, some call it tool tip, not shown below)
-SI units for x- and y-axis tick labels.

My guess is that everything should be pretty standard to accomplish using Adobe's built-in charting (with the possible exception of item 6, see below). Is that a good assumption?I'm particularly concerned about the x- and y-axis tick labels (item 6). For example, the x-axis tick marks as a number would be:1, 10, 100, 1000, 10000, 100000, 1000000, 10000000 but they need to be replaced with SI units, where k=1000, and M=1000000, so the corresponding marks would be (replacing the numbers above with the strings below)"1", "10", "100", "1k", "10k", "1M", "10M".The same goes for the y-axis, where p represents 1e-12, and n represents 1e-9.I can create an algorithm that accepts a number and outputs a string to do the SI unit conversion. But given that, is there a way to easily manage the tick mark labels to replace the default numbers with such strings?

View 2 Replies

Flash :: Get A Bytearray From File Stream In Adobe AIR?

May 27, 2010

I read limited (small - 15 - 500 mb files). I need to be able to put all file bytes into one single bytearray. So I have a function:

[Bindable]
public var ba:ByteArray = new ByteArray;
//.... code ....//

[Code]....

But it does not work=( - gives me Error: Error #2030: End of file was encountered.

How to get a full bytearray from stream to use it as normal bytearray?

View 1 Replies

Adobe Flash To Play RTSP Stream?

Dec 6, 2010

I have a home made RTSP server that streams video to QuickTime clients. Now, I need to support Flash Player clients, because QuickTime needs some configuration to work on Windows, and also there is no implementation of it in Linux distributions. Then I opted for Flash.

BUT: does Flash support RTSP??? If not, where can I find documentation for its streaming protocol so I can build one?

View 3 Replies

Flex :: Dynamically Create Axis Via ActionScript In Adobe Flex Charting Library; Adobe Bug?

Mar 21, 2011

Multiple axis creation via MXML works fine:
http:[url]...

But when I'm trying dynamically create horizontal and vertical axis then I'm getting extra axes. I believe this is Adobe bug. How I can fix this behavior?

<?xml version="1.0" encoding="utf-8"?>
<s:Application
minHeight="600"[code].....

View 2 Replies

Flash :: Adobe Crash After Several Hours Of Playing Mp3 Stream

Mar 16, 2012

I have made a mp3 player that is working fine, it plays a mp3 radio stream for several hours (last crash was after 6,5 hours) and then it crashes without any message or exception. This is very difficult to debug because it only happen after a couple of hours with the same stream. It appear in all browsers so it is a Adobe Flash problem or is this a buffer problem?

Must i use other buffering settings to play MP3 streams? Does anybody know this problem and what can be done to avoid this? Also another question is why memory consumption after hibernation of the pc is growing dramaticly (every second it eats a couple of 10Kb). After refreshing the page it is stable again. Why is this happening? Mp3 player is made in Flash 9 (CS3) with AS3 and the player is Flash 10 (latest). Running on Windows XP Prof with 3GB RAM.

View 1 Replies

Professional :: Adobe Flash Tried To Play A Live Or Recorded Stream That Does Not Exist

Sep 4, 2011

I have started a stream from Flash media encoder to flash media server. According to my encoder, it should be located at: "rtmp://localhost/live" and is called livestream.In the Flash  software I try and set the source of FLVPlayback component to "rtmp://localhost/live/livestream", and I get this error: "NetStream.Play.StreamNotFound : Adobe Flash tried to play a live or recorded stream that does not exist. Source can't be found.". Both the server and encoder is runnind and I am encoding.Too, when I try and open the html with the stream in a browser, nothing appears.

View 5 Replies

Securely Publish Live Stream To Adobe Flash Media Server?

Feb 7, 2011

I want to make sure that only authenticated users are publishing streams to my Adobe Flash Media Server.

Ideally I would like to limit the IPs which are allowed to publish streams to the server.

I read about the Adobe Authentication Plugin, but apparently it is broken since it works only for Adobe Flash Media Live Enconder. It doesn't secure the server for other encoders that publish streams.

View 1 Replies

Actionscript :: Simply Stream Video From Adobe Flash Media Server (Linux)?

Apr 19, 2009

I'm stumped on how to get started with Adobe Flash Media Server. On Linux. All I need to do is:

[Code]...

View 2 Replies

Actionscript 3 :: Draw A Line With Adobe Molehill?

Mar 28, 2011

how can i draw a line with adobe molehill. If i was using opengl i would use GL_LINES, but i seems molehill can only draw triangles.

View 2 Replies

Flash :: Run Adobe Fireworks Commands From Command Line

Jan 11, 2010

I've written few Fireworks commands (jsfw files) and Flash commands that I use for my image processing. Is it possible to run them from the command line without launching the whole UI app for Fireworks or Flash?

View 2 Replies

Media Server :: Adobe Flash Tried To Play A Live Or Recorded Stream That Does Not Exist. Source Can't Be Found?

Sep 5, 2011

I have started a stream from Flash media encoder to flash media server. According to my encoder, it should be located at: "rtmp://localhost/live" and is called livestream.In the Flash  software I try and set the source of FLVPlayback component to rtmp://localhost/live/livestream", and I get this error: "NetStream.Play.StreamNotFound : Adobe Flash tried to play a live or recorded stream that does not exist. Source can't be found.". Both the server and encoder is runnind and I am encoding.

View 12 Replies

Regex :: Replace Contiguous Line Feeds Or New Line Characters With A Single Newline In Flex

Dec 26, 2011

I need to replace multiple contiguous new line/line feed characters in flex with a single new line character.

Example:

The string

"My name is blah blah

My name is blah
"

Should be converted to

"My name is blah blah
My name is blah
"

Hope the example makes it easier to understand.

I am using a component to render it.

I guess using regex would be the easiest way to do this, but still it would be great if people can point me out to references/examples to get this done with ease.

I am using flex 4.5.

View 2 Replies

Actionscript 3 :: Import - Can't Find The Line In The Adobe Samples For A Maze Game?

Feb 20, 2010

I can't find the line in the Adobe samples for a maze game where the actual .as code is included into the project. This is fundamental, since my own implementation is just using include "file name";, which isn't working. I also can't use import, since I then can't access the elements placed on the stage.? The files are available here http:[url]....

I tried to debug the code, but I can't even find the point where the constructor is called. The execution starts at "stop()" in frame 1 and then if you step into it, calls the enter frame event handler.

View 1 Replies

ActionScript 3.0 :: Programmatically Detecting Between Adobe Air And Adobe Flex?

Feb 12, 2010

I have some shared code between an Adobe AIR App and an Adobe Flex App.

On one line of this code, the program must behave differently depending on if it is running within the Air runtime, or the Flex runtime.

How can I programmatically detect the difference?

View 1 Replies

Flex :: Reading Large CSV File Line By Line?

Oct 8, 2010

I need to read a large CSV file (8-15 MB) and generate a LineChart in Flex AIR. Since Chart need data in structurd format like XML. When I read CSV and convert it to XML object 8 MB file size become 24 MB XML object and not able to graph.

Best solution is to read Line by line and read only part of data. How can I acheive this in Flex AIR ? Is it possible to read line by line in Flex.

Otherwise what are the best ways to draw a graph in FLEX using large data.

View 2 Replies

Adobe Flash Cs4 : Xml Parsing Fatal Error Invalid Document Structure Line 1 File?

Aug 26, 2009

I got a problem with adobe flash cs4 : I can't launch it normaly and its says that a fatal error has occured.. I really don't know what I must do.. Please, help me.... I've just lost like 3 or 4 files of adobe by trying to reinstall it.

View 3 Replies

Media Server :: Stream And Audio Line Level Feed Rather Than The Audio From A Computer's Microphone?

Apr 1, 2012

Is there a way to stream and audio line level feed rather than the audio from a computer's microphone?

View 1 Replies

'netstream' Error Message "Adobe Flash Tried To Play A Live Or Recorded Stream That Does Not Exist"

Oct 13, 2010

I'm just trying to figure out this error message that comes up when I am importing a video into flash. It says: 'NetStream.Play.StreamNotFound: Adobe flash tried to play a live or recorded stream that does not exist. Source can't be found'

View 2 Replies

ActionScript 2.0 :: Code In Flash To Read It Line By Line But Its Only Showing The First Line Out Of 5 Lines?

Dec 17, 2009

i have an xml file and i want my code in flash to read it line by line but its only showing the first line out of 5 lines.Below is the code:

var NigeriaNumber:Number;
var stateName:String;
var year:String;

[code].....

View 0 Replies

Media Server :: Close Another Live Stream B If Opening When Stream A Is Closed?

Aug 28, 2010

close another live stream B if opening when stream A is closed? Does FMS support this kind of logic?

View 8 Replies

Media Server :: Recording RTMFP P2P Stream By Sending Simultaneous Stream To FMS

Oct 8, 2010

Only just getting started on this whole domain of learning, so go easy!If I set up a P2P video/audio chat (similar to the sample VideoPhone thing on the Cirrus site), can I get the stream from both parties to send to a server at the same time so that I can record it? If so, would I have to use a FMS to stream it to and perform the recording (and if so which version could I get away with)? Are there any (preferably free, or just tutorialised) solutions for the recording side of things?
 
Currently it seems like the only option for doing the P2P thing is to use Stratus/Cirrus unless I use FMS4 Enterprise.
 
how effective this kind of situation can be, in terms of quality of the stream and recording? Does any of this make sense?

View 1 Replies

Media Server :: Write Access Denied For Stream Error When Recording Audio Stream

Jul 26, 2010

I've had FMS running on my local machine for a while and have had a little experience writing FMS apps, but I've just tried recording audio for the first time using the standard vod application and I keep getting a "Write access denied for stream" error. My AS3 code is copied and pasted for various examples and am confident that it works.
 
I'm running Windows XP service pack 3 & FMIS 3.5.
 
I've had a look at the vod/media directory and under windows->properties the read-only attribute is ticked. Every time I un-tick this it reverts back to being ticked. I've googled this and MS say that most programs ignore the read-only attribute and that it only really applied to files. I've also tried the MS fix for setting the read-only attribute via cmd and still no joy (doesn't fix read-only attribute or FMS recording the audio after setting via cmd).
 
I've also tried our dev server install of FMS (running under linux) and am getting the same results.
 
Here's my AS3 code...
 
private function initApp(event:Event):void
{
removeEventListener(Event.ADDED_TO_STAGE,initApp);

[Code].....

View 1 Replies

Media Server :: RTMFP Multicast Stream Has Exceeded Max Duration Allowed Closing Stream?

May 9, 2011

i test the fms 4 update 1 rtmfp streams multicast after 10 minutes i get this message RTMFP Multicast stream has exceeded max duration allowed; closing stream. but i do not use IP multicast

[Code]...

View 3 Replies

Flex :: Get Name Of Stream?

Jan 29, 2011

I'm implementing a peer-to-peer video conference application in Flex using the new RTMFP protocol and NetGroups..

Let's say the name of the group is Group1.What I want to do is; When a new peer connects to Group1; create a new video display for each joining peer and play his/her stream right away.

I listen to the NetStatus event of the NetConnection and on "NetStream.Connect.Success"; I want to add the new peer and play his/her stream.[code]...

View 2 Replies

Media Server :: Dynamic Live Stream Don't Take The Best Stream For Bandwith

Mar 9, 2010

I build a client side application where is only a FLVPlayback2.5 component and a short AS3 script.

[Code]....

My Encoder is setup with three streams: Vid: 500 kbps - Audio: 48 kbpsVid: 800 kbps - Audio: 48 kbpsVid: 1500 kbps - Audio: 48 kbps I start the encoder and everything looks fine in the log. In my browser (Safari or Firefox) I go to my html site and the stream starts after 6-8 sec. But anytime with the lowest bitrate 548 kbps and nothing look like the stream is switching to another bitrate. I tried it with the smil playlist and the result is the same. Only the lowest bitrate is plublished.

[Code]....

View 3 Replies

Media Server :: Access Log- Stream Play & Stream Stop?

May 24, 2010

I have recently installed FMIS 3.5.3. In checking the access logs I find data in both logs that display the same stream stop and stream play time .I'm not sure why the time is the same (00:19:27 example below). Videos play fine when testing from work (T3 connection). However, occasionally a very slight hesitation when playing video from home (I have cable connection). [code]...

View 4 Replies

Media Server :: Last Few Seconds Of Stream Cut Off When Recording A Live Stream?

Aug 27, 2010

I'm having a problem with recording a live webcam stream. The last few seconds of the stream is getting cut off.
The recording is stopped with the following piece of code:
 
vid.attachCamera(null);
vid.clear();
ns.attachCamera(null);
ns.attachAudio(null);
ns.pause();
  
What could be causing this? Is the stream cut off too soon? Is the client unable to send buffered data to the server?

View 2 Replies

ActionScript 3.0 :: Getting Audio Stream Meta Data From An Akamai FMS Stream

Jul 21, 2009

I am having trouble getting audio stream meta data from an Akamai FMS stream. Everything is undefined and I'm not sure why. I am hoping maybe someone will notice something that I am overlooking. The stream is connecting and playing without a problem I just can't seem to figure out why all the meta data is undefined.

[Code]...

View 6 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved