PHP :: Flash - Loading PNG File From Server

May 24, 2011

I need to loading a PNG file from a server into my flash project. What I want to do it be able to call a PHP page and send it a variable which I can do. Then I want to access a db and get a path for the image, I can do this too. What I'm not sure about is what to do then. What I need to happen is the PHP to return the PNG to flash somehow. Can I just add the PNG to the php page and use a loader somehow? I've been searching around google but most tutorials seem to be getting PNGs out.

View 3 Replies


Similar Posts:


Flash :: Loading Swf From A Separate File Server

Dec 15, 2009

I am currently wondering if it is possible to load a swf that is sitting on another file server. I.e. I currently have a custom play bar swf which is embedded on a website (behind the company's firewall) which then loads swf content (currently in the same folder on the website server). The problem I have is bandwidth between remote sites is limited and streaming the swf content from the website server is not an option, however we do have a DFS set up to push all the swf content out to local file servers.

I have tried using a file:// path which works if you create a windows projector file however it doesn't work when embedded onto a website as it seems to try to access via http which the file servers are not set up for. So is it possible to get the play bar swf to load the swf content sat on a remote file server?

View 2 Replies

Media Server :: Connection Failed When Loading .asc File On Main.asc File

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

Professional :: Xml File Not Loading From Different Server?

May 6, 2010

I have a simple flash banner that is pulling a number from an xml file on a different server. When it gets to the frame where the number should be it just says "transferring data from and will not actually pull in the number. Unfortunately I can't put the files on the same servers.below are the links and the xml code I'm using followed by the action script.[URL]

<?xml version="1.0"?>
<inventors>
<person>

View 5 Replies

Html :: SWF File Not Reliably Loading From Server

Oct 14, 2009

I have created an application using Adobe Flex. I took all the files from the 'bin-release' folder and put it on the server. Then when someone connected to the server through http it is forwarded to the "index.htm". The "index.htm" page is the HTML page created automagically by Adobe Flex during compile time, I just renamed it to that name (from visco.html if it matters). The SWF file remained the same.

The problem is that most of the time when I go to the server, I get forwarded to the "index.htm" file and it loads the SWF perfectly. The other 30% of the time, it doesnt load! The background of the page turns blue (same as my SWF) and if I right-click it, it shows an Adobe Flash dropdown, so it looks like its sort of loading, but the application doesnt fully start even though it has been 100% reliable during debugging and when loading the SWF file manually.

What do I need to do to get the SWF file to load and start reliably?

[Code]....

View 4 Replies

ActionScript 2.0 :: Loading Xml File From External Server?

Oct 26, 2010

I would go about loading an xml file from an external domain.I am trying to create a swf file that loads a rss feed. I have found that you must create a proxy for the xml though I am unsure how to go about this.

View 0 Replies

ActionScript 2.0 :: Loading A XML File On An External Server?

Jun 4, 2004

I am having trouble loading an XML file on an external server into my flash movie when it is uploaded.

The data loads in fine when the flash file is on my local computer with the xml file on a server. As soon as the flash file is uploaded the XML data will not load in.

View 2 Replies

ActionScript 3.0 :: Loading The File Stright From The Ftp Server?

Oct 3, 2009

Im trying to put a video in my website and im getting a strange result.on my computer everything is working fine BUT when im trying to run it over the internet its showing me only the skin of the video player but not loading the video.The strange part is when im loading the file stright from the ftp server, its working fine..

View 5 Replies

AS3 :: Loading Text File From Remote Server/Domain?

Aug 19, 2009

am trying to use this code to load a text file from a remote server to my textfield in flash. Here is my code:

Code:
var myTextField_txt:TextField = new TextField();
var myURLLoader:URLLoader = new URLLoader();

[code].....

View 1 Replies

ActionScript 2.0 :: Force Loading Xml File From Server (not From Browser Cache)?

May 24, 2007

I make a swf for my site that includes dynamicly loading thumbnails from an xml file. Unfotunatly the browser ( IE and FF are what i have tried so far ) just takes the xml file from the clients browser cache even if i have changed the xml file on the server. So the only way my visitors will see my updated content, is if they clear their cache every time before they visit my site. ( even a ctrl-f5 does not seem to do the trick )

is there a function or something i can call to force the swf to re-download the xml file every time? (is really small, less that a kilobyte or two im sure.)

View 4 Replies

ActionScript 3.0 :: Loading External Text File Returns Error: #2032 ..but On One Server It Works?

Oct 9, 2008

it has been a while before i did something withactionscript again, but does anyone know if there has been some changes about loadingexternal text files in Flash?I tried loading an external text file from a online webserverthat worked fine. But now i wantedto move the text file to a different webserver and i got thiserror:

Error opening URL '
http://wwww.uniqwebdesign.com/mailform_test/dataformcs.txt'
httpStatusHandler: [HTTPStatusEvent type="httpStatus"

[code]......

View 1 Replies

Flex :: 2047 Security Sandbox Violation Errors While Loading An External Swf File From Server Side

Jan 31, 2011

This is my code and i want to place an external swf file for my flex application website. This is my code:

var loader:Loader = new Loader();
var url:URLRequest = new URLRequest("http://www.my site.com");
loader.load(url);
addChild(loader);

View 1 Replies

ActionScript 2.0 :: Global Include Directory - Upload It To Server With The Flash File Or Does It Compile The Flash File With The Included Info?

Sep 9, 2006

If you have an .as file in the global include directory do you have to upload it to your server with the flash file or does it compile the flash file with the included info?

View 2 Replies

Javascript :: Defer Loading Elements Until Flash Gallery Images From XML File Finish Loading?

Nov 15, 2010

How would you defer loading of other graphics on the page until after the images in a Flash gallery's images.xml file are finished loading?Is there any way to detect for this, or would I only be able to check if the flash swf object is finished loading? I'm pretty sure the swf object would be loaded/ready as with document.getElementById('flashobject').onload = function(){}; before the corresponding images have loaded though, instead of after.

View 1 Replies

ActionScript 1/2 :: Loading Swf File Into An Existing Flash File - Script For Waiting It To Play Until It's Fully Loaded?

Feb 6, 2010

I have a flash file that is 1.5mb in size. As it takes about 6 minutes for someone on dialup to load this file, I have created a smaller swf file and loaded the larger one from it but I don't want the larger one to begin to play until it's fully downloaded. How do I set this up? I have set up the action script 2 as follows: loadMovieNum("top2.swf", 0);

View 7 Replies

Flash :: SWF Files Not Loading At Server

Aug 5, 2010

I just saw that some (only some) flash files (games) aren't loading in my website, but are in other servers. Most of the files do work. For example:(External) [URL] (My Server) [URL] It is the same file, but doesn't load at my server.

View 1 Replies

Actionscript 3 :: Xml - XML Not Loading When Flash On Server?

Mar 29, 2012

I have some little flash graphs I made that pull data from an xml file and also expect a flashVar in the html. The flash checks the flashVar against the data in the xml file and then proceeds to display some numbers.

The problem arises when we put the swfs and xmls on the server. The flash just wont load the xml files. It will however load the xml files if they are placed on the root of the server. Strange right ?

In the flash the xmls are loaded on the same level. If I upload the swf's to a folder with the xmls files and call the flash into an html page (not on the same level) they wont load. For instance in the html I have:

param name="movie" value="/assets/flash/flashgraph-05.swf"

This is what I have inside the FLA / SWF

var xmlLoader:URLLoader = new URLLoader();
xmlLoader.addEventListener(Event.COMPLETE, showXML);
xmlLoader.load(new URLRequest("myXML.xml"));

I would have thought as long as the XML and the SWF are together then the above should work right? However if I make a fixed path in the FLA to the XML it will work.

xmlLoad.load(new URLRequest("http://mysite.com/assets/flash/myXML.xml"));

View 1 Replies

Media Server :: Loading Flv In Flash From FMS - Not Working

May 12, 2009

We just moved FMS onto a new server and the fms seems to be working fine. But when I go to load a flv in flash using the component inspector i type in the content path for where the flv is located on the fms server and it just keeps saying 'Failed to load flv'. If i type the content path for the location on the old server it loads up fine. I honestly dont know what the problem is as everything is the same as it was on the old server just a different server with different IP address.

View 11 Replies

Flash App Loading Crossdomain.xml From App Server Fails?

Aug 2, 2011

I'm writing a web application using three tier architecture. I have three Amazon EC2 ubuntu servers. The first server handles the presentation of the application and includes my main flash file. The second EC2 instance represents my application server. It contains the AMFPHP files and corresponding web services. Finally, the third instance handles persistance and is running a MySQL database. Both the presentation and application servers are running an apache web server. I created security groups specific to each tier such that the presentation layer will accept all incoming traffic on port 80 while the application layer will only accept incoming traffic from the presentation server. This should allow anyone to request my web application from the presentation server but prevent anyone from accessing the web services on my application server.My flash application cannot make web service calls to my application server. When a request is sent, I never receive a response from the server and eventually receive a security sandbox error.[code]It seemed odd that I wasn't receiving a response, so I decided to try a couple of things:

1. I connected to my presentation tier via ssh and attempted to use lynx to connect to my application server's gateway.php. I was able to connect without any problems.

2. I used Chrome's developer tools window to observe network traffic when loading my site. I found that it is attempting to load the crossdomain.xml file (which resides in the root of my web server [/var/www] on the application tier) using a GET request; but strangely, it times out and fails. This is where I am confused. How come I can use lynx on the same machine to connect to the web server on the application tier but yet the flash app can't access the same file?

While running some tests, I decided to open up the application server instance's firewall such that it can receive http requests from my IP. As soon as I did this, the application being hosted on the presentation tier immediately began working (Received a response from the web service)! However, this means I would have to force my application tier to accept http requests from the internet in order to work, which is not something I want to do. I don't understand why making this change would allow the application to grab the crossdomain.xml file. If the application server's security group is set to accept incoming http requests from the presentation security group, it should have no problem acquiring the crossdomain. xml file residing in the web server root of the application server right? I've spent more time than I would like looking into this issue. I really would like to setup a three-tier environment for my application in which the flash application will be able to send web service requests to my application layer. The most confusing part about this is the fact that when I add my computer's IP address to the application server's firewall, everything seems to magically work as intended. Please correct me if I am setting my application up in the wrong way. I am basing my architecture off of the following:URL..

View 1 Replies

ActionScript 3.0 :: Loading A Swf File In Another Flash File

Dec 30, 2011

I have a website.fla and want to add a slideshow.swf to one of the pages.

View 4 Replies

ActionScript 2.0 :: Flash8 Data Loading From Server Is Freezing Flash

Jun 10, 2009

I have an ASPX script that load the properties of a long list of objects from database (about 1000).

Then I have a spinning mc to entertain the user while data is loaded.

The problem is that it starts to spin, and then, at certain point of data reading the animation freezes indicating that Flash is too busy gathering and putting data into the LoadVars object (it restarts to spin after finish data reading).

Question is: there is a way to override this and force Flash to give priority to the animation? I think that's a very ugly behavior by the point of view of user and would be nice if it could be fixed.

Personally I cannot see another way to turnaround it but performing several smaller and consecutives database readings (to reduce CPU load), but I think that's a totally unaceptable solution...

View 1 Replies

Flash :: Send A File To The Server?

Oct 8, 2009

How can I send a photo for example to mount a virtual catalog and preview my album?I use a simple form with 5 fields of transmission and viewed the small image after submission.

View 1 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 :: 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 :: Dynamicstream.f4m Not Working From Index File Of New Install Of 4.03 Server?

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

ActionScript 2.0 :: Upload File Which Works In Php4 Server But Dont Work Inphp 5 Server?

Jul 15, 2010

i have used the following code to upload file which works in php4 server but dont work inphp 5 server.The flash code is as follows:

import flash.net.FileReference;
import gs.TransformManager;
//Allow this domain[code]....

i am uploading the php file.

View 1 Replies

ActionScript 2.0 :: Loading A External Text File To Flash And According To The Number Present In The Text File

Apr 25, 2009

I'm loading a external text file to flash and according to the number present in the text file i'm trying to do a IF - ELSE command. It's not working coz the value I load from the external file is string. How can i get this as intiger.

View 2 Replies

Media Server :: Run FMS On Same Dedicated Server As Regular File Hosting?

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

ActionScript 1/2 :: Send A File To The Server Using The Flash?

Oct 8, 2009

How can I send a photo for example to mount a virtual catalog and preview my album?I use a simple form with 5 fields of transmission and viewed the small image after submission.

View 1 Replies

Media Server :: How To Record MP4 File In Flash

Jun 13, 2011

How to record video file in MP4 format with H.264  codec and also i would like to know that how i will set codec type in flash as3.

View 6 Replies







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