[CS3] Problem With GetURL
Hi, I've got a problem and I thought someone could help me out here.. I have a series of swf's inside HTML's. I need each swf to have a button which would load the next HTML with its movie instead of the previous one. I'm using :
Code: on(release){ getURL("hp.html","_self"); } in the buttons and though this would be very easy, everything needs to work localy, not onlline. Anyway, it doesn't work. If I change "_self" to "_blank" it does work, but not _self, _top or _parent.
Any Ideas? Thanks..
FlashKit > Flash Help > Flash ActionScript
Posted on: 03-29-2008, 07:45 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
GetURL Or Not GetURL That Is The Question ...
Hi, please bear with me as I'm not a Flash programmer so am stumbling around here.
I have a SWF which uses a GetURL to pass a variable into the address bar. The problem is the variable it needs to pass is required by the existing form the SWF is embedded on. For reasons I won't bore you with I can't simply reload the form etc so the problem is of course GetURL opens a new page and in so doing loses the form I need the variable to be passed in to.
My question is this therefore - is there an equivalent command like geturl which puts a value in the url bar but DOESN'T activate it i.e. as if you didn't hit go/return in the browser OR a way to stop getURL from loading the "new" page?
Hope this makes sense and thanks in advance for any help ...
Using GetURL With A CD
i am making a zine/CD. i am using GoLive for the html folder and the site creation. in the end, the entire site will be loaded onto the CD. in one html page i have a .swf and in the last frame i want a button that when pressed will launch an .html file from the website i intend to put on CD.
i have tried different ways of putting in the url...and get varying results but none that work.
I am using the GetURL action and each time i can get the browser to launch a blank window....but getting it to find my file in the CD is another story.
if the folder with the site is called AEZ....wouldn't a link like
/aez/file.html work???
apparently not since i tried that. also tried using just the file name
/file.html and i get a server not found message in the browser.
is there a different action i should be using??
HELP.....this can't be that difficult, right?
fuzzy on the coding of this, Julie
GetUrl
this is really easy, I'm sure of it, but its just doing my head in
I'm making an interactive portfolio, there are some buttons that link to html files that will be on the cd with the projector. I want to open these up but anything that I put in the getURL command doesn't work, e.g
getURL ("media/test.htm", "_self")
getURL ("test.htm", "_self")
getURL ("file://test.htm", "_self")
etc
etc
Am I missing something, or can you not target a file without using the full address. I can't use the full address as I don't know what drive number the cd will be on the users machine, anyone know how?
cheers
Niall
ndmccormack@hotmail.com
GetURL
Anyone know where a tutorial is on using the getURL function in Flash 5? (Im a Beginner).
GetUrl
I Can't seem to have a flash button put a page in another frame?
GetURL
hello to everyone,
as u can c i am totally a newbie in flash.
ok here is my problem:
In this .fla file (done by someone else) it has a set of buttons with actions, which is getURL. the URL parameter calling a javascript function on my html page which will when open the URL (passed from the flash button) in a pop up window.
Now what happened is the pop up window would load up the url and then load it up again, this leads to a problem of flicking flashing the new window.(this is only with IE, in NS it works fine!)
So I tested my javascript with normal html links that works fine no such thing, and then I have put "_blank" in the window parameter fo the getURL action, saved it. and this time when ever I click on the flash button, it opens up two new pop up windows, but with error loading the required page.
So I am just thinking if this is a side effect of the getURL action, ir there is a similar action I could use instead of getURL to call the javascript function? or if any of you have expirience the problem before and have a solution for it?
any ideas?
many thx in adv
ivy
How To With GetURL ?
I need to pass a variable onto a querystring using getURL. The problem that I am running into is that I have flash movie embedded in an html page. After an if statement has been ran through in the flash movie the user is directed to a different URL. In addition to passing the URL using getURL I need to pass a reference number. I've done this before using loadmovie, but since I need to change the entire page not just the movie that won't work. Any help or suggestions would be greatly appreciated.
The redirect URL would be something like this with refNumber being the variable:
/test/direct.asp?refNumber= refNumber
Geturl
Is there any way to get Flash to link to a local file instead of a website? I know there must be a way, I just don't know what it is...
GetUrl
anyone know how to use getUrl to send varibles to the formMail cgi script...
my script works fine with an html form, just can't seem to simulate it in flash.... i'm probably doing something really stupid!
any ideas?
GetURL
I created a cd in with a Flash intro. when you click "enter" I have the
flash intro exiting and opening a browser window. It works fine on all
systems I tested it in except Windows 2000 ME. In 2000 ME, the flash
intro exits but does not open the browser. The problem has to be the
link in the enter button. It is...
geturl ("ra.html", "_blank");
tried this path also...
geturl ("./ra.html", "_blank");
Please let me know. Thanks.
Geturl....
Im wondering if anyone can help me on this problem.
On my website,i want to link to a url.I want to know how to tell tha url pop-up a specific location on where it should pop-up too using x and y co-ordinates..
I know how to resize tha pop-up,its just that i dont know how to control where it goes on tha screen.
Geturl
Hi!!
I've made a page with 3 frames, one on top, another on the middle and on the bottom.
on the top frame a have a flash menu and i want to open an html page in the middle frame by pressing on the flash menu in the top frame and i don't know how can i do it.
i hope you can help me... thanks!!
GetURL
I have a question about the getUrl action. I have an action that is supposed to open a html page within the same directory in a seperate window, but when the button is click with the getUrl action it doesn't open. Here is the action:
on (release) {
getURL ("memberform.html", "_blank");
}
What am I doing wrong??
Cgi + Geturl
okay, i am making my flash site a member oriented site, but i have no database experience.
Can anyone direct me to some tutorials/sources for a cgi+flash database????
Thanks.
GetURL (
Plz help?
Im linking two movies together with this code...
on (release) {
labeltogo = "Start";
}
on (release) {
getURL ("javascript:go()");
}
on (release) {
stop ();
}
I've successully added (start) to a frame(START) but how do I add or link labeltogo + "Start"; to a movie clip?
I need this info badPlz...
Any comments?
http://www.Thank You in Advance.com
>>>getURL<<<
hey guys... its me again...
this time I need to know why my getURL actionscript isnt working...
on (release) {
getURL(www.flashkit.com, _blank);
}
is there something wrong? am i supposed to check/uncheck the Expression boxes??
GetURL
I am making a product CD. On the MC, I created a button with a getURL link to a html file stored in the same folder as all the Flash files.
on(release){
getURL("D:abc.htm");
}
However, when someone installed the entire cd into their C drive, the getURL does not work because it is still looking at the D drive. Is there anyway to fix this? Thanks
GetURL......?
Hi,
I need a shaking window, and this the script i put in my Main movie,frame2
getURL ("javascript:shake_xy(5)");
Is not working, don what's wrong, can someone help?
Thanks
GetUrl Not Getting
on (release) {
getURL ("javascript:window.open('path.html','Design A Helmet','width=660,height=400');void(0);", "_blank");
}
I get all kins of browser errors when I use the javascript.
If I just put a path in there it works fine but I get the sloppy
browser window.
Peace
-Kvn
GetURL
I asked this in a thread lower down, as a side Q -
what variable do i need to use with getURL? I'm using a flash navigation system to control HTML pages below it on a webpage.
i use getURL, and put in the address of my page, but what other variables are needed? WHat is the Method and Window?
Cheers, and sorry for the double posting folks.
Sfilter
GetURL
Hi folks, I am brand new to this board and I have a question for you about the getURL function or equivlent.
I have a movie clip with a button inside it.
My code is as follows:
on (press){
getURL("mailto:blah@blahblah.com","_blank");
}
The problem is I simply want this link to bring up e-Mail but I cannot get it to work. If I put a real URL in place of the mailto: then it does work so I know I have everything else correct, I just don't have the right function or syntax.....can you help. I am using FLASH MX. Thanks a million
bevans@op-f.org
GetURL
Hi,
I have a little question about "getURL".
I have this code on a button:
-->
on (release) {
getURL("/1_dak_wand/33_250_1000_k.htm", "_self");
}
<--
This doesn't work. The HTML page where the flash navigation is running is in the directory above the directory where the content page is situated:
products/products.htm
the page I want to go is in:
products/1_dak_wand/33_250_100_k.htm
What am I doing wrong? When I try this, the adres bar shows:
C:1_dak_wand45_333_1000_k.htm
and so the page doesn't load...
Thx already,
ilClandestino
GetURL
hi guys..
I have set Netscape 7.0 as my default browser.
when i use :
getURL ("http://www.google.com")
function it is not opening the requested page. It was working fine when IE was set as the default browser..
pls help.....
Help With GetURL()
This is what i'm doing. I want to send a string to a html page using getURL(); If I'm not mistaken, getURL has a limit of 256 characters and if i concat more d,e,f,g it won't work. but if i use just a,b,c it works. As you can see i have a really long string that I want to pass to the html page. I want to know if there is a way to be able to get that really long string on a html page. I was trying to break up the string. I even tried multiple tries of getURL() and trying to send it to the same page as bunch of strings. If you have any idea how to fix this PLEASE let me know.
-------------------------------------------------------------------
trial = "The Kings dont have the NBAs best record, but they sure look like the NBAs best team following their highest-scoring game of the season. They also showed that the Mavericks new and improved defense also might need a few years of work, just like Sacramentos defense did a few years earlier. Everybodys saying theyve got great players -- the best power forward, the best point guard -- but youve still got to come out and play the game, Webber said. It takes a while to develop what weve got. You cant just wake up one morning and say youre going to do something. Led by Webbers 16th career triple-doub-- and the second of his spectacular season -- and Stojakovics 23 points, the Kings jumped to a huge early lead that demoralized Dallas in the seasons first meeting between the Western Conferences division leaders. It was the Mavericks worst loss of the season. We just passed a test, thats all, Webber said. We were confident that we would. Weve been through a lot in the last four or five years. When we get in a situation like this, we come out calm, confident and ready to go.They still trail the Mavericks (31-6) atop the overall standings, but the Kings (29-10) have excelled in every high-profile game theyve played season.";
a = trial.substring(0,100);
b = trial.substring(101,200);
c = trial.substring(301,400);
d = trial.substring(601,800);
e = trial.substring(801,1000);
f = trial.substring(1001,1200);
g = trial.substring(1201,1387);
open= "javascript:document.write'<html><head><title>WORK </title></head><body>";
write = "javascript:document.write('";
close = "</body></html>')" ;
getURL(open + a+ b+c+ close);
------------------------------------------------------------------
Help With GetUrl
I have a flash menu bar and i want to use it in a 3 frame site build with Dreamweaver. The thing is that every time i run this Flash meny movie, every Url link in the Meny bar opens at the sime time.
Ex. of one of the codes in Actions-Frame is:
stop();
getURL("http://www.halliburton.com", "mainframe");
I want to click on the Link and only that spescial site should opens in the Mainframe in Dreamweaver. Can anybody help me solving that problem?
GetURL.......
I dug through about 20 pages of getURL posts, and didn't come across anything that fixed this, and my eyes are starting to blur, so I'm just posting my own ?...
Got an intro, that after it is finished is supposed to open the main site page in the same window. Doesn't.
On the last frame of the intro, I made a keyframe (have now tried in every layer, as well as its own), and added getURL("http://www.mysite.com/blah/blah.html" , and anything and everything I could find as the window parameter, from "_self", to "this", and I even tried "_blank"...(Not what I want it to do, but having it do ANYTHING would be nice at this point) with no success.
Even switched to Normal AS mode and clickity clicked my way through with no help. Made copies of the desired .html in every folder on the server...Nothing.
The intro page is made with Dreamweaver MX, and has a 3x3 table, middle cell containing the .swf file made in Flash MX.
Help.
Thanks
GetURL X2
Gotta small problem and need any opinions. This isn't really FlashMX exclusive, but figured there might be good answers from experience here.
When I launch a popup from a Flash Web Page or even a script intensive page (Java, whatever), my .swf in the popup tends to run a little slower unless I close that specific originating page behind. And of course you can't close an originating page automatically without the alert window. With that in mind my question is:
Can you launch two windows (1 _self & 1 popup) from the same button using onPress AND onRelease. Actually, I know it can be done cause I did it here locally on my computer, but will it cause problems on some computers out there or do you foresee problems doing this? The _self page would just be a "thanks for visiting" type page with no scripts or swf's embedded. Or would you have another suggestion to maybe fix my prob. Any comments appreciated.
GetURL
hi. i'm working on a pretty dense flash piece and now, at the end, i have a submit button which uses getURL to append a variable and i'm not quite sure how to do this with the proper syntax. here is my code:
getURL("http://www.domain.com?products=items", "_blank", "GET");
the variable i want to send is called "items" and i want the url to appear as such: http://www.domain.com?products=...
is my syntax right? i think i'm off.
thanks!
GetURL
Anyone who can tell me why the following happens?
If I click a button with
getURL("test.zip");
and then click a second button with
getURL("javascriptpenwindow1('http://www.winzip.com','WinZip','480','640','yes');");
the second button shows the javascriptpenwindow1(htt... and so on in the browsers address bar and clears the page. However, if I click the second button without clicking the first button, the javascript works fine.
Thanks for any input!
GetURL...
hey iv seen this prob hear before so sorry to post again.
i have a flash nav bar in the top frame of my site and it loads content into the main frame using get url commands..
it works fine until i load an external www. address into the mainframe, after this has loaded the buttons in the flash nav bar no longer work?
can anyone help?
cheers..
Geturl()
If I have a stop action in my first frame of a movie, how to I specify to start on frame 2 using the following example:
getURL("mainpage.html", "frameright");
My page contains movies that will be loaded into frameright once clicked.....but if I have a stop() in the first frame..how do I get around this??? Any help would be greatly appreciated.
GetURL
Need a little help with this. I do not seem to find the correct function so that when I click on an image a browser will open and retrieve the specified URL.
GetURL 5 Vs Mx
im using getURL to send info to a form on an asp page from the flash player. the page the form is on is protected by a password. normally, you enter the password once and it remembers it on that computer (presumably in a cookie or something). in flash 5, getURL bypasses the password after its been entered once, but in mx, it goes to the enter password page every time. anyone no why flash mx seems use a different protocol from flash 5? i even tried sending the password with the URL, but its no good. this is extremely frustrating since everything was working fine in 5. i'd just use that, but i need the functonality of mx.
any ideas?
thanks
GetURL
Animated button made in MX which links to a page, when testing works perfectly. However when uploaded to the net, the cursor changes when going over the link but if you click nothing happens at all.
Help!, thanks
How To Use GetURL?
Let's say I have a selection page with 2 buttons. One goes to a "news" page (news.html), the other links to a "album" page (album.html).
But now no matter which button I click, they both need to link to a page called "index.html".
"index.html" is divided into 2 frames, upper and lower frames. When I click the "news" button, it will open the "index.html" and the lower frames will show the content of news.html. And similar to the album button.
Also when I simply type index.html at the URL bar of IE, it has to defaultly go to index.html with news.html shown at the lower frame.
Is it possible to do this? and how can I write the getURL action for the two flash buttons?
Thanks
GetURL
Can i pass an anchor from a flash file to an other htm doc in a seperate frame?
getURL"file.htm#enclosures"?
thanks.
Josh
GetURL?
Hi all,
I have a button within my flash movie, that opens a pdf file into a seperate browser window using getURL....however I just want acrobat reader to load up on its own...without all the windows browser buttons and menus. How can I do this?
Cheers
GetURL
I am using getURL("mailto:")on a contact button and it opens up the e-mail program but also opens up in the browser window with the mailto: address in the address bar and says ACTION CANCELLED on the page and says it can't link to the page I am requesting. How can I make it so this page doesn't open and just the e-mail program opens?
GetURL Help
I have created this navigation based on an example old newbie gave me. It is woirking great with the exception of my getURL is acting wierd. I click many times and it doesn't goto the page I asked. Then after multiple clicks it does goto the page but in another window, even though I specified _self. I have attached the fla file if someone can help. Can anyone tell me why this is happening?
Thanks... Bubba
GetURL
I have created a Flash movie containing just one scene. On 3 buttons I have 'getURL' functions - these work fine. However, the function is now occuring on several other buttons with 'goTo frame...' functions. The scripting on each button is OK. What is triggering the getURL function on buttons that aren't supposed to getURL?
Any help greatly appreciated. Thanks
? About Geturl
I am making a button that when clicked opens up a new html page. I have done this many times in flash 5, but for some reason it doesn't seem to work for me in flash mx.
Am I doing something wrong? I put this on my button:
on (release) {
getURL("main.html", "_self");
}
When I click my button to test it, my AOL sign in screen pops up....?
Thanks for any pointers.
GetURL
In my Flash Im using getURL to call out a picture file (a pic file is nested in a folder i stored in a webserver)
I typed
"www.mysite.com/folder1/folder2/file1.gif"
for the getURL command.
When I published it and tested it on the net INSTEAD it goes to
"www.mysite.com/www.mysite.com/folder1/folder2/file1.gif"
which is an error.
what did i do wrong?
thanks in adv
GetURL Again
im back again,
im using getURL to open swf files and that works all ok, but what i want to do is open them from inside another folder (eg, "/ExtraFiles") and not just the root directory of the main flash file.
does anyone know how to do that?
tanx
GetURL PHP?
how do I make it so that inside my .swf, I have an action that's getURL, sending a variable to a PHP file, but not opening a new window or loading the PHP file into the window?
GetURL
Hi, how do I create an HTML pop-up from Flash, where I can control the size of the page and remove the toolbar from it?
GetURL
I wanted to open a window fullscreen. This is the code I used
getURL("javascript:window.open('aces.html','fullsc reen=yes');void(0)");
The window opens fine but when I close it the window it launched from is still there. I tried putting a target of _self but that did not work either.
[help]getURL...
I need to use a flash html file to call another html using getURL. I know how to do this, but is there a way I can use getURL or some other code to also tell it to go to a scene in the opened html. The code can't be in the newly opened html because I have several buttons calling on it at different times. I needed to split into many htmls for optimization. Otherwise it runs horribly slow. I need to know this soon.
Thankyou
GetURL
How do I make getURL run only after the user clicks the mouse on the swf?
Many thanks to anyone patient enough to respond!
GetUrl In MX
Ello
I have some images in my flash movie that are linked to html pages (same images just bigger)
All I want to do is have it so that the new browser window that pops up is constrained to a set size, has no options like scaling, back/refresh/bookmark buttons at the top, just the top bar that lets you close the window. I am tryin to do this using Dreamweaver but setting the window size in html doesn't work, do I need to use code in flash for this??
I have done it in the past using GoLive but 1. can't remeber how, 2. haven't got access to GoLive, 3. Only ever did it - html to flash movie in constrained window, never - flash movie to static image.
Hope some of that made sense and that someone can help, my website is nearly finished and this aspect of it would be miles better if I can work this out.
Cheers
GetURL();
I'm using getURL(); for a 'form' in flash and I get a whole bunch of stuff added to the adress it links to: (code)(url is of course the website address which I do not want to realease till it is completed):
on(release) {
getURL("url?p=login",_self,"post");
}
result:
url?p=login?label=Log+In&clickHandler=&width=60&he ight=20&textStyle=%5Bobject+Object%5D&enable=true& focused=true&useHandCursor=false&%5FaccImpl=%5Bobj ect+Object%5D&styleTable=&tabEnabled=true&focusEna bled=true&tabChildren=false&tabFocused=false&metho dTable=%5Bobject+Object%5D&keyListener=%5Bobject+O bject%5D&btnState=true&handlerObj=%5Flevel0&enable d=true&hitArea=%5Flevel0%2Einstance2%2Efpb%5FhitAr ea%5Fmc&incrVal=1&initx=3&inity=0%2E95&togx=4&togy =1%2E95&ROLE%5FSYSTEM%5FPUSHBUTTON=43&STATE%5FSYST EM%5FPRESSED=8&EVENT%5FOBJECT%5FSTATECHANGE=32778& EVENT%5FOBJECT%5FNAMECHANGE=32780
Is there anyway of fixing this?
|