Flash :: Error Connecting To URL
Jul 1, 2011I am trying to connect to this service from my pc.[URL].. using the flex Webservice libs but I get this:
[Code]...
I am trying to connect to this service from my pc.[URL].. using the flex Webservice libs but I get this:
[Code]...
I'm trying to stream my webcam to my FMS Server, using AS3, but I get this error message:
[Code]...
I am trying to set up DVR streaming using FLME. I'm following this tutorial: http:[url]........I'm up to Step 2,
I put in the following information into the FLME:
FMS URL: rtmp://222.222.222.222/dvrcast_origin
Stream: mp4:sample.f4v
Then click 'Connect' , but I get an error "Failure to connect to primary server verify that your server URL and application name are valid and that your internet connection is working and retry". My server is a 32-bit windows 2007 VPS , with FMS running.I don't know if I set up the DVR Cast application correct. All I did was copy the dvrcast_origin into the installationdirectory/applications, then I started a new instance of dvrcast_origin with _definst_...Also, I am running the trial version of FMS, and DVR needs FMIS. Is there a way I can just run FMIS?
I try to establich the connection with asc file from applications/videochat $connection_string="rtmp://videochat/"; And I'm getting the result from media server
Connecting to the video server...>>The client does not have permission to connect to the application, or the application expected different parameters from those that were passed.>>The connection was closed successfully
I want to run the Flex SDK 4.5.1 on Eclipse IDE. I have followed this http:[url].....step by step and it was same as it was written.But then when i first built my sample code and ran it, it gave me these errors. I cant figure out what the problem is:This is the sample code:
and these are the ERRORS:
Loading configuration file C:Mario's FilesSTFFlex SDKflex_sdk_4.5.1.21328frameworksflex-config.xml
_application_Styles.as(24): col: 38 Error: Syntax error: expecting rightparen before s.[code]....
Do we have to get a compatible Eclipse-FlexSDK-Flash version??
I am an actionscript newbie but have been given the task of designing a navigation menu in flash that has to connect to a database - the menu items have to be marked - unread, mandatory etc. and have to pull back database information to display then be marked as read.
View 3 Repliesproper endpoint configuration for my WCF service to enable a Flash app to consume it.
View 1 RepliesWhen I connect to kongregate locally on debug mode it works fine. but when I upload the game to their servers, I get the following error.
TypeError: Error #1010: A term is undefined and has no properties.
at com.objects::Engine/GameMenu()
at Function/http://adobe.com/AS3/2006/builtin::apply()
Below is the code I use. and the class properties i set
// Kongregate API reference
private var kongregate:*;
public function Engine(sr:Stage):void
[code].....
I have moved on now to where this is clearly a Flash security thing.I have a flash client that attempts to connect to an open socket on the same host as the one on which it lives.I am able to connect successfully from inside the Flash IDE, and when I run the swf movie locally on my machine, after granting it security clearance in the white list it connects as well. However, when I call the movie via the browser (URL...) it fails to connect.The socket reports that a connection attempt is made but immediately disconnects.I have a crossdomain policy file that looks like this: in the root directory of the host.[code]In the flash movie I have a line that looks like this: System. security. loadPolicyFile (URL...);And I'm thinking maybe that's where the problem is, but the documentation on how to use this method is not entirely clear. I'm in Flash CS3
View 1 RepliesWhat is the best tool available in flash mx to connect to databases and do we have a tutorial for that.
View 1 RepliesI was just doing some testing using PHP sockets and Flash. I used several things, one thing is this tutorial:I have the server running, and when I run the swf via Flash it connects fine. But when I run it from the browser it can't connect.. Because that Tutorial is in AS2, I also wrote a quick client to connect with AS3, but I'm having the exact same problem.. it only connects if I run it through flash.Here's an example of the basic code:
Code:
var s:Socket = new Socket('my IP', 5445);
s.addEventListener(ProgressEvent.SOCKET_DATA, getData);
[code].....
using kirupa's tutorial " Connecting to a Web Service using Flash" i have added Flash Builder's library into my flash project. I am using HTTPService class of Flex in my flash project. If I repeat this process in separate blank as3 file, its works perfectly fine. But when I only add the flex library in my working flash project, it stops working. No error, no warning. I am really confused. Where should i start troubleshooting? Just adding the library starts the problem, but when I add this in a new as3 flash file, it works fine. All settings are same in both files.
View 5 RepliesI want to create a flash signature and I did it's just a normal text animation but I want to upload to my website and then create a webpage with a textbox Where a user writes his name in that text box and then the text in the swf movie gets replaced by his name I have seen it else where but I can't Recall
View 2 RepliesI have downloaded a flash video from a website which was the combination of lots of flash slide and MP3. Now I want to join all those so that it look same as was displayed in website . [URL]. This is the link to the website and I got 15 flash slide from this on presentation and 10 mp3 files when I downloaded that .
View 8 RepliesI have a Flash client that I want to connect to a server. Both are using localhost and port 50000 so there shouldn't be any cross-domain problems. I also set Access Network Only in the publishing settings. When I call the XMLSocket connect, the server seems to get a new connection. But, the XMLSocket.onConnect callback is not called with success=true.[code]...
View 2 RepliesWhat Approach can you use to Connect Adobe Air Application to a Local Network? Examples of function is send a message to other computer that is connected to a network, sending files or viewing their desktop.
View 1 RepliesThe ActionScript 3.0 Reference says the following about flash.net.NetConnection:
The NetConnection class creates a two-way connection between a client and a server. The client can be a Flash Player or AIR application. The server can be a web server, Flash Media Server, an application server running Flash Remoting, or the Adobe Stratus service. Call NetConnection.connect() to establish the connection.
Does this mean I make a regular HTTP connection to any web server using an NetConnection object? I am a little confused about this as further down the section on the connect() method says connect(): Creates a two-way connection to an application on Flash Media Server or to Flash Remoting, or creates a two-way network endpoint for RTMFP peer-to-peer group communication....Pass an "http" URL to connect to an application server running Flash Remoting.. So, the application server has to have Flash Remoting?
I was reading that certain API's are not available when making iPhone apps with flash, such as accessing the camera. Is it possible to still get information from the web and display it in the app using the flash method? The overall plan is to have it pull data from an SQL database using XML, and I was just wondering if that was possible still with flash.
View 1 RepliesWhat I am after is to be able to connect to a SQL database directly or via a ASP Page (whichever is easier) to pull out some variables and display them as text in a text field. Basically we have a news section on our intranet (stored in an sql) and I want to be able to pull these out and put them into flash. I have looked on the internet for examples, but everything that I do don't seem to work.
View 1 RepliesThis is what we have... a new Actionscript developer (Me) and a seasoned Visual Basic/ASP developer. We've also got some SQL Servers... We need to write a web application (Flash) that checks user authentication (User Name and Password) against a SQL Server database before allowing the user to continue through the program. After the user completes various components of the eLearning program, a brief quiz will follow. At the end of the whole eLearning program, a lengthy quiz will be given and those results will be scored and stored in a database.
I need to know what is required to do this... this being the database connectivity? I've been seeing PHP/MySQL tutorials but is there some way to hook up into ASP/SQL Server? Furthermore, how exactly does this work? I've read that with PHP, flash will write and store variables in PHP which is then used to get results from the database. I'm not exactly sure tho. If any one can point me to a great tutorial that explains everything about ASP/SQL Server..
I am trying to connect to a MySQL database using PHP in Flash CS3 using Actionscript 3.I have written the PHP file and some AS3 code and it displays the information but for some reason it also displays the tags.[code]The picture below shows what happens when I test the movie.I also need to add buttons to move to the next and previous record and to add or edit the database via the Flash interface?
View 7 RepliesI have a standalone flash application which needs to access a https://.. url for authentication purpose. BUt I am not able to connect to the URL. What can be the reason?
View 1 RepliesJust a curious question. Apart from Graph API, is there any other way of delivering data to facebook from flash(as3).
View 3 RepliesIs it at all possible to connect the Flash Player debug version to the debugger in Flex Builder using source code? I'm running an app which has no right click menu, and I therefore can't right click and select connect to debugger.
View 3 RepliesIs there an easy way to connect to MS Sql 2005 using Flash 9?
View 1 RepliesI have a website in which the content on the index page is controlled by a PHPMyAdmin database. I want a a flash "movie" at the top, that can take the data from the site, and slide-show it until a user clicks on a specific link, in which the movie will direct itself to the clicked event.
The page is for a booking/promotion concert company. They want a "Featured Shows", "Calendar", and flash file that all are interconnected. One page. Does anyone know how to do this, where to find tutorials, or so on? Note, i'm not wanting to WRITE data to the database, I just want to GET data to post on the flash file.
I have access to a flash media server on a CDN.I want to allow people to easily connect to this server. Currenty, they need to an additional software to connect to the FMS.It would be nicer if they could just connect to the server with their browser.So I assume I need to create a SWF file and connect from this file to the FMS (with Actionscript).The end result would look like the demo of the jquery webcam plugin, only that the SWF file would establish a connection to the FMS and stream the video to the FMS
View 1 RepliesI have a task to make simple game that deployed as a facebook app using Adobe Flex. Like most facebook game, I need to show high score, compare score with friends and some other similar functionalities, which I think need some sort of database thing.
The problem is a had only little experience about database, only have tried simple things with MySQL and I don't know where to start.
I am trying to connect to an FMS application without flash (no SWF). To the best of my knowledge,the only way to accomplish this is thru the admin APIs, is that correct? If so, how do I return meaningful values from the admin API? I can call functions and stuff using the broadcastMsg API call but I can't seem to get back any values. All that is returned is a useless "Success" type message. I have tried using shared objects and the getSharedObjects API call, but the call doesn't return any info on the contents of the shared objects, just their names and some info on their persistance.
Is there another way of accomplishing my goal outside of the Admin API? If not how do I return meaningful variables from the Admin API? Is there a way to hack or extend the admin API?
The requirement is to get the method named getIncidentList() from web service using Soap and wsdl using Flex or Actionscript.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:WebService id="DirectoryService"
wsdl="http://cmuicds.rutgers.edu/uicds/core/ws/services/DirectoryService.wsdl"
useProxy="false"
[code].....