GetURL Or LoadMovieNum Lauches Browser Problem
hey guys and grils,
I have a major problem that needs some help.
for some reason this problem does not happen when I'm on a PC only on the MAC (I think)
here goes:
this is my code on a button:
on(press) {
_root.createEmptyMovieClip("apart", 7);
getURL("apt.swf", _root.apart);
_root.apart._x = 180;
_root.apart._y = 200;
}
what happens is that rather than loading "apt.swf" into the newly created movie clip, it launches a safari or IE browser window with the "apt.swf" in it!!!!
it does not load into my main movie...how weird is that???
I have even tried with loadMovieNum thinking that GetURL lauched the browser window but no, it still does not work. Can anyone help me on this? thanks
FlashKit > Flash Help > Flash ActionScript
Posted on: 03-04-2005, 03:52 PM
View Complete Forum Thread with Replies
Sponsored Links:
Fullscreen, Geturl, Browser Not On Top
I have a projector that calls an html page.
The projector opens fullscreen. If Internet Explorer
is not opened, the action calling the html page will
open the browser on top of the projector.
However, if Internet Explorer is already opened, when
I click the geturl it loads the html page but the browser
stays under the fullscreen projector. Is there a way to make sure
that the browser will open on top.
I have tried giving it the _top attribute in the window
box whatever that means! Nothing!!!
View Replies !
View Related
IE Compatible GetURL In New Browser?
This script on a button to make a new popup window works great in Firefox, but simply won't work in IE. Is there anything I can change in the following script so it will work in IE as well?
I am beginning to think maybe IE's default option is to disable all popups; if that's truly the case, is there other ways around it? I am working on loading a full sized images from a gallery by displaying it in a new window. I didn't want to load it into the flash movie because that would make the movie size huge.
Thanks in advance!
on (release) {
getURL ("javascript:NewWindow=window.open('http://www.mokoloco.com/samples/2d-milk.htm','. m o k o l o c o .','width=420,height=450,left=0,top=0,toolbar=No,l ocation=No,scrollbars=Yes,status=Yes,resizable=Yes ,fullscreen=No'); NewWindow.focus(); screen_height = window.screen.availHeight; screen_width = window.screen.availWidth; left_point = parseInt(screen_width/2)-(420/2); top_point = parseInt(screen_height/2)-(650/2); setTimeout('NewWindow.moveTo(left_point,top_point) ',100); void(0);");
}
View Replies !
View Related
GetURL Browser Differences
Hello well here is my first post !!
i have a simple flash menu at the top of my page the buttons of which run a simple get URL actionscript command such as:
getURL("mainlogin.html", "mainFrame")
to make the mainframe of the page change
I then have changed the "id" tags to "name" tags in dreamweaver.
The page works well on some browsers and some machines - but on others the mainlogin.html always opens in a new window.
please help many thanks
Russ
View Replies !
View Related
GetUrl Not Working If Www. Isn't Used In Browser
I made a navbar for my website using Flash CS3 Professional, ActionScript 2.0. The navbar works fine if you visit the site by typing the url in the web browser www. (mysiteaddress) .com. But, if the url is typed in as just (mysiteaddress) .com. Without the www. The GetUrl links do not work.
I tries just typing in text links with html and they work fine whether or not you use www. in the url in the web browser. This problem occurs in all web browsers, Firefox, IE 6, IE 7, Safari.
In my coding in the Get Url a reference the absolute url, tried it without www and tried it just as a relative url. Nothing seems to work. It wouldn't bother me that much but, when you search in google for my site the link does not have www.
Does anyone know how to fix this?
For reference, the site is www.brianmfrange.com. If you go to brianmfrange.com the Flash navbar getUrl links will not work.
*Also if I add _blank to the getUrl code the link works and opens in a new screen. Any other way does not work.
Edited: 07/09/2007 at 08:20:28 PM by bmfrange
View Replies !
View Related
GetURL To Open PDF Outside Browser
I am creating a standalone Flash projector in which the user will be able to click a button to view a PDF file, I am using the getURL method to open the PDF file and it opens in my default Internet browser instead of Acrobat Reader, which is kind of expected. Is there anyway to 'launch' to open in Acrobat Reader instead?
View Replies !
View Related
GetURL Set Browser Dimensions?
I need to link a portion of my flash movie to an outside URL, but I would like to make the browser window which opens a specific size.
I can do this in dreamweaver, going from an html page to another html page, but I can't find a way to set the dimensions of the new browswer window coming out of the getURL function in Flash MX.
Any ideas?
View Replies !
View Related
GetUrl Not Working In Browser
I searched and couldn't find what I need to fix this problem, if there is something already posted please give me a link and im sorry I didnt find it.
I have a flash site and I want to open a new html window from flash. The actionscript I am using is:
Code:
on (release) {
getURL("URL Here, it was blocked by the forums", "_blank");
}
When I open the page that is hosted on my server the window doesnt open, the button just acts like it has no action tied to it. What is weird is that when I view the local file everything works fine, it's just when I open the file after I loaded it onto my server.
I am using a Mac with OSX and I tried this with Safari and Firefox, both browsers had the popup blockers turned off.
I was wondering if anybody has any idea about what could be happening and how to fix it?
Thanks for any help.
:EDIT:
Ok so after about 10 minutes of sitting here it has decided to work. Im going to leave this question on here if it stops working I can get help, but if the mods would like to delete this post please feel free to do so.
View Replies !
View Related
GetURL Open URL In Same Browser Window?
How can I get Flash MX to open a link to a new page in the same browser window?
esp, while using POST, ie: getURL("nextpage.asp", "POST");
I googled for help, and the closest clue I could find is when you use something like this:
code:
getURL("javascript:window.open('uploadown.asp','th ename','width=300,height=300');void(0);");
It forces it open in a new window. Is there a different version of javascript:window.open that makes it open in the current window?
Thanks!
Liam
View Replies !
View Related
GetURL Open URL In Same Browser Window?
How can I get Flash MX to open a link to a new page in the same browser window?
esp, while using POST, ie: getURL("nextpage.asp", "POST");
I googled for help, and the closest clue I could find is when you use something like this:
code:
getURL("javascript:window.open('uploadown.asp','th ename','width=300,height=300');void(0);");
It forces it open in a new window. Is there a different version of javascript:window.open that makes it open in the current window?
Thanks!
Liam
View Replies !
View Related
GetURL Open URL In Same Browser Window?
How can I get Flash MX to open a link to a new page in the same browser window?
esp, while using POST, ie: getURL("nextpage.asp", "POST");
I googled for help, and the closest clue I could find is when you use something like this:
code:
getURL("javascript:window.open('uploadown.asp','th ename','width=300,height=300');void(0);");
It forces it open in a new window. Is there a different version of javascript:window.open that makes it open in the current window?
Thanks!
Liam
View Replies !
View Related
GetURL Open New Browser Window
I've got the following on a button but when I launched it it doesn't work...
on (release) {
getURL("javascript:NewWindow=window.open('flash_ex periment.htm','myWindow','width=760,height=490,lef t=100,top=100,toolbar=No,location=No,scrollbars=No ");
}
Any direction appreciated
TVM
Deborah
View Replies !
View Related
GetURL Which Is User Define, Like A Browser
I need to create a text box that the user will enter in a url and then click a go button that will sen them the the website they entered. I have done the coding but it's just not right. I have the on release command and then
getURL (url) something like that, so I set url as an expression.
Did I not name the text boxx correctly? I named it url in the instance property...I am running Flash MX.
Any help would be awesome. Thanks.
Stacy
View Replies !
View Related
Browser Attributes Through GetURL Command
hey guys
i'm doing a school project in the standalone player, and i need to launch IE. is there something i can add, like javascript, to the getURL command so that the IE window that opens up doesn't have any toolbars/statusbars or any of that?
that'd be a HUGE help, thanks
View Replies !
View Related
Getting Rid Of Blank Browser Window On GetURL
Hi,
I would like to enable users on my Flash site to download files using getURL, etc...
how can i avoid the blank browser window from coming up? i've tried leaving the method blank, or using "_blank" and such, but even though the download starts automatically, i hate seeing that huge blank pop up broswer window cover my site...
thanks,
jason
View Replies !
View Related
Open Custom Browser Using GetURL
Hello.
I am trying to open an existing HTML file I have through Flash. I would like to open the file in a new window with no scroll bars or browser interface. Just a simple window at a size of 400x235.
How can i do this through Flash, or would i have to use a JavaScript on my HTML page. If so what would the script be?
Thanks everyone.
Peace.
View Replies !
View Related
[F8] GetURL Being Blocked By Popup Browser
Is there a definitive solution to preventing getURL, when called by an onPress listener, from being blocked when targeting a blank window? I've tried:
Code:
getURL("asfunction:_root.openLink,"+mct.url)
function openLink(url_str) {
getURL(url_str, "_blank");
}
And it still gets blocked by FireFox
View Replies !
View Related
Resizing Browser Window On GetURL
What is the easiest way to resize a browser window when using the "getURL" class? Is this possible? I know how to do it in HTML.
Maybe this?
urltestBTN.onRelease = function() {
getURL("http://www.test.com", "_blank", 'width=300, height=400' "GET");
}
View Replies !
View Related
Problem: GetURL From Exe When Browser Minimized
All,
I have an exe that is launching a url link on a button click.
Here's the code:
Code:
start_btn.onRelease = function() {
getURL("http://www.myurl.com , "_new");
};
Simple enough. If no browser windows are open, then a new browser window
opens and goes to the url. That's fine. However if there is a browser
window open and minimized to the start bar the url goes to that browser,
but the browser stays minimized.
So the question is, is there a way to force the browser to restore open
from a minimized state?
TIA
/B
View Replies !
View Related
GetURL Fails Silently In Browser
Hi,
I have a very simple Flash app that is basically just a set of links for a company home page. I've used getURL to direct the users to a number of web sites (e.g. Google, a train timetable website, a telephone directory website - and so on). It works fine when I run the swf directly on my test PC. However, when I run the html file (produced by the Flash Publish function), rather than the swf file, the app works but nothing happens wjhen I click on the links. It is as if getURL was being ignored.
I have tried this using swf files saved in Flash 8 or Flash 7 versions, and in IE 6 and 7 browsers.
Can anybody help. The purpose of the app is to provide the users with links, but as none of the links work it is pretty useless.
Ian
View Replies !
View Related
Browser Issue With Preloader & Geturl
I'm have two issues with a new version of my site that's almost complete. First is probably an easy one which is the geturl command. It always opens the links I click on in IE. I would like it to use the default browser.
link_1.onRelease = function(){
getURL("http://www.naturalropehalters.com/", "_blank");
};
The second issue I am having is with my preloader. It works fine in IE but just stops in Firefox. I had this issue before with an older version of the site so I changed the preloader two 2 frames instead of 3 and it worked but I lost my percentage info and just had an animation.
Here is the code which is taken from the Kirupa Advanced Preloader Tutorial.
Frame : 1
loaded_bytes = Math.round(_root.getBytesLoaded());
loaded_total = Math.round(_root.getBytesTotal());
total_percent = (loaded_bytes/loaded_total)*100;
_root.loaded_text = Math.round(total_percent);
startpoint = bar._x
_root.text._x = startpoint + (_root.bar._currentframe*2.25);
Frame : 2
gotoAndPlay(1);
The code and components are all part of the main move clip and not seperate. It looks like Kirupa's example works fine but my implementation doesn't.
View Replies !
View Related
GetURL Without Browser Opens A (new) Window
(sorry for my poor English),
I have a small problem.
I want to send data to a server to generate an e-card > like :
http://www.theserver.com/ecard.cfm?from="+sender+"&to="+receiver+"&message= "+text+"&language=ENG&picture=pic_"+currentpic+".j pg"
It works fine with : getURL("http://www.theserver.com/ecard.cfm?from="+sender+"&to="+receiver+"&message= "+text+"&language=ENG&picture=pic_"+currentpic+".j pg","POST") but the URL appears in a (new) browser window and that's not what I want ...
I want to send the data without any reaction of the browser ...
THX
View Replies !
View Related
GetURL, New Browser Window, PDF Problem
Has anyone had any problems with getting a PDF file to open in new browser window from Flash?
For example:
Code:
getURL("test.pdf","_blank");
I have a client using IE7 on XP that says they see a brief popup that disappears before it is rendered. No error message is received.
She is able to open a PDF from a plain html page
Code:
<a href="test.pdf" target="_blank">link</a>
Any ideas?
Should I try converting getURL's to javascript calls?
View Replies !
View Related
GETURL : PC Browser Window To Front
Hi,
We have a fullscreen projector .exe.
When we click links using GETURL, if the web browser IS NOT open to begin with, it comes to the front and shows the url specificed. If the browser IS already open however, the new page loads behind the flash projector, it looks like nothing has happened.
We're Mac based and the Jugglor/jweb plugins or similar which would *seem* to do the job from what I've read are PC based.
Does anyone know of a workaround to achieve this, or infact any Mac plugins?
Cheers!
View Replies !
View Related
GetURL For Downloads & Browser Compatability
Im using a simple getURL, pointed to my zip file available for dowload. But I'm having browser compatability.
On ie it finds the file but brings up a nast do you want to download this file header bar on the page, which upon acceptance doesn't download the file, but instead reloads the flash page.
on safari and firefox, i believe there are no issues.
I tried adding getURL(... , "_blank");
to see if i can get around IE's stupid bar thing, but alas although it still works in safari the window pops up and just disappears again in IE.
is there a specific code outline for linking to a file for download?
Cheers
View Replies !
View Related
GetURL To Resize Browser Window?
What is the easiest way to resize a browser window when using the "getURL" class? Is this possible? I know how to do it in HTML.
Maybe this?
urltestBTN.onRelease = function() {
getURL("http://www.test.com", "_blank", 'width=300, height=400' "GET");
}
View Replies !
View Related
Open Browser Window - GetURL Actionscript
Hi all, i am working in flash 5...
i would like to be able to open a seperate browser window from flash
so i got easy popup windows 2.1 from macromedia exchange.
but 4 some reason the authers product is not workin the way its supposed 2 so i thought i would just fill in the actionscript myself to create a centered pop up window...
*************
"javascript:window.open('" add url add "','" add winName add "','width=" add winW add ",height=" add winH add ",top='+((screen.height/2)-(" add winH/2 add "))+',left='+((screen.width/2)-(" add winW/2 add "))+',toolbar=" add tools add ",scrollbars=" add scroll add ",resizable=" add resize add ",menubar=" add menu add ",status=" add status add ",directories=" add directory add ",location=" add location add "'); void(0);"
*************
this is the java added in the getURL function and i hav less than no clue on how to fill this out properly, could some1 please fill it out so i can use as example
NB the popup is in a mc, will this affect it in any way???
Thanks ever1 and hav a great holiday ( unless u work like me
protocol
View Replies !
View Related
Controlling Browser Size Etc From GetURL Script
I want to open a popup style window to a set size, with no toolbars or scroll bars, when a thumbnail image is clicked on in an .swf. (It is a portfolio of work, & idon't want to increase the.swf size with loads of large jpegs).
I know this is possible with an fscommand on a pc but my target audience are mostly mac based design agencies and fscommands won't work in IE on a mac.
Can someone suggest a way of doing this that would work on both mac and pc. I am using both Flash and Dreamweaver MX to put this site together.
THanks
View Replies !
View Related
[F8] GetURL Opens Multiple Browser Windows
Hi! I'm on a time crunch and I'm not sure if I'm in the right place or not. But I have a movie that was working just fine. I added one link and now, when I click my buttons it opens the external website 3 times. i.e. when I click button 1 it opens the URL for button 1 in 3 seperate windows. Anybody had this problem and know how to fix it?? Here is my actionscript...Thanks!
btn1_btn.onRollOver= function(){
myScreen_mc.gotoAndStop(1);
}
btn1_btn.onPress = function() {
getURL("art/index.html","_blank");
}
btn2_btn.onRollOver= function(){
myScreen_mc.gotoAndStop(2);
}
btn2_btn.onPress = function() {
getURL("smoosh/index.html","_blank");
}
btn3_btn.onRollOver= function(){
myScreen_mc.gotoAndStop(3);
}
btn3_btn.onPress = function() {
getURL("collage/dream.html","_blank");
}
btn4_btn.onRollOver= function(){
myScreen_mc.gotoAndStop(4);
}
btn4_btn.onPress = function() {
getURL("Napoleon/index.html","_blank");
}
btn5_btn.onRollOver= function(){
myScreen_mc.gotoAndStop(5);
}
btn5_btn.onPress = function() {
getURL("http://www.lynnsschoolofdance.com/","_blank");
}
btn6_btn.onRollOver= function(){
myScreen_mc.gotoAndStop(6);
}
btn6_btn.onPress = function() {
getURL("javajoes/index.html","_blank");
}
btn7_btn.onRollOver= function(){
myScreen_mc.gotoAndStop(7);
}
btn7_btn.onPress = function() {
getURL("Flash/cow7.html","_blank");
}
btn8_btn.onRollOver= function(){
myScreen_mc.gotoAndStop(8);
}
btn8_btn.onPress = function() {
getURL("leather/index.html","_blank");
}
btn9_btn.onRollOver= function(){
myScreen_mc.gotoAndStop(9);
}
btn9_btn.onPress = function() {
getURL("http://www.touringfans.com/index3.html","_blank");
}
View Replies !
View Related
Browser Stops Loading Via GetURL After 2-3 Times
I have an index page containing a single frame swf file. There are 5 buttons on the page to navigate to 5 html pages with swfs in them. I used the following on the buttons, each button linking to a different page.
on (release) {
getURL("page1.html" , "_self");
}
Each of the 5 pages also has 5 buttons with the same actionscript.
The problem is after loading 2 or 3 pages the browser stops responding to the buttons.
Am I exhausting the plugin's or the browser's memory or ?
Any suggestions on a better way to do this ?
I'd like to keep the swfs separate for the 5 pages.
View Replies !
View Related
GetURL + Browser Back Button = ARGH
Ahoy actionscripters!
I'm having a small problem involving getURL method and the back button in browser.
Some of my flash buttons contains several getURL, in order to load different URLs in different iframe of the main page.
Basically each time the user clicks on a link, 3 different URLs are loaded in 3 different iframes.
Problem occurs when someone click BACK in the browser, only the last getURL is taken into consideration, I'd like the browser to go where it was before the click, that is 3 getURLs away.
Any trick?
View Replies !
View Related
GetURL Opens Multiple Browser Window Pop-ups
First post... but an avid ActionScript.org reader...
Within a fairly busy CS3 project, I created a simple function that opened a browser window upon a click.
//CODE begin
function viewRecord () {
getURL("http://www.yourURLhere.com/"+myVariable, "_blank");
}
view_btn.addEventListener("click", viewRecord):
//CODE end
Problem: Some users were getting 2 or 3 windows each time & I was only getting one on every machine I tested.
I searched high and low for an answer and decided to join the forum to finally pose a question to all the great talent here... but before my registration email made it to me I figured out the problem on my own. Since others around the net have had the issue and there's not a specific post that explains the occurance and resolution... here's what caused the issue and why some machines didn't experience multiple pop-ups.
Cause: The button "view_btn" spanned more than one frame in my timeline.
Perhaps this is some basic and fundamental rule that as a forum and internet taught developer I've missed... but as soon as I dedicated that button to one frame and one frame only in the timeline, then the issue ceased to exist.
I initially thought that the window code _self or _blank would control this... and then saw on some posts that putting quotes around the window specification might resolve the issue.. thus the quotes around "_blank" in my actual code. This did nothing.
The reason only one window opened for me (which seemed perfect) was because of my pop-up blocker settings. My customers had no pop-up blocker and thus multiple occurances every time... very annoying for them.
So... there it is in case it happens to you.
View Replies !
View Related
GetURL Or Javascript Resolution? To Controlling PDF Browser
Okay.. so here is the scenario.
I am creating a CD that has a Flash projector. The Flash projector links to PDF files located on the same CD. Everything works great.. except that when you click on the link to open up the PDFs, they open in separate windows. So you could have 8 windows open at the same time for 8 of the different PDF files.
I have already tried to make sure that getURL targets _self. This works if you publish the Flash file as an HTML instead of the .EXE (projector). However, when you click "Back" on the broswer it takes you to the first frame instead of the frame that the links coincides on.
It's been suggested that either through actionscript or javascript, to issue a command that will open up the particular PDF in a new window. OR another suggestion was to add javascript to PDF itself so that Acrobat would control the Acrobat Reader.
Does anyone know how I could go about doing so? or know of any online resources?
Much appreciated.
View Replies !
View Related
Localconnection + New Window (or GetUrl) = BROWSER CRASH
Hi,
I have developped some intranet tools for production using flash. It's a management system and the user can use it to display the content in another application. As the two application are separated, i'm using local connection to make them talk together.
It's working really well.
But if i try to integrate the link of the viewer inside the management system or list these two links into a tool reference html home page.. i often (it's doesnt happen everytime, but in the same conditions) get major CRASHING of the browser (it's on windows/explorer but i think the problem is also visible on Safari/Mac). Take note that the problem happen when using GetUrl from flash and also from opening a new link "_blank" from html. Of note also that the problem doesnt always happen.
Because opening a new window with other flash content in it is common, my guess is that there is a problem with local connection (a parent window talking to a child window through local connection?) [localconnection is a less widely use feature, so that would explain there isnt much report about this problem).
Until now i havent found nothing on the web related to this problem...
Anyone have experienced this or have a relevant link?
If i find more information i will try to repost it here...
Thanks,
Eric
Montreal
Edited: 04/18/2007 at 07:53:42 AM by EricGagnon
View Replies !
View Related
GetURL - Need To Open On Top Of Current Browser Window
Hi -
I am using the getURL function in response to a button event. I need it to open the URL (absolute) in a new browser window, but I need the new browser window to open on top of the current browser window. Right now it's opening behind the current browser window. Below is my code:
on (release){
getURL("absolute URL here", "_blank");
}
any suggestions?
View Replies !
View Related
Browser Hidden After GetURL From Full-screen Projector On PC
hello
I exported PC and mac versions of a flash projector. The projector plays full-screen, and I'm linking to sites using getURL, specifying the target as _blank.
This works fine on the mac, and the browser windows appear in front of the running projector. on the PC, it works fine the first time, opening an explorer window in front of the projector. however, if the user returns to the projector without closing the browser window, subsequent getURLs don't bring the new browser windows to the front. the sites load in blank windows that are hidden behind the projector.
has anyone seen this before? any ideas?
View Replies !
View Related
Problem Sending Variable To Browser W/getURL And POST
I am having trouble getting the value of a variable from Flash to the browser using getURL/POST.
If I use GET instead of POST, all works locally, but not on server. POST does not work either locally or on server.
I have the Flash movie embedded in an html page, and getURL launches a second html page which should be passed a variable called 'text'. In the second html page there is javascript to parse the variable and write it to the browser. The variable 'text' holds a VERY long string, results from a quiz, so I guess needs to be sent to the browser using POST, which simply will not work for me.
When I use GET locally, all variables are passed via appending the URL, and automatically read by the javascript. In order to get the variables read from a header generated by POST, do I need to do something special (e.g. some special javascript to read the header)?
If someone could provide clear code to achieve this, I would be very grateful.
Some additional info:
I need to output as a Flash 5 movie. Company rules, and all that.
I would like the simplest solution. I would like to avoid XML and sendandload (esp. since I have to output to Flash 5). POST via getURL is *supposed* to work, and I would love info pertaining to how to get this nice simple solution to work.
And code I'm currently using:
Attached to button in Flash, on release:
getURL("print.html", "_blank", "POST");
(If I use GET instead of POST, all works locally, but not on server. POST does not work either locally or on server.)
In 'print.html', here is javascript to handle the variable "text" which *should* be passed from Flash into the browser:
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script>
function replaceChars(text,grade) {
out = "+"; // replace this
add = " "; // with this
temp = "" + text; // temporary holder
while (temp.indexOf(out)>-1) {
pos= temp.indexOf(out);
temp = "" + (temp.substring(0, pos) + add +
temp.substring((pos + out.length), temp.length));
}
text = temp;
printFunction(text,grade);
}
function getArgs() {
var args = new Array();
var query = location.search.substring(1);
var pairs = query.split ("&");
for (var i = 0; i < pairs.length; i++) {
var pos = pairs.indexOf('=');
if (pos == -1) continue;
var argname = pairs.substring(0,pos);
var value = pairs.substring(pos+1);
args[argname] = unescape(value);
}
//return args;
//toPrint = args[text];
replaceChars(args['text'],args['grade']);
}
</script>
</head>
<body onLoad="getArgs()">
<script language="JavaScript">
<!--
function printFunction(text,grade) {
//alert("testing");
document.write (
"<html>" +
"<head>" +
"<title>print</title>" +
"</head>" +
"<body>"
);
document.write("<table width=100% cellpadding=0, cellspacing=0, border=0><tr><td bgcolor='#eeeeee'><i>Click the print button above to print</i></td></tr></table><P>");
document.write("Your total score is ");
document.write(grade);
document.write("%.<P>___________<P>");
document.write(text);
document.write("<a href='javascript:void();' onClick='javascript:window.close();'>Close Window</a>" +
"</body>" +
"</html>"
);
document.close();
}
//-->
</script>
</body>
View Replies !
View Related
Can GetURL (or Something Else) Open A String As Html In A New Browser Window?
I know I could do this with a really simple php file that just echoes back the string.
Is there a way to do it without that extra file? It isn't a huge obstacle, I am just curious. It seems like it would be best practice to avoid an external php file if not necessary.
So basically I have a string that is:
PHP Code:
htmlstring = "<html><head></head><body><h1>Hellow World!</h1></body></html>"
Can I open that html formatted string in a new browser window with just flash?
I'm looking to use it as a 'printer friendly' version of a page I am doing.
View Replies !
View Related
Can GetURL Open Link Into A Movie Clip Rather Than In A New Browser Window / Tab ?
I don't suppose anyone knows how to open a url link by getURL so it loads into the same flash document e.g an empty movie clip rather than in a new browser window or tab?
If I could set up a particular container movie clip so that when a getURL command is excecuted it populates its self with basic html text and images in it, over the top of the existing flash movie, rather than the standard way of opening its self in a new window or tab. I
I have searched the forum and there is a lot of results but i dont think any of them are trying to do exactly what I have just said. If anyone could provide me with any info or tutorials on this kind of thing it would be great!
Cheers
View Replies !
View Related
Opening A "stripped" Browser With GetURL
Hi All,
I want to open a new browser to view the content of another "source", in my case that would be a .jpg image.
When i use GetURL, i get a complete new browser with all the buttons and stuff Microsoft gives me.
How can i strip the browser, so that only the source is visible, and not the toolbars, navigation buttons etc etc.
Thanks
View Replies !
View Related
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 ...
View Replies !
View Related
|