ActionScript 2.0 :: Cannot Get The GetURL Command To Function Properly?
Jan 23, 2009
i have that header for my navigation here: [url] However I cannot get the getURL command to function properly. You can test it out by clicking on a key meta word (right hand side) than clicking on "home" to take you back.As you will see it does not work.The site is built around Joomla—it's pretty basic and I didn't care for any of the navigational options so I built a flash menu.
edit I can get this to work when I "cmd-return" out of flash and test the .swf - but online it's a no go.
View 7 Replies
Similar Posts:
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
Nov 23, 2004
it is possible of use string on the geturl(); command?
like this:
on (release) {
getURL(main.main2.toString(), _self);
_root.text = search;
}
is there any workaround so that the url will become dynamic? The links is stored in xml file.
ex of the links are :
this.html?gotoframe=#thisframe
that.html?gotoframe=#frame2
Basically the this and that html files contains swf that have alot of frames
View 3 Replies
Aug 4, 2008
.I downloaded this OS X dock template:Url...I got the pictures all changed to what I want, but I can't figure out how to insert the getURL command to make each icon hyperlink to a new webpage.I know it's in ActionScript 2.0, and that the pictures are movie clips.I know things have to be buttons to hyperlink in flash, but will I lose the OS X effect if I make that change?If someone could walk me through setting this up to have hyperlinking icons, that would be fantastic. Using Macromedia Flash Pro 8.Adobe Flash CS3 Pro is also an option.
View 2 Replies
Nov 23, 2004
It is possible of use string on the geturl(); command?[code]...
is there any workaround so that the url will become dynamic? The links is stored in xml file.[code]...
View 3 Replies
Jan 3, 2012
is it possible to use relative paths e.g. ../website/home.html rather than [URL] with the getURL command?
View 1 Replies
Jun 1, 2010
When i open my page like this : www.mypage.com, the buttons work fine, and when i click them, they go to the wanted url...
But if i open my page like this : http://mypage.com, the buttons still play the over animation, but when i click them, nothing happens..
This is my actionscript code :
on (release){
getURL("http://www.mysite.com/link.php", "_self");
}
View 1 Replies
Feb 3, 2010
I wasn't quite sure where to put this. I created a banner for a friend in flash using actionscript 2 and the getURL command. When I go to embed it in HTML, the movie shows up and when you hover over it, it appears to link but when clicked it does not link. When I go directly to the .swf file it links, but not when I embed it. Is there anything special I have to add to my HTML to make the link work?
View 2 Replies
Jun 13, 2011
I am developing a flash media encoder. Encoder is sending 'publish' command in 'record' mode to FMS. But FMS is not giving any response (I am catching responses in wireshark) but creating the related folders in its application directory. So, I assumed that FMS has received the publish command and reay to receive the data. Then I sent some 20 media messages each of soze 500 bytes. FMS is sending 'onStatus' response for the publish after receiving the 8th media message and writing only contents of media messages from 9th to 20th.
View 1 Replies
Jan 3, 2012
I am working with AS3 to build a very simple mp3 player on my site. So far the play and pause button work fine, but when I try to move the slider then click the pause button, it doesn't pause, and then clicking the play button again causes it to play a new file.I'm assuming that for some reason when I call the playMp3 function from my MouseEvent, it's within an object or something and not at the root, so it's like loading a new sound file, but I don't know how to fix that.URL...
View 2 Replies
Jun 6, 2010
How do I use the getURL function in AS3 ?
View 1 Replies
Jan 8, 2009
I'm trying to add a simple getURL script to a simple text button-- should be really simple, right? But when I select the instance of the button on the stage it says the current selection cannot have actions applied to it. This, despite the fact that I am able to open an old .fla that has the same type of button and it does have a getURL action applied. What gives?
Flash version 9.0 (CS3 Professional)
View 1 Replies
Apr 24, 2005
If i'm using the getURL method to call a JavaScript function:
getURL("javascript:myFunction('sections/1.html')");
How do I pass a string+variable as a parameter of that function?:
instead of:
[code].....
View 3 Replies
Jan 10, 2011
I was wondering if there was a way to get a function to run the getURL statement? something similar to this:
function go(){
getURL("www.whatever.com","_blank");
}
View 4 Replies
Apr 24, 2005
If i'm using the getURL method to call a JavaScript function:
getURL("javascript:myFunction('sections/1.html')");
How do I pass a string+variable as a parameter of that function?:
instead of:
[Code]....
What is the correct syntax for that parameter we're passing?
View 3 Replies
Apr 27, 2009
I recently formatted my disk and installed WindowsVista Ultimate. Now, I find that this simple piece of code is not working. But earlier when I was using Windows XP, this code would open a new browser window (in firefox) and automatically prompt me to log into Gmail account, and after I log into gmail I will have this 'userEmail' successfully inserted in the "To:" field (inside gmail)
Code:
var userEmail="myemail@gmail.com"
getURL("mailto:"+userEmail);
Can't figure out why this is not working in my new OS.
View 18 Replies
Jan 19, 2010
How to write the GetURL function to a button in AS3?
View 6 Replies
Jul 14, 2010
I have a simple Flash button with the following script attached:
on (release) {
getURL("http://URL/sample.pdf", "_new");
}
And I've also tried this:
[Code]...
my client (Who uses Firefox, on a PC) has to click on the button twice to view the PDF. The first time they click on the button, they have to close the blank window that pops up and then click on the Flash button again to view the PDF. It opens fine the second time. Is this just a PC problem? On my Mac (Safari) it works fine, but (Firefox) seems to want to save the document before I can view it.
View 3 Replies
Jun 25, 2011
I would like to call a jQuery pager function (p) defined as:
function p(page)
{
$('#pitch').load(page);
}
how can I call this function inner swf with method getURL..
note: normally I call it in html tag as:
<a href="#" onclick="p('somefile.php?id=someid');">link name</a>
View 1 Replies
Jan 3, 2008
I can't get my getURL to work. It works when I use "_blank" but not when I use "_self" or "_parent" or "_top" or leave it empty. I've got it right off the main timeline. I've also tried putting it within an onRelease function.
So, this doesn't work:
Code:
getURL("images/aboutus.jpg", "_self");
But this does:
Code:
getURL("images/aboutus.jpg", "_blank");
View 9 Replies
Sep 8, 2009
I'm modifying an mp3 player by flabell, and try to get some buttons to work. However, I can't seem to get the getURL to work, even though it works in other parts of the script. This is my code:
mc.rate1.onRelease = function() {
trace(this.ID);
getURL("[URL]","_blank");
};
The trace goes through fine. Here is the code that works:
Code:
private function downloadRelease(mc : MovieClip) : Void {
var title : String = mc._name;
var index : Number = Number(title.substring(title.lastIndexOf("n")+1,title.length));
getURL(songsSource[index], Main.getInstance().mcAlbums.linksTarget);
}
I'm on a mac with firefox.
View 3 Replies
Jan 13, 2011
how to add a variable to a getURL Javascript function. I have; ActionScript Code: getURL("javascript:JavascriptFunctionNAme(ASVariableName?);"); It works fine when I replace ASVariableName with "1" or some other plain text.
View 5 Replies
May 26, 2005
I am trying to use the getURL function to open a new window with a variable URL, but it doesn't seem to be doing what I want it to. Here is the code i am using:
on (release) {
getURL("popup.htm?/projects/"+_root.foldername+"/"+_root.projname+"_1highres.jpg", "_blank")
}
The problem appears to be the question mark. If I remove the question mark it works fine.. but I need to use the question mark because the rest of the info is just information I am having popup.htm interpret
View 3 Replies
Jul 8, 2009
I have a button with some transition/easing on it...and a geturl function. However there is something weird happening, when the button is clicked, it sees the geturl alright, and the browser opens...but cant seem to get any further than that! [code]...
View 1 Replies
Feb 20, 2012
Actionsctipt code:
on(press)
{
getURL(escape("address.html?0"));
}
This works absolutely fine in Internet Explorer but in Chrome in the question mark is obviously made into "%3F". how I can stop this from happening and still keep it compatible with IE and other popular browsers?
View 2 Replies
Apr 28, 2010
I have a file upload application I built that uses FLASH as a means to transfer file to/from users directories on a server. Once the file transfer has completed I fire a function that includes a call to a javascript function within my page that executes an AJAX refresh of one of the "div's" on my page.
ActionScript Code:
// COMPLETE FUNCTION
fileRefListener.onComplete = function (fileRef:FileReference):Void {
status_txt.text +="<font size="11" color="#E6E6E6"><b>" + fileRef.name + " uploaded.</b></font>
";
status_txt.vPosition = status_txt.maxVPosition;
filesCompleted++;
[Code] .....
And my JS is:
Code:
function handOff() {
new Ajax.Updater('manage_user_info', '/fileTransfer/manage_user.php?client=' + $('users_to_manage').getValue(), { method: 'get' });
}
This works flawlessly in IE6/IE7/IE8/FF3.6/Opera/Chrome/Safari on Windows Machines but for users on MAC's there seems to be an issue. Any particular reason this wouldn't be working in a MAC environment?
View 0 Replies
Feb 4, 2009
I am trying to get a handle on the setTimeout command and I can't seem to get it to function at all. As a test I set up a simple movie where two objects fade in, one after the other. But whatever I try, they both fade in together.[code]
View 8 Replies
Jul 5, 2006
I am creating a gallery type site, I am loading xml data externally creating duplicate movie clips and it all works fine, my only problem is I want them to go to a URL, I have one of the nodes with the URL and in my actionscript I am calling a function to getURL on press, the problem is on each separate movieclip it links to the URL of the last movieclip in the stack.
View 1 Replies
Feb 9, 2009
I have a simple getURL below and have been looking around for a way to #1 - set a time a time delay#2 - call an external js function#3 - load my page
butMov.onRelease = function () {
getURL("http://www.mysite.com"+myURL);
}
View 4 Replies
Jun 14, 2006
When I use:
on (release){
this.stop();
getURL("page.html", "_blank");
}
Why is it that when that new page window is loaded the background flash window then runs my
on (rollOut){
this.play();
}
function? I am trying to pause the timeline I am clicking from in Flash. If I take this line out (this.play() it pauses, but if I were to go that way how would I start getting my MC to play again when the user gets back to the flash window?
View 3 Replies