Access IPhones GPS Location?
May 4, 2010Is there any tutorials out there that would show me how to access the iPhones GPS location?
View 1 RepliesIs there any tutorials out there that would show me how to access the iPhones GPS location?
View 1 RepliesI want my flash website to be viewable on iPhones but Apple does not support Flash websites on iPhones. I have heard of people just making a html version of the website or using Smoke, but I heard iPhone users do not really want to download a third party plugin to view Flash content on their iPhones.
Are there any other options that do not require you to redevelop the Flash website, like into HTML versions for example and if developing into HTML is the only option, how should you build the HTML version of the Flash website?
Is it possible to save a screenshot (bitmapData) to the iphones photo album? Kind of like fileReference can in a browser?
View 7 RepliesSay I've got a utility class in which I would like to access the stage (in order to get the frameRate).
I don't particularly want to force the user to pass in the stage to each method or set a static property on my class before using it.
Is there any way to get ahold of the stage without it being passed in? All I need is the frameRate!
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's too complicate to explain but I'll give you an example
I have an AS3 ResultEvent Object and this object has several propeties which can be accessed by this like:event.result.name or event.result.age and, I have this String variable: eventProperty:String that contains "name" or "age" How do I access to event.result. with the variable?
I 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]..........
So, you have a sprite, you draw some graphics, you set cacheasbitmap=true... I can't seem to access the newly created bitmap data, to access the dispose() method.
[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 RepliesHow can I get the application itself full path in actionscript?
View 3 RepliesI'm building a small web app in Flash. Is there a solution to get the geo-location of a user?
View 1 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].....
I posted this question a few days ago but didn't get a response, so I think perhaps I put it in too specific a context. I thought I'd try again and couch the question in more general terms this time. Unfortunately I can't move on with my work until I get this issue solved!
What I need to do is find a way to see if there is a MovieClip at a particular spot. So, say I have a random point and a bunch of random MovieClips. At this random point, there may be any of the MovieClips or there may not. I won't know what these are in advance. I need the ActionScript to tell me if there is ANY MovieClip at this random spot - and, if there is, what MovieClip it is.
I have most of the basics down in actionscripting. I want to learn a little bit more on if else statements. I have an issue right now that I am pretty sure needs to use the if else statement.
What I have is an FLV playing in a browser. When that FLV is done playing, I want it to getURL to a different location. So basically when the FLV is done it goes to the next HTML page.
I attempted and got this far :
[AS]
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
[Code].....
I need to use a variable name in a location, for example:
aS_mc.aScreen_mc.aScroller_mc.a1.gotoAndStop(_global.aPicture);
The a1 is what I want to change, I've got a global variable that changes to a1, a2, a3, etc, on another function The global variable I'm using is _global.aChoice
So, I've been looking around, and the only thing I found that I thought my work is
aS_mc.aScreen_mc.aScroller_mc._global[a1].gotoAndStop(_global.aPicture);
But this didn't work either
I want to create a map with functions similar to google maps where I can have a slider on the side to zoom in and out of the map, I am a little confused on how I am gonna do this slider :S ... anyone have or tutorials I can take a look at. I used to be a flash developer but havn't done anything in flash for over 2 years.
View 1 Repliesi have a button that opens a pop up window centered on the screen.What actionscript do i need to add if i want the pop up wndow to be say 100 pixels higher than te center of the screen?also, is there anyway to make the pop up borderless and add another button to close it---i'm going for a streamlined look and don't want all the "windows stuff---i already turned off the slider bar,code]
View 5 Repliesi have a little issue, this is the script:
import flash.net.navigateToURL;
import flash.net.URLRequest;
button.addEventListener(MouseEvent.CLICK, action);
function action(e:MouseEvent):void
{ var request:URLRequest = new URLRequest("novosti.php");
navigateToURL( request, "_self");
}
button is instance name of symbol - button, and like that script doesnot work there is error 1009:cannot access.....but when i put symbol with instance name button in form of movie clip, script works.
Is there a way in as3 to trace out the swf file's location. I.E. if the swf is located at C:/documents and settings/Desktop/folder1 How do I get the swf to return that path?
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 had the core of my site down for me, I believe in Flash 8 using AS2. I took over the site and attempted to learn everything that they did, so I could update it myself. The one thing that I can't figure out... is where they put the customized scrollbars they made for my site. There are some scrollPane components in the library, but I can't see where he put the custom scrollbars. The homepage link is here:The blue scrollbars are what I'm trying to find. When I add more content I want to be able to use the same scrollbars. If you need the FLA, I'll send it to you. I am pretty sure there is some default location that they're stored in though, and I'm just not seeing it
View 10 RepliesI downloaded a tutorial fla file and it contains 2 images of cars which seem to be under a folder called "bitmap assets" seen in the library panel. Now, since i have not created them, is there a way for me to somehow access them directly?
View 2 RepliesI installed the update to Flash 8 that allows for remotedebugging, and I had it all set up and working over the past weekor two. But, all of a sudden it's not working for me anymore.I wasable to access it by right clicking my movie from within thebrowser and selecting "Debugger", but for some reason the optionisn't available anymore. I've rechecked my settings according tothe livedocs, and ensured the swd file is in the same dir as theswf, but no dice.
View 2 Replies