Make A Quit Feature & Maintain High Score In A Flash Built Android App?

Jan 6, 2011

I created a game in Flash and outputted it into an APK file for use in my Android phone. I would like to make a quit function so that it quits the game application when you leave.

Right now, I have to quit using task manager in my mobile. Also how do you enable it to maintain a high score in the game so that next time the user plays the game again, the high score is still there? Right now, the highscore is lost when you quit the game application.

View 1 Replies


Similar Posts:


ActionScript 2.0 :: Make A High Score Table For A Flash Game Where EVERYONE See's The Same High Scores?

Oct 11, 2003

how can i make a high score table for a flash game where EVERYONE see's the same high scores?

eg.

Bill gets 1000 in USA
Ben gets 1002 in UK

they can see each others scores on a high score table.

View 7 Replies

ActionScript 3.0 :: Flash - Make An Online High-score?

Mar 4, 2011

I have a question concerning high-scores.So I'm running an internship at a museum right now and I have made a game that currently saves high-score data through a SharedObject. However, they would rather have it stored online so people can see their scores at home after a visit to the museum, instead of having their own personal local top-10.What is the best way to do this? I was thinking of using mySQL or something of the same sort, yet I have 0 knowledge as to how that's done

View 1 Replies

ActionScript 2.0 :: Make A High Score Table For A Flash Game?

Oct 11, 2003

how can i make a high score table for a flash game where EVERYONE see's the same high scores?

eg.

Bill gets 1000 in USA
Ben gets 1002 in UK

they can see each others scores on a high score table.

View 7 Replies

Maintain High Performance With CS4?

Jan 4, 2010

I'm running Flash CS4 on a laptop and find it gets sluggish. I find when I restart my computer, I can work at a good speed for a while, but eventually it becomes very laggy - why is this?

Can I dump the cache files or something to simulate the restart? I've reduced the undo history to 10 - any other tips for CS4 on a mediocre machine?

View 1 Replies

Actionscript 3 :: Flash Game - High Score With Graphics Not With Text

Jan 1, 2010

is it possible to use graphics (the numbers 0-9 in one png-file) instead of a Textfield to show the high score of a game to the player? With a TextField it is easy to "refresh" the score but what can I do, if I want to use my png-files for the score? Is there a simple way to do this? How are other flash game designer do it?

My current solution (not tested, just in my head) is, to create 10 bitmaps (numbers from 0-9) or 1 bitmap with all the numbers in it and then convert the current score into a string, split this string and for every digit show the matching bitmap. Update: or should i try to use filters on the textfield to create a "more beautiful" score?

View 2 Replies

ActionScript 2.0 :: Creating A High Score Table In Flash Using External File Handling

Feb 8, 2012

Creating a high score table in flash, using external file handling, can be achieved using server-side scripts, such as PHP. However, as this is not allowed for my game (school project), I need a way to write a few variables directly to a text file and read it back again. Is this possible? I am using AS 2.0. Any other ways in which a high score table, which is portable and can be saved and updated

View 3 Replies

ActionScript 1/2 :: High Score Table Writing A Simple Text File With Flash And PHP

Dec 23, 2010

I am having a problem getting Flash to work with PHP as I need Flash to read and write to a text file on a server to store simple name/score data for a games hi score table. I can read from the text file into Flash easily enough but also need to write to the file when a new high score is reached, so I need to use PHP to do that. I can send the data from flash to the php file via POST but so far it is not working. The PHP file is confirmed as working as I added an echo to the file which displayed a message so I  could check that the server was running PHP - the files were also uploaded to a remote server so I  could test them properly. Flash code is as follows:

//php filewriter
var myLV = new LoadVars();
function sendData() {
//sets up variable 'hsdata' to send to php
myLV.hsdata = myText;
myLV.send("hiscores.php");
}
 
I believe this sends the variable 'myText' to the php file as a variable called 'hsdata' which I want the php file to write into a text file. The mytext variable is just a long string that has all the scores and names in the hiscore. OK, XML would be better way of doing this but for speed I just want to get basic functionality working, so storing a simple text sting is adequate for now. The PHP code that reads the Flash 'hsdata' variable and writes it to the text file 'scores.txt' follows:

[Code]...

View 7 Replies

ActionScript 2.0 :: High Score List - Flash Cannot Create A Simple Text File

Aug 17, 2004

I want to create a simple high score list of 10 high scores of a game. From reading the forums I seem to get the idea that flash cannot create a simple text file. I don't have php or asp but do have cgi capability. Does anyone know where I can find a simple cgi-script that will allow me to write the text the cgi receives to a simple text file: game.sco I want to be able to write a single long string to it so that I create a string of values and can load it back in using flash loadvariables. I can create the string in flash... but how do I write it to a text file using a cgi script? the text file would include this string...I already know how to read it and split it to parse it into arrays:

