FLASH As3 :: Unable To Identify Localhost Php Web Address

Jul 31, 2011

I am trying to retrieve mysql data using php(products.php) and return the data in xml format to ADobe flash as3; but i am getting following error.[url]...

I have WAMP installed; which works fine as i have many other php projects working here.[code]...

View 2 Replies


Similar Posts:


Professional :: .swf File Is Not Working With Localhost Address?

Sep 13, 2010

My .swf file is not working on localhost. But when we try to run it directly from the file location then it is running.

View 1 Replies

Flex :: Error : Unable To Contact The RDS Server "data Services On Tomcat (localhost) Connection Refused: Connect

Dec 5, 2011

I'm making a program in flash builder 4.5 using WebOrb 4 (which is fantastic, I might add). When I go to deploy, however, it gives me this error:

>There was an error during model deployment for xxxxProgram.
>
>The server returned the following message:
>
>Unable to contact the RDS Server "Data Services on Tomcat (localhost)."
>
>Connection refused: connect
>
>Do you want to continue launching your Flex application?

I've poked around online for a solution, but for the most part I either don't understand them (forum grammar can be somewhat obtuse) or the answer in the post doesn't apply.

View 1 Replies

ActionScript 3.0 :: Moving Character - Unable To Use "Key" To Identify A Pressed Key

Aug 2, 2011

So I'm new to Flash, and I've found most people make player controlled characters in Flash move through

[Code]...

Since these are ActionScript 2.0 source codes, I think ActionScript 3.0 won't let me use "Key" to identify a pressed key.

View 1 Replies

AS3 :: Flash - Identify MovieClip Among DisplayObjectContainer?

Oct 30, 2009

in ActionScript 3, if I loop through the children of a movie clip, it will return a DisplayObjectContainer, which is a list of DisplayObjects. However, the AS3 typeof cannot identify MovieClip as MovieClip is now an object, instead of a data type. How can I correctly identify MovieClip?I found 3 solutions online: First set the MovieClip name to a specific name, then in the iterate process, check the name of children using child.name.indexOf("specificName") > -1

Solution 2:use child.hasOwnProperty("numChildren") to identify a MovieClip

Solution 3: use 3rd party plug-in like FlashDevelop

View 2 Replies

Flash :: Get A Movie Clip To Identify Itself In AS2?

May 13, 2011

Basically, I'm making a very simple turn based battle game using ActionScript 2.0. I'm VERY new to code, with only very limited Visual Basic knowledge, so I'll happily admit I don't really know what I'm doing. I've got a start, but I decided to rewrite the entire thing because I wouldn't be able to cycle enemies and levels easily.I've spawned the same enemy twice using _root.attachMovie, and identified them as Enemy1 and Enemy2. After spawning them, I tried to make them identify themselves with:

_root.Enemy1.identify = "Enemy1"
_root.Enemy1.identify = "Enemy1"

Using the debugger, this apparently works (within the movieclip, they have a variable called identify which correctly labels them), yet when I try to use an if statement so I can put them in their own individual positions, it simply does not work; it skims straight over. The code I have within the movie clips is:

