I am having an issue trying to set http headers when trying to access a web service.
I have read that I need a crossdomain.xml on the server, but is this only when the application is running in a browser - i.e. hosted somewhere.
My scenarion is that I am developing an app to run as a stand alone application (not in the browser) for a 3rd party device. This device does not support the flex mx packages.
The app calls a webservice and displays data. The webservice requires to be authenticated.
In JS i can use an XMLHTTPRequest and load the url using "https://username:password@server.com/service.asmxpassword@server.com/service.asmx" - attempting to do this in AS 3 using a URLRequest and URLLoader I get "#2044: Unhandled ioError:. text=Error #2032: Stream Error".
So I try to add a HTTP header instead, but this appears to be ignored - the credentials of the user who is currently logged into the network (idsid) is used instead.
Do i need a crossdomain.xml file on the server hosting the webservice even though my flash application will never be hosted. The server admin is not happy allowing all domains ("*") since I dont knwo what domain I am in as my flash app is not hosted.
Any help you can give me would be greatly appriciated. or perhaps there is an alternative way of doing this?
<code>
var urlRequest:URLRequest = new URLRequest("https://server/service.asmx");
urlRequest.method = URLRequestMethod.POST;
urlRequest.contentType = "text/xml";
var urlLoaderService:URLLoader = new URLLoader();
urlLoaderService.dataFormat = URLLoaderDataFormat.TEXT;
urlLoaderService.addEventListener(Event.COMPLETE, onServiceLoaded);.....
I'm creating a standalone flash application. Now, I have a user interface with a menu, and I have to launch a new stage in fullscreen mode with at the center an 800x600 swf.How can I create the fullscreen?
I want to set the default window size for a flex application that runs with a standalone player.I set width and height to 100% to be able to get the ResizeEvent and being able to adjust the layout if the user changes the window size. But I'd like to also define a default size.
I am trying to develop an application which can be used locally by my team mates. its a sort of issue tracking application with report generation. am planning to do it on flex. in my company environment, i do have a lots of restrictions like, can't install AIR, no database, etc.
so am planning to develop on flex app, and put it in a shared drive. now the main problem is how can i store data. i have an idea like using excel files as database. I want opinion about this option, as well as, if anyone has tried reading and writing excel files from Flex application I want the suggestions also.
How can i design a 3D carousel for video/images to run on standalone Flash Player on my Desktop? I am using Flash Builder 4 to develop this as a mxml application, but found that it doesn't allow access to local filesystem. My specific requirement is that I want it running on the local computer and in SWF files viewed in a user's browser. Is there a sample code to do what I am trying to do? This application has states and transition, like one state for a video gallery and one state for a image gallery
Flash Player 10.2.153.1and Flash Player 10.2.159.1 are crashing my standalone application. Later with version 10.1 the application run ok, never crashes but was taking more than 90% CPU. The new Flash Player solve the problem of resources, and drop down CPU to 30%, but the application crashes always after a while, unespectly, or if I open the window of other application.
In the other hand when I disable the harware acceleration at the swf settings, the application goes crazy and start to make rapid flashes, and frame rate goes down to 8. [URL]. Right click on the Flash logo, Settings,then UNcheck the hardware acceleration in Display Settings.)
I'm on a Mac Mini Core 2 Duo with Mac OS X 10.6.7 (the last Snow Leopard these days). The graphical card is Nvidia GeForce 9400M.
I did test the application at a Mac Book Pro core i5, Mac OS X 10.6.7, graphica card Nvidia GeForce GT 330M and the application is more stable but finally crashes too.
Finally if I export my application with GPU Hardware acceleration at Publish Settings, my application crashes almost inmediatly after I open it in each of the computers.
My guess is that the new Flash Version is using my graphical proccesor in a corrupted way.
I want to be able to pause and resume downloads in my flex application, but I get a RTE when trying to set the Range header.
Error #2096: The HTTP request header Range cannot be set via ActionScript.
I imagine there isn't going to be a work around client side, but expect there is a way you can get a server to change the name for the range header to something else...
I am planning to develop a standalone application, which infact will be used for personal purposes. So only single user access may be there. I want to develop it in Flex. Just want some opinions from the gurus over here : Whether i should use Flex or AIR (I know only Flex, AIR i need to start learning)Which database i should use? SQLLite or HSQLDB or some other.
I'm tentatively looking into building a system to compile a PDF in runtime based on a users selection of PDF pages which are in local directories.I'm sure this is possible using something like activePDF.Now, the result would be a PDF which the user would review and eventually export.Am I right in thinking that without AIR the saving of the file to a location on a users machine of their choice is not possible?
I have multiple swf connected to main file. i want to send a client only one main swf. with out other swf the main file doesnt play those contents in the main.
What should I use to test my swf movies on another (not my development machine) ?When I open them with IE or firefox the Flash active x player doesnt have the zoom 100% option so I end up with distorted (resized to window) swf is there a standalone flash player for that kind of purposes or something?
im not new to PHP and Mysql, but i have working on it in Web apps for the past few yearsI am starting a new project, and it has the following:1.the project itself will be built on Adobe Air (Flash) environments //as per clients's request2.there is going to be a custom dictionary (in php), tht is linked to the Flash program su ch tht when a user clicks the word in flash the dictionary should open and land on the word means etc.
I have made a swf file that requires Flash Player 10.1 to play back properly. I have successfully updated to Flash Player 10.1 in my browsers, and if I open this swf file in a browser it functions correctly.
However, I want to be able to play it back in the standalone Flash Player that came with Flash CS4 Professional, and it was not updated from 10.0 to 10.1 when I updated to 10.1 for my browsers. How can I update this software to a newer version?
This probably is a stupid question but does anyone know how I can start a standalone swf file in fullscreen mode.I want it to cover the whole screen when it starts.
I'm (slowly) creating a product configurator application and want to add in a mini application which can determine branding on a product (baseball caps).
What Im looking to be able to do is for the customer to be able to upload their own logo - and it be displayed within the application - which they can then print off and send to us as an order form for pricing etc.
Normally this would be fine - as I could load the image onto a server - however this application is going to be distributed via CD (part of a Product Launch Kit) and so will be completely standalone.
Is there any way that this can be achieved? I imagine that I wouldnt be able to get the application to save the image to a temp folder on the customers computer - but is there any other way?
Why is there no 'update' available to take the Flash Pro standalone and debuggers to FP11? There don't seem to be any Adobe authored instructions on doing it manually and I can't find an update. Have just upgraded from Flash Pro CS5 to CS5.5 on WIndows, it's telling me my product is now up-to-date, but the installed players are still on 10.
Is it possible to pass flashvars to standalone flash player via the commandline? Among other reasons, I want to run some unit tests from the command line.
I have an app that has been a standalone app 'til now; however, in another app it's going to be a wee little module. Is it possible to somehow maintain 1 codebase when the standalone has a source tag of:
I have two swf's. One "show" of some sort, and one "menu" that acts as a loader for "shows". The "show" swf can run in its own respect, or by being loaded via the "menu".
Is there a way to determine, if the "show" is run stand-alone or as loaded into the "menu"?
One solution is to have the "menu's" Loader object set a variable on the loaded "show", like myLoader.content.thisIsFromMenu = true; and then checking in the "show", if such a variable exists and is true. BUT I was wondering, if there is any more generic way, that would not require for the "show" to know anything about the "menu" to determine, if it is loaded into a swf or played by itself?
I need a fairly foolproof way to check from a child swf whether it is loaded into a container swf through a loader object or if it is just loaded through html. I would like to do this without requiring a flashvar or any kind of function call from the parent swf that may be there. Any quick and simple solutions? I looked for something with loaderinfo but came up empty.
Creating a Multi Platform standalone CDROM, I'm desperately trying to, when user is connected to the web, let him send me an email by clicking on a button. This button uses the AS getURL("mailto...) and opens the default mail program. (a mail page with email address, subject...) But this AS only works with swf nested in html page. (you can check it out!) In my case (standalone projection with exe and hqx), this script will not work.
I have a SWF file, and it accesses an XML file. It works just fine when debugged or published into a standalone SWF. HOWEVER, when I add a preloader to it, I get the following error, every single time:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
It works just fine when running on it's own, but when it runs through a preloader, it will not work.
I have a problem with the standalone Linux Flash player. The thing is that when I have a video playing in background and over it I make some tweens, it flickers all the time and it is an annoying flicker. It happens only on Linux Flash Player (it works on Windows Flash Player). The flicker appears when I have a video on background, only when the tween is made and on the portion of the screen where the tween is made. I have Ubuntu 9.04 installed and the latest version of standalone Flash Player (from 2/24/09). I've tried this on several LCD and on all it does the same. My video card has the Intel G31 Express Chipset (the drivers for the video card are the one from Ubuntu).
I have a problem with the standalone Linux Flash player. The thing is that when I have a video playing in background and over it I make some tweens, it flickers all the time and it is an annoying flicker. It happens only on Linux Flash Player (it works on Windows Flash Player). The flicker appears when I have a video on background, only when the tween is made and on the portion of the screen where the tween is made. I have Ubuntu 9.04 installed and the latest version of standalone Flash Player (from 2/24/09). I've tried this on several LCD and on all it does the same. My video card has the Intel G31 Express Chipset (the drivers for the video card are the one from Ubuntu).