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


Similar Posts:


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

Actionscript 3 - Unlimited Params In Flash For Object?

Apr 19, 2011

...args is for string. something possible for Objects ?

View 1 Replies

Flash :: Check Function For Unlimited Arguments?

Jan 17, 2012

if i have function :

function a( param:* , ... args ):void ;
a.length // 1
flash.utils.sdescribeType(a);
//return me informations only about first parameter , nothing about '... args'.

edit: avmplus.describeTypeJSON didnt too. So , is there any other way to check for unlimited arguments than try{} block and push lot of params ?

View 1 Replies

ActionScript 2.0 :: Flash 8 - Unlimited Amount Of Images In Slideshow

Mar 23, 2006

I'm trying to do the following to a flash banner, I'd like to know if it's possible and how I would code it/do it.
1. Unlimited amount of slide support. The banner must look for 01.jpg, 02.jpg, 03.jpg... etc. Let's say the current slidshow has 4 photos, they want to be able to just upload another image and create a new .as file to make it appear in the flash slideshow.
2. each link must be in its own independent script. For example 01link.as, 02link.as, 03link.as etc.

View 6 Replies

ActionScript 2.0 :: Limited Flash, But Unlimited Html Area?

Aug 22, 2006

so much entries here about full screen flash, but i coultnt find what i wanna know. i read the tutorial about the full screen flash, but it wont work the way i wish it would. what i wann have is a swf embeded in an html. the swf size is 950 px x 550 px and is in the absolute middle from all sides of the browser. if you scale your browser, it should scale itself smaller, but not bigger than the beginning resolution. within the swf file there is a game, that opens in a seperate window in front of the main swf. that window should be dragged whereever you want in the browser.

but i just figuered out what i have to do, to give the window some freedom. but when i want to drag it above the main swf i cant do that. i figured out that when i drag it to the left, there is the same problem, but the further right i press the mouse on the window, the further i can drag the window to the left. same is on top - on the right and the bottom site there is no problem.and the html code is:

ActionScript Code:
</script>
</head>

[code].....

View 1 Replies

ActionScript 2.0 :: History BACK Button In Flash

Feb 5, 2009

Im trying to do a history back button in flash. Im finding a bunch of scripts online and none seem to work. Anyone know of one that actually works with flash 8+ and in both firefox, safari, and IE???

View 1 Replies

Flash :: IE History Tracking / IFRAMES And Cross Domain Error

Jun 2, 2010

We have a Flash application that is running within an HTML file.For one page we call a legacy reporting system in ASP.NET that is within an IFRAME. This page then communicates back to the Flash application using cross-domain scripting (document.domain = "domain" is set in both pages. Now the kicker. Flash has history tracking enabled.This loads the history.js file that created a div tag to store page changes so the back and forward buttons work in the browser.Which works for Firefox and Chrome as they create a div tag.In Internet Explorer, history.js creates another IFRAME (instead of a DIV) called ie_historyFrame.When the ScriptResource.axd code attempts to access this with:[code]At my wit's end on this one.We have users who need to use IE to access this site. They are big clients who we cannot tell to just use Firefox.

View 2 Replies

IDE :: Duplicatemovieclip Unlimited Times?

Jun 23, 2009

I am trying to duplicate a movieclip unlimited times. Right now it will play when it is rolled over one time and then it will duplicate for the second rollover, but that is it. I need it to keep duplicating every time it is rolled over.

The code:

[code]...

View 2 Replies

CS3 Load Same MC Unlimited Times Read Please

Sep 23, 2010

i have this movieclip that needs to load many times but only if its called.here is the xml example why it needs to load many times.Url...if a user post a comment it inserts to database via mysql.and then get pulled back via xml.I have upload the fla file to let you see what it does but the main clip needs to load every comment. but it loads one i need to loop it some how.[code]

View 3 Replies

Actionscript 3 :: Unlimited Map Dimensions For A Game?

Apr 21, 2011

Recently I've been planning out how I would run a game with an environment/map that is capable of unlimited dimensions (unlimited being a loose terms as there's obviously limitations on how much data can be stored in memory, etc). I've achieved this using a "grid" that contains level data stored as a String that can be converted to a 2D Array that would represent objects and their properties.Here's an example of two objects stored as a String:

"game.doodads.Tree#200#10#terrain$game.mobiles.Player#400#400#mobiles"

The "grid" is a 3D Array, of which the contents would represent the x/y coordinate of the grid cell. The grid cells would be, say, 600x600.An example of this "grid" Array would be as follows:

var grid:Array = [[["leveldata: 0,0"],["leveldata 0,1"]],
[["leveldata: 1,0"],["leveldata 1,1"]]];

The environment will handle loading a grid square and it's 8 surrounding squares based on a given point. ie the position of the Player. It would have a function along the lines of

function loadCells(xp:int, yp:int):void

This would also handle the unloading of the previously loaded cells that are no longer close enough to be required. In the unload process, the data at grid[x][y] would be overwritten with the new data, which is created by looping through the objects in that cell and appending each new set of data to the grid cell data.works fine in terms of when you move in a direction, cells are unloaded/saved and new cells are loaded. The problem is this:

