ActionScript 1/2 :: GetURL() To A .doc File
Mar 22, 2010
So we have some web-based training that we are making. Using CS4 to publish to Flash 7 and then the page is running in IE 6. (Got to love them corporate policies!) We have some resource documents for the users to download. Usually we make them pdfs and use getURL() and the files work just fine. However, this time we have a file that we want to keep as a .doc type. The code is:
[Code]...
View 3 Replies
Similar Posts:
Jan 16, 2009
If I write a bunch of functions in a js file and host it on [URL], how can I use getURL() to make whoever sees my flash on the same host to execute the js file?
View 2 Replies
Jun 18, 2009
Is it possible to execute *.bat file using getURL? Like example something like: getURL(file_for_running_the_other_funcions.bat); or do you know some ways to run the bat file instead of that?
View 0 Replies
Sep 22, 2006
I used getURL like this to download a .doc file, in Firefox it's oke but in IE it's doesn't work.
Code:
on(release){
getURL("[URL]", "_blank");
}
View 2 Replies
Aug 7, 2009
At the end of the flash movie I want it to getURL from an external text file.Is it kinda like the way you do it with a button?
View 3 Replies
Sep 23, 2011
Trying to set up a getURL to link to a local htm file, NOT a page on the internet. All the tutorials I have read tell me how to link to a file on the internet I'm trying to set up an intranet site for my training college where students can access training resources etc on the local network. Therefore my getURL needs to point to a local file, not one on the internet. I'm trying to link to a .htm file that resides on my computer. Does the htm file have to be in the same folder as the .fla file?? How do I do this?? I'm working on a Mac, Os X, MX 2004, if that makes any difference.
View 1 Replies
Feb 25, 2011
I'm stuck with defining a getURL function while loading an external XML file.
I have a Flash AS2.0 file and I've made it CMS driven. The content for everything in the SWF file is loaded from an XML file which resides on the same server. I've defined all other XML variables and I'm able to successfully parse them inside a holder MC I have in my Flash file. Some of the many variables I have are name, caption, thumbnail img, large img, etc... I've also defined the XML file with a 'Link' that points to a URL relative to each image it loads.
I'm unable to define the function in Flash to retrieve the URL from 'Link' parsing value stored in my XML file.
I tried defining a function called getLink in actions layer of my Flash file:
getLink = function () {
getURL('Link[ID]','_blank');
};
The ID is loaded in the beginning of the Flash file - based on the number of values available in XML file. All other functions work, except this getURL function.
View 1 Replies
Aug 2, 2005
I need to have a button load it's GetURL() deal from an external file. XML? Txt?
View 2 Replies
Dec 21, 2006
Is there a work around to the getURL Firefox issue? I am having trouble getting Firefox to open my file from my exe when FF is set to my default browser. If FF is already open, the getURL functions fine. If FF is closed, I have to click on my button twice in order to open the file (ie, click once opens a blank window, click again and the file opens) I have FF 2.0.0.1, Flash MX 2004 Prof. I have tried setting an interval to have the getURL fire again but I can't seem to get it to work.
[Code]....
View 2 Replies
May 26, 2010
I would like to open a separate swf file from with in flash, but by default, it opens the swf in a browser. I would like this file to open in a stand alone player not in the browser.How can I achive this? Right now I'm using the getURL() action. Is there a separate function for opening a file at a specified filepath?
View 1 Replies
Jan 27, 2009
i am trying to open my local share folder using flash. so i try this code to open it getURL("file://c:/sharefolder", "_blank"); it is working in IE7 but not in firefox and Google Chrom if i place the url direct in the address bar of the firefox or Google Chrome it is opening the share folder. but not using action script.
View 0 Replies
Nov 9, 2009
I've created a 'flashvars' tag in my embed code (aid=test), which I simply wish to add to the end a GetUrl statement, contained in within a button (which is on the first level of the flash movie). This is the code I've added to the button...
on (release) { getURL("http://www.platinumselect.com?id="+aid);}
But this doesnt seem to work!? Is there anything else I need to do?
View 8 Replies
Mar 20, 2010
How i can use the function getURL with quotes? The reason that i need to quotes, is tu put a parameter to another function in Adobe Director.[code]...
View 1 Replies
Jun 6, 2010
How do I use the getURL function in AS3 ?
View 1 Replies
Jul 10, 2008
XML test file
<Slides>
<slideNode linkURL="www.cnet.com" jpegURL="images/test1.jpg">test 1</slideNode>
<slideNode linkURL="www.zdnet.com" jpegURL="images/test2.jpg">test 2</slideNode>
<slideNode linkURL="www.pcmag.com" jpegURL="images/test3.jpg">test 3</slideNode>
<slideNode linkURL="www.newegg.com" jpegURL="images/test4.jpg">test 4</slideNode>
</Slides>
In the browser, www.cnet.com, does not work. The value it outputs is: file:///C:/Documents%20and%20Setting...w/www.cnet.com
ActionScript
----------------
slides_xml = new XML();
slides_xml.onLoad = startSlideShow;
slides_xml.load("slides.xml");
slides_xml.ignoreWhite = true;
[code]....
View 6 Replies
Aug 19, 2009
I want 2 open an image in a blank window, when user clicks on the button.I used the following coding to the button:
on (Press) {
getURL("www.domainname.com, "_blank");
}
But the above code is not working , when i click on it.
View 4 Replies
Oct 15, 2009
how to get variable from php and use its value to properly link button in flash?
example:
index.php contains variable VAR1 with value TEST
i need to crate flash with following button
on (release) {
getURL("http://www.test.com/index.php?VAR1=<<here goes the value of the VAR1 from php, which is 'test'>> , "_self");
View 1 Replies
Apr 30, 2009
I am customising a Template Monster template that has a flash menu.When I changed the getURL code (using AS2) of my flash menu buttons they work for an external URL but do nothing in my site. EG.THIS WORKSgetURL("index.html");THIS DOESNTI have everything in the same root folder and the animated menu bar works perfectly in-situ, just wont go from page to page.
View 2 Replies
Jul 27, 2009
I have a pre built flash navigation menu. I am trying to add a getURL code to the buttons. The code looks like this:
function butnClick(event:MouseEvent):void {
if (event.target.num == 0) { // For the 1st button:
// Add your button click actions here[code]............
Im getting syntax errors and I know its wrong but thats the only way I know how to write it so far.
View 5 Replies
Jun 14, 2010
I am using Flash CS3, AS 2.0 and I have a button with -
on (release) {
getURL ("http://www.axiomaudio.com/store.html", _blank)
}
This is a small banner in an HTML page and I want it to open in the same window instead of opening a new window. I have tried using _self) instead of _blank) but it still opens a new window.
View 6 Replies
Jul 7, 2009
Are there known issues regarding the getURL command in Firefox 3.5?I made a very simple flash movie with some getURL commands and they work in IE7 and IE8 but not in Firefox 3.5.[code]I just tested in Opera (9.24) and it doesn't work either...
View 1 Replies
Feb 8, 2010
getURL('http://www.google.com',_blank);
The above can open google.com,but how to fetch data from server side(PHP) on localhost?
View 1 Replies
Dec 4, 2010
I read it's possible to call any javascript [URL] so why would I need doFscommand ?
View 1 Replies
Feb 20, 2009
I want to add getURL() to flash xml gallery images.
at present my script is loading external images fine. but i need to give images hyperlink. [code]...
View 9 Replies
Apr 19, 2010
I've created a login form in Flash that should post to a php login script on a different server.
I've given one input text field a variable name of user (for the username)
I've given the other input text field a variable name of pass (for the password)
I'm using the following AS applied to a button:
Code:
on (release) {
getURL("http://www.website.com/login.php?username="+ user +"&password="+ pass);
}
[Code].....
I log in just fine to the site... If I attach the full code to the script I log in just fine... why is it that passing the variables is not working with getURL action script?
I've tried to accomplish this using several different scripts but I get the same result with everything I do.
View 8 Replies
May 17, 2010
I have modified simple photo gallery tutorial through XML at [URL] click on a thumb and an image scrolls in. Now I'm trying to add a link to the image - but can't get the url from the xml to the image.
Here's the XML-file (pics.xml)
[XML]
<?xml version="1.0" encoding="utf-8"?>
<images><image>
<pics>pics/utrechtmedia.jpg</pics>
<sites>sites/utrechtmedia.jpg</sites>
[Code] .....
View 5 Replies
Apr 4, 2005
I am loading in some text which is stored in a text object with the var name of jslink
I also have one button which upon press I would like to get the url of "jslink"
View 2 Replies
Feb 2, 2006
I'm having trouble getting urls to work with an XML document I'm pulling into flash.
The XML looks like this:
[CODE]<items>
<item>
[code].....
View 6 Replies
Feb 3, 2006
I would like to put getURL on all mc on the stage, I put the script like this
Code:
var _root.url_array:Array = new Array("url1","url2","url3")
for (var mc in this) {
var i:Number = 0;
[Code]....
the problem when I click on mc, it go to same url, how can I it different.
View 5 Replies
May 16, 2003
I did a quick search to find how to load a swf into an already playing swf with a getURL action. Is this possible? Like loading a jpg but I want to load a swf. Does that make sense?Say I have an empty mc in my swf and want to call a swf from an absolute address, like
getURL ("http://www.subquark.com/projects/demoA.swf", myEmptyMC);
I have not tried it yet 'cause I'm at work (no flash here) but I was talking to someone . . . about creating a logo once and then just calling it from one location (site by subQuark). That way I only need to update it in one place for html sites (as I do now) or for all flash sites (which I do per site now).
View 6 Replies