Flex :: Generating A Consistent ID For A Given Computer In Air?

Mar 3, 2010

In C++ I Can Read The MAC Address Of The NIC and Use It To Generate A Unique Identifier For Each Computer That Interacts With My Web Service. Even If The User Deletes Their Cookies, And Temporary Internet Files, Reformats Their HardDrive And Installs A Different Version Of Windows, That Computer Still Generates The Same Unique ID.How Can I Create Such A Unique Key Using Flex Or Air? The Number Has To Be Either Hardware Based Or Similarly Tamper Resistant.

View 1 Replies


Similar Posts:


Actionscript :: Consistent View Of One Image On An Image List In Flex For Both Portrait And Landscape Orientations?

Jun 23, 2011

I'm coding a image viewer application for tablets using Adobe Flex 4.5. Basically, I have a list with a custom item renderer that renders the images in the list. I have set up the image size to be the width/height of the tablet device in portrait (600x1024). This way, only one image can be seen at one time. The problem is that when the device orients to landscape, this design obviously screws up. My question is how can I get it to change the width/height of my images automatically when the orientation changes such that only one image is shown at a time?This is my list:

<s:List width="600" height="1024"
id="imageList" dataProvider="{data}" itemRenderer="{inlineRenderer}" click="imageList_clickHandler(event)"
verticalScrollPolicy="off" useVirtualLayout="true">

[code]....

This is the item renderer:

<s:Scroller width="600" height="1024">
<s:Group>
<s:Image source="{data.imageurl}" width="600" height="1024"
contentLoader="{FlexGlobals.topLevelApplication.imageCache}"/>
</s:Group> </s:Scroller>

View 1 Replies

Media Server :: Transfer Flash 8 Programs From Old Computer To New Computer?

Nov 14, 2011

I got a new computer several days ago and it doesn't have Flash 8 or Higher. how to transfer Flash 8 programs from my old computer to my new computer? where to find free downloads of Flash 8 or higher?

View 1 Replies

Flex :: 3 - Flex: Affecting Function Result On Bindable Boolean Not Generating Databinding Event

Mar 14, 2011

I have a small question. I am probably misunderstanding something, but when I do :

[Code]....

View 1 Replies

ActionScript 3.0 :: Computer Vs Computer Pong Game

Apr 2, 2009

I'm not really good with AS3 yet so maybe somebody can help meI found a pong game tutorial and it works fine.[code]Now I want that two computers play against eachother.So no player input only two computer that play.I tried a lot with the script but it doesn't work.

View 3 Replies

ActionScript 3.0 :: Pong Game Computer Vs Computer

Apr 14, 2009

I have a problem... I found a tutorial making a pong game... I want to make some changes but I tried everything but it wont work Here is some code:

[Code]....

View 2 Replies

Flex :: Generating Flex Like Graphics Server Side?

Oct 21, 2011

I know flex is a client side technology, but our customers are asking us to e-mail them reports (i.e. graphic images) that look just like the flex graphics we show them on the desktop on a nightly basis.

View 3 Replies

Flex :: Generating Preview Of BMP Image?

Aug 26, 2010

I am working on a Media up-loader which uploads images to Server. Before start upload file i want to show small thumbnail of Image.

I used Loader class to load image selected by user & used Canvas to draw image on it.

This works fine with images like jpg & png.

But for bmp file loader class doesn't work.

Is there anyway to load bmp image in Flex & Convert it to BitmapData ??

View 1 Replies

Flex :: Generating HTML Page On The Fly?

Sep 10, 2010

I'm writing a simple html page creator that will generate html code on customized settings. Now i want to add a "Demo" button that will generate a html page on the fly for the user to see the end result.

View 2 Replies

Flex :: Generating Progress Bar For Images Upload

Feb 15, 2010

I am a novice to flex and I am trying to develop an application for uploading multiple image file along with progressbar for each upload. The datagrid holds the name of the file and the progressbar for each file when we select and add a file. When there is progress in file upload, it should be reflected in the progressbar as well. I have used filerefencelist to hold the collection of files and when i try to upload files it generates error "Null object"

