Media Server :: Advantage Of Writing A SSAS File Over An External AS3 File?
Jul 23, 2011
I do understand the differance between ssas and as3. Not all, but all most everything I see written in SSAS can be writen into a external AS3 file. This leads me to quite a few questions I'm hoping you kind people can shed some light on for me.
1) What is the advantage of writing a SSAS file over an external AS3 file?
2) Can I write an .asc file in AS3 or do I have to use AS1? Please understand I'm using tuts from fmsguru.com and the books "Learning Flash Media Server" (pdf) and "Programming Flash Communication Server". I'm not a javascript programmer so nothing I do in AS1 seems to make any sence while everything I do in AS3 does. It may not seem like it to you people that are programmers, but to those of us that aren't, AS1 and AS3 are miles apart.
3) kind of off topic, but a security question. I'm not a "hacker" and don't like the jerks that are. My question is on external AS / SSAS files and swf files. When my fla is compiled into a swf does my external AS files remain external? I assume they do, but then what is the threat of the swf being decompiled? In most projects I would do I could care less if somebody had access to my fla as long as they don't have my actionscript files.
I don't know. Maybe on questions one and two I'm getting confused becasue I'm using out dated material. Again I assume that even though fms was built off of the javascript engine it should be able to read and execute my AS3 file. Other wise what was the point of the evolution of actionscript into a fully functional programming language?
View 1 Replies
Similar Posts:
Mar 21, 2012
I am using FMS 4.5 and have a simple application which I want to use to send two strings to a php file. But I get a compilation error whenever I try to assign any value to these objects:
Here is main.asc:
<code>
var variables = new LoadVars();
variables.username = "uname";
variables.send(http://url.abc.com/test.php,POST)
</code>
I can't compile with the second line. FMS just says: Sending error message: Compilation error
How do I send variables to a HTTP URL?
View 2 Replies
Apr 6, 2010
Is there some FMS-specific reason why a sendAndLoad function in SSAS couldn't connect to a site on an IP address? Are there any configurations that would need to be set to allow/deny this type of connection? We have a server instance that can only connect to sites hosted on fully qualified domains.
View 1 Replies
Dec 9, 2010
I am currently trying to determine what limitations SSAS has that the C++ plug-in architecture can rectify.
Currently I have determined that C++ plug-ins can provide the following benefits: Quality of service increase/decrease based on client info via reserving a set of core processes for premium clients, then have a set of core processes for everyone else. Additional layer of security in the Authorization plug-in
I have not been able to find very many features that the C++ plug-in can provide that you can not provide with some code in the SSAS. So I guess I am just looking for a comparison table of advantages/disadvantages between the C++ and SSAS. How can I exploit the C++ plug-in architecture to do amazing things that the SSAS can not?
View 1 Replies
Aug 22, 2010
I have below code
[Code]....
I need this application read from exteral xml file not in it.
View 28 Replies
Jun 21, 2011
I'm using Flash CS3 and AS3 to create a stand alone app to run a kiosk. At the end of the kiosk we have a spot for a user to input comments and I want to write the contents of 2 text boxes when the submit button is clicked to a .txt file on the system that an administrator can approve and copy to a new file to be read in to the app and displayed. I've figured out how to read the external txt file easily enough, but there are so many conflicting things online regarding writing an external text file I haven't done any serious programming in 8+ years so I'm also relearning programming with this project.
View 3 Replies
Feb 4, 2010
I am trying to write a class file using a .as file instead of writing code into the script tab of a .fla file.When I write stage.addChild(img); I get an error that stage is null. When I take out stage, and just write addChild(img); the code runs fine, but nothing appears on stage. Do I need to do something to set a stage active?
Is this because I don't have a Main class? My class is named after the file and I don't have a file named Main.Here is the code. As it is, it runs and I get the two trace outputs, but no graphic on my screen.
package { import flash.display.DisplayObject; import flash.display.Sprite; import flash.display.Loader; import flash.events.*; import flash.net.*; public class HelloWorldImage extends Sprite { private var background:DisplayObject, foreground:DisplayObject; private var url:String = "hw_jpg.jpg"; private var loader:Loader = new Loader( ); public function
[code].....
View 7 Replies
Jun 12, 2009
Does AS3 write to an external text file? If so, how?
View 8 Replies
Jan 6, 2011
Got a really big problem here. I keep on getting "NetConnection.Connect.Failed" when I load a .asc file on my main.asc file, i use the method load() in my code. I really don't understand why this happens, but when i comment out the code that loads the asc file, I can successfully connect to fms. I can't figure out what's happening here. Btw, i'm using fms4 in windows 7 32bit.
View 6 Replies
Jun 29, 2011
I've looked through the scripts in the scripts/ directory, but haven't seen anything obvious.
I would like to be able to specify the file name to capture the stream to. At present, the capture file is always named the same as the stream, which means if I stream for a bit, stop, then restart, the originally captured file gets overwritten. I'd like to be able to incorporate something, i.e. the stream start time, into the capture file name.
View 3 Replies
May 1, 2009
I can convert .mov to a Flash file, but I can't even get an .mpg file to open.
Is there anyways I can convert this using Flah CS3 or any freeware that exist out there?
View 5 Replies
Jul 8, 2009
can you write and modify XML files using server-side Actionscript? I've been going through Adobe's Server-side Actionscript reference, reading up on the File class that lets you modify files on the server, and the server-side XML class that lets you read and 'understand' XML data, but can you put them together and essentially edit XML files on the server?
View 2 Replies
Jan 20, 2010
I am wondering if it is possible to use random file access for reading and writing data to file in Actionscipt 3.0 similar to that what is in Visual Basic?
View 1 Replies
Apr 27, 2009
I use FMIE and FMLE.how can i do save to file Live Streaming in server installed fms, not local system ?
View 1 Replies
Sep 18, 2009
Does anyone knows if it's possible to write some bytes received from an AIR or Flex client in a server side file using the File class ? I have been trying for hours without any result.My goal is to store on the server side a swf file sended by a client in a ByateArray.Here is the code I have ended with, assuming that myfile.swf alreadey exists on the server prior to the code execution, and is at the right place, and that pBytes is a ByteArray received from the client which contains a swf file :
function writeFile( pBytes )
{
var myFile = new File( "myFile.swf" );
[code]........
View 2 Replies
Oct 17, 2011
I'm doing a test install before we update our old server to 4.03.I've got the server software installed and configured (4.03 server, using iis for web).All the test stuff on the sample index page works, except for the dynamic stream tab.I've eyeballed the .f4m file, and tried putting in a complete url to the samples...but no luck.i just keep getting the stock connection timed out message.
Where do i need to look to start confiriming where this issue may be coming from?I've made made sure I can reach all the test videos by making flash players for them, calling them via rtmp... no problems.It's got to be something dumb with either the f4m file, or the way it's being served (btw, i have added all the mime types to iis , including .f4m as video/mp4....which is one of two ways I've seen it added).
View 3 Replies
Apr 17, 2010
Im picking up a dedicated server it will be CentOS and be well above the minimum req for FMS 3.5 Interactive.
Question: I want to use my dedicated server for more then just the FMS. Is this possible? Basically I want to use the same server for FMS and for the file hosting of my site. Obviously I would give it a different IP but am not sure what I will need to do specifically
View 3 Replies
Mar 15, 2010
I've been experimenting with Dynamic Streaming while in the process of writing a tutorial. The documentation is quite clear on a few points: The keyframe interval in the various encodings should be shortThe bufferlength should be at least 2x the keyframe intervalThe player should sense a bandwidth change, by default, within the 4-second sampling interval and call for a switch. Then, the switch could take as long as 2x the keyframe interval after that. What I'm finding is wildly different behavior than this. It takes anywhere from 10-15 seconds for the player to notice the change and call for a switch, then another 20-40 seconds for the switch to happen. When switching up to a higher bitrate stream, this just means the user gets low bitrate video for longer than they ought to. But when switching down due to falling bandwidth, the buffer runs out and the user stares at the rebuffering sign for a lengthy time - long enough to give up on watching the video, for sure.
I've encoded an H.264 MP4 file at 64, 384, and 768 kbps, at 30fps and an "every 60 frames" keyframe interval. I've streamed it rtmp via two different CDNs that use FMS 3.5, into two different Flash video players (JW Player and Flowplayer). I've restricted my bandwidth on Windows XP with Netlimiter 2.0; and on the Mac with 'ipfw'. I've set bufferlength between 4 and 10 seconds. I've tested switching up and switching down. For up, I start with a 200kbps bandwidth limit. The video starts OK with the correct stream, then at 5 seconds I open up the bandwidth to unrestricted. For testing down, I do the opposite: start at unrestricted and then at 00:05 restrict to 200kbps.
My test page, with both players and sample code is at [URL] n-flash-bitrate-switching/ I also have a couple of screen recordings there showing the behavior of the whole process, both switching up and switching down. I thought I've done everything right here - paid attention to every documented detail, but it works rather poorly. Can someone explain whether this is expected behavior, if the players have implemented dynamic switching poorly, or if I'm doing something wrong?
View 7 Replies
Oct 21, 2009
1) Is it possible to save FLV file(s) outside of the FMS?
2) How to move FLV file(s) from the FMS?
View 5 Replies
Jan 29, 2010
Is it possible using command line, or a php file to get the duration of an flv file using the flash media server. I used the flvcheck file to fix the meta data, and was using the duration operator but it didn't come up with anything. I am guessing the duration operator just shows if there is errors with this?
View 1 Replies
Oct 21, 2010
As we know the default format for video is H.264 and for audio it's AAC. We want to change the format. Please tell us ow can we change the format of the FLV file at the time of creation?
View 7 Replies
Feb 11, 2011
I am trying to stream a MP4-file from the VOD-folder using the videoplayer in flash. I can play the sample-file without any trouble, but when i try to use iceage.mp4 as source, it don't find the stream.[URL]..
View 2 Replies
May 16, 2011
Is thier any way to get the size of an FLV file? For example we get duration of an FLV file through metaData.
View 1 Replies
Nov 25, 2011
I have success full installation of Flash media server 4 in my linux machine.I am in need of stream the .mp3 file over network.
View 4 Replies
Jun 21, 2006
I've two problems with the streaming from a flv-file from a FMS2. First, when I stop the stream (pause) and want to restart it i have a small jump in the stream. Second, how can I detecting the end of the stream/file? Here is my code:
[Code]....
View 1 Replies
May 5, 2009
I posted a discussion earlier on a video stream not playing past a certain time. I ran FLVCheck on the video and it came back saying there is a backward timestamp in the video. I recompressed it from the uncompressed video (AVI) and I got the same error again in the exact same place.
The error has to be in the uncompressed file, but I don't know how to fix it. Recompressing obviously doesn't help. Anyone know how to fix a 'Backward timestamp'?
View 3 Replies
Jun 18, 2009
Is there any param value... or anything else I can use to stop the sound in an .flv file I'm streaming from the server?
I do not have the original video that the flv was created with... otherwise this would be a no brainer. I want to keep the video up but take away the sound
View 1 Replies
Jun 23, 2009
How to play a FLV file located in a second FMS not directly accessible by the flash client?
- I am publishing an audio stream from the flash client to a FMS;- This FMS then publishes the stream to a second FMS, which records the stream to a FLV;
How can I play in the client the FLV audio file that I recorded in the second FMS?
- The first FMS is accessible by the flash client, but the second FMS is only accessible by the first FMS.
View 1 Replies
Sep 29, 2009
I need to send the String value from .asc file to Flash AS3 in Application.rejectConnection();
[Code]...
View 2 Replies
Nov 6, 2009
I'm trying for making out application for vod.I want to know how a user can make his file readable by the AMS for vod when file is at different PC and AMS( includes swf and HTMl files) is at different PC.
View 1 Replies