Actionscript 3 :: Get The Geo-location Of User?
Jan 20, 2012I'm building a small web app in Flash. Is there a solution to get the geo-location of a user?
View 1 RepliesI'm building a small web app in Flash. Is there a solution to get the geo-location of a user?
View 1 RepliesIs there a way to know the user's location(country)? I know I can use a php script to get user's ip address but not sure about user's location.
View 2 RepliesI am trying to save user location in a course. I am looking for the a simple way for a new Flash CS4 and Actionscript 3 user. The program will be copied to the users hard drive. I am creating a course that has 3 topics each with about 8 sections. The user can go to any of the topics in order and when they complete can do a final assessment. I am looking for a simple way to keep track if the user has finished any of the topics, then to keep track of where they are in a section, so when they return to the program they can pick up where they left off. Also, wondered if their is a next label command like the nextScene command?
View 4 RepliesUnderneath the playing video (of a building) I have an image of the floor plans of the building.When the video .flv file is clicked, i want a "red dot" or some sort of pointer that will move, or appear on the area of the floor plans, in comparason to which video is being played when clicked. - something that runs like a mini map inside a game, where it shows the user where they are in relation to their environment
View 0 RepliesI'm using the Google Analytics library (AS3 mode) .swc to track some click statistics.Now I'ld like to get the users location. Does anyone know if it's possible to do that with the Flash Google Analytics library?
View 1 RepliesI 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 RepliesI'm currently working on a project where I want to incorporate "find a location" functionality using the user's zip code. Basically, the user needs to be able to type in their zip code and once they hit the submit button, they are then taken to a page where it lists all locations available. Mind you, the website is ALL Flash. Currently, it's in ActionScript 2.0, but I could (at least with these pages) convert to ActionScript 3.0 if needed.
View 8 RepliesI want to know the 'file path' when an user selects a file from 'any location' on his hard disk. I like to know is it possible to fetch the entire file URL instead of the file name alone?
Code:
var fileRef= new FileReference();
fileRef.addListener(mylistener);
mylistener.onOpen = function(file){
[Code]....
I am trying to make an object tween from its starting location to the location of a mouse click. I have a script, but it has a very annoying ease to it.I would LIKE the object to mantain a certain speed during while traveling from its starting location to the mouse click location.
View 16 RepliesI created a simple button that displays an error messeage: "error opening 'url" when I test the movie, but does play and opens in browser after publishing. However, it won't open in the browser in a different location. I pasted the html code in a web page but it doesn't work there nor opens in the browser in a differnet location from where it was originally published and saved. Why is that?
View 13 RepliesHow can I move my MC from one location (x, y) to another location (x1, y1) wirh action script..?.. and I would like to have my motion tween rounded to (x,y) so it will look sharp.
View 8 RepliesIt is possible to make file transfer from air application via server?I think need to create like byte array streaming or somethink like this from sender and write the destination file on receiver user pc.
View 2 RepliesI wonder wether on a website like chatroulette for example, the streaming video is going directly from user to user or wether it is going through a server.
In other words I wonder wether it is possible to offer a webcam service on a website, so that the streaming video goes directly from user to user, without overloading the system.
is it possible in actionscript for the user to type in a box from a keyboard like a user input text box..
View 3 RepliesWe have a sort of game, generated with Flash in AS3, on our website where the reader is invited to eliminate the California Budget Deficit. It's connected to a database where we keep track of the responses and print them in chart form and post the results on the website so everyone can see the most popular budget items the readers want to cut.
See the interactive in question here:
[URL]
We've had many, many requests to have an option where the reader can get a copy of his/her choices that he/she can print out. I've thought about having a movieclip pop up that shows those choices (and that would be simple enough), but in addition to that, what I'd really like to do is have a way to download those choices to the reader's computer as a text file or maybe have a "Print" button on the movieclip showing the choices that would print just that movieclip. The database we have wouldn't really be suitable because it's set up to simply show which were chosen and which not, and the names of the submissions and choices are variables that don't really mean anything except to us when we put it all in an excel file.
I have some text that says go to page with a input textfield box and a go button. This is a flash cs4 file.I want to have the user input the page number and have it go to that frame.I am using actionscript 3.0 and have bought 4 books and researched online and still can't find what I am looking for.I can make the go button go to whatever page I want I just don't know how to get the information the user put in the box.
View 2 RepliesId like to find a gallery with user sign in , and user uploads but how difficult would it be to put in a gallery component ,and make a button to allow users to upload straight to a folder on the server? once th epicture is on the server the gallery will do the rest auto
View 1 RepliesFor one of my projects I need users to be able to communicate with each other in an audio mode. The thing I'm concerned about is the scalability of the project if it even gets big in terms of bandwidth consumption.
What are the alternatives to passing the audio through my server to the users?Is it possible to create a link between two users so they can exchange their stream of data (audio in this case) so that it doesn't pass through me, while still being able to control the time they've been connected to each other and some other information?
As for now it's just an idea I have in mind but I don't really know what to look into. I think it will probably need to be some plugin dependant solution so that's why I tagged the question like that.
I'm not looking for a concrete solution, just a little push in the right direction from someone who has been through something similar.
I've been reading a lot about the benefits of Object Pooling. Found some "tutorials" online, all above my skill level. Can anyone please show me an extremely simple example of an Object Pool. What my game does is creates Ball objects when the user holds down the mouse, stops when user lifts up mouse. I need to store these Ball objects in an array(or Vector), and hit test them with other objects, removing them from the stage when the hit another object. I'd like to create a pool of say 20 of so, created once, and recycle them.
[Code]...
I have a problem with a dynamic video player that I have created in flash. The video player is "SCORM" compliant so that when the user clicks the "exit" button a class file is called to mark the user complete in an LMS.I have tested the SCORM Code previously and it works with out issue. Usually I have the completion code embedded in an Actions Layer of the movie. This is the first time I have attempted to call the completion status in a class file, I have added a "trace statement" when the movie is tested within flash it runs the trace statement properly, but when uploaded to the LMS environment the course does not complete properly
View 3 RepliesI have a series of swfs that I've connected via loadmovie. This works well with I press the NEXT button, but not the PREVIOUS button. The PREVIOUS button starts at the beginning of the called movie. I need it to start at a specific location. Is that doable? If yes, how? I tried adding the gotoandplay after the call to the swf, but no luck.
View 2 Repliesis it possible to show my Town (find by IP) / Town of my Provider in Flash File?
View 2 RepliesHow do you change this code so that it works when the swf timeline its on, is loaded into a movieclip on a main swf stage (_root.loadarea)It works fine on its own but dont when loaded into the loadarea mc.
Code:
var format = new TextField.StyleSheet();
var path = "http://www.kirupa.com/developer/mx2004/code/flash.css";
var quick = "<br><p class='one'>The quick Kirupa jumps over the lazy dog.</p>[code]..........
I have a flash file that calls a XML file to give it commands, such as color etc...
I want to change the name of the XML file, but am not sure how to change it in flash so that the SWF knows where to find the XML.
I have been working with xml sheets to load a menu and in order to load a submenu or to go to a submenu of a submenu, I was wondering if it is possible to load a variable location for an xml.
For example, if I had the variable xmllocation which was a string that said where in an xml a certain menu was, is it possible to use the xmllocation variable for something like this:
( if xml.xmllocation.length() > 0 ) do something;
whenever I tried messing around with it, it would actually go to look for "xmllocation" in the xml instead of check what the string is. So what I guess I am really asking is, is there a way to tell it not to be so literal?
I know the basics of tweening with action script but I have a picture set in the center of the stage at x = 50. On a click I would like that picture move - 10 x from that position so it will end the tween at 40. On a different button I would like to do the oppositie, + 10 x to its current position so if it was at 40 it would be back to the start and if it was at the start it would be at 60.
View 10 RepliesIs there any tutorials out there that would show me how to access the iPhones GPS location?
View 1 RepliesHow can I get the application itself full path in actionscript?
View 3 RepliesI am having a problem with finding the current URL displayed in the browser.
I have tried..
1. this.loaderInfo.loaderURL.toString()
2. var local:LocalConnection = new LocalConnection();
local.domain
Above two methods returns url of swf location but my requirement is bit different
Finally I have used. ExternalInterface.call('window.location.href.toStr ing');
but ExternalInterface.call('window.location.href.toStr ing'); will not work where JavaScript is disabled hence I would like to know if there are any possible way or hack to do this.
I am trying to duplicate a movie clip several times (to create a wallpaper from a background tile). However I'm running all code from the first frame of the file on the _root level, but the MC I am targeting is nested deeper. I'm sure I'm missing something obvious but I just cannot get the duplicated MCs to stay at the same location is the MC I am cloning!
The clip I want to clone is _root.core.bg.tile I want the duplicates to reside in _root.core.bg with names such as...
_root.core.bg.tile_2
_root.core.bg.tile_3 etc
Here's my code:
ActionScript Code:
function preloader()
{
loadImage(global_path + "assets/images/website/construct/wood-texture.png",
[Code].....