My code :
private var initDG : ArrayCollection;
private var _arrUploadFiles:Array = new Array();
private var currentFile:FileReference;
private var currentFileIndex:Number = 0;
private var uploadErrors:Array = new Array();
[Code] .....

View 2 Replies

Flex :: Embedding Fonts For Generating Pdf File?

Jan 7, 2011

I am trying to embed arial bold font but getting run time error font ARIALBD.TTF with Identity-H is not recognized.i am embedding the font in purepdf library for generating the pdf file via flex app.[code]

View 2 Replies

Flex :: Generating Spark Radio Buttons?

Apr 8, 2011

I have a list of radio buttons, which I want to be able to both set the value of programmatically and for the user to set the value of manually.I have a small list of data items which I want to display as options in a list of radio buttons. The objects are stored in a model object, as is the currently selected item. The currently selected item is bound to the radiobutton group. The radio buttons are generated using a spark list.

I am having a problem setting the list programatically - whenever I set the current value on the radiobutton group to the first value in the list, all of the radio buttons are cleared, where the first one should be selected. I when checking in the debugger, I found the likely reason - there are two radiobuttons in the group that point to the same value, one of which isn't showing. My best guess is that the list control has created an extra item renderer which it is holding on to in case it needs to scroll the list.

Is there a way to create radioButtons based on an ArrayCollection without using a list? Failing that, is it possible to prevent the list from generating the extra item?

View 2 Replies

Flex :: Directly Print From Alive Pdf Instead Of Generating It?

Jun 9, 2011

Is there a way to directly print using alive pdf (by passing the step where it saves the datagrid in pdf). Right now I am using Alive Pdf for generating PDF from datagrid and its doing a great job. Since flex printing by itself sucks I was wondering if I could directly print using Alive PDF?

View 1 Replies

Actionscript 3 :: Flex - Generating Random Numbers?

Nov 14, 2011

I am using 16(4x4) grid pattern, in that i need to generate a random number which should not come horizantally continuous three , vertically continuous three,and diagonally continuous three.i am using as3 for coding.

View 1 Replies

Flash :: Generating Source Info For Flex BitmapData

May 27, 2010

Instead of populating the BitmapData class from an IMAGE.I would like to (within Actionscript) GENERATE some new BitmapData by capturing the Bitmap representing say, a TextArea component on the stage.In other words, sort of take a "screen capture" or "screenshot" of one of the components, and convert that into an image. Am I silly to even wonder if such a thing is feasible? Can an Air/Flex app "look at itself" in this way? Can it turn a datagrid or a canvas or a textinput into the corresponding image AS IF via screen capture?

View 1 Replies

Actionscript 3 :: Creating A Consistent 'random' Value?

Sep 14, 2011

creating consistent random values in actionscript. I assume this would, be by using a consistent seed value

View 1 Replies

ActionScript 3.0 :: Movieclip.width Is Not Consistent ?

Nov 1, 2011

I am creating a minesweeper copy, and i've bumbed into a problem, which I and a fellow programmer finds quite strange.

My code is set up like this: Initializer.as (Just a temp. initializer.(duh)). This creates a new gameGrid, and passes x and y number of blocks, as well as the size.

GameGrid.as (movieclip) This is the board. This controls the whole game, which are filled with:

Block.as (movieclip) Represents a block. Has a size parameter in its contructor, which are the exact same size as the one in GamGrids contructor. For non-mines, a textfield is added as a child. When a flag is set, the block adds a child:

Flag.as (movieclip) Same size in its contstructor.

In the library (in Flash CS5), every movieclip has the same width (60px).

Now, the problem is that the text, bombs and flags are only in the same size as the blocks when i set the size to '57'. If it's lower than 57, the bombs etc. are even lower. At ~30, they're half the size. At 130, its almost the double.

Here's the classes (with some comments):
Initializer

