Flex :: Read MAC Address Of Machine From Adobe AIR?
Jul 29, 2010i want to read MAC address of machine from Adobe AIR. I am using flex 3 and AIR 2.how can i do thisthe main purpose is i want to install that product in only one machine
View 3 Repliesi want to read MAC address of machine from Adobe AIR. I am using flex 3 and AIR 2.how can i do thisthe main purpose is i want to install that product in only one machine
View 3 RepliesI want to detect if the Java Runtime Environment (JRE) is installed on the machine using Adobe AIR.
How do I detect that the JRE has been installed on the machine?
I'm trying to come up with the optimal solution for validating IP addresses in Adobe Flex. My current solution is to use a regexp validator and look for dotted quad numbers, see code below. For some reason this will also allow an address like "1.2.3.4.5".
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="[URL]"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
<fx:Script>
[Code] .....
Another Adobe AIR question for you: Can we write files to the file system and leave them as read-only in Adobe AIR? In the future, we would overwrite these files (or delete them and write a new one).
Update: I tried the following approach, but I was still able to open the file, edit, and save to the file system after the process executed.
[Code].....
I'm trying to get two different apps to communicate through a file. I would like app 1 to append some text to a file, and app 2 to notice, and read the new bytes (not the whole file). There is an event, ProgressEvent.PROGRESS, that is supposed to fire when new data is available on a FileStream, but it only fires when I first open the file. Basically, I would like to leave the FileStream open, listening like a socket on the end of that file for changes.
View 3 RepliesI need to create and read a user preferences XML file with Adobe Air. It will contain around 30 nodes.
<id>18981</id>
<firstrun>false</firstrun>
<background>green</background>
<username>stacker</username>
...
What's a good method to do this?
An Adobe FLEX 4 object loads from a webpage and runs in the browser. The connection between browser and server is secured using SSL over HTTP (HTTPS) with a secure certificate from a valid Certificate Authority.
Can FLEX code read the secure certificate information and retrieve information such as to whome the certificate was issued, when it is valid, and for what domain it was issued, etc. ?
How do I read the url address i currently am in, using AS? I want to be able to read the variables passed and display different things each time. I've seen that before, searched this site for that, but nothing... I'm a little dizzy with the work and all.
View 7 RepliesIs it possible to install Flash Media Server 3.5 on the same Windows machine where Adobe Connect Pro is installed?If so, how to do it?When I try to do it, it says there is already an istance of FMS running and it asks for uninstalling it.Of course there is not any FMS installed. I want both on the machine.I suspect Adobe Connect uses an engine of FMS to work properly.
View 2 RepliesI'm a bit of a newbie with flash and Actionscript. I have been programming for a number of years now, but I have only been messing around with flash since CS4. I have CS5 now, and need a bit of help. I have a wireless device that I have made, I wish to make a flash program (potentially adapted to iPhone or Android) that sends and receives data (in the form of Word or Byte sized variables) from an IP address assigned to the device. Is this achievable?
View 1 RepliesI have a flash site, where when a user clicks on a link the page does not reload but the content changes with flash(like any normal flash site). So for example if user click on products page, the product page content is displayed, and the url in the address bar also changes from "domainname/index.aspx" to "domainname/index.aspx#/products"
I need to get this url from the address bar, and if i use "window.location.href" it returns "domainname/index.aspx". Does anyone know whether it is possible to read the url from the address bar which is changed by the flash.
I want to make a washing machine animation with adobe flash cs4.I have a basic image of 3 washing machines standing next to each other with the door on the front.I also have a very similar washing machine at home that I can video tape while it washes. I am pretty good at figuring out software, but I have not used Flash CS4 much,so I would like an expert to tell me the best way to go about doing this animation with this software.
View 2 RepliesI make an iPhone app with Flash and it generates my app and a xml (that I don't understand if is it useful).My question is if I can read the objective-c code that Flash generates.
View 2 RepliesMultiple axis creation via MXML works fine:
http:[url]...
But when I'm trying dynamically create horizontal and vertical axis then I'm getting extra axes. I believe this is Adobe bug. How I can fix this behavior?
<?xml version="1.0" encoding="utf-8"?>
<s:Application
minHeight="600"[code].....
I built an AIR app a while ago. One of the users today got a new machine (XP) and keeps getting a 2032 error when the app tries to send/receive data via HTTPService I verified that this page works when accessed within a web browser. It also works on AIR apps on other machines. The page and the AIR app haven't been changed for months, the only thing that has changed is this particular users computer. I recompiled to get a more specific error and this is what I got:
[Code]...
As I am writing this I had the user restart and relaunch the application, it is now working so I am not too worried about it,
Today (next day) It is happening again and restart isn't even fixing it today. It has to be something on her machine interfering causing the problem because I can run the program on any other machine just fine with no problem. Not sure what it could be or how to troubleshoot that?
is there a way to save, not save as, from an online flex app onto someone's local machine?asically, if a user opens a file local to their machine in an online flex app, is there a way to allow them to save it locally without going through dialog boxes and picking file names?
View 2 RepliesI know I could use "BrowserManager.getInstance()" to find out which from URL is my app running, but it doesn't work as I would expect (you can't read url in one line - you have to wait for an event).
View 2 Replieshow 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]
I have Flex builder 3 already installed on my machine. Now, I want to use Flex builder 4 also (officially Flash BUilder 4) on same machine. Can I directly start with Flex builder 4 and import my Flex BUilder 3 project there w/o any loss ? If not then, do I need to first uninstall my current version (3) or can I keep both the builder versions simultaneously ? Also, are there any pre known concerns with the migration ? Will it improve/degrade the performance (My system has XP professional, Intel core 2 Duo, 2 GB RAM ).
View 1 RepliesI dont want to connect to a server over socket. I would like to know if it is possible to connect from one AIR app on machine A to connect to another AIR app on machine B via sockets without cirrus. I'm not asking for someone else to do my work, I couldnt find any documentation or possibility of the above thing. My conclusion now is that it is not possible, but I would just like it to be verified by other people(experts).
View 2 RepliesI have developed a flex application (Flex 4.5.1).I want the flex application to be used only by the domain names that I allow. As soon as the application is loaded, I check with the remote database if the domain name is valid.
The problem is that flash player only returns the domain name of the user's machine. What I want is the domain name of the website that the flex application is part of. For instance, if the webpage I browse for my flash application is[url]...., I need [url]...or [url].... Is that possible? Every method I have tried only returns the name of the website visitor's computer.
I have some shared code between an Adobe AIR App and an Adobe Flex App.
On one line of this code, the program must behave differently depending on if it is running within the Air runtime, or the Flex runtime.
How can I programmatically detect the difference?
I am deploying a desktop application using AIR, and I would like to store some user-specific data on the machine such as a history of his entries.
View 2 RepliesI have a requierement in my project that i need to store 'US/Eastern EST' and day light saving 'US/Eastern EDT' in data base if client machine is in US/Eastern time zone. Because this gives clear identification instead of justing the chars like 'EST'. There is CDT in US region as well as Chaina too so can't relay just on three chars like 'EST'/'EDT'.
View 3 RepliesHow do I get the IP address of a certain website using Flex 4 via an AIR application? I know that this is do-able using ping but how can I replicate the same only this time, using AS3 in Flex 4 and as an AIR application.
View 1 RepliesI need to find the IP Address of the system my AIR App is running. I found a similar question here. But the solution is with SDK version higher than 3.5 it seems. Can this be done using Flex 3?
View 3 RepliesIn a flex tileList, is there a way to get the cell-address of a given item? i.e. for a given item, get the row/column location for that item in the list.
View 1 RepliesI am searching for a way to retrieve all emails addresses from a given string. For example: if i have the string "AB CD [ABCD@gmail.com]" i want to receive only "ABCD@gmail.com".
I guess i should use RegExp and String match function, but i am not sure how.
I would like to get the user's IP locally without any invoking any service.
View 1 RepliesI have an issue in flex which is causing a bit of a headache!
I am adding objects to an ArrayCollection but in doing so, another ArrayCollection is also picking up these changes even though there is no binding occurring.
I can see from the debug that the two ACs have the same address but for the life of me can't figure out why.
I have two Array Collections:
model.index.rows //The main array collection
model.index.holdRows //The array collection that imitates the above
This phantom data binding occurs only for the first iteration in the loop and for all others it will just write it the once.
The reason this is proving troublesome is that it creates duplicate entries in my datagrid.
public override function handleMessage(message:IMessage):void
{
super.handleMessage(message);
[Code]....