ActionScript 3.0 :: Pass Value To Webserver?
Jul 27, 2010I need to send value to webserver.
View 7 RepliesI need to send value to webserver.
View 7 RepliesI recently used Flash to create the header for my website. However, when I tried to upload my .fla file along with the .swf (which had no problem), I couldn't because the file format isn't supported. Is there any way I can get around this?
Also, I heard that you have to upload some .js file or something.
I'm working on a project with the jpgEncoder to create an image file that currently downloads but I need help with the code to save the dynamically created jpg back to the webserver.
View 1 RepliesI used the 'Advanced Slideshow' template in Flash CS5 to create a photo gallery. The images in the template are not placed inside of the project but are separate files (the photos). I tested it on my harddrive and it works perfectly. Then I uploaded it to my website and it doesn't show the images. The folder structure is the same as it is on my harddrive, all the files are the same.
View 9 RepliesWhat can I call from within Flex/AS3 that will tell me whether the flex-app/web page is being executed within the local file system or rather was served from a webserver (either localhost or some remote server). Hopefully that's clear. If there's something in Javascript that's acceptable, but some AS3 function would of course be preferable.
View 2 RepliesI have a problem with a rotating banner which i can't find a solution for... i am sure i am forgetting something, or doing something wrong but i tried 100 things and i can't get a solution for the problem.Local, everything works but when uploaded to the server the flash won't read my xml so won't display anything.I already checked all the paths.. changed the folder names, was very aware of upper and lower case but still no result.
View 1 Repliesive tested my files countless times using WAMP but when i put them on my webserver i cannot get anything to happen when i call the swf
[Code]...
when i goto index.php i see "Zend Amf Endpoint", and as i already said when i use a backup copy of my_db using WAMP i receive the information
I've been building an XML feed reader, here's the code I'm using:
var myXML:XML;var myLoader:URLLoader = new URLLoader();
myLoader.load(new [code]....
It works fine and loads the XML inside the flash authoring environment (ie when i preview with crtl+enter), or when I make an executable projector, but when I try to run the SWF by double-clicking, or when the SWF is on the webserver, the text box doesn't display the data...
I have installed FMS 3.5 on an Intranet server, and it installs its own version of Apache.This has now caused the localhost to open the FMS page. Disabling FMS 3.5 returns back to the Localhost page.It is not possible to run FMS 3.5 on an existing Webserver with Apache?
View 1 RepliesI tried some applications like vod and live with localhost.Now I'm trying to use some applications on my site. It's the first thing you need to do, but apparently it's so basic that I can't find information about it.Can someone explain me how to change the "localhost" to a webserver? In other words, how do I set up an application like vod on my site?
View 10 RepliesI have a simple script that load from a xml file , 3 different languages on a little site. On local testing it working, on remote no, I try to test with remote debug and i have this error on array i think
TypeError: Error #1010: A term is undefined and has no properties. at index_fla::MainTimeline/completeHandler()[index_fla.MainTimeline::fra me2:330] at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at flash.net::URLLoader/onComplete()
[Code]...
I have coded my Flex / PHP project in a local machine. I have used AMFphp for remoting and I got to deploy and test this application in a remote server. How could I do this using Flashbuilder 4.5?
View 1 RepliesI've have an asp.net app that uses flash for its navigation bar...the flash app uses two class files wrapped in packages that create the functionality of the whole navigation bar.When I run the swf file alone, the flash app works fine...but when I try it in the webserver it fails. Whats more, the flash app in the web server will work fine if I type the full URL to the swf file....it will not work however as an embeded object...and what I mean by that is that the flash app will show up embedded into the .net app but the additional functionality created by the other two class files fails!!!
View 1 RepliesI want people to be able to upload images so should I have them upload it into a db using BLOB or should I have them upload it to the web server? I've been reading people say that the web server is probably better to use, but I don't know about that using AS.
View 1 Replieswe are in the processing of concepting an online configurator and need the ability to grab an image of the end product and attach it to an e-mail or save it somewhere on thewebserver.is something like this possible with Flash? I know it is possible to send the screen to a printer, but I was unsure about saving an image of the screen to the server.
View 3 RepliesI have followed the tutorial here by obiAdmin (raymond) [URL] on how to connect flash to a php socketserver. The problem is in the development environment it works like a charm but when I put the swf on my local server (wamp) it fails to connect to the socketserver.
View 1 RepliesI finally finished my game and now whenever my game communicates with my php file/mysql database it fails when the file is being run off the server, but somehow it works fine when played locally.
Here is some sample code:
(This works locally, hence the full url for the load function. But it does not work on the server which I thought was strange.)
Code:
startupvars = new LoadVars();
startupvars.load("http://alexville.com/alexvillenetwork/startup.php");
startupvars.onLoad = function(success){
if(success){
[Code].....
I really want to finish this project that I'm working on, but this stupid problem keeps holding me back.
When I try to Load variables from my PHP file on my webserver from my local computer everything goes fine. But when the swf file is actually on the webserver the Load function fails to return any result with no error.
Here is my code:
Code:
Stage.scaleMode = "exactFit";
startupvars = new LoadVars();
startupvars.load("startup.php");
[Code]....
What happens after this code runs is that the text boxes dont get filled with ANY text, not even the Logged In As before the variable. So I guess the "startupvars.onLoad = function(success){" code is not being run.
i purchased and installed FMS on my dedicated webserver from my hosting provider. I have all my sites on this server. now that ive done this what do i do next? I want to play VOD to site visitors. i tried copying and pasting code in my dreamweaver file but i get black box. I can play the live stream sample files on my dedicated server
View 5 RepliesI'm uploading images via filereference.upload ... works fine when testing on local machine with apache. once I port everything to my web-based server ( shared server with a webhosting company ), the upload fails. - do not get any errors such as SECURITY_ERROR , HTTP_STATUS , IO_ERROR - do get 1 PROGRESS event - only 1 - but it already shows 100% - do get COMPLETE event after a couple of seconds - do not get UPLOAD_COMPLETE_DATA, but do get it on localhost - do not get the image on the remote server - my local php is 5.2 ... webserver php is 4.4 ... - I have tried setting 757 as file permissions for image directory - all php, swf, image directories are in the same domain, though in different directories. - I have tried uploading the image to the same directory as php directory itself .
View 1 RepliesI have a problem with our FMSI3.5. A few times now we have experienced problems with the administration console/fms webserver. They become unavailable. When someone tries to connect to the administration console or tries to download a file from the FMS webroot the connection fails (times out). Streaming still works when that happens.
A FMS restart fixes the problem. Logs say something but can't really see what is wrong.
[Code]...
I've got a thumbnail button slideshow of some images and to keep the file size down I placed all the images in separate .swf files and linked the buttons so the images will appear in a space on stage (level 1) as follows:
on (release) {
loadMovieNum("mov-1.swf", 1);
}
I've got 15 images linked this way and it all works fine when viewed in the html page on my computer. But when I upload to my webserver, the images on level 1 don�t appear.
I have installed fms 4 in windows 7 in my computer, but i cant get it work with a flex application that i have in a server. I added the port in my router's settings
[code]...
I'm currently learning to make facebook apps with Flex from here:[URL] I've done step 6 in "Upload the application to your web server" section which is to upload the Flex files in bin-debug folder via FTP and run it, but the facebook apps just doesn't show on the webserver I use. here is where I uploaded the files:[URL]I can't locate the problem, is it because the webhosting or what?
View 2 RepliesThis is driving me nuts and because it's a combination of various technologies together I have a hard time tracking the problem. I wrote a tiny HTTP server that serves .flv files; these flv files are encoded on the spot. The flv files are encoded with adobe's screencodec (I started with libflv but that was too buggy so I ended up implementing my own flv encoder). For the problem below it doesn't matter which codec I use or if I serve plain flv files instead of on-the-spot generated ones (the problem also occurs if I just send 12 h264 encoded files).
I also have a swf that I coded in as3. The as3 opens 12 connections to my server and requests 12 different flv's and just displays them as 12 different videos on the page. I tested the setup with Firefox and chrome and am using the latest flash client (version 10). The HTTP server is pseudo streaming those files; e.g. it tells the client the file is of mime type video/x-flv, tells the filesize is 2GB and just starts streaming. For sake of completeness here's a header it generates:
[Code]....
I'm having to pass data (originally read via an XML file loaded by the parent class) to a child class upon instantiation, and I can't decide which is the better method.I could parse the XML in the parent and throw the data into an Object and pass that object to the child class....or just pass the part it needs as an XMLList and let the child class do the parsing.Seems like a trivial decision, yes, but I'm not sure of longer-term implications.
View 3 RepliesI have two mp4 video files on webserver, i wanted to play them in flash player(flv player) on my asp.net page, but i couldn't be able to play them, i also tried to play them in quick time player the same prob occured. but i waz giving the accurate path, there were no spaces in mp4 file names etc. Does it need to have mp4 player(or codec etc) installed on webserver?
I have also some wmv files on that server , and i am playing perfectly using silver light player, and media player object on my website.
Trying to pass a variable as well and cant seem to escape to pass it. How can I pass using window.open as such: Trying to pass (pid) all i get back is (pid) and not actual pid.How to on a jscommand?
Code:
something.onRelease = function () {
var jscommand:String = "window.open('http://www.someform.php?proj= + (pid)','win','height=200,width=300,toolbar=no,scrollbars=yes');"; getURL("javascript:" + jscommand + " void(0);"); }
I can do a standard getUrl("http://www.someform.php?proj=" + (pid), "_blank"); works fine but no control over window properties.
I have installed FMS 3.5 on a Linux root server with openSUSE 10.3 without included Apache 2.2. That is why the webserver is already installed and running. Now I should know next steps to configure both FMS and Apache to make it work for streaming recorded .flv files via HTTP and the VOD application. Starting Apache manually after FMS server is running always ends up in failure and error message: 'Address already in use. Could not bind to address [::]:80. If I start Apache first and then FMS server everything is running. But I guess this is not correct because the manual mentioned first starting FMS server.
View 21 Repliesi need a simple python lib that check the uploaded files to my webserver are flash media (FLV), by reading the flv header (metadata) and not the mimetype extension.
View 1 Replies