Actionscript 3.0 :: ZendAmf Will Not Work On Webserver

Feb 28, 2010

ive 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

View 6 Replies


Similar Posts:


Php :: ZendAMF Have Private Members?

Jun 9, 2009

I've worked with AMFPHP for a while, but with Adobe supporting ZendAMF, I was wondering if I should migrate.

One of the major disadvantages for AMFPHP is that class mappings need to be public, so not only does that mean public members on the PHP side, but also on the Flex side. I was wondering if it is the same case for ZendAMF.

View 1 Replies

Php :: ByteArray To MySQL From ActionScript 3 -> PHP Via ZendAMF

Dec 1, 2010

I have an ActionScript 3 application that's sending an object to PHP via ZendAMF. The object contains a byteArray from an image.

I have it currently saving the byteArray into a Blob like so:

[code]...

This seems to be working fine and I can see the image in the DB (this is running local and I'm using SequelPRO to view the DB).

The problem is when I'm sending the byteArray back to Flash, Flash reports the byteArray length as 0.

View 1 Replies

Php :: Traffic Going Between My Flex Application And ZendAMF?

Aug 8, 2011

I am using ZendAMP php and Flex (Flash Builder 4). It works great, but I noticed when I am looking at the traffic going between my flex application and ZendAMF, there packets moving even though I am not requesting communications in my code.For example, this is what my service looks like in flex:

var activityLogService:RemoteObject = new RemoteObject("zend");
activityLogService.showBusyCursor=true;
activityLogService.endpoint="http://myserver:80/amf/";[code].........

Are these just some kind of 'keep alive' messages?If so, is there a way to turn them off? Also, if so, is there a way I can use them to keep some kind of session alive on the server side maybe (maybe that's what they are for)?

View 1 Replies

Actionscript 3.0 :: Difference Between ZendAMF And AMFphp

Jul 15, 2009

Whats the scoop?I watched Lee's tutorial on Zend and also the older ones for AMFPHP.Is one 'better' than the other? Doubt that since as I understand both are written by the same author, only Adobe 'officially' supports Zend.

My application is composed of 3 parts

1-an image editing tool allowing users to upload images, edit them, then post them to a server.

2-a publicly viewable gallery

3-a private 'admin' tool allowing the user to change their login settings and delete any uploaded images.

Are both Zend and AMFPHP equally robust and easy to implement when it comes to session registration and login?

View 1 Replies

Actionscript 3.0 :: ZendAmf Own Class Fails

Aug 4, 2009

I am using ZendAmf with an example Tutorials of Lee and files downloaded from this forum.

This is the client actionscript code :
Code: Select allvar nc:NetConnection = new NetConnection();
nc.connect("http://localhost/myfiles/zendTest.php");
var res:Responder = new Responder(onResult,onError);

[code]...

View 2 Replies

Actionscript 3.0 :: Implement The Introduction To ZendAMF Without Success ?

Dec 27, 2008

I've tried to implement the Introduction to ZendAMF without success

I'm getting this error on publishing the flash file:

Code: Select allError opening URL 'http://localhost/folder/'
Error #2044: Unhandled NetStatusEvent:. level=error, code=NetConnection.Call.Failed

- I'm in localhost on Windows with Xampp.

- If I open in the browser the url of nc.connect() it returns "Zend Amf Endpoint".

- If I print the return of the Tutorials.getTutorials() from another script the returned array contains the correct data.

View 5 Replies

PHP :: ZendAMF Returning Invalid XML And Causing Bad Version Error

Sep 1, 2010

I am trying to use ZendAMF to do remote method calls to a MySQL database from Flash and I keep recieving the NetConnection.Call.BadVersion error.
My Server is working correctly. Apache 2.2.14
My PHP is working correctly. PHP 5.2.11
My Database is working. MySQL 5.0

My first problem was a security error in Flash. If you try to run a local SWF from the Flash IDE to a web service online, you'll get a security warning which will throw the BadVersion error. However, the security error won't show up if you 'TEST MOVIE' so it took me a while to realize that. I changed my testing process to remove this variable. I am now able to implement my php class code successfully using AMFPHP, which essentially rules out my class as the issue (I think). It seems to be a problem with the Zend implemntation of AMF.

I have followed a tutorial from Lee Brimlow here: [URL]. I was unable to get this to work locally, and I've moved my content onto a web server and can call the Class and Method from my SWF. I've used Charles to view the response. When I go to validate the response in Charles I get this:
Validator: Failed to Parse XML Document.
Reason: An invalid XML character (Unicode: 0x0) was found in the CDATA section.
Line: 65 Column: 87
Can it be handled in PHP?

Here is my ZendAMF code:
<?php
error_reporting(E_ALL|E_STRICT);
ini_set("display_errors", "on");
ini_set("include_path", "./frameworks");
require_once 'Zend/Amf/Server.php';
require_once 'Animal.php';
[Code] .....

View 3 Replies

Actionscript 3.0 :: Zendamf Not Handling Special Character Data

May 29, 2009

I've written an application that deals with multiple languages, English, French, etc, I'm using Zendamf to retrieve multi-language data from a database, however, I'm running into a problem using Zendamf, and it could kill this project fast:

There seems to be an issue passing special character values via Zendamf. While querying a database that returns data including French-text characters (ie: Québec), the result returned from Zendamf is not handling the special characters (ie: instead of Québec, we receive Qu�c).

I've checked the output of the data via Php: the issue is not with the database result - the characters are returned correctly from the database to the Php result-set - I am able to print these characters correctly before they are sent through Zendamf, either by rendering them in HTML or by writing them to a log file.

However, once I plug the SQL result into an object and pass it to Zendamf, the special characters get mangled. Using Charles Web Debugging Proxy, I can see that the result values are mangled before they are passed back to my AS3 application.

View 1 Replies

Can't Upload .fla File To Webserver

Jul 30, 2009

I 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.

View 3 Replies

ActionScript 3.0 :: Pass Value To Webserver?

Jul 27, 2010

I need to send value to webserver.

View 7 Replies

ActionScript 3.0 :: Write Image To Webserver

May 19, 2009

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 Replies

Professional :: Runs On Harddrive But Not On Webserver?

Feb 5, 2011

I 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 Replies

Actionscript 3 :: Determine If Invoked From Webserver?

Apr 5, 2012

What 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 Replies

ActionScript 2.0 :: Flash On Webserver Won't Load XML?

Nov 23, 2009

I 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 Replies

Data Integration :: XML Feed Won't Display When SWF Is On Webserver.?

Apr 10, 2009

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...

View 5 Replies

Apache Webserver Stops Working Until Disable FMS 3.5?

Jul 14, 2009

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 Replies

Media Server :: Change 'localhost' To Webserver

Apr 19, 2010

I 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 Replies

ActionScript 3.0 :: Webserver Error On Load Array?

Jan 7, 2011

I 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]...

View 17 Replies

Flex :: Deploy A Project In A Remote Webserver

Nov 25, 2011

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 Replies

ActionScript 3.0 :: Package Files Deployment - Webserver?

Jan 30, 2009

I'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 Replies

ActionScript 2.0 :: Upload Images To MySQL Or To Webserver?

Oct 18, 2005

I 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 Replies

ActionScript 2.0 :: Saving Jpeg From Flash To Webserver?

Apr 24, 2006

we 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 Replies

IDE :: Socketserver Works From Flash But Does Not On Local Webserver

May 5, 2009

I 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 Replies

ActionScript 3.0 :: ZendAMF Error Handling - Make The PHP File Throw An Exception That Gets Traced As An Error Message

Jul 7, 2010

i am currently trying to learn ZendAMF, but i have a hard time troubleshooting which makes learning it quite hard. Is there a way to make the PHP file throw an exception that gets traced as an error message in AS3 (not Flex), the only error i seem to be able to get is "Error #2044: Unhandled NetStatusEvent:. level=error, code=NetConnection.Call.Failed", but it tells me jack ****.

i have gotten ZendAMF working, i just want to know how i can make error handling better, so that as an example can use PHP to tell flash that no results were found, or that the typed text was invalid. Is it better to use AS3 to check if the field was filled properly?

View 1 Replies

ActionScript 2.0 :: Load Function Works Locally But Not On Webserver?

Mar 17, 2009

I 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].....

View 1 Replies

ActionScript 2.0 :: Load() Function Works Locally But Not On Webserver?

Mar 31, 2009

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.

View 1 Replies

Media Server :: Whats Next After Install On Dedicated Webserver

Jan 26, 2010

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 Replies

ActionScript 3.0 :: Filereference.upload ... Works On Localserver But Not On Webserver

Feb 6, 2011

I'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 Replies

Media Server :: Administration Console/webserver Unavailable?

Mar 25, 2011

I 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]...

View 4 Replies







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