ActionScript 3.0 :: Online / Local HighScore - Both Viewable In SWF?
Feb 18, 2011Any tutorial that explains how to make a online high-score and a local one, both viewable within the SWF?
View 1 RepliesAny tutorial that explains how to make a online high-score and a local one, both viewable within the SWF?
View 1 RepliesI'm trying to develop a simple Flash game using Actionscript 2 (I know its a bit dated, but its a simple project that doesen't benefict much from AS3), and I came up with an ideia of implementing an online leaderboard that records and shows the highscore of the player.
This isn't anything too complicated, but I seem to be having problem finding resources online that explain how I should implement this. All I want is a call, probably to a PHP/MySQL database that records the player's name (which will be recorded via a input window) and its current score. It would also have to show the best all time scores, by order. I should remind you that I am working on a Actionscript 2 so Actionscript 3 solutions are probably not going to work.
For some reason when my swf is published online the elements show up pixelated but when its local it looks fine. the object is set to high quality in the html.[url]...
View 1 Repliesfor some reason when my swf is published online the elements show up pixelated but when its local it looks fine. the object is set to high quality in the html. kinda stuck on this one...
[URL]
I am trying to upload a local swf into a swf app that i have on my server, any ideas about how to do this?
View 1 RepliesI've made a flash-uploader in action script 3 which have worked on a couple of sites. I recently implemented it in a new site and made some few changes. It started working but suddenly it stopped working... If i make a .html site on my local machine and test it (or run it in flash) the uploader works perfectly. But as soon i run it from my server, it wont upload?? How the hell can this happend? Sorry for my language but for me it seems very not-logical.. And let me again say, it worked for a start, and without any further changes it stopped worked on my new server.
View 3 RepliesI used a fantastic XML video tutorial from this site -http:[url]...in a school project here - http:[url].....When I test the site on my local machine everything works fine,but, when I upload it to a web server , clicking on the thumbnails to change the video does not work - except for the first page of videos.
View 1 RepliesI am making flash page and i have put it on my test server:[URL]It works in ie and firefox but not safari. But when i try it in safari locally on my computer it works.
View 3 RepliesI'm using loadSound to load in external MP3 files and they load and sound great on the local machine but don't work when I upload the files to the web. I'm pretty stumped. The MP3 files are only like 10k and 60k so it can't be a size issue (I'm on a T1 line here at work too). Here is the site: [URL] Basically when you walk close to the fire you should hear the fire crackling and it will get louder as you get even closer. Everything works on my PC, just not online. Here's the AS code for the fire:
[Code]....
Is it possible to specify the viewable area of a movie clip?for example, lets say I have a Movie Clip whos area is 500 x500But I want to only be able to view it through a 100x100"window".So the size aspect of the movie clip stays the same. And theonly area that you can see is through the 100x100 window
View 2 RepliesI'm trying to load a local xml file:
xmlLoader.load(new URLRequest("../xml/xmlData.xml"));
But I'm getting this security sandbox violation:
#2148: Only local-with-filesystem and trusted local SWF files may access local resources.
I don't get this error when I embed the XML file directly with the EMBED metadata tag.
anybody knows of an easy way to create a highscore for a flashgame? PHP/MySQL is favourable but ASP/Access would work also,
View 1 RepliesI want to know how to using PHP with ActionScript 3.0 ? .. and I want Information About HighScore Games ..
View 3 RepliesBeginner Question: I am using the IFrame Component for Flex in Flex 4. The code below works when it is put at the top of the scrolling area. However, if I put it where it below the viewable area it will not render. I am a complete beginner to Flex. The interesting thing is when I resize the window while the HBox is in view, the Iframe will load. But scrolling to it will not. Below is my code. I have made sure everything is visible=true but it seems like I need to add a listener or somehow trick it to think that the window has been resized to get it to render. Anyone with an idea how to fix this?
[Code]...
I have an application whose dimensions are larger than the user's screen resolution. Typically, when adding a popup I would call popupManager. addPopup() followed by popupManager.centerPopup(), but this could cause the popup to be added outside of the user's visible area on screen.Is there a way to add a popup in the middle of the user's current viewable area instead?[code]
View 2 RepliesI've been playing around with this Highscore application but can't seem to get it to work... What it basically does is writing to and reading from a text file, "score.txt". I attached the .fla-file. Additionally, I have two php files, writeScore.php:
[Code]...
I know how to make a highscore system within a movie, but how do I make a highscore system in Flash that relflects all the highest scores from everyone acroos the internet who has played my game, not just on a single computer. I know it has something to do with PHP. I know the basics of HTML and XML and I am at an intermediate level in Actionscript.
View 5 RepliesI used to use Mochi Leaderbords before starting coding Adobe Air games for iPhone and Android. As the Mochi API doesn't have mobile support I had to find something else and found Playtomic. Playtomic is great and easy to use, BUT it's constantly down My players are complaing on how often the highscore server is down. For me it's like 6/10 times I try to view scores that it doesn't show.alternative free highscore system that works with Adobe Air for mobile?
View 1 Repliesis there any good tutorial on how to make a stage adapt to the browsers viewable space, with everything inside visible and with the correct size, not distorted? maybe a list of things needed to make it possible like the kind of layout?
View 9 RepliesIs it possible to specify the viewable area of a movie clip?
for example, lets say I have a Movie Clip whos area is 500 x 500
But I want to only be able to view it through a 100x100 "window".
So the size aspect of the movie clip stays the same. And the only area that you can see is through the 100x100 window.
Also, i want the "window" to be stationary, and have the movie clip pan around behind it.
I'm developing a game add-on/plugin which replaces a built in feature of an online game. The game loads an .swf therefore, my solution also has to be an swf for it to work 'in-game'.
I would like to be able to have the user press a button in the custom .swf I am making - and this would open an external application (amongst other things). I.e. if there was a button that said Notepad, it would open Notepad.exe on the machine.
My initial thinking was that i could have a XML Socket server 'daemon' runnning (c#) , which i could connect to with flash - however, as both the swf and the daemon are local, flash complained and gave this error: "Error #2010: Local-with-filesystem SWF files are not permitted to use sockets."
The only way i know to fix this - is to change the security settings of flash - not very user friendly!
So! Any thoughts on how I could otherwise go about this? I was thinking a custom http server could do the trick (connected with URLRequest) although i'm not too sure.
i am having a problem launching a local html file from my swf. i have a button called print that when clicked it is supposed to open the local html file and print out the content. this is the code i used on the button
on (release){
getURL("folder/folder/file.htm","_self");
}
[code].....
I have a SWF file located at the local network in the public shared folder that I do not control over trying to read the external file on the local network.
I am currently hitting instead an security violation
Error #2148: SWF file file://....mySWF.swf cannot access local resource file://...config.xml"
I've added the network path where SWF an XML file resides to "trusted locations" via Flash Player Global Settings.
The added network path is successfully displayed at the list of "trusted locations" within Global Settings Manager, but it does not look like Flash Player is able to really parse the local network path as a "trusted location"
FP 10.3.181.23, Win XP
I have a HTML box and load a local html file from the project. In this HTML file I use jquery and I want to load an image from my user directory. I see the image from my user directory but jquery doesn't works. I get this error:
[Code]...
But if I load an image from the app workspace, everything works fine (I see the image and Jquery works). Is this a policy problem? The error says that is a "null object reference" problem, but this can't be true...
I imported my SWF unto dreamweaver and previewed it on browser and it works perfectly fine, I then uploaded on server but it is not showing online, I have flash player 10, and have checked to see if all the files are placed in correct root folder. I tried saving SWF under a new name, and a few oher things but it is not working!!!! Been racking my brains for 2weeks....
Here is the site page. [URL]
I worked on this flash site and imported it in Dreamweaver to publish online. When I test the movie in Flash and in Dreamweaver evrything looks to work just fine, but when I upload the .swif and the .html files the video on the home page does not work!
[URL]
I'm trying to make a simple Flash application to be placed on a web site. It is intended to take data from an .xml file and display it in the Flash movie. There are a number of buttons that display different nodes of the .xml file when clicked. (Not all the buttons are functional yet in this code; I know that.)It runs just fine in Flash. It even runs fine when I publish it and then run it by clicking on the html file on my computer.When I upload the html and swf files to my server, the html file works fine (gives me a solid colored background) but the swf is just a white box, nothing in it and no functionality.Something needs to be declared, imported or linked, I think, but I do not know what or how to do it. (Most irritating is the fact that the code is substantially taken from an online tutorial, with nary a word about this issue.)
ar chineseSentence:Array=new Array();
[many other Array vars deleted for space]
var loader:URLLoader = new URLLoader();
[code]......
how would one go about getting a flash website online?
View 3 RepliesI'm having Trouble seeing files once they go online. Everything was just fine yesterday. But now whenever I export a file and upload it, it can't be viewed. They run just fine on my machine but when uploaded I get the "need newer version of Flash" message. And when I try to just load the swf it comes up blank. My older SWFs still work great, just the ones I exported today that are having problems.
View 5 RepliesMy friend wants to be able to update the sites text himself. Is there a way he can easily edit the basic text online without having to use Adobe Flash (it would be even better if he could add photos as-well). I was thinking I could get flash to read an XML file but I don�t know how he could easily edit that as heis not techie at all.
View 1 Replies