ActionScript 2.0 :: Getting A Current HTTP Address
Nov 1, 2005
I'm sure this a common Actionscript method, but my websearch on how to do this is turning up no results.
Using MX 2004 I am trying to get the current value of the web address in which the swf is residing and have actions take place based on the HTTP locations.
ie;
var a:String = this.HTTPaddress;
var b:String = this.HTTPaddress;
(have certain actions take place based on above vars.)
i am trying to get a flash ".swf" file to set a variable for the url that the file is embedded on. i know there has to be a way! I am using the " this._url; " to get the url, but all it gives me is the url to that swf file. I want the entire page's address to be my variable, not the swf url. I am trying to send that variable over to a php page to write it to mysql, but i can't get it to give me the right variable.
lvOut.address = this._url; //this sends the variable to php it does send the variable, but the variable is not the full url to the page it is loaded on, it is the url to the flash file
I'm uploading a bunch of base-64 encoded images via an HTTP post. I'm doing this using the URLLoader.load() function. I've added a ProgressEvent, but it only gets fired for the response...after the upload is complete.
i am new on steaming & flash server; when we try to use RTMP over HTTP the outside client gets the internal IP address of the FMS server instead of the NAT one or public IP address, how can we solve this.
how to get your logo to appear next to the address of your web site when your website address is typed in, for example if you look at the website address at the top of the screen you see (logo) [URL]
So I want to read http streams using flash tcp sockets. I do not really need the http header at all - all I need is body which contains flv. so how to read http response body into byte array using flash sockets?
I would like to use a flash interface to display a list of 10. IP Address's and have a constant Ping on them, thenbe able to print out a report. The interface I can handel, is there a way to have Flash (Via PHP or XML) ping an IP address?
How do I get the IP address of a certain website using Flex 4 via an AIR application? I know that this is do-able using ping but how can I replicate the same only this time, using AS3 in Flex 4 and as an AIR application.
I need to find the IP Address of the system my AIR App is running. I found a similar question here. But the solution is with SDK version higher than 3.5 it seems. Can this be done using Flex 3?
Ii am trying to find the ip addres by using as3 in adobe Flash professional cs5. I don't how to do this. Is it possible to find the Ip address using as3?
Anybody know of a way to get the IP Address of a SWF's user? Almost every solution I've seen involves some kind of special install, ie SSI or java.net... I need a solution that works on a plain vanilla IIS webserver.
If there's no way in Flash, I'd settle for a javascript method, so I could then just pass it into Flash in some way.
I would like to make a website in which I can pass variables from the Address Bar to the Flash movie such as the website URL...What is the best way to pass variables the same way they are passed with the forces site?
Is there a way to get the address of object? Or some kind of Flash resource identifier for the object? I'm having an issue where certain fields in an object are different from the original object, but I'm not sure whether the object is the original object I expect it to be.
Basically I guess it is a reference problem I do have. (1120: Access of undefined property images)
For an image gallery I also do have a few text sprites which may have to much text for one side to display. Therefore I do have a scrollbar placed next to the text which should be able to move my text sprite within its mask.
My .fla at one point adds an InfoText (InfoText.as, extends Sprite) to an already existing sprite "images".
I have an eventListener called Update, in an action script file called "game". Whilst on the timeline of my fla I would like to to remove the eventlistener that's located in the as. file. What I'm looking for is how to address the eventlistener from the fla.
tutorial on deep linking or using swf address.Also my site uses currMovie for it's page transitions. I've noticed the examples seem to have all their pages on the main timeline. Is it possible to deep link with external swf's?
How do I read the url address i currently am in, using AS? I want to be able to read the variables passed and display different things each time. I've seen that before, searched this site for that, but nothing... I'm a little dizzy with the work and all.