ActionScript 3.0 :: Get Environment Windows Variables
Dec 2, 2010Do you know How to get environment Windows variables (username, ecc..)
View 1 RepliesDo you know How to get environment Windows variables (username, ecc..)
View 1 RepliesA quick question really, is if possible for Flash to detect PC environment variables?
View 4 Repliesi don't know how to say that in technical terms. and i think this is the reason to why i cant get good answer from Google.i have xampp on my local winxp machine. i use it for developing websites locally then upload these files to my clients shared hosting accounts.
the problem that in 2 years i have always found differences between how xampp works and how the web server work.some code work locally but dont remotely and the opposite. also flash behave differently on xampp than the remote web server.is there is a way i can get the server configuration and use it with xampp like get the server php.ini and use it with xampp?
I'm having an issue with the PDF displaying outside the viewable area of the mx:HTML control in Flex. When the application starts up - the mx:HTML is set to a certain size, but can be enlarged if the application is maximized. These are the following conditions to replicate it: Issue only happens in Windows (Windows 7, not on Mac) Issue only happens with Reader X installed (not with previous versions) Issue only happens when running the built app, does not happen in debug / development mode from FlashBuilder
[Code]...
I want develop an application on windows mobile.In this app, i need to show some Flash games to the end user.ow should I do?embed an Flash ActiveX Control (in Windows mobile Form application) ?embed an IE control?BTW (because i do not have a windows mobile device now)Can I views flash in IE of the windows mobile device?for play flash, Macromedia Flash Player 7 for Pocket PC should be installed on your windows mobile emulator.DIT2:after practice i found following package should be installed before your windows mobile progr
Vista SP2
Visual Studio 2008 SP1
Windows Mobile Device Center
[code].....
I'm running ant to compile a Flex application, and the build keeps failing when running it on a windows command line. Other people in my team can successfully run the very same build under mac and linux. This is the error shown in the command prompt:
[Code]...
All tokens are set in corresponding build.properties and filter .properties files (and, as I said before, it compiles perfectly under mac and linux). The windows version is 7 Ultimate, FLEX_HOME is set as an environment variable to the Flex SDK 3.5 (the 3.5.0.12683 build that comes with Adobe Flash Builder Burrito). ${compiler.fork} is set to false, to avoid an issue with the SDK and the source files being in different logic drives.
I'm using Flex in Flash Player 10 on Windows, using FileReference to load a file into memory, as below.My issue is that when a file is locked by Windows, my FileReference is not giving me any feedback that the file is inaccessible--it simply never dispatches any events after my calling load().Does anyone have insight into how to tell that Flash Player is unable to open the file?
var fileReference:FileReference = new FileReference();
private function onClick():void {
fileReference = new FileReference();
fileReference.addEventListener(Event.SELECT, onSelect);
[code]....
From an Adobe Air application, I need a function to launch the Windows Virtual Keyboard (c:windowssystem32osk.exe). I tried the Native Process, but it didn't work when telling it to execute cmd.exe /C osk.exe. How should I launch the keyboard application from an Adobe Air application?
View 1 Repliesi setup alwaysOnTop="true" in mx:WindowedApplication alwaysOnTop="true" tag. but this does not work in MAC but works in windows.
View 1 RepliesI have a mp4 file which is to be used in an application. Currently i am in the stage of figuring out the technology to be used for this job. I am familiar with flex and am hoping that i be able to use it for the application. But i can not figure out a way to play the file in flex. I have been able to play the file only in windows media player and that required the installation of three codecs : Mp4Audio.ax, Mp4Video.ax, Mp4Src.ax.
As i see it, it will be very convenient if i could embed a windows media player plugin in flex or i could specify the audio and video codecs in the flash player
I have a flex application (.swf) and want to create a projector file. When I choose File-> create projector I get the .app file because I work on a Mac. I know I can create both projector formats for windows and mac using the export feature in Flash Professional. But this is not an option since it's Flex.Is there any other way rather than switching to windows to create the file?
View 1 RepliesI want to provides an option in my air/flex application. A user can check an option and the application starts when windows starts.I don't find with google how to do this, someone knows do that ?
View 1 Repliesdoes anyone have an idea or developed before windows authentication through flex application.I have a semi solution when user enters his/her AD username and password, and application send this data to web service which handles AD authentication, but this is one extra step which will give full comfort for users.
View 1 RepliesI am working on a short animated story, which has a scrubbable timeline and chapter headings. I used TimelineMax for sequencing it. For the most part, it is working fine. I am seeing some strange behavior that pop up, though: sprites disappear, functions stop responding to user input, seams of the sprites become transparent -- all small issues but pretty hard to nail down because they happen in Mac only.
So I am wondering what is wrong with Flash, and why it misbehaves on a Mac?
we're having a strange problem on a project here. When we use NetConnection in combination with a NetGroup to initiate communication between two local AIR applications on Windows XP, they always both connect to the NetGroup succesfully and detect each other as neighbors. However, on Windows 7 both applications connect succesfully to the NetConnection and NetGroup both don't detect each other as neighbors.To reproduce this problem, here are two AIR applications:[code]
These applications can connect and send message to each other without a problem on Windows XP. On Windows 7 however, they cannot.Does anyone know why this wouldn't work on Windows 7 and what steps can be taken to make it work? It's critical to our project that this works.In some cases, the applications take quite a long time to detect each other as neighbors (up to 15 seconds in some cases), in other cases they detect each other immediately. Does anyone know what could cause this delay?
I am getting below error when I try to use hudson and maven [code]...
View 1 RepliesHow can an instance name defined in the CS3 envionrment/stage be referenced successfully in AS3? My attempts seem to point at "just assuming its available in AS3" is not the case.
View 2 RepliesI'm trying to update the famous Floating text in space from levitated.net (URL...)The script was originally AS1, & I'm updating it to AS3.
View 1 Repliesis it possible using actionscript to determine what operating system the flash projector is running on. I'm producing a swf that is to run from a cd-rom and so will be published as an .exe for windows and a .app for mac...parts of the presentation change depending on what os the user is running it on. I don't want to have to publish, change things and then republish. If it were a swf embedded on a web page, the browser would provide all those details...
View 1 RepliesAre there any Air + Zend Amf examples that use a real world web server and not localhost?
Basically I cannot get an Air or Flex application connected to a remote mysql db to work once deployed. How can I successfully move a finished application to a normal web server (website).
When testing everything works no problem but as soon as I deploy the gateway.php (regardless of where i put it on my web server) will not connect. I've even tried flash builder 4 auto generated code and still no luck
I am programming in the Flash CS4/ActionScript 3.0 environment. I would like to be able to add a Tab Control component to my environment but I have not been able to find any such component thus far.
View 1 Replieshow to link swc at runtime environment?
View 2 Repliescan someone guide me to some tutorial/source to do something like this [URL]
View 3 Repliesdoes the URL Loader work with a local file? Or is there another possibility to interact wirh a XML-File on a local system?
View 5 RepliesI have an application that was running at influxis, no problem. The server side script performs an XML sendAndLoad, and then calls the client based upon the xml response. But then i installed my main.asc file into a different dev environment and the xml.sendAndLoad request totally fails. Using onHTTPStatus, I discovered that the error type is <100, with an error code of 0. According to Adobe, a 0 indicates that things were fine.
I then implemented the onData method as shown in the adobe docs, and 'src' is coming back as undefined. The network engineer has confirmed that there are no network/firewall issues that would impact FMS talking to our application server, so FMS and the app server are free and clear to communicate with each other. Is there some sort of other setting that needs to happen to allow FMS to send and receive data? Is there something else I'm missing here?
[Code]...
When I publish a "fla" a file in CS5 environment, got following error.
ComponentShim (Compiled Clip), Line 1 5000: The class 'fl.controls.TextInput' must subclass'flash.display.SimpleButton' since it is linked to a library symbol of that type.
I have an air application that loads a swf ( built in flex ) , this swf loads moduls and basicaly my air application is a testing environment for this swf .
when i run it in flex environment ( eclipse ) it runs fine , when i run it from my programs ( as an air program ) it gets stuck , what i was thinking is that it has to do with security issues because it gets stuck when my main swf try to loads the moduls .
Is there a way to play a SWF and screen capture it in a headless environment?
View 1 RepliesI realize that this question can start a discussion but that's really not my intention. We've created a Flex Application to take tests from candidates. The advantage of the Flex Application is that all state can be stored in the application running in the browser of the client. Things like time limits, navigation, scoring, ... can all be handled within the application without us having to worry about a back button for instance. Even running the app offline with Adobe Air isn't that hard.
My question now is if such an application could easily be made with HTML, Javascript, Ajax, ... ? The reason I'm asking is because an application in HTML would be much easier to distribute on Mobile devices for instance. Also, our domain model for instance is mostly implemented in AS3 (Flex) so using it along the server side means porting it to C#.NET. (with two codebases as a result).
I'm building a Flex/AIR application that connects to a remote server, the URL of which changes depending on the environment (development/production, and possibly others). For now, this URL parameter is hardcoded in my root application MXML file but it means I have to change it everytime I build my app for a different environment.Is there a way to externalize such a parameter so that when Flash Builder automatically builds my app (in development mode), it uses the development URL
View 1 Replies