ActionScript 2.0 :: GetUrl / Mailto Not Working

Jun 5, 2009

im trying to make a button that will open a new mail form from whatever software the user may have, this goes on a Usb Stick, im using this code: on (release) [URL] It works on a Mac, but not on a pc with Outlook, it only opens the new mail, and fills the mail adress, no subject, text1 is a var, it wont load it either.

View 7 Replies


Similar Posts:


ActionScript 1/2 :: GetURL Mailto E-mail Address Won't Work Across Domains?

Jul 27, 2009

It works fine on a testing domain where the flash and the html file are located in the same folder, however, this flash banner is going to be stores on a subdomain callAs soon as it's put on the live site with the flash located in the images subdomain the link stops working. I don't even get an error message; it just doesn't do anything.We tried changing the code to:

on (release){
System.security.allowDomain("*");
System.security.allowInsecureDomain("*");

[code]......

View 1 Replies

ActionScript 1/2 :: GetURL("mailto: Opens Unwanted Safari Window?

Nov 17, 2009

CS3 Actionscript 2.0: I'm trying to get a nested movie clip to open the default mail app. on release. I used the on (release){ getURL("mailto:. which opens the mail window fine, but it also opens a blank browser window (Mac OS). Can someone tell me how to stop this from occurring?

I see this question crops up a lot but after many searches I haven't been able to find the solution anywhere. Forgive me, but I'm new to Flash/Actionscript. My script:

[Code]...

View 5 Replies

ActionScript 2.0 :: Mailto From External File Not Working?

Dec 2, 2009

I am loading contact information from external txt files and everything is functioning, except my email links. The CSS hover effects work, but when clicked an email message will not open and the mouse doesn't turn into the little hand like it typically does over a link. I don't believe I changed my code at all, and these links did work previously, so I have no idea what I've done. And the code needs to be in the txt files, not in flash actionscript (there are lots of contacts I'm entering).

The following is what is in the txt files.
<a href="mailto:someonesemail@email.com">someonesemai l@email.com</a>

View 1 Replies

IDE :: GetUrl{} Not Working?

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

ActionScript 2.0 :: GetURL Not Working

Oct 26, 2007

I developed a portable video player thats similar to YouTube's video player where you pass a video's info and the video loads and plays. The player can
also be embedded on your own personal site using the embed tags. My problem is this, everything with playing / loading the video works fine. But I've got a link on the Flash thats hard coded to a url and links off using getUrl like so:

getUrl('http://www.site.com', '_self')

Now this works if the HTML and SWF are in the same location (ie both local, or both on the hosting server) but for some reason it doesn't work in the embed mode when the player swf is located on one server and the HTML that's loading the SWF is on another server. XML loads fine, videos load, images load, but the gerUrl does not work...doesn't go anywhere. Also, I've got my crossdomain xml file setup to accept all domains using the * option.

View 14 Replies

IDE :: GetURL _self Not Working?

Apr 28, 2008

I have a flash banner that is a simple animation and some text, and at the top layer an invisible hit area button that has the following AS on it...

Code:
on (release) {
getURL(url, "_self");

[code]....

View 14 Replies

IDE :: GetURL Not Working In Firefox?

Oct 14, 2009

I have an _Xslide gallery that I need to make each photo link to an absolute URL. Works fine on IE but FireFox dosnt function at all. I can get it to work if I "_blank" but then it is applied to both browsers. The requirement is that the gallery function in the same window for all browsers.This swf is hosted in an "included" html file...where the swf does not live in the same directory...although I have tried that also but to no avail.

Ive also tried "_top", "_parent", "_self"
heres the AS...
one_mc.onRelease=function(){

[code].....

View 1 Replies

Flash8 GetURL Not Working In Browser?

Jun 2, 2010

So iv been flash designing for about a year now, and i thought i was pretty good, however having never usd the geturl script before i am stumped whats going on. my AS is

Actionscript Code: on (release) {    getURL("index.html", "_self");} which works fine when playing the movie in the flash preview (pressing ctrl+enter) but as soon as i publish the movie and view it embbeded in an HTML document it doesnt work. this should indicate its my browser settings? however iv tried disabling my pop-up blocker and still nothing.

View 1 Replies

Professional :: GetURL Not Working Without WWW In Web Address

Jul 30, 2010

Been banging my head against this forever. Running a SWF banner running AS2.0. If you view the banner's page with www before it, it works fine. If you visit the url WITHOUT the www the geturl script doesnt work at all.URL...I've tried changing the allow access setting from domain only to always and I changed the actionscript to be document relative instead of a full link and none of that has fixed the problem.

View 1 Replies

IDE :: GetURL In Old Infinite Menu FLA Not Working

Feb 7, 2007

I've got the very old infinite menu posted on Kirupa's site. I haven't done anything but switch it to a vertical menu, but the problem is that I put a button in the menu, the 2nd grey box, with a getURL that just goes to google. Problem is, it won't load the url. I had wanted to put buttons in this menu to get new URLs or do things it flash, but it won't respond.

View 2 Replies

ActionScript 2.0 :: GetURL Not Working - Crossdomain?

Jul 2, 2007

I developped a simple flash photoalbum, but since the project has gone live the links on the buttons are not working anymore.The swf is located at http:[url].... and if we test it like this it works fine. But if we go to http:[url]... it goes wrong. The dynamic xml is loaded fine, images and text as well, but only the getURL stops working.

Code:
getURL("http://www.client.com/products/be-nl/121/listall/page/1/","_self");

View 2 Replies

ActionScript 2.0 :: Why A GetURL Isn't Working On A Movieclip

Mar 17, 2008

why a getURL isn't working on a movieclip? The exact same code works fine when on a normal button but not on a MovieClip. Both were on the top timeline and were not embedded within anything. Actionscripting 1 in Flash CS3.

Code:
on (release) {
getURL(clickTag, "_blank");
}

View 1 Replies

ActionScript 2.0 :: GetURL Not Working In A Movieclip?

Feb 8, 2010

Ok so my swf on my homepage is calling in the main.swf which then has movieclips and coded like this on the Actions layer which I made

button1.onRelease = function (){
button1.getURL("http://scholarscanada.com/wordpress/education/programs/reading-readiness/");
}

Here is the site so you guys can see, I believe it has to be something with calling the main.swf into the movieclip because I've never encountered this issue before...

[URL]

If you click on the LEARN MORE for the first image it doesnt go to the page which I ask it for.

View 2 Replies

ActionScript 2.0 :: GetURL Function Not Working In Vista

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

ActionScript 2.0 :: On Release GetURL Not Working With Animation?

Dec 22, 2009

I am a Noob to ActionScripting and am having problems getting some movieclips to link to different URLs on release. I am able to get them to animate, and I am able to get them to link to an html page in the same folder, but I can�t get both functionalities to work at the same time and it is driving me crazy!! I've tried putting the actionscript in the instance object, in the action layer, and other things and nothing seems to work!?I believe that the actionscripting needs to be done in the "baners" movieclip, but it could also be the "Symbol 3" movieclip

Here is also a link to the . See, if you mouse over the first two clips, they animate, but they do not go to the HTML page if you click on them. The third clip will go to the page success1.html in the same folder if you click on it, but it does not animate on mouse over.I'm using Flash CS3 as my editor and I'm using ActionScript 2.0 for the scripting

View 5 Replies

ActionScript 3.0 :: GetURL Not Working From Nested Clip?

Jan 13, 2011

I have a simple getURL on a movieclip. Looks like this:

Actionscript Code:
var galURL:URLRequest=new URLRequest("gallery.html");nav.gal.addEventListener(MouseEvent.CLICK, onClickGal);function onClickGal(evt:MouseEvent):void { navigateToURL(galURL, "_self");}

there seams to be some problem with the getURL functionality when it is not on the top level. how to address this? I did a search for the topic but the spinny applet just keeps spinning and spinning when I hit search.

View 4 Replies

ActionScript 2.0 :: GetURL Not Working Even With OnRelease Function

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

ActionScript 2.0 :: Simple GetURL Function Not Working

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

ActionScript 2.0 :: GetURL From Action Frame Not Working?

Nov 27, 2009

I have a series of as2 button instances which are intended to navigate an HTML site with simple getURL commands, but no matter what I do they only load the index.php file and I can't get them to open the page in the _self window. Here's the code:

addMenuActions();{
btn1.onRelease=function(){
getURL("index.php","_self");

[Code]...

View 2 Replies

ActionScript 2.0 :: GetURL Not Working When Open .pdf Files?

Jun 14, 2006

when i open the pdf files with the help of getURL function in flash not working.

on(relase)
{
getURL("filename.pdf",1);
}

View 1 Replies

ActionScript 2.0 :: Flash's Own GetURL-with-javascript Not Working?

Mar 8, 2007

I'm trying to use getURL to open a new window that will have a specified size.I downloaded Macromedia's own tutorial/sample code for how to do this using javascript and cannot get it to work.

Here's their code:

on (release) {
getURL("javascript:openNewWindow('http://www.macromedia.com','thewin','height=400,width=400 ,toolbar=no,scr ollbars=yes') ");
}

[URL]

Nothing happens when I click their button. I tried changing the target, still nothing. I also tried it in Safari and in Firefox with FF's popup blocker turned off. Nothing.

[URL]

View 3 Replies

ActionScript 2.0 :: GetURL('', '_blank') Not Working In Firefox?

Nov 17, 2004

I'm encountering a problem with the getURL function. When I have a button with the following AS

Code:
on(release) {
getURL("http://www.google.com", "_blank");
}

and test it within Firefox (0.9.2) then it loads within the same tab which isn't what I want obviously. In IE it loads a new window without problems. This used to work but I after reinstalling winXP with SP2 it doesn't work anymore

View 5 Replies

ActionScript 2.0 :: Question Mark Not Working In GetURL Function?

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

ActionScript 2.0 :: MX Cross Site Script - GetUrl Not Working

Oct 26, 2009

I have a very simple button with a GetUrl action. The flash is being embedded via a script, using document.write method. All works as expected when the script is hosted within the webiste. I need to host the script externally though, on a remote website (its a banner script). The problem is that when I embed the movie using the REMOTE javascript file, i.e. [URL], the simple GetUrl does not work at all.

I'm sure this is something related to security or cross site scripting, but I'm equally sure there's a way around this. Affiliate banners use flash to do the very same thing (somehow).

View 3 Replies

ActionScript 1/2 :: OnRelease GetURL Not Working With MovieClip Animation

Dec 22, 2009

I am new to Flash/Actionscript and am having problems getting some movieclips to link to different URLs on release. I am able to get them to animate, and I am able to get them to link to an html page in the same folder, but I can't get both functionalities to work at the same time. I've tried putting the actionscript in the instance object, in the action layer, and other things and nothing seems to work!?

Here is the link to the source file: [URL] believe that the actionscripting needs to be done in the "banners" movieclip, but it could also be the "Symbol 3" movieclip. Here is also a link to the .swf [URL]. See, if you mouse over the first two clips, they animate, but they do not go to the HTML page if you click on them [URL]. The third clip will go to the page success1.html in the same folder if you click on it, but it does not animate on mouse over.

View 5 Replies

ActionScript 2.0 :: GetURL Function Not Working In Safari / Firefox On Mac

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

ActionScript 2.0 :: Preview With Flash's Html Preview - GetURL Not Working

Oct 20, 2004

I'm having some trouble with getURL (I think). It works fine when I preview with Flash's html preview but it's not working on my server. It's pretty simple. [URL].selected1 is a user-defined variable pointing to a page: ie, when the user selects variable page1 the page to be opened is [URL]. Like I said, it works with Flash's preview, but not on my server(no 404 or any response). Does there seem to be a problem with my code or might I be overlooking a server error? Here's my code:

[Code]...

View 4 Replies

Using Mailto With Variables?

Aug 7, 2009

I have been able to get the mailto protocol to work in an IPAQ with Win Mobile 5 and FlashLite 2.1. I'm using AS 2. GetURL(url.........) However, I can't figure out how to add a variable into the body. The variable, deviceID, is gotten onLoad by fscommand2, status = fscommand2("GetDeviceID", "deviceID"), so deviceID is populated by a value.The challenge would be to write a 'mailto' script that includes the deviceID in the email's body. I've tried several scripts for adding deviceID, but none work.For example: GetURL("url....) creates an error (too many "?) and using parentheses does not help. GetURL("url.....?) also doesn't add the value of the deviceID variable, just puts <deviceID> into the message's body.Is this possible: populating the email message's body with the values of one or more variables?

View 3 Replies

ActionScript 2.0 :: GetURL ("file://c:/sharefolder", "_blank"); Is Not Working?

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







Copyrights 2005-15 www.BigResource.com, All rights reserved