[Code]...

View 1 Replies

Actionscript 2 :: Add Control Feature To A Flash Movie Built Of Compiled Movie Clips?

Oct 15, 2010

The movie was designed in several flash files, each has been combined into a single movie clip and then all the movie clips have been moved into the master document.

Each movie clip is on a single slide.

They play through and when a clip reached the end I have used the actionscript root.gotoAndPlay(x) where x is the slide number of the next clip in the sequence as such my timeline looks like this[code]...

View 1 Replies

ActionScript 2.0 :: Flash8 With High Score Table?

Dec 28, 2009

I need some urgent help with my high score table. My scoreboard was based of a tutorial that I found using php and flash to create a scoreboard. When I use the scoreboard in flash (using ctrl + enter) the scoreboard runs fine... It uploads the new name and score and reads the scores from the board then loads them to flash. But the problem is as soon as I try to use the created "*.SWF" file, it acts as if nothing is meant to happen... I click on the button to upload and reload the scores and nothing happens at all.

I loaded the file onto the same FTP site i'm hosting the scores and the PHP file and the scoreboard once again worked fine. Upon trying to post it anywhere else, the scoreboard won't work.

I have the local playback security setting set to "Access network only".

[Code]...

View 1 Replies

ActionScript 3.0 :: Localized High Score System

Jan 21, 2011

I have a game which I'd like to take to an exhibition for people to test on the stand, but my high score system is on the server at the office and there is no internet connection at the exhibition hall. I'm wondering what the best method of having the high scores would be.. would I need to install PHP MySQL onto my laptop and run the high scores locally, or is there another method I could adopt that won't take too long to set up... XML for example..

View 1 Replies

ActionScript 2.0 :: High Score Class With PHP Backend?

Feb 28, 2004

I have been getting mps about how I did my high score list in my footer ever since I made it. But because I didnt know any PHP back then the high score list in my footer is all Action Script except the writing to the txt file bit. It is still every buggy and doesnt work very well. So thats why I didnt what to give it to any one because I knew I would never hear the end of all the problems people would have with it. But seen as I have got better at PHP now I made a system where the PHP does all of the work. It works better and its dynamic. I made a flash class that formats the score to an array and can communicate with the PHP file so it would be easy to used.

[Code]...

View 1 Replies

ActionScript 3.0 :: High Score Table - Ascending Order

Feb 9, 2010