Code:
package {
import flash.display.DisplayObjectContainer;
public class Initializer {
private var stg:DisplayObjectContainer;

[Code].....

View 4 Replies

ActionScript 2.0 :: Consistent Loading To Flash?

Mar 3, 2008

This may be a weird question to ask. Below I have a simple php/mysql query which pulls some simple data.I've figured out how to display it all in Flash. f someone updates the database, adding a few new rows in the table, can Flash refresh on it's own so the new records show in the flash movie?

[Code].....

Or does flash have more than one way to reload all the data again?

View 1 Replies

ActionScript 3.0 :: Object Not Consistent After Construction?

Aug 30, 2011

I'm building a class that reads data from an xml file. The constructor takes the xml path and opens the file. It adds an event listener for the loading completion. But if constructor looks like

Code:
var xmlLoader:URLLoader = new URLLoader();
var xmlData:XML = new XML();
xmlLoader.addEventListener(Event.COMPLETE, xmlLoaded);
xmlLoader.load(new URLRequest("..."));

it will (probably) end-up when xml is not loaded yet. Are there any ways to stop the constructor execution until the xmlLoaded function has finished?

View 4 Replies

Flex :: Flexbuilder - Builder3 Is Not Generating Html Wrapper When Targeting?

Feb 26, 2010

In Flex builder 3 when I create a new flex application targeting the flex 4 sdk, it wont generate a html wrapper file. I have hunted around the web for answers, but no success. I have made sure the box is checked in the project properties to generate html wrapper.

The only workaround is to target an older version of the sdk (i.e. 3.2), which will cause the wrapper to be generated. Then I can revert the project to sdk 4. This then means I can never do a clean of my project because this will result in the wrapper being deleted. Has anyone else come across this? Is this just a bug with Flexbuilder3?

View 5 Replies

ActionScript 3.0 :: Getting Flash Movie To Playback At A Consistent?

Nov 16, 2009

Im having trouble getting my flash movie to playback at a consistent/good rate in Internet Explorer. Its not terrible out of IE but it looks much better out of Firefox and Safari. Im publishing my swf at Auto Low out of Flash and setting the swf to Auto Low on my html page out of Dreamweaver, my .flv is about 8 Megs, runs 1:25 with a kbps of 700 and the audio is set to 128. Is there something glaringly wrong with my settings, something I can trim in order to get it to playback correctly in IE? Someone suggested upping my buffer time but I can't seem to locate the panel in Flash CS4, anyone know where this tab lives?

View 0 Replies

Flex :: Air Application Affected By Computer's Set Date

Aug 16, 2011

When the 30 day trial begins the current date is stored in the local encrypted database. Then the date is checked against the current date if the difference is 30 days or more the application denies access and the users is prompted to purchase a license.

It seemed I had have everything working fine but I just ran into a problem.

I changed the date on my machine which made my Air app think this was the current date, allowing the 30 day trail to still be active.

I'm wondering what the workaround might be to fix this? Is it possible for Air to get the current date not based on the computers set date?

View 1 Replies

ActionScript 3.0 :: Scrubber Bar - Consistent Volume And Clickable Playlist

Jul 22, 2009

How to get my audio scrubber to work, make the volume consistent whether you stop the song and restart or move to the previous of next song. Also, I just finally figured out how to add columns to my XML playlist by using a Datagrid but I do not know how to hook the playlist up to the XML in order to call the particular song that is clicked on.

I started this project working as a tutorial, but the tutorial only gave the basic XML audio jukebox set up, since then, I've been scouring forums, google, tutorials on youtube, etc. But I find that the code is so "method" specific, meaning that everything hinges on your particular way you decide to get to the end result.

1)Volume slider works, but the volume keeps reverting back to the default volume everytime the song is stopped and re-started or a new song is advanced to with the Previous or Next button - The volume needs to stay consistent at whatever volume level that the slider is left on.

2)PlayList needs to be functional. Right now, you can advance through the play list by using the jukebox previous and next buttons, but the playlist should have the ability to highlight whatever song is playing from the list as well as play songs independently when any song in the list is clicked. (I was able to do this successfully with the tutorial version which used a list component, but the only problem with that is that List components only allow 1 column - so I had to change to a datagrid to allot for my 3 columns)

3)Scrubber - I would like the scrubber to do what a scrubber does for each song when the song is being played.

The files can be found here [URL].

View 2 Replies

ActionScript 3.0 :: Consistent Value From Top Margin / Padding Of TextField To Top Of Actual Text

Jan 11, 2011

How can I get a consistent value from the top margin/padding of a TextField to the top of the actual text.According to the docs (link below), the text field has a 2px gutter on all sides. But there seems to be another gutter that seems to increase / decrease with the size of the text.Using times new roman for a default font size, I can get the baseline of some random text using what we know: I know that there is a 2px gutter all the way around the text field and we can get the ascent through textfield.getLineMetrics(0).ascent. If I draw a line at that position I'll get a line about 2 px below the actual text. Works fine.Now if I want to draw another line at the TOP of the text it's a guessing game. At 36pt text it's 8px from the top of the textfield. At 72pt text it's more like 12px from the top, and at 144pt text it's more like 20px from the top.URL...

View 0 Replies

ActionScript 3.0 :: Keeping Consistent Spawn Rate Using Timer Class

Jan 10, 2012

Basically what I'm trying to do is keep the enemies spawning at the same rate. I get it to work kind of but when I toggle the speed there is a gap between spawns. I figure this is because the timer resets to the new delay. I'm working on a tower defense game and I'm trying to get the fast forward button to work.

Code:
import flash.display.*;
import flash.events.*;
import flash.utils.*;
var enemyTimer:Timer;
var enemySpawnRate:Number = 800;
[Code] .....

View 10 Replies

Flex :: Shutdown A Computer From AIR/Flex?

Jan 21, 2010

I need to figure out how to shut down the computer from an Adobe AIR application. I have been trying to figure out how to do this, and without success.

View 2 Replies

Flex - Adobe AIR Program Can To Index All Images On A User's Computer?

Jun 7, 2010

What is the fastest way for a Adobe AIR program program to index all images on a users' computer? Using Open Source ActionScript-3, MXML Libs and classes.

Fastest - Same pc configuration, different time (seconds) To index - get a list of absolute links (like c://bla-bla/file ) and save them into file (index.txt) All images (like JPEGs, PNGs)

View 1 Replies

Actionscript 3 :: Create A Flash Program With Consistent Performance Across Multiple Machines?

Jun 17, 2011

I want to create a flash program that tracks mouse and keyboard biometrics such as mouse movement speed, click rate, length of keystrokes and so forth. How can I ensure that if a user duplicates his/her actions across multiple machines with varying processor speeds I will record the same data?

View 2 Replies

ActionScript 3.0 :: DrawRoundRect - Corners Of A Rectangle Are Not Very Consistent When The Curve/ellipse Values Are Very Low?

Jun 1, 2009

The corners of a rectangle drawn with drawRoundRect are not very consistent when the curve/ellipse values are very low (2-5px or so), most visibly when there's a border added.Even with hinting turned on, there's still a pretty ugly difference. When set to 3px (horizontal and vertical), the right-side corners look pretty close at around 3px, but the left-side corners are very off, and both look to be maybe 1px curved.

View 1 Replies

Professional :: Some Text Appears To Be One Font In One Computer, But A Different Font In Another Computer?

Sep 18, 2010

The navigation buttons in my .fla file are set to the font, Arial MT in Bold. It displays no problem on my desktop computer.  However, when I view the website on my laptops, the font changes to what looks to be something like Times New Roman. The same thing happens with my "Read More" button text.  It's also originally in Arial MT Bold.  On my desktop it appears fine but on my 2 laptops it appears to be in Times New Roman.  This is more of an issue because I have these buttons underlined.  When viewing in my laptops, these underlines appear to be too long. If I shorten it, it'll probably appear to be too short when I view on my desktop. How can I get the font to be one consistent font for all computers?

View 3 Replies







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