Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








Read Address Bar


I need a way to read the address bar, I know javascript supports the use window.location, but I don't know how to get the variable into my .swf




ActionScript.org Forums > Flash General Questions > Other Flash General Questions
Posted on: 04-08-2003, 02:00 AM


View Complete Forum Thread with Replies

Sponsored Links:

Read Address Bar
I need a way to read the address bar, I know javascript supports the use window.location, but I don't know how to get the variable into my .swf

View Replies !    View Related
Read Url Address
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.


thanks all.

View Replies !    View Related
Read Url Address
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.


thanks all.

View Replies !    View Related
How Do I Make A Little Picture Come Up Next To The Address In The Address Bar?
Please can someone tell me how to get a picture coming up next to the address bar in Internet Explorer.

I am designing a website for a company and they really want me to do this!

E.G. Dogpile.com
or flashkit.com has a little F

Pleasee Help!!!

View Replies !    View Related
Bought CS3 But Haven't Read My MX Actionscript, MX2004, Books. Should I Read Them?
I just bought CS3 and I am now debating whether I should read my Flash MX Actionscript bible, Flash 2004 Bible. I should have read them, but It's just hard to fit the time in.

Would I benefit from reading these books when CS3 is Actionscript 3? How much functionality is lost when scripting in Actionsript 2 and 1 as compared to Actionscript 3.

Would it be wiser for me to just learn Actionscript 3 properly and get a book on Actionscript 3 than waste my time on reading old scripting and technology?

Also is MC tween compatible on CS3, actionscript 3.

View Replies !    View Related
READ Mc.hitTest(mc2) Needed Please Read And Help
I've looked and looked but can't find one tutorial that works for hit tests.
player = g
box = box
I need a script for when "g" hits "box" "g" reboundes a bit
thx

see attachment if you are questioned about my stuff
DON'T LAUGH AT THE GRAPHICS! I'LL CHANGE THEM LATER!

View Replies !    View Related
Ok I Have Read And Read, But I Am Getting No Where. Please For The Love Of God Help
Ok I have developed an interactive map, by which the user clicks a button and information pops up into the dynamic box taking this from nodes in my XML file.

The client has requested the availability in typing information into the dynamic box (area), so really I need to change this into an input box, fine.

But then to click a save button, for the xml file to be passed the information, thus next time the information is presented on click of a button, as many buttons are applied to many nodes in the xml tree, i.e cw1, cw2, cw3 and so on.

I CANNOT DO IT!

I stress this because I am at my end, its taking me ages to get the data into a flash window from each node, and there are many. But now I am attempting to undertake the impossible. I have looked at tutorials from sencular, who really does know his stuff, but cannot do it.

It would be really kind if someone could help me for a simple approach dispite it not being simple as I dont have much time, and I am rushed.

So I am in desperate need right about now, so please help me.

So my aim is for the client to input data into the area after clicking a button, as currently I just have bogus text in each field, but they will be able to overwrite this in real time.

I am sure that asp, xml and flash are required to achieve this, thats fine, but I need help.

Tell me with it being an internal thing could we pass the information in holding into a secondr swf file.?

This is not for the internet, but an internal intra net.

Kindest regards for anyone willing to reply

View Replies !    View Related
Address Bar.
Hey,
I'm trying to make an address bar like that of the one in internet explorer, so that when you type in an address it's displayed, for example if the user enters 'www.mypage.com', then it should take the person to that website.

Thank you.

!phara0h

View Replies !    View Related
Ip Address
hello,


is it possible to get the users ip address by just using actionScript?

if there is what is the code?
if there isn't how else could i get the users ip?


thanks,
elo


http://www.transporter.at

View Replies !    View Related
Sub Address
hi, i have a flash website and want to upload another flash page to the site, but have it located at another sub address. so lets say the main website is at "website.com", i want to upload something to website.com/animation.


i want to be able to access website.com/animation directly, without going to website.com first.
how do i publish this?

thanks for any help, i probably should post this on the newbie board. but i'm not a newbie, i'm just dumb.


thanks

mc

View Replies !    View Related
How Do You Get IP Address
How do you get the IP address of the user that clicks on my flash button? I'm using Flash 5.

View Replies !    View Related
IP Address
Can you grab a client's IP address through flash a flash movie?

