ActionScript 2.0 :: Flash MX - How To Get The Current URL
Dec 15, 2002
I m making a flash application which will be loaded on different web sites. I have to get some data from ASP & when user exits from the application have to send back the data to another ASP.My problem is how to send & retreive data from ASP & FALSH MX.Second problem is how will i find the current URL from which my application is loaded.
View 1 Replies
Similar Posts:
May 31, 2008
I am having a problem with my flash not showing up in browsers without current flash player. I tried to use the following script but it did not work.I am just trying to make it to where if someone doesn't have flash it takes them to a flattened non flash page.
<SCRIPT LANGUAGE=JavaScript1.1>
<!--
var MM_contentVersion = 6;[code].....
View 3 Replies
Jan 3, 2011
I need to get the current OS and current browser in flash. How can i get it.
View 1 Replies
Mar 29, 2010
im really new to flash, how do i go about creating a variable which will get the current date and time and add 30 minutes to it ?
View 2 Replies
Jul 13, 2010
Is it possible to get page URL into flash ?
Without using ExternalInteface.call('window.location')
trace(this.loaderInfo.url) simply return URL from where flash was loaded.
View 2 Replies
Sep 29, 2010
I'm dealing with multiple hard to find/small/transparent elements within nested MovieClips in Flash CS5. Is there no outline window where I can get to an element through a tree format vs having to look around on the stage? The closest thing I've found is the Movie Explorer window, but it doesn't go any deeper than the scene level? But what about symbols with their own timelines?
View 1 Replies
Jan 19, 2011
I want to get the name of a function from inside that function. e.g.:
function blah() {
I want to get the string "blah" here, from the function's name
}
Or at least the Function object?
View 4 Replies
Sep 28, 2011
Is it possible to add a child to the current frame only?
I know you can just remove/hide them, and generate/show them again.
But isn't there an easier way?
View 2 Replies
Apr 23, 2009
What's the sanest way to achieve something along the lines of this.gotoAndStop(this._currentframe)?
What I want is that Flash re-loads the current frame as if I was using gotoAndStop (which does nothing if it is given the current frame as target frame).
View 2 Replies
Feb 8, 2012
I want to get my clients current Flash version.I've managed to get IF the clients computer supports Flash, but not what version he/she has installed.!
<script type="text/javascript">
$(document).ready(function() {
if ($.browser.flash == true)
[code].....
View 1 Replies
Jun 28, 2009
Is it possible for a flash file to retrieve the current url from the browser and populate a dynamic text field with that url?So say my swf is embedded at [URL]I have a dynamic text field in my swf labeled myText What actionscript would be needed for that myText field to recognize the url and populate with [URL]?
View 8 Replies
Feb 14, 2002
First, when i print my movie(properties 760 x 520) it is very small on paper. How can i make it fit the paper?
Second, how can i only print the current frame or what is on the screen from flash?
View 3 Replies
Jul 25, 2006
I want to print the current page (web page) when user clicks on a button.
View 14 Replies
Aug 5, 2010
Using SharedObject.getLocal I can get access to what appears to be an infinite number of files simply by using unique identifiers in the method call; What I want to know is how can I retrieve a list of all active files or shared objects that have been saved for my current domain.
I'm trying to write a save game mechanism that allows you to save your game (potentially many megabytes) so using a single shared object seems like it might cause performance issues however if I use multiple objects I'm not sure how I'd find out what has been saved without using an object just to specify the id's of the other saves - then my question becomes what happens if this "header" object is removed or deleted - how can the player access the other files?
A snippet from the flash docs:
Local disk space considerations. Local shared objects have some limitations that are important to consider as you design your application. Sometimes SWF files may not be allowed to write local shared objects, and sometimes the data stored in local shared objects can be deleted without your knowledge. Flash Player users can manage the disk space that is available to individual domains or to all domains. When users decrease the amount of disk space available, some local shared objects may be deleted. Flash Player users also have privacy controls that can prevent third-party domains (domains other than the domain in the current browser address bar) from reading or writing local shared objects.
View 2 Replies
Nov 29, 2010
For instance, if I have an ordered set of objects [a, b, c, d, e] with their tabIndex property correctly assigned, and the focus is currently on object c, I want to change the focus so that:
a) Nothing is focused;
b) Next time I press tab, object a gets focused.
stage.focus = null solves (a), however it remembers the current index causing object d to be focused when tab is pressed.
View 3 Replies
Sep 26, 2011
I need to know the available screen space in my current AIR app, but when I use stage.nativeWindow.width and stage.nativeWindow.height, I get the size of the window including the title bar. I'd like to know the "inner size", so excluding the title bar. How do I do this?
View 1 Replies
Dec 30, 2011
[Code]...
Say that ArrayVar is equal to 3 at the time funct1 is triggered. in funct1 i want the variable curIndex to be set as 3.
View 3 Replies
Mar 10, 2010
I am making a small game in flash, I would like to track scores but I cant figure out how to call the current username from joomla using actionscript. (creating the game in flex3)
View 1 Replies
Mar 11, 2011
I'm using SWFObject to embed Flash Videos. Is there a way to get notified as soon as the user hits some specific time marks of the embedded video? I.e. get a notification from the Browsers Flash Plugin?
My goal is to change the page content at specific times of the embedded video.
View 2 Replies
Oct 2, 2011
Is there way to make function in Action Script, or any other language, to stop all currently played youtube videos in current Tab?
Here's example, There are 10 youtube video objects on the site, i wanna have one button, to simply make them stop playing.
So, is there way to do this, and if yes, could you give any advices/directions where i can learn the technique?
View 1 Replies
Aug 30, 2011
I'm trying to sync video with content. I can use cuepoints in Flash CS5 for that, or I can use FLVplayercaptions to sync video with caption. Is there a way to know the current time of playback?
View 1 Replies
May 12, 2009
I have a small flash tidbit that is basically used like a menu. It scrolls through the thumbnails left and right, when clicked the pages navigates to the appropriate location. However, the flash movie jumps back to the beginning of the movie. Is there anyway I can get it to stay in the same spot when the page is changed? I tried using iframes, but this did not work out, it had the same result. ref:[URL] to see the problem scroll the images to the right and select 'wall boarder buddy' (fourth image from the left) this takes you the page and the flash resets to its original position.
View 12 Replies
Nov 19, 2009
In my project i need to add a button to print. When i press that button i need to print the current screen(or frame).
View 1 Replies
Aug 11, 2010
Some of my flash buttons do not work in FlashPlayer 10 but work in 10.1 So I wanted to alert a user to upgrade to the most current flash player 10.1 if he/she has 10 and visits my website. What is the best way to do it? My entire site is done in Flash and I am using AS3.
View 1 Replies
Aug 16, 2010
I was able to gather info on how to test and display users OS and FP version. However this info is "dormant" it is just being displayed on the screen.Does anyone know how to make an alert message to upgrade to the current Flash Player if a user runs the lower version?
View 1 Replies
Mar 3, 2010
Is there a statement in AS3 that will return current class and/or scope? I'd like to use that in trace statements so that I know the exact location of a trace.
View 2 Replies
Mar 30, 2011
How can I take a simple counter and I want to load the current count into a textbox?
My code:
count1 = new Timer(count);
count1.addEventListener(TimerEvent.TIMER,stopWatch);
count1.start();
[Code]....
1067: Implicit coercion of a value of type int to an unrelated type String.
View 2 Replies
Feb 14, 2012
I have a game made by Flash CS5 ActionScript3. I want to create a button in the game where I can save the current timeline of the game. For example, I stopped at frame 5 and save the game. So when I load it, I should instantly return to frame 5.
View 2 Replies
May 7, 2011
How do you load external swf files into your current flash document?
I have made a menu bar with 5 buttons. I want each button to load a new swf outside the current document upon mouse click.
This is the script ive got so far.. But its not loading anything [code]...
View 6 Replies
Nov 11, 2005
I'm looking at making some PHP Flash shortly to replace my current website, http://www.mathsnotes.com. I was thinking about allowing users to download a standalone version, i.e. the SWF file or an EXE file. My question is: Will the PHP still work, or is it parsed by another entity, e.g. the users browser?
Also, I wanted to add a live news feed - So is it possible to have flash check every frame ( like a _root.onEnterFrame() = Fucntion{ ... ) the mysql database to look for anything with a timestamp less than say, 5mins, and then display it? Or does PHP require a user to do something like "Update News"?
View 5 Replies