if (identify == "Enemy1") {
function poschange() {
[code]....

The poschange functions works fine for the player characters, it's just this if statement to identify which enemy it is apparently fails. So my question is: is there any easier way for a movie clip to identify its own ID so I don't have to use this method, or is there just something wrong with my code?

View 1 Replies

Actionscript3 :: Identify Device Using Flash?

Jun 21, 2011

How can I get to know that the device is iphone or ipad using actionscript3.0?

View 1 Replies

Identify A Unique User In Flash/Actionscript 3?

Jun 18, 2010

I'm trying to make a vote/poll application in Flash using Actionscript 3. Is there any way to generate a specific ID that is unique to each user? The only other option I can think of is using the IP address, which is less than ideal in many cases (college campuses, shared Internet access, etc.). It needs to be the same number every time it is run on the same PC, but different for each user.

View 1 Replies

ActionScript 3.0 :: Progress Bar - Identify From Flash When The Document Has Loaded

Dec 22, 2009

I have a flash movie that loads pdf files in a new browser window when a button is selected. As some of the files are quite large I need to keep the attention of the user while it is loading and to this end I thought a progress bar would be suitable. My problem however is that I do not know if it is possible to identify from flash when the document has loaded. Are there any methods in ActionScript to achieve this?

View 3 Replies

ActionScript 2.0 :: Flash Banner To Identify Click Source?

Jul 27, 2006

I'm a designer, not really a programmer, but I've been asked to research this and hope you ppl can help me out.

We have a series of Flash banners that will be hosted on various sites and when clicked, we want to somehow id in the URL which site it came from, so they get credit for the click.

we can't produce dozens of versions of the same movie so is there a way to do this more dynamically? like append the end of the url somehow?

View 7 Replies

Get Logo To Appear Next To The Address When Website Address Is Typed In

Jul 14, 2009

how to get your logo to appear next to the address of your web site when your website address is typed in,
for example if you look at the website address at the top of the screen you see (logo) [URL]

View 1 Replies

Flash :: Working On Localhost Not Online

Jul 10, 2009

I have a problem with a video gallery I integrated into my site...the flash works fine on my local machine and displays videos fine but when uploaded on the server it does not load and everyone gets the message as if we did not have flash installed on the machine[URL]

View 4 Replies

Use PHP In Adobe Flash Builder 4 On Localhost?

Dec 8, 2010

I would like to use my localhost database and some PHP in my Flex projects (using Flash Builder 4). I've searched on the web for some good tutorials, but couldn't find one. The only decent I found was this one, but I ran into a problem when trying to install ZendFrameWork.

Does anyone knows a good place to start learning using PHP into Adobe Flas Builder 4?

View 4 Replies

Identify Which 3rd Party Flash Object Called A Javascript Function?

Jul 21, 2011

I have a page with multiple flash objects which are written by a third party and thus can't be changed. They call a JS function but don't seem to pass any identifying parameters. Is there any way to determine inside the function which flash object called it?

View 2 Replies

Android :: Flash - Paypal For Identify Payment Item In Callback?

Mar 1, 2012

I am using PayPal Mobile Payments Library to implement PayPal for Android using Adobe AIR.When I am creating some PayPalPayment object for user to add an item to buy, how can I get that item in the callback function?

View 1 Replies

ActionScript 2.0 :: Make Flash Identify Them As Buttons Within A Movie Clip?

Nov 24, 2008

[ACTIONSCRIPT 2.0, FLASH 8.0] I'm creating a menu that on rollover eases from its resting position to a more accessible point on the page. The menu is a movieclip and within it i want to have buttons that control the timeline. The buttons however do not work as buttons when in the movie clip. is there anyway to make flash identify them as buttons within a movie clip?

View 3 Replies

Flash Not Loading - Works Fine On Localhost

Feb 11, 2010

Building a website and the navigation menu is flash (.swf file). The mnuLoader.swf file retrieves information from settings.xml file. Everything worked perfectly when I tested in localhost/website/page.html. When I upload to hosting server www.website/index.html the mnuLoader.swf displays but does not load (its like it can't find the settings or picture files and displays the same as when you are waiting for something to load etc).

I have tried changing the xml file path from relative to absolute and no change. All three files index.html - mnuLoader.swf - settings.xml are in the same directory and the mnu_imgs folder contains the img icons for the menu. I don't understand why it would work on localhost but not on the actual server? Also directly underneath on the website I have another flash banner (just looping text pretty much) that works fine both on localhost and actual server so am pretty sure is not an access issue etc.

The mnuLoader.swf is Flash 8

View 2 Replies

Flash :: HTTP Requests Won't Work On Localhost

Jun 11, 2010

First off, I'm trying to fix something that I didn't build to begin with and the guy who's project it was assures me it was working fine when he left, although a version I haven't touched since he left seems to have the same issues. I'm also a bit new to programming in general so let me know if I've left out important information in my first post and I will try to add more info.

I have a flash application hosted on-line that acts as a client for a server application written in Delphi. Most of the communication is done using sockets, which work fine. Uploading data files and downloading results files is done using HTTP requests, which work fine as long as the user is making use of an instance of the server on another computer. However, if the user has the server application installed on their own computer and attempts to use it specifying localhost as the url, the socket communication still works, but the HTTP requests don't.

All the socket based communication works fine and, when it is not on the localhost, all the HTTP requests work fine as well, which is why this is so mystifying to me. I've tried changing the flash cross-domain policy file that the server dispatches to be completely permissive, all ports, all domains, all http-request-headers, and still no luck. The Flash app will sit waiting for localhost indefinitely most of the time until I close the server application, and then give this error message:

[Code]...

View 1 Replies

Httpwebrequest - Flash - Uploading To And Downloading From Localhost?

Jun 14, 2010

I have an online flash application that acts as a front end for a server application built in delphi. The server can be installed/used on a remote computer or a personal version can be downloaded and the Flash app pointed at localhost to use it. However, Flash has issues with using the POST and GET functions on the localhost, which makes uploading data files and downloading results files difficult. To get past the difficulty with downloading results files I'm planning to just have the server app serve the results file as an attachment and have the Flash app open the address of the file up in another browser window using external interface. First off, is this likely to cause similar security issues? I.E. Flash will see "localhost" in the external interface call and stop it from working the same as when I try to use POST/GET functions with localhost?

Secondly, for upload this seems just a bit little trickier, I'm planning on doing something similar, having flash use external interface to open a php script for a file upload. Is this feasible and, again, will Flash still have security issues?Lastly, if anyone knows how to get flash to execute POST and GET functions with localhost addresses, I'd love to have that information to avoid all this jumping through hoops.

View 1 Replies

ActionScript 2.0 :: Refresh Localhost Server On Flash Web App

Sep 1, 2009

I have a flash app which runs on my browser using Apache with PHP.This app displays items according to xml files which can be created anew
or added to.When the user changes these files via php, these changes are not reflected in the app. If I close the app and re-start the changes are there.Is there some way to refresh the localhost in the program?

View 4 Replies

Flash 10 :: Swf On Localhost And It Loads Another Swf From An External Site

Dec 16, 2010

I am running an swf on my localhost and it loads another swf from an external site. It gives me the following error:Connection to [external site] halted - not permitted from [localhost]localfile.swf.I have included the localhost directory in my Global Security Settings, as well as the local file. swf, so it should be trusted and allow the external link.

View 0 Replies

Actionscript 3.0 :: Zend AMF On Flash Online / Not Localhost

Jun 25, 2009

i managed to make a image gallery with the help of the gotoAndLearn ZendAmf Flash tutorial. When i use the WAMP localhost it works absolutely great, but when i try to use it online it doesn´t work.[code]

View 1 Replies

Actionscript 3 - Create A Grid Layer In Flash And Identify In Which Quadrants Icons Are Placed?

May 19, 2011

I have an existing Flash app that has a layer containing a square separated into 4 quadrants. A set of icons is provided to the user and he/she is asked to drag each icon into one of the quadrants. Does Flash/AS3 provide a way to create a grid (not necessarily DataGrid) that overlays the existing image? If so, how do I setup AS3 syntax to save the quadrant in which an icon is placed?

View 1 Replies

Flash :: Javascript - Can't Use ExternalInterface In Action Script 3.0 On Localhost

Jul 23, 2010

I have a flash file which captures an image from a webcam and sends it to the server. This file works fine under ActionScript 2.0 but under 3.0 I get an Unspecified Error and the debugger crashes on the return eval in :

[Code]...

I've tried adding localhost to the list of trusted sites in the flash security manager
[URL] I've also tried playing with the allowScriptAccess and allowNetworking settings in the object tag.

View 2 Replies

Flash :: Zip File Created With PHP Shows On Localhost But Not On Server

Mar 22, 2011

I am trying to add to my site a feature that allows users to select a set of images in Flash (AS3) click a button and have my server create a zip file of all the images for them to download.

I have already wrote my code in flash and crated my php script and tested it on my localhost and everything works great. But when I upload the same files to my sever no zip files are created. Below is the code for both my flash and for my php.

Localhost server is using 5.2.17 and so if my Server hosted on 1&1

Flash Code To Send Info to PHP

function MakeZip():void
{
var variables:URLVariables = new URLVariables();
//variables.Image1=img1;

[Code]....

View 3 Replies

Actionscript 3 :: Flash And Localhost Environment - No Connection To The Real Web?

Jul 26, 2011

I'm developing a flash thingy that connects to the youtube api. The website that contains the flashthingy is developed locally on my computer. I don't konw why flash does this, but it doesn't connect to anything on the real web. E.g. the youtube api. As soon as I deploy the project to a real server everything works fine.

Since I have a lot of dev still before me I'd love to test this stuff locally. what I have to do in order to get flash connected to real websites?

View 2 Replies

Flash :: Data Integration - Localhost - URL Page With An Embedded SWF File?

Aug 8, 2006

I can't figure this out. When I test a URL page with an embedded SWF file (using [URL]) I cannot get the embedded SWF to play more than one or two frames. However, if I upload this same flash-embedded html page, and test it on the WWW, then it seesm to play without a glitch.

View 1 Replies

Flash :: Test Streaming Bandwidth On Localhost With Media Server?

Jan 13, 2011

I'm trying to debbug my code on Client side (Action Script 3) that works with Flash Media Server 4 on localhost. Everything seems fine up to that point.However, when I'm trying to test my player with other remote streaming servers, I notice bugs because of lower bandwith transmission between the server and the player.Is there a simple way to simulate lower bandwith with FMS4 on localhost (by config, application.xml, programmation...) ?

View 2 Replies

Sockets :: Can Flash App Running In Browser Connect To Localhost To Get Data From Another App?

Dec 21, 2009

it seems that Flash was supposed to run in a sandbox in the browser. But, if Flash can get data from a remote server, can it similarly get data from localhost IP on the same machine? In other words, can I use a Windows app that provides a TCP socket on localhost to feed data into a Flash app?the answer is yes at least for the case of an SWF file hosted in the file system, URL...(turns out the localhost access error can be fixed if you add the SWF app to some security whitelist). Still wondering if this can also be done for SWF apps hosted on the network.

View 1 Replies

Test Streaming Bandwidth On Localhost With Flash Media Server?

Jan 13, 2011

I'm trying to debbug my actionscript (AS3) code on Client side that works with Flash Media Server 4 on localhost. Everything seems fine up to that point.

However, when I'm trying to test my player with other remote streaming servers, I notice bugs because of lower bandwith transmission between the server and the player.

Is there a simple way to simulate lower bandwith with FMS4 on localhost ?

by config, application.xml, etc.?
by programmation (main.asc) ?
both ?

View 2 Replies







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