View Replies !    View Related
Is It Possible To Know What URL Address You Are On?
Pardon my ignorance, but is there a way to find out what URL the page is on? or am I missing a fundamental stop(); and something else?

I have a menu that I use in my htm documents for a web site to navigate through it. When a page is selected, an animation is played and it graphically indicates the new page being viewed.

The problem I have is that as soon as the page loads, the movie plays from the begining as the swf gets loaded again. I have tried a stop(); at the first frame, but then the movie doesn't go to the frame where it is supposed to graphically indicate what page the user is on.

My tought is that if I can somehow read the URL I am on, then on my first page I can do some if statements to take me to the frame for each particular page so the user has the right graphical display.

Your help is much appreciated.

View Replies !    View Related
Is There A Way I Could Get The IP Address....
Hi you all!!!

Is there a way to get the IP Address (from within the movie) of the machine the Flash Movie is playing on?

Here's the scenario: I have multiple Flash Movies playing on remote machines, and each one has to validate against a SocketServer I have running on the Server from which the movies where downloaded from. Now the validation "UserName" has to be the IP Address.

I need to send this IP to the SocketServer so it (The Server) can look up each machine on a DB.

As always, I'll appreciate any help.

Thanks,

Francisco

View Replies !    View Related
Getting An IP Address
Does anyone know if you can snag an IP address in flash. Would like to be able to restrict only certain IP addresses from being able to get into my swf file. Any help would be greatly appreciated.

View Replies !    View Related
IP Address
I was wondering if anybody can help,

I have only just started using flash/dreamweaver....... I have made up a contact form in flash that posts to a CGI script. On the form itself I want to display the users IP address, this is to stop people abusing the form.

I have no problem using something like shtml to get the ip but I do not know how to pass that variable into flash or if there is an easier way just using action script itself

Thanks for the help in advance

Grimmis

View Replies !    View Related
Ip Address
i want to know the ip address of users who have entered my website

View Replies !    View Related
Ip Address
i want to know information about the visitors who entered my site like their
ip addres and their dns name and when they entered the site

View Replies !    View Related
Mx: Getting Address Url
If I have an swf [nav bar]say on www.site.com/games
is there a way I can read the address and have a text field display games, then if I had the the swf nav bar on the index page, make the text field display home?

I dont mean by using _swf, becuase that only gives the address of where the swf file was downloaded.

View Replies !    View Related
How Do I Get The Url Address?
this is probably a very simple one:

i have a simple SWF in an html page.
this html page can get a query (index.html?some=thing )

in my swf i need to get the whole url and then forward the query to another url.

how?

View Replies !    View Related
Get IP Address
Probably silly Q here but am going to ahead and ask. I basically need a way to obtain IP address in flash. What I have so far;;

In PHP:

<?
$ip = getenv('REMOTE_ADDR'); //~ get ip address
$ip = "&ip=".$ip."&"; //~ make it a flashable variable
echo $ip; //~ spit it out
?>


In FLA with dynamic text box named "myTextBox" and on the first frame- the actionscript is:

myLoadVars = new LoadVars();
myLoadVars.specificvariable = "Value";
myLoadVars.sendAndLoad("http://www.mysite.com/ip.php", this, "GET");
myLoadVars.onLoad = function() {
myTextBox.text = this.ip;
};

Now it's not working. Can anyone help me out to get this fixed? Thanks!

View Replies !    View Related
Get IP Address?
Is there some way that flash can retrieve an IP address?

View Replies !    View Related
Get MAC Address
Hello folks,

I was wondering if there is any way to retrieve the MAC address of the client using AS?

Thanks

View Replies !    View Related
How Do You Get The IP Address Of A URL?
I need the IP address of a given URL. Is there an easy way to do this in Flash? Or do I have to use PHP to get around this?

View Replies !    View Related
Swf Address
the sample code that swf address comes like this:
but as you can see, in the line below it uses timeline to switch pages
gotoAndStop('$/error/');

my question is what can i replace gotoAndStop with so i can build the pages dynamically

thanks



ActionScript Code:
// Custom utilities
function replace(str, find, replace) {
    return str.split(find).join(replace);
}
function toTitleCase(str) {
    return str.substr(0,1).toUpperCase() + str.substr(1);
}
function formatTitle(title) {
    return 'SWFAddress Website' + (title != '/' ? ' / ' + toTitleCase(replace(title.substr(1, title.length - 2), '/', ' / ')) : '');
}