I am creating a high scores table and is working fine except it doesn't like ascending. Can I not just change it to ascending?
ActionScript Code:
function to sort the list
currently sorts with highest time at the top
I want to have the quickest time at the top
function adding(evt:MouseEvent):void {
highScores.push([ScoreInputName.text,ScoreInputScore.text]);
[Code] .....

View 2 Replies

ActionScript 2.0 :: Submitting High Score To Remote Server?

Nov 15, 2009

I am wanting to have a high score function at the end of my game. My code is generating a URL, but is then appending it with &onLoad=%5Btype%20Function%5D which is making it fail. If I past the code manually into a browser, removing &onLoad=%5Btype%20Function%5D from the end, it works perfectly.The URL that is being created is:

[URL]

My code is:

System.security.loadPolicyFile("C:path....crossd omain.xml");
var score:Number = 1001;
var hsname:String = "FlashTest";
function addHighScore(returnFrame:String, name:String, score:Number, code:Number) {

[code]....

View 2 Replies

ActionScript 3.0 :: High Score Table Setup - If Statement With Variable

Feb 9, 2010

I am trying to get a high score table set up and I have it all working except for an if statement which decides whether to put a zero in the time or not.
ActionScript Code:
variable declared at the top
var gap:String;

This is getting data that is stored - it works fine except for the underlined "gap" - The "gap" is meant to be calling the variable which has the below if statement
ScoreInputScore.text=String(SpotTheDifferenceGame._minute)+gap+String(SpotTheDifferenceGame._second);
if (SpotTheDifferenceGame._second<10) {
gap=(":0");
} else {
gap=(":");
}

I thought by have the variable called in in the function and having the if statement with gap= it would do the specified text in the dynamic text box. When I put a trace on "gap" it traces with the correct text depending on what the number is but in my dynamic text box it displays as number null number.
// displays like this when trace put on it
:0
// displays like this in dynamic text box
2null02

View 1 Replies

Actionscript 3.0 :: Produce High Score Table For Online Game Using Document In Same Location?

Jul 11, 2010

I've been looking on the net for some time now (about 4 weeks on and off) and i've come across various ways of producing high score tables for both online and offline games. My query is:

Is it possible to produce a high score table for an online game using a document in the same location as the swf without using a PHP, SQL or any of the like languages? Either using a text document, xml, another swf or something else like that?

View 1 Replies

ActionScript 2.0 :: Create A High Score Table Offline That Doesn't Need Php Just Relies On Dynamic Textboxes?

Jul 29, 2010

I am trying to create a high score table offline that doesn't need php just relies on dynamic textboxes.I am basing it on a kind of random football results generator. I have been able to get the random scores and add points to a team depending on the score but now I would like to be able to display them in a 'league' table based on their points score.

View 7 Replies

Actionscript 3 :: Playing Video In AIR App Built For Android

Jan 5, 2012

I'm building an app that plays video in AIR for Android.when I package the video into the apk and set the source like this: FLVPlayback(player). source = "clip.mov";It loads and plays, but as per this discussion, it's very jerky, and I'm trying to implement the suggested solution of loading the video from the DCIM folder instead of packaging it with in the apk.When I put the video into the DCIM folder (manually) and then call this:[code]
Nothing happens (it reports the path correctly as /mnt/sdcard/DCIM/clip.mov, which I can see is sitting in the correct place on the device's file system).I seems like some sort of permission thing, but I'm not sure what permission I'd need to set for this to function correctly.What's the correct methodology for loading video from the file system into FLVPlayback component that is slated to run in Android?

View 1 Replies

ActionScript 3.0 :: Getting High FPS On AIR For Android?

Dec 2, 2011

I am working on a small educational game which is made in Flash and ported on Android via AIR. I'm having hard time getting desired FPS (which is 20) on Android device (It's Vizio tableturl]....).Main problem is score card which is 1024x768 movie clip with 45 frames. Earlier we had vector graphic movie clip which totally messed up performance, now we have converted all frames into JPEGs and we're getting average of ~8 FPS when score card comes.

how to get higher FPS? I personally think that score card is very big in resolution. But am I missing any tricks or special method for mobile device rendering?I was thinking to try Blitting... has anyone tried and got really positive results outta it?

View 7 Replies

ActionScript 2.0 :: Make Drag And Drop Quit Dragging?

Apr 25, 2005

I have several drag and drop interactions in which they get points if they drag it to the correct position. The problem is they can move it out and back again to keep adding points to their score. I need to put some code in the correct portion of the drag and drop code that will make the word stay where it is when it's correct instead of letting them drag it again.

View 1 Replies

ActionScript 2.0 :: Make Drag And Drop Quit Dragging

Apr 25, 2005

I have several drag and drop interactions in which they get points if they drag it to the correct position. The problem is they can move it out and back again to keep adding points to their score. I need to put some code in the correct portion of the drag and drop code that will make the word stay where it is when it's correct instead of letting them drag it again.

View 1 Replies

Professional :: Make A High Resolution Gif In Flash?

Apr 7, 2011

So I've been surfing the net trying to find a way to get a 100% resolution from Flash to Gif and can't find it.Here is the deal, I've got Adobe CS5 and I started doing animation in photoshop. It took forever but once I got it done it looked awesome and I could easily transfer it into a gif via 'save for web and devices".Because it was taking forever I decided to learn flash and after a day I got the basics pretty much figured out and made my first .swf file. I then went to turn it into a Gif and the resolution sucked and the timing was off.

View 1 Replies

Make A Flash Full Browser Background With High Quality?

May 19, 2009

How do you make a flash full browser background with high quality like here: [URL](choose your language at first. After that opens up a screen with a full browser bitmap man on the left size.)I have been trying to make such scalable high quality background image but the results have been poor.

View 8 Replies

ActionScript 3.0 :: Make A Score Counter In Flash CS5?

Sep 20, 2010

Iam trying to make a flash counter for a shooting game where each time you shoot a enemy you get 10 points. Does anyone know the code for score counting. I have made a dynamic text box with the word "Score" in it.

View 7 Replies

IDE :: Make Flash "scaleable" In Browse But Maintain?

Sep 13, 2009

How to make flash "scaleable" in browse but maintain

[Code]...

View 1 Replies

Android :: How To Make Application Of Flex For Android

May 17, 2011

Actually i have created one dashboard in flex. But now i want to integrate this dashboard or make same dashboard for Android.

How i can achieve this? I want to make dashboard for Android.

View 2 Replies

Creative Pro Make Webpage Feature?

Sep 20, 2009

On the creative pro website [URL].. they have a block at the top with images that change. It is titled 'today on creative pro' Does anyone know how they created it? Was it with Flash?

View 3 Replies

ActionScript 3.0 :: How To Make Search Text Feature

Oct 8, 2010

how, i repeat, how to make a search text feature like this:url...are they using Flash? i think so, but i'm totally clueless how.

View 6 Replies

ActionScript 3.0 :: Make A Preloader For A Site Have Built?

Dec 15, 2009

I am trying make a preloader for a site I've bulit.I did this site via the displaylist the whole thing and I have every pages linked togther as actionscript files

View 0 Replies







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