Say this is a large city infested by zombies. If you walk three grid squares in any direction and return, everything is as you left it. I'm struggling to find a way to at least simulate all objects still moving around and doing their thing. It looks silly when you for example throw a grenade, walk away, return and the grenade still hasn't detonated.

I've considered storing a timestamp on each object when I unload the level, and when it's initialized there's a loop that runs it's "step" function amount of times. Problem here is obviously that when you come back 5 minutes later, 20 zombies are going to try and step 248932489 times and the game will crash.

View 3 Replies

ActionScript 3.0 :: Unlimited Number Of Images Through XML

Jan 20, 2010

I'm loading in an unlimited number of images through XML. I've got it so that it creates an MC for each image and adds each image to it. I need to position them into 2 coloumns and an unlimited number of rows.. so like :

1 2
3 4
5 6
7 8 .. etc

You'll see from my AS below i've got the code to position them along side each other, i just need the MCs to move down a row every 2..[code]My maths brain is about to explode so could anyone enlighten me as to the best way to do this?

View 9 Replies

Actionscript 2.0 :: XML Menu Unlimited Levels

Jan 26, 2009

I want to know how to build an unlimited levels xml menu. I know how to built a normal one.

View 3 Replies

ActionScript 3.0 :: Signed Up For Two Unlimited Hosting Accounts?

Sep 23, 2009

wanted to know does action script work on Linux or windows what is the best platform to choose for integration. I have signed up for two unlimited hosting accounts, with [URL]..

View 2 Replies

ActionScript 3.0 :: Make Stage And Background Unlimited?

Jun 18, 2011

i want to make my game stageand background unlimited when when my player character moves to the right how can i do that? i wouldlove a sample code

btw my background is a movieclip

View 3 Replies

ActionScript 3.0 :: Unlimited Movieclip Object Stack And Drag?

Apr 20, 2010

new to actionscript and im currently building a webpage. inside the page im going to run a simple flash application but im struggling some with a certain part of the code. basically i want a unlimited deck of cards. and i want to be able to drag the cards all over the screen. i have the dragging code down, but i can figure out how to make an unlimited amount of movieclip objects in a stack. this is what i have now

reset_btn.addEventListener(MouseEvent.CLICK, resetbuttonClicked);
function resetbuttonClicked(event:MouseEvent):void
{

[code].....

View 2 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

ActionScript 3.0 :: Chart Same As CPU Usage History?

Jan 28, 2011

In my appilcation i need to plot a graph same as in CPU Usage History (In windows see task manager). The data is available in the form of array collection or xml. I want to update the grph from right to left..

View 3 Replies

ActionScript 2.0 :: Create A History Timeline?

Sep 22, 2008

creating history timelines in Flash?

View 3 Replies

ActionScript 3.0 :: Maintaining History Of All Actions?

Mar 3, 2009

I am working on a paint application, I am able to draw lines, draw shapes, erase. I need to implement undo and redo functionality. I plan to store history in a bitmap and put it in an arrayMy question is whether we can have an alternate solution other using bitmap class. How can I store coordinates of non straight line without using up lot of memory and processor.

View 3 Replies

Professional :: History Doesn't Update - Can't Save Changes?

Mar 27, 2012

I have a problem with a couple flash files where making changes doesn't update in the document, the history won't update, and saving the file after changes is like saving the unedited file immiatedly after opening it.

View 4 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

ActionScript 2.0 :: Forward And Previous History Buttons?

Feb 17, 2009

Good day every one, i am relatively new to flash 8 and i am working on a flash project, not meant for the web, i am creating an interactive map app..the problem is when the user has navigated through a series of pages i cannot get them to go back to previous pages they have visited, and this pages can be randomly selected, keeping in mind it is not viewed in a web browser but a stand alone application.

View 0 Replies

ActionScript 3.0 :: Remove History Entry From Swf Address Somehow?

Nov 18, 2010

Is is possible to remove history entry from swf address somehow?

View 0 Replies

ActionScript 2.0 :: Hide Recent Browser History?

Feb 8, 2011

I am currently working on a project similar to this link, thehideout.org.uk/refuge and require some help with scripting a button. The button is called "Hide my visit" on the above link. When clicked it takes you to an external link whilst hiding your browser history.

View 1 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

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

Store Actions In Flash As3?

Jul 23, 2010

I am trying to create a history of the actions, perhaps stored in an array, I make in flash so that I can have a button that allows the user to go back to a previous action

View 3 Replies

ActionScript 2.0 :: Php In Flash E-store?

Apr 4, 2005

I have a theoretical question about constructing a e-store in flash. There are some free ready-made shopping cart systems for flash that use PHP. Why exactly is the PHP script used? To avoid running out of stock?Im not very comfortable with PHP, so I wonder if it is possible to make a simple shopping cart system using variables. For example after pushing a button add to cart the price and quantity is added to certain vars, that can be used afterwards to send the client the bill via mail.

I would like to offer clients to choose between bill to mail and bank link. Could somebody also tell if the var system can be implemented in the bank link system with SSL security and stuff? I will hire a programmer to do the bank link system just don't want to run into unpleasent surprises when the programmer will take a look at my var system and start laughing.

View 2 Replies







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