ActionScript 2.0 :: GetDate From Server?

Nov 29, 2006

t all works fine and the correct days will open on the correct date...or so i thought!Its getting the date from the users computer using getDate in flash 8.but this means if the user has the wrong date set or changes it they will be able to open any door they want in theory!guessing i need to use php but after reading a few posts etc I'm still not sure how i can get just the date into flash.heres what i use at the moment:

var myDate = new Date();
day = myDate.getDate();
mnth = myDate.getMonth();

[code]....

View 3 Replies


Similar Posts:


ActionScript 2.0 :: Load XML Attribute Using GetDate?

Oct 24, 2008

Here's an example of my XML:

Code:
<theDate>
<day dayNumber="22" dayText="here's some text for the 22nd" />
<day dayNumber="23" dayText="here's some text for the 23rd" />

[Code]....

Pretty much, all I'm trying to do is, using getDate, find the correct dayNumber and load that dayText into a dynamic text field.

View 3 Replies

ActionScript 2.0 :: GetDate To Dynamically Mark Recent Changes?

Sep 15, 2005

I'm making a blog/journal in flash that I will manually update, and there will be a list of entries in a menu. I would like the newer entries tinted red so they are obviously new at a glance. I would like them to stay red for a week, then automatically remove the tint.

So I'm guessing that when I manually update the entry, I could just plug in the current date into a field in the AS, and it would use the computers clock to find out if a week had passed or not.

View 1 Replies

Media Server :: Streaming Server Returned A 500 Internal Server Error

Nov 13, 2009

The company I work for installed FMS on a server running Centos for a customer who needed streaming media capabilities. It worked fine for 3 months until today the customer called us and informed us that their client program can no longer connect to the streaming media server. No one has done anything to the server to cause this to happen. When attempting to access the admin console to diagnose the program, the streaming server returned a 500 Internal Server Error. So I tried another page. Same result. Reboots of both the hardware server and the FMS have changed nothing.

View 5 Replies

Media Server :: Swf Hosted On One Server Connect To Live Stream From Another Server?

Apr 28, 2010

One server - is streaming server with Flash Media Interactive Server 3.5that host the application with asc files in FMS application directory.Second server - is the IIS web server that host thehtml,aspx,swf etc.. files.So basically i heve swf file on one server that have to connect to live streaming via rtmp on different server with different ip address.I did not find any clear explanation on this crossdomain rmtp issue.ys only HTTP can use crossdomain.xml policy filebut not rmtp.So what policy security procedure need to be done in order to enableswf file hosted on one server to connect and show rmtp live cam broadcasting from another server?

View 2 Replies

Media Server :: Development Server Be Installed On A Remote Server?

Oct 14, 2010

The instructions for installation only cover installation on "localhost".  I'm wondering if I could use the development server for a small scale website depolyment with restricted traffic, from a commercial server, such as goDaddy?And if so, what''s the method?  Do I download the package from Adobe to my local hard drive and install over the network, or copy the package to the server and install it online?

View 1 Replies

Media Server :: Streaming Server 4 - Server Side Playlist?

Jan 26, 2011

The $995.00 version is listed as not supporting server side playlists.  Is it possible to implement internet TV station like functionality using that version?  I would like to have a list of files to play out and have it so those connected are all viewing the same thing.

View 1 Replies

Media Server :: Republish Server To Server But With FCPublish

Sep 15, 2010

I would like to RePublish Live Stream to a CDN (Level3). this CDN must use FCpublish on Client Side (like FME).
 
my Publisher send stream on FMS3.5 (Server1) and this stream must go to Serveur2 (CDN) with FCPulish.
 
On my local serveur1, i add some code to do that but whitout succes...
 
i can RePublish when i simulate the second Server(2) on my LocalHost BUT withOut the FCPublish Method.. (i use the sample from Adobe Flash Media Server "Publishing server 2 server")
 
How can i change this sample to use the FCPublish method to republish the stream to Server2 ?
 
with my tests, i think that my problem is how to receive the "onFCPublish = netstream.publish.start" from the server2 to my server1
 
please, do you have a great and simple sample (like this before) to reStream by FCPublish Method ?
 
I know how to make it in AS3 on my Flex Client Application but not in the Action Script on the main.asc

View 1 Replies

Media Server :: Flash Media Streaming Server And Interactive Server?

Jul 17, 2010

I'm building a video conferencing applicaition for a portal. But now when considering which version of flash media server to buy, I run into some problem. So can anyone helps me about comparing this two versions: Flash Media Streaming Server and Flash Media Interactive server, like if I use Flash Media Streaming Server, some function like NetStream.pause() may not work or something like that? I'm not sure if this is a foolish question but please let me know.

View 3 Replies

ActionScript 3.0 :: Writing And Modifying XML Files Using Server-Side / Flash Media Server?

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

Media Server :: Cannot Connect To Admin Console FMS 3.5 Running Separate Apache Server

Jul 7, 2009

I have installed the FMS 3.5 Server on a separate IP from our main Apache Server: The server is running Redhat Linux 2.6.18-128.1.10.el5
 
FMS 3.5 running on ***.***.**.138 using ports 1935, 8080 (Admin Server using port 1111)
Apache 2 running on ***.***.**.139 using port 80, 443. (several sites setup on this IP)
 
However, when accessing the fms_adminConsole.htm in the root directory of one of the domains on ***.***.**.139, all login attempts fail. I am connecting to localhost and using the assigned user and password set up in fms.ini. Using either IP fails as well. The FMS server is set up to listen to all hosts as no specific IPs were set.
 
/var/log/messages show that FMS and the Admin Server are up an running and listening:
Jul  7 12:15:37 228215-web1 Service[28196]: Server starting...
Jul  7 12:15:37 228215-web1 Service[28196]: Server started (/opt/adobe/fms/conf/Server.xml).

[Code]....

All other settings for FMS are default. This is my first time setting up FMS as a fresh install on a new unknown server and I am at a loss as to what settings to check or which files I may need to modify to get it to connect properly. It is a managed server is hosted by rackspace.com if that makes any difference.

View 5 Replies

Media Server :: Stream.play On Server Side Makes Video Choppy?

Apr 30, 2010

I have an *.flv file on a FMS. When I play it on the client side the video plays just fine, but when I call Stream.play(filename, 0, -1, false) on the server side the video turns out really choppy.I both cases I use NetConnection to connect to an rtmp and NetStream to play the stream, but in one case I connect to a stream and request the server to play my file on that stream. Apparently that doesn't work with files? It works just fine for live streams.

View 20 Replies

Flash :: Media Server - Connect To Own Server To Watch Streaming Video From Another Computer?

May 19, 2010

How can i connect to my own server to watch my streaming video from another computer?

View 10 Replies

Media Server :: Client Returns Server Not Found:rtmp://192.168.10.1:/live When Accessed From Another Pc?

Jun 29, 2010

i have a small LAN of about 8 computers all of which are running windows 7. I have installed FMS and XAMPP webserver on one of the machines. I want to stream live from one PC to all the other PCs on the LAN. I have a webpage with jwplayer embedded in it on my XAMPP webserver that is able to see the live stream when i start it locally. I mean the live stream works fine on the machine with the servers on it. But when i want to view the live stream from another machine in the LAN by accessing the webpage that has the jwpalyer from another machine, The jwplayer returns "server not found:rtmp://192.168.10.1/live" error. I was thinking that maybe a firewall is blocking the 1935 port but i have turned off the firewall of every PC on the LAN. I have unistalled any antivirus program on all the PCs. But i still get the same error when i try to access the live stream from another PC on the LAN.When i run netstat -a -n|find ":1935" i get 192.168.10.2:49184 192.168.10.1:1935 SYN_SENT and i think the request for the stream is sent but the conection is rejected.

This is the code for the webpage with jwplayer embedded in it. maybe it:
<html>head> <title>JW FLV Media Player</title>    <script type="text/JavaScript" src="swfobject.js"></script>

[code].....

View 3 Replies

Media Server :: NetStream.Play.InsufficientBW When Streaming Server Side Playlist?

Sep 23, 2010

I am streaming pre recorded audio files (mp4) to an AIR client. I have tried two different solutions,
streaming the file directly with the NetStream.play("mp4:xxxxx.m4a") and creating a server side playlist, adding the same sound clip and then streaming the playlist. The problem is, when streaming the playlist i get a few NetStream.Play.InsufficientBW, this does not happen when streaming the file direct. Both solutions uses bufferTime=1.0
 
I would like to use a server side playlist to implement a simple key solution so that the client dont know the full path to the file, but instead sends a key to a custom server side function that looks up the file path and creates a stream for the client.

View 1 Replies

Media Server :: RTMFP Unicast For A Video Chat Project Using FM Developer Server 4.0?

Oct 7, 2010

I am testing RTMFP unicast for a video chat project using FM Developer Server 4.0.During the testing I overloaded the upload traffic to make packets dropped rather than suffering delay due to retransmission.
 
However, I see it makes a significant delay and it looks like doing retransmission just like RTMP.
 
Do you know if there is an option in FMS to disable the retransmission or other configuration I have to consider?One thing I found is "Netstream.videoReliable=false; Netstream.audioReliable=false;" but it doesn't make any difference.

View 2 Replies

Media Server :: Change Recorded Stream Files Permissions From Server Side?

Dec 20, 2010

I need a way to set the permissions (ex 0777) for the recorded streams without calling any additionals scripts.

View 2 Replies

Media Server :: Way To Pass Rtmp Call For A Live Stream Through A Proxy Server?

Mar 4, 2011

Somebody I know can't watch because they have a proxy server.The nc.connect() call to get the live stream fails because it goes direct from AS3 to FMS and doesn't go through the proxy server.

View 1 Replies

Media Server :: Activating PHDS From Application.xml And Event.xml Causing The Server Error

Mar 5, 2012

Dear community, i am searching for 6 days for a solution but i couldnt find. I installed the trial version of Adobe Media Server 4.5. I am trying to host live stream and it is working without error. but when i activate protection (PHDS), server gives en error code: 20...

Here is the server log...
 
After i could take the Live HDS, i made these settings as described at [url]

My application.xml and event.xml files are:

View 1 Replies

ActionScript 3.0 :: VideoError: 1000: Unable To Make Connection To Server Or To Find FLV On Server

Aug 19, 2010

I'm attempting to make it so that when a person fails to fill in blank textboxes in another app that someone else made and I have nothing to do with but affects the XML node Path, my flash file will look instead at DefaultPath if it can't load whatever is in Path..

Here is the sample XML

Code:
<abatch>
<Title>Title!</Title>
<Path>/content/main/broken/path</Path>

[code]....

Is the code I've been trying to use but it won't do what I want. I keep getting this error:

VideoError: 1000: Unable to make connection to server or to find FLV on server

The XML is being properly loaded. Everything else is working. I just need to know that when something is blank it will look at the DefaultPath. I don't seem to be able to get it to do that.

View 4 Replies

VideoError: 1000: Unable To Make Connection To Server Or To Find FLV On Server?

Jun 15, 2007

I've spent a lot of time in the past couple of weeks learning Flash. I developed a Flash (swf) file that plays a Flash video (flv) with cue points. It all works very nicely locally, but when I put it on the server and try to access the html file, the Flash control is white (nothing visible) and a popup error message comes up with this error.I've looked all over the web (including non-English sites), tried playing with all the Publish settings I could think of (version check, local/network access, omit trace, enable debugging) and tried adding error handling code to the swf file itself. I've also tried changing the path for the flv file to be relative, absolute and somewhere in between, but nothing works.Does anybody know what can cause this error?

VideoError: 1000: Unable to make connection to server or to find FLV on server
at fl.video::VideoPlayer/play()
at fl.video::FLVPlayback/http://www.adobe.com/2007/flash/flvplayback

[code]....

View 10 Replies

Media Server :: Save To File Live Video Stream In Server?

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

Media Server :: Stream Content Located On One Machine, Using A Server On A Separate One?

Jun 12, 2009

I seem to recall reading somewhere (but for the life of me I can't find the article I was reading), that with Adobe FMS you could store content on one machine, and then run the actual server on a separate machine.  Is this correct? If so, how would you go about doing it?

View 1 Replies

Media Server :: Server-side Buffer For Live Dynamic Streaming?

Jul 10, 2009

Finding faults in my reasoning, or expanding the discussion further. We are benchmarking FMS 3.5.x for live dynamic streaming and we have run across an issue. When throttling the client from a high bandwidth (1500kbps) to a low bandwidth (325kbps) via a bandwidth shaper (a physical firewall) it takes a very long (real-) time for the client to see the new stream-quality.
 
During the investigation of this issue we have narrowed this down to:
 
1. when transition is requested from client, the client-side buffer is 1/2 i.e. 4-5seconds.
2. if transition is request on a client with unlimited bandwidth, it takes about 6 seconds for the server to process, find an acceptable switching position and send a "transition.complete" event.
3. on the throttled client however, this event takes much longer.

[Code]...

View 2 Replies

Media Server :: Write Bytes Server Side With File Class?

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

Media Server :: Which Operating System Linux Or Windows Server 2003

Dec 8, 2009

it doesn't matter which operating system we install an our server.What are your experience with Linux and Windows?Which System do you recommend regarding performance issues?

View 1 Replies

Media Server :: Possible In FMS To Record Thumbnails Of A Streaming Video In The Server Side?

Dec 8, 2009

to generate thumbnails of the streaming video to control de contents of the video streaming. Could I do that in the server side?There is any setting to do that? Could I use the getOnMetadata method to catch a bitarray and then put in into a bitmap file?

View 1 Replies

Media Server :: Call By 3 Buttons The Same Server Function And Return 3 Different URLs?

Dec 26, 2009

I have a question... Can I use the same server side function to send to all lients 3 different swfURL depending on which button pressed from one of them? If the answer is positive...how can I do it?

View 6 Replies

Media Server :: Use RTMP Over HTTP - Outside Client Gets The Internal IP Address Of The FMS Server?

Jan 8, 2010

i am new on steaming & flash server; when we try to use RTMP over HTTP the outside client gets the internal IP address of the FMS server instead of the NAT one or public IP address, how can we solve this.

View 1 Replies

Media Server :: Make Server Sider(FMS) Two Streams,one Is Regular Another Is Compressed

Feb 1, 2010

i am developing video chat system ,  one side is model, another sider is customer. Now i want that model sider stream sended to FMS, and then FMS make two streams, that the one stream is regular, the other stream is compressed. the compressed stream is just for administrator, so it should be small.

View 1 Replies







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