// SWFAddress actions
function btnClick(e:MouseEvent) {
    SWFAddress.setValue(e.target.deepLink);
}
function btnRollOver(e:MouseEvent) {
    SWFAddress.setStatus(e.target.deepLink);   
}
function btnRollOut(e:MouseEvent) {
    SWFAddress.resetStatus();
}

// SWFAddress handling
function handleSWFAddress(e:SWFAddressEvent) {
    try {
        if (currentFrame == 2 && e.value == '/') {
            play();
        } else {
            gotoAndStop('$' + e.value);
        }
        SWFAddress.setTitle(formatTitle(e.value));
    } catch(err) {
        gotoAndStop('$/error/');
    }
}
SWFAddress.addEventListener(SWFAddressEvent.CHANGE, handleSWFAddress);
stop();

View Replies !    View Related
SWF To Run Only On Specified IP Address
I'm designing and hosting Flash sites on my dedicated server.

Is there a way (script) for me to ensure that the SWFs only run if they are hosted on my server (IP Address)?

View Replies !    View Related
URL Address?
How do i know my application URL address??? Does it suppose to be like this...
http://localhosti forgot the port no.)/xxxxxxxx(where file/application existed)???
For your all acknowledgement, i'm installing flash comm sever under Developer Installation Mode and under Win XP OS, not under Window Server or any other web server... so am i suppose to have web server like apache or Window Server just to have the URL address??? am i wrong???

View Replies !    View Related
IP Address
I just added an option to send a text message to my cellphone on my site... I wanted to know if there's a way to get a users IP address using ActionScript, so that I can get it in case someone decides to stalk me...
Raf

View Replies !    View Related
Help With Mc Address
i need to include a text that is in a external file (txt). I can call him from the _root, but when i try to do the load from one movieClip it doesn't work.

this is the code that i put in the button:

on (release) {
loadText = new LoadVars();
loadText.load("data.txt");
loadText.onLoad = function() {
texto.text = this.historia;
location.text = this.location;
};
}

thanks in advanced!

View Replies !    View Related
Get URL From Address Bar
How can I have actionscript read the URL that is in the address bar?

I have an if statement that needs to compare the url in browser to a variable.


Code:
if(!pagesURL! == aLink) {
this.onpagebg._visible = true;
} else {
this.onpagebg._visible = false;
}

View Replies !    View Related
Ip Address
Anyone has any tips or has done displaying ip address in flash?

i just need to display in a simple flash page the ip address or location of the person who is viewing this file?

thanks.

View Replies !    View Related
SWF Address
I need to use this one a site I am working on, unfortunately the documentation isn't very good and I can't find anything else...

has anyone used this that can give me a quick run down?

Thanks!!

View Replies !    View Related
Help With Mc Address
i need to include a text that is in a external file (txt). I can call him from the _root, but when i try to do the load from one movieClip it doesn't work.

this is the code that i put in the button:

on (release) {
loadText = new LoadVars();
loadText.load("data.txt");
loadText.onLoad = function() {
texto.text = this.historia;
location.text = this.location;
};
}

thanks in advanced!

View Replies !    View Related
IP Address
Hi

I was searching the web about IP address and found this:
http://www.flash-db.com/remoting/?se...tion/Geography (I don't know if there is a better one or not)

You see, in any page that this swf is on, we can have the users IP address but what about saving IP addresses??!!

this technology dosen't worth if we can't save the IP addresses...


Plese tell me if there is a way to save the IP addresses or if possible give me a better link about this issue that can save the IP addresses too


Regards,
Ali

View Replies !    View Related
Ip Address
I have come across a few sites that show my I.P address listed on their page. Would anyone know where would I be able to find a tut on how to do the same for my site?

View Replies !    View Related
IP Address
Is there anyway that flash can actually get the IP address of the user as a text string? or in any shape or form


Z

View Replies !    View Related
Swf Address
How to use it? Or can anyone point me to a good links or documentation thanks.

View Replies !    View Related
Getting The End Users IP Address
I have a loadvariable command to load a variable into a Perl script. What the client wants is for me to get the IP address of the end user. What is the AS to call up the end users IP?

View Replies !    View Related
IP Address Locking
what i mean about ip address locking is that can i do a script in flash to lock on a certain ip so that my swf would only run on a server with my specified ip address?

View Replies !    View Related
Address To Clipboard ?
Hi,

