Flex :: Store Some User-specific Data On Machine Such As A History Of His Entries?

Mar 31, 2010

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 Replies


Similar Posts:


ActionScript 3.0 :: Flash Store (unlimited?) History In XML?

Apr 6, 2012

As a personal project, I'm working on a language-learning flash game.I'm looking at the information I'll need to store in various XML documents.I'm implementing a 'history' feature whereby, for any given word in the database, for any given user, a comprehensive history of data is stored. With this data, I can generate all sorts of fancy graphs to track any given user's progress.For example:You have been asked the word 'cat' 10 times. From data stored in the XML document, the game generates a graph of the time it took to answer each of those 10 times. (So in a perfect world, you see a nice downward curve. Congrats.)My question is how to organise the XML document (if that's the way to go with this) so that it is as efficient as possible.Right now, I can only see the brute force approach: have a limited number of predefined history states (say 99), and write data to these each time 'cat' comes up. Once they're full, overwrite.

Code:
<user#>
<word#321>

[code].....

View 3 Replies

Flex :: Flash Player Only Returns The Domain Name Of The User's Machine?

Nov 19, 2011

I 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.

View 2 Replies

ActionScript 3.0 :: Find Out Client Machine TimeZone In Specific Format Using Flex Date?

Sep 12, 2011

I 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 Replies

ActionScript 3.0 :: User Navigation History?

Sep 26, 2010

I have a flash navigation menu and I was wondering: Is it possible to use the output window to make a interactive list of "buttons", so that a user can keep track of his/her progress ? How would one go about doing so? I can use the trace() function to capture the movements of the user, but how do I make it visible and interactive for the user?

View 2 Replies

Flex :: Store User Preferences In An Adobe AIR Application?

Jun 13, 2011

What's the standard way of storing user preferences in a Flex application for AIR? I need to store simple parameters like lists of recently opened files, window positions and sizes etc.

View 3 Replies

Flex :: Store Data Locally Using It?

Dec 15, 2010

How to store data locally using Flex 3 in web applications. Without using backend or using shared object.

I came to know that there is something called Data Management in Flex 3. And it is not for AIR application.

View 2 Replies

Flex :: Store Data About Server In App?

Mar 28, 2011

I am a Flex newbie and I'm developing a Flex application that needs to talk to an AMF server in order to authenticate the user.Where should I store the server URL? I don't want to hardcode it in the source code, but the URL should be fixed at compile time, because when I compile the app it should be tied to a specific server.

View 3 Replies

ActionScript 3.0 :: Determine User Machine Performance?

Feb 20, 2009

I'm thinking of varying content in my app depending on user machine performance.
Is there any good standard methods? Like a mini-benchmark-test first thing in the app. I guess you could measure both the time of a function (quick but true?) or framrate of some drawing.

View 14 Replies

ActionScript 2.0 :: Possible NOT To Cache Mp3 Files To User's Local Machine?

Jan 11, 2005

I want to use this Flash MP3 player URL...on my website to play my music compositions. It is a fantastic player, but it is caching the mp3 files to location "C:Documents and SettingsuserLocal SettingsTemporary Internet Files" on the user's machine.Is it possible NOT to cache the mp3 files to the user's local machine.Pls let me know if there is any other flash xml mp3 player which has the same functionalities.

View 14 Replies

Flex :: Downloading A File From A Server And Saving It In A Specific Location Without User Intraction

Jun 23, 2010

I want to download a file from the server and save it in a particular location of the disk without user interaction. All this I want to do it in Flex.

View 1 Replies

ActionScript 3.0 :: Delegate Heavy Computations To Be Handled Asynchronously (on The User's Machine)?

Aug 20, 2010

Is it possible to delegate heavy computations to be handled asynchronously (on the user's machine)? When it's done, I could just fire an event, catch the new data, and update. I have played with this for lesser operations, by just setting up a que and only handle a few operations per frame; but is there another method? That feels like a heavy handed workaround, and it won't scale with faster/slower machines. IE: 12 operations per frame works fine on the test machine, but my machine can handle more, but won't do it because it's hard coded.

View 2 Replies

Flex :: Air - Reset The HTML Control's History

Aug 26, 2010

I am using the flex HTML component and I would like to clear the history of the control when it is taken off screen, so that when it comes back on again the history is reset.

The only thing I can think of at the moment is to set the HTML control to a new HTML control, although this is a bit of a pain.

View 1 Replies

Data Integration :: Store The Data Text In Access Databases Using Flash Form?

May 4, 2007

How to store the data text in Access databases using flash form and to search into the database. It is possible to work without server because I don't want to put this flash file on the net. how to make databases and to connect with flash and to have possibility to search the database, but to work database in the local computer.

View 1 Replies

ActionScript 3.0 :: FileReference.load() -> Loader.loadBytes() - Allow A User To Upload An Image From Their Machine To Be Displayed On A Website?

Jan 22, 2011

The purpose of this is too allow a user to upload an image from their machine to be displayed on a website. The code's pretty straight forward and i have it all working fine, but have come across an issue. When certain portrait images are selected to be loaded and displayed, they get rotated at some point in the process and become landscape? There doesn't appear to be any consistency to the way they are rotated. Some are clockwise, some counter clockwise.

The one thing i've noticed though, is that it doesn't appear to be an issue with images that have been re-saved (so simply taken into photoshop and then saved without any modification), only images that are the original source of an image taken by a digital camera? This has got me wondering whether there's a possible issue with flash reading the meta data of the source image? The attached zip file contains the source code and swf, a selection of images from 2 different camera's and a modified image.

Just to note, due to the dimensions of the images, in the source code the bitmap is scaled to 0.1 so that the result can be clearly seen. I've tested this without the scaling and the image still gets rotated. There's a trace in the Event.COMPLETE handler of the Loader.loadbytes() method and you can see from this that the width and height of the loaded image have been switched? Note - due to the size of the zip file (4.6MB) because of the images, i've put them up on my server for download instead.[URL]

View 5 Replies

Actionscript 3 :: Indicate The Visit History On A Flex Tree Component?

Oct 26, 2009

How do I indicate the visit history on a flex tree component? I want to highlight the clicked/visited nodes to a different color and will not change after that, so that all the visited nodes will be one color. I tried adding an attribute to the underlying XML by

[Code]....

This code does retain the new color, but it also changes the color of nodes which are not visited at all. What am I doing wrong here? Is there any better way to achieve this?

View 1 Replies

Css :: Flex Appending History Tracking Elements Below Application

May 22, 2009

I've got a Flex application that uses link buttons. As soon as I incorporated the link buttons (I assume) the Flex framework started putting history tracking elements below the app in the DOM. For example IE6-8 get an iframe element with id of ie_historyFrame, chrome/safari get a safari_rememberDiv and FF gets a firefox_anchorDiv.

Now, there would be no problem if these elements were hidden by the framework, but they're not. The sit underneath the Flex app (visually and in the DOM) and have a bunch of serialized history data.

I was wondering, is there a way to hide them through configuration or code? I know I could hide them via CSS but it just seems nasty that I'd have to use CSS for something that Flex is supposed to manage. I want the application to be site independent.

View 5 Replies

Flex 4.6 Mobile Sqlite Specific Data?

Mar 2, 2012

First off I am new to using Flex, but I have pieced this app together with help from online tutorials and information. Basically my app is like a directory of names, addresses and so forth, but I also have additional fields of "week" and "day". What I am trying to do is have a list that shows only the names of, for example Week 1 - Monday. Below is some of the code I am using to help you understand what I am trying to do.

<s:List dataProvider="{AddDoctorDatabase.doctors()}" labelField="name" change="onDoctorSelected(event)"
left="0" right="0" top="0" bottom="0"></s:List>

[Code]...

View 1 Replies

ActionScript 3.0 :: Made By C# Store Where The User Reach Last?

Jul 6, 2009

i want to make a tour for my website there are 2 applications the first one in the site (this app made by Action script)and the second one in the server the last one made by C# store where the user reach last.

View 1 Replies

Actionscript 3 :: Flex URL History Management - Not Working Properly The First Time

Jan 22, 2011

I'm having a flex "design studio" for T-shirts, and I have made so that when a given itemId is passed in the URL (using #item=3), the corresponding item should be directly loaded.

[Code]...

View 1 Replies

Iphone :: Flex - RIA Flash Apps On The IPhone Store Persist Data Until An Internet Connection Is Available?

Oct 8, 2009

I'm interested in building a thick client application for my existing web services that will run on the IPhone. Flash finally seems to be an option, so I thought about using Flex for client side development.

However, since flash apps are not natively supported by the IPhone, but only through a wrapper, I was wondering if these apps can persist any data. Data entered by the user should eventually be transmitted to the web service, but until then I want it to persist even if the Iphone should run out of power.

Is this possible? Or does the Iphone flash wrapper make it impossible to access the hard disk?

View 2 Replies

Actionscript :: Xml : Find Specific Xml Data By Attribute Name/value In Flex?

Feb 9, 2010

From some xml I want to find items that have a specific attribute and value.Here is example xml:

<node>
<node>
<node>
<special NAME="thisone"></special>

[code]....

View 2 Replies

Flex :: Passing Data From SQLite Db Into Specific Components?

Mar 25, 2011

I have an sqlite db in an application and am stuck on how to pass the data that is retrieved from the db into multiple textboxes. I can get the first selection passed into the components just fine, but my problem comes in when I try to pass a second data selection into a different textbox while keeping the data from the previous selection the same in the first textbox.Basically, the user selects a recipe and that recipe is passed into textbox 1 Then another recipe is selected and that recipe is passed into textbox 2. *The recipes are selected from a different view, if that adds anything to the problem. After being selected, the view is returned to where the textboxes are.I'm not looking for someone to code this for me, but rather on how I would do it. I should be able to do that. =)My Text Components

<s:Group id="group1" x="412" y="156" width="200" height="206" contentBackgroundAlpha="1.0" >
<s:TextInput id="tText1" x="22" y="30" width="157" height="25" fontSize="12"
text="{data.kTitle}"/>

[code].....

View 1 Replies

Flex :: Draw A Line On Specific Data Value On Cartesian Chart In It?

Aug 25, 2009

Is there a way to draw a line on a graph (or at least get the position) on specific date?

I have a graph where X is Date data, I want to draw a line with a text on each Year and each 3 months as reference, not part of the graph series.

View 1 Replies

Flex :: Blank Entries In A DropDownList Using An IList As A DataProvider

Jan 22, 2011

I'm dynamically creating an IList to use as a dataprovider for a DropDownList in Flex.

The code is creating the IList correctly, and I can access the data inside just fine.

However, when I set the dataprovider for my DropDownList, it only shows blank entries for each item in the list.[code]...

View 1 Replies

ActionScript 1/2 :: Create A Questionnaire And Store The User Answers In An Array Or A Database?

Apr 9, 2012

My project is creating a questionnaire in Flash and then storing the user answers in an array or a database for later analysis. although i was excellent in coding when i was in college, recently i forgot many parts

View 1 Replies

ActionScript 3.0 :: Saving And Loading Data To Local Machine?

Feb 1, 2012

I am new to Flash/ActionScript, and I am having a lot of fun creating a project in Flash. am working on a character tracker (yes I am totaly geeking out) an I was wondering how to save the data I have entered into the project (hit points etc...) and load it back next time I opened it. The data would be saved on my local machine. How can I get Flash/ActionScript to do this?

View 11 Replies

Flex :: Data Binding - Update Multiple Bindable Properties In Specific Order?

Apr 20, 2011

I have a situation where I need to update a DropDownList's dataProvider and selectedItem in a specific order. See the following code ...

<s:DropDownList id="dropDownList"
dataProvider="{someDataProvider}"
selectedItem="{someSelectedItem}" />

In my case, some user interaction produces new values for the bindable variables "someDataProvider", and "someSelectedItem". However, when flex renders the DropDownList, the control's selected value is empty.

The reason for this is that the DropDownList's "selectedItem" property gets bound before the "dataProvider" property. The "dataProvider" needs to be bound first for "selectedItem" to be valid, this is because the new "selectedItem" points into the new "dataProvider".

what is the best practice for updating bindable properties in a specific order? I've come up with a few ways (e.g. using a valueCommit handler), but I wanted to see what the community had to say.

View 2 Replies

Flex :: Fill A List With A Combination Of Database Entries And Meta-values?

Aug 31, 2009

I am acquiring the contents of a table to fill a dropdown box in a Flex 3 application:

<mx:ComboBox dataSource="{myList}" />

The list is populated by the contents of a database table of persons:

Public, John Q
Doe, Jane
...

The combo box, however, also needs to have some other meta-entries in it that do not come from the database:

ALL
ALL MEN
ALL WOMEN
Public, John Q
Doe, Jane
...

View 1 Replies

ActionScript 2.0 :: Store A Simple Cookie That Will Remember The Score For The Next Time The User Plays The Game?

May 6, 2007

I'm just trying to store a simple cookie that will remember the score for the next time the user plays the game (the score governs if an option is visible or not)It all works fine until I close browser/reload the page, at which point the shared object seems to disappear, any clues?

Write:

Code:
var rem_score:SharedObject = SharedObject.getLocal("score");
rem_score.data.score = new Number(score);
rem_score.flush();

The problem prolly lies in my write code but ill post the reading aswell just incase there is a problem with that too

Code:
var rem_score:SharedObject = SharedObject.getLocal("score");
if (rem_score.data.score != undefined) {
this.remdscore = rem_score.data.score;
if (rem_score.data.score >=30) {

[code]...

There is another point it is read but it is the same sort of thing as the above.

View 1 Replies







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