IŽd like to give my users more comfort and let them copy my address (in my .swf-file) to her clipboard.
Is there a function in actionscript like"copyToClipBoard" or something like that? All my books beautiful Flash-books donŽt have an answer for this problem.

Can you help me?

THANX

View Replies !    View Related
MX ADDRESS ERROR
Everytime I open the actions panel in Flash MX I get the bomb and restart with the message 'address error' .

I have talked to customer and tech support and Macromedia and think it is the worst support program I have ever dealt with in my entire life. I am personally offended by how I am being treated as a customer.

Any help would be grateful.

I am running OS 9.2.2 .

I hear the gurus hang out in here : >


Eric
ericthelight@covad.net

View Replies !    View Related
Variable To Address A MC
This isn't working, please help...I think Flash is reading the variable cliptoplay)as a mc instancename...

this is the code in maintimeline:
var played;
var cliptoplay;
played = "no";
cliptoplay = "clip0";

This is the code on button one, will play clip1 after current clip (cliptoplay) finishes:
on (release) {
if (_root.cliptoplay == "clip1") {
continue;
} else if (_root.played == "yes") {
_root.cliptoplay.gotoAndPlay("end");
} else {
_root.clip1.gotoAndPlay("play");
}
}
whats the proper way to code a variable in a MC name?

View Replies !    View Related
Variable To Address A MC
This isn't working, please help...I think Flash is reading the variable cliptoplay)as a mc instancename...

this is the code in maintimeline:
var played;
var cliptoplay;
played = "no";
cliptoplay = "clip0";

This is the code on button one, will play clip1 after current clip (cliptoplay) finishes:
on (release) {
if (_root.cliptoplay == "clip1") {
continue;
} else if (_root.played == "yes") {
_root.cliptoplay.gotoAndPlay("end");
} else {
_root.clip1.gotoAndPlay("play");
}
}
whats the proper way to code a variable in a MC name?

View Replies !    View Related
Bookmarking And Address Bar
Please visit:

http://www.miniusa.com/crm/main.jsp

Do you see their toolbar on the top?
(Back, Forward, Bookmark, URL)

How do they accomplish this bookmarking and obtaining the URL Address? Is this just a cookie technology? Are they creating new web pages with different flash movies in them?

Can anyone share how to create a textfield in FlashMX that reads the browser's URL Address bar?

Thank you.

View Replies !    View Related
Address Bar In Flash?
I want an address bar like the one in Internet Explorer. But in flash how do I do it. I want it so if I type in an address it will pull up that site.

View Replies !    View Related
No Buttons ... And Still Get No Address Bar?
ok i have this code

on (release) {
getURL ("java script:NewWindow=window.open('http://www.blablabla. html','newWin','width=475,height=375,left=0,top=0,
toolbar=No,location=No,scrollbars=No,status=No,res
izable=No,fullscreen=No'); NewWindow.focus(); void(0);");
}


but its set for on (release), is there a way to make it so that if my website is launched and a flash animation auto-starts it will still be in an address-less window?

View Replies !    View Related
Movieclip Address
I have a movieclip(a) which can be loaded from any other movieclip, which could be anywhere in the main movie. When movieclip(a) unloads, I want to continue playing the movieclip that called movieclip(a). Is there an easy way of doing this? The only way I can think of is to somehow find the absolute address of the movieclip which called movieclip(a), but I dont know the commmand for doing that? Can anybody either tell me an easier way of doing this, or the command for reading absolute addresses of movieclips. Thanks

View Replies !    View Related
Address Error
Although I've reinstalled MX and reinstalled it, I keep getting the same annoying error when I try to access the Actions palette. "Address Error" and it crashes my system.

Is there anything that I can do about this? Not being able to script is severely setting me back on some freelance projects.

View Replies !    View Related
How Do They Put The Logo On The Address Bar?
Hello experts!!

Does any body know how to replace the Internet Explorer logo with your own inside the address bar. Google has it if you want to see what I'm talking about.

Thanks in advance.

View Replies !    View Related
Can Link To A Web Address?
Hey

Is it possible to create a link to an outside email address?

I can't seem to find a way to do that.

Thanks!

nad

View Replies !    View Related
Address Book
working on a address book in Flash 5 and having trouble with the actionscript that allow the user to update the information and "Save It" locally.Need HELP,quick


OlliebeGollie

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved