Creating Botton That Link To Another Page
hi and happy new year every body!
i am personalizing the Modern photo slideshow template of flash cs3.
but when i right click on an image i won't have the SAVE IMAGE option, how can i creat that?
i made a botton that i positioned on the image (image of slideshow), i made various html pages with photo inside then i put this code in the botton frame:
monkey_btn.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
function mouseDownHandler(event:MouseEvent):void {
navigateToURL(new URLRequest("http://www.festivaldelgelato.com/"));
}
but it is giving me this error message:
The class or interface “mouseEvent” could not be loaded
can some one help me?
ActionScript.org Forums > ActionScript Forums Group > ActionScript 3.0
Posted on: 01-01-2009, 06:40 PM
View Complete Forum Thread with Replies
Sponsored Links:
A Movie Botton As A Link?
Hey group...
(Hope you all understand me, I'm from Denmark
I have made a small flash-movie and now I want it to be a link that other can have on there site.
But how can I make my flash-movie to work as a link?
Can I add a big invisible button over the entire flash-movie with a
on(release){getURL("mysite","_blank");}
???
I really hope someone can help me!!... And remember.. This is my first time using Flash MX or just playing with flash ever!
Thanks in advance!
View Replies !
View Related
Botton To Html Page
so i made this button right.
well when i bring it into dreamweaver it goes to the proper sight , thats good.
but i want to be able to use the same button through out my sight with out haveing to go back to flash and change every the button for each link. which i already did, but would rather not keep it this way because of file size and all. ...
when your in dreamweaver you can impart flash buttons from a predefinded list and there you have options to do this but not with your own custom one. catch my drift?
i hope so.
if you can answer this you are one smart cookie.
you can see the page at www.trinityfire.netfirms.com
View Replies !
View Related
Creating Link Like Page.php?var1=anything&var2=anything
i want to send variables to php with link (i want to open it other window)
like "page.php?var1=anything&var2=anything"
i have to input text field and my submit buttons code below
domain and domexten is input fields's vars
Code:
on (press) {
url = "page.php?";
url = url add "var1=" add domain add "&var=" add domexten;
getURL(url, "_blank", "POST");
}
the problem is link dont show after "?"
Code:
page.php
when i remove it showing all the link but like
Code:
page.phpvar1=anything&var2=anything
it is useless as you know
can you help?
View Replies !
View Related
Html Link And Flash Link On Intro Page
I've noticed that a lot of Flash sites have some kind of detector to see if you have the flash plug in. Is that scripting?
Plus, I see that the intro page of ones site will have an HTML and a FLASH option to choose from to enter the site. Would that be enabled in the publish settings of Flash 5? I am curious to know how that is done because I am designing this young lady's site and she wants the viewers to have the options of HTML or Flash.
Thanks!
View Replies !
View Related
Creating A New Page Within The Same Page (linking)
Does anyone know the correct code to be able to create a new page within a new page ...
here is the script I have now
on (release) {
getURL("http://www.bigtimebanners.com/gallery.htm", "_parent");
}
-> is "_parent" the same thing as "_blank" ?????
I think this opens up a new page but everytime it does it always says "New Page 1 Microsoft Internet Explorer" at the bottom instead of the correct page ...Correct me if I am wrong but people won't be able to bookmark me if it always says New Page 1...
Here is my site http://www.bigtimebanners.com
Please click from home to gallery to links and you will notice at the bottom, that the page identification at the bottom never changes.
thanks in advance
View Replies !
View Related
Creating A Link That Does Nothing
Hello, I have a question that doesn't quite pertain to flash, but perhaps you experts might be able to help.
I am trying to create a text link in HTML, that will enable the user to click on the link without it actually going anywhere. That is, I would like to have a particular word highlighted so that it behaves like a link - your mouse changes into a hand or a finger like it would if it were a link, but when you clicked on it, it didn't go anywhere.
I tried a blank <A HREF=""> statement but it simply took it as a file name and opened up a ERROR 404.
If anyone could help, I would be the happiest person in the world.
Demosthenese
View Replies !
View Related
Creating Link To Exe
Hi
Can someone please tell me the code for loading another exe file. This is not for a website, but for a presentation. I have tried with the "geturl" function but that don't seem to work.
on (release) {
getURL ("/prorgam.exe", "_blank");
}
Please help.
View Replies !
View Related
Creating A Link Using Id3 Tag
Hi,
I am trying to create a link using id3 tag. I tried to use a href tag in the script and cannot find the way to get this work so far. The whole purpose of this is to give a credit to an artist who provided a track to me...
Could anyone help me with this line?
Here is the part of AS for MP3 player:
Code:
bgMusic.onID3 = function() {
trackInfo.text = "track: " + bgMusic.id3.TIT2 + " by " + bgMusic.id3.TPE1 + " from <a href=" + bgMusic.id3.COMM + ">" + bgMusic.id3.COMM + "</a>";
// id3.COMM has a site's name such as www.flashkit.com
}
When I test this, the whole tag <a href=xxxxx appears on the textfield and no link functionality there. I tried placing single quoates around href tag, but no improvement.
Also, I was wondering what I need to do to have the link open a new window...
Thank you for your help!
- takako
View Replies !
View Related
Help Creating A Link.
I'm actually quite new to flash and actionscripting, so I thought downloading a template would make things easier... NOT!!!!
All I want to do is make the buttons on my menu link to the next page. Here is the script on the button:
on (rollOver) {
if (_root.link<>1) {
this.gotoAndPlay("s1");
}
}
on (releaseOutside, rollOut) {
if (_root.link<>1) {
this.gotoAndPlay("s2");
}
}
on (release) {
if (_root.link<>1) {
_root["item"+_root.link].gotoAndPlay("s2");
_root.link = 1;
}
}
I know that the first part of this code has to do with the animations on the button, however, that last part (the release part) is referring to what link?
I tried adding getURL, however, the button does nothing, all it does is play the animation. Please help!!!
View Replies !
View Related
Help Creating A Link
Ok I need help creating links with my banner. It's a take off of Macromedia's tutorial banner for the Coffee Shop.
What it is, is a banner. You have the "Front page" of the banner. And it has a next button. The User clicks the next button and it displays the next "page" of the banner. I WANT the user to then click THAT page (or somewhere) on that "page" to be directed to a whole new page IN the current browser window. Can ANYONE please tell me how to change the script below so it will do that?
/* 0 */
var image0title:String = "Click Next To View:";
var image0desc:String = "Photos, Videos, Forums, Screen-Shots, Stories And Much, Much More";
var image0uri:String = "images/Ban1.jpg";
/* 1 */
var image1title:String = "Video Section";
var image1desc:String = "Click Here to view a multitude of videos we've made ourselves.";
var image1uri:String = "images/Ban2.jpg";
The image1title:String is my title text on my banner.
The image1desc:String is the description text on my banner.
The images/ban2.jpg is my background image on my banner.
I don't care of some of that TEXT is the link....or what I really want is the background img to be the link. Either works for me can anyone please fix this? I've only spent 2 hours on ActionScripting and trying to learn. I couldn't figure out how to do it through the tutorials. Thanks. IM or email me! eve_ruso@yahoo.com
View Replies !
View Related
Botton Help
hey, im trying to have multiple buttons where there shape changes if you click on one, then if you click on another it reverts back, however im stuck... ive attached the file im working on
i think it needs and if else statement but i donno
View Replies !
View Related
Botton
Hi
I wanna make a botton that when we click on it or roll over on it the
picture of hand doesn't come instead of the picture of our original cursor
when we are on stage.
moreover,I want this botton to work just like the ones which we can creat in flash software,
please help me .
best regards,
Ali
View Replies !
View Related
Creating A Hidden Link?
Hi
I have been ripping my hair out trying to find out how to have a hidden link in flash. All i need is the mouse not to change when i move over the button i have created.
Is it possible?
Cheers
Chris
View Replies !
View Related
Creating A Link For Downloading
Hey ppl, anyone, everyone!
I was wondering if someone can tell me how i can create a link..say from a word "download" that the user can click on to download say a word file from your website?
Cos what i wanna do is to put up a flash resume website, and allow prospective employers to click on a link that will allow them to download my academic transcript amongst other things..
Please help me!
Thank you
View Replies !
View Related
Creating A Button Link With .as
have a look at http://www.carter-design.com/new
this is a project I am currently working on and am stuck with one particular area.
In the work section I want to display a list of clients and the project. I will need to update this as easy as possible (with my limited amount of actionscripting knowledge). I have made the list you see on the site by making a movieclip called clientlist - inside that movie clip is a textbox with the variable name 'client'. and on another layer a overstate button with a rollover state being a orange line. I then go back to the main stage at have written some code to duplicate the movie clip and give each duplicated movie clip its own movieclip name. All I then need to do to change the client names is refer to the movieclip name generated and the variable name for the text box
ie. clientlist.client8 = "Coca Cola"
This works fine, and all clients have a rollover state with an orange line. My problem is, how do I make a different link for each of the duplicated movieclips )(with the orange over state button in it) to load another .swf on a higger level. How do I name the link.
Does this make sense.
have a look again at http://www.carter-design.com/new in the work section to see if what I say is clear enough.
Dont worry about preloaders and formatting as I am still working on this. Your help would be much appreciated.
Please talk to me as if I were stupid as I dont have great actionscripting skills.
Regards
View Replies !
View Related
Creating A Link To Download From?
Hi
I am making a website in Flash5 and I want people to be able to download stuff from it.
Does anyone know if theres a little bit of actionscript, to start a download from a server.
If not does anyone know how to do it, I dont think its that hard cos loads of sites have it, I think it's just me being thick.
Thanks very much
Pedros
View Replies !
View Related
Creating An Email Link
i need to create a quick & easy reply link via email, in my flash site... how do i do it?
do i need to create a form using CGI script?
do i need any specific hosting requirements?
any info on this subject would be most helpful.. thanks in advance
k
View Replies !
View Related
Creating Bilingual Link
Hi..
i'm a newbie in flash and right now i want to create website bilingual (france and english)and each contents using external files(xml,images).
normally, i'd just create for each language a different layers to thread each button link but i think it wouldn't efficient if i add other languange in the future.
for example, if a user click one of the flag button/image(UK or France) in front menu, it will be forward to another frame and call the content of its frame (buttons,textes,etc). I'd like to know what kind of command (if exist) in actionscript as shortcut to verify which flag buttons that have been executed from the front menu and then call the content which correspond to each language.
thank you for the explanation
Nomad
View Replies !
View Related
Creating A Link From A Flash Swf
I'm trying to link my swf to my site map page. I've createded a frint page ....fancy movie with jpegs and faded images.......When you come to the site that is the first page th viewr sees. Movie palys......just a little text thing....then I would like them to ba able to click and go "inside" the site. Can I use a clear gif and insert that over my swf? Do I need to use action scripting on the movie itself ( add it in the timeline?). I just want the viewer to be able to click anywhere on the page to access the next page which is the site map. Thanks.....what an awsome sight!
Chico
View Replies !
View Related
Creating Link To Another Site...
I wanna create a button that will link to mapquest driving directions so that all they have to do is input their address and the destination address is already defaulted to. i found instructions for html on mapquest: http://www.mapquest.com/features/main.adp?page=lf_dir
It is the first option that i want to implement into flash.
My question is how do i do this??
I want to create a button on my contacts page.
Thanks in advance!!!
View Replies !
View Related
Creating A Link To Url *and* Different Frame
first off, thanks for any help in advance...total newb here.
i have a menu in flash and each part of the menu is set to go to its destined marker when clicked, like any other normal flash menu. now, can anyone tell me how to set a different link to a URL in a differnet frame (like html frames, not flash) in the same page, *within* the same link in the menu? i think that sounds confusing so i'll give an example..
in my flash menu, if you click contact it goes to marker "contact", but when you click contact i want to set a frame (again, html frame) to load a contact page, as well.
i know i probably made this sound way more complicated than it needed to be. is this a simple actionscript that someone could just copy/paste for me? thanks again!
View Replies !
View Related
Creating An External Link
Hi,
Complete newbie here.
I need to create an external link to a website from the existing Flash Content I have.
I want people to be able to click on a thumbail picture and be taken to the said website.
Also there is some text. I wish to turn into a hyperlink also.
Thanks in advance to anyone that can help out with this!
Aza...
View Replies !
View Related
Help On Creating Website Link
Hi everyone,
I use to make buttons to link to other pages of my site using getURL in Actionscript 2 how do I do it in Actionscript 3, here is my code and its not working. Any help would be very much appreciated. Thanks.
homeBtn.addEventListener(MouseEvent.CLICK, fncHome);
function fncHome(e:Event):void{
trace("home");
getURL("index.php");
}
Thanks,
Literain
View Replies !
View Related
Creating E-mail Link
Hi everyone. I am just wondering how I can create e-mail link with ActionScript. Let's say, there is a button object, and then when you click it, the e-mail application such as OutLook launches with a window with a certain e-mail address filled in. Something like that...
I am really appreciated if some of you could help me out.
Thanks,
Karatechop
View Replies !
View Related
Creating A Flash URL Link
Hello there,
I'm trying to create a number of URL links in a Flash menu I have made for a website soon to be released officially on the internet. When I test the movie in Flash, I click on one of the menu items and it not only opens the link I have specified to that button but opens all of the other links.
The FLA file can be viewed by visiting: www.freewebs.com/torbayhospitalradio/header.fla
Regards,
Coxdabd.
View Replies !
View Related
Creating A Flash URL Link
Hello there,
I'm trying to create a number of URL links in a Flash menu I have made for a website soon to be released officially on the internet. When I test the movie in Flash, I click on one of the menu items and it not only opens the link I have specified to that button but opens all of the other links.
The FLA file can be viewed by visiting: www.freewebs.com/torbayhospitalradio/header.fla
Regards,
Coxdabd.
View Replies !
View Related
Creating A Link From Flah
Newbie and pulling hair out. Trying to create a link inside flash file to goto a url. File type ".fla" contains a layered photoshop file that has been animated. Would like to click anywhere inside flash file to goto URL. Before posting have tried numerous things from button symbol to movie clip, etc. Have not found flash help helpful. I'm sure it is my lack of experience inside flash, viewed forum topics and tried several things listed all to no avail. Would appreciate it if someone could give step by step instruction, or an example file that showed the steps.
Am I so dense with Flash CS3 or is this program really that difficult. Have little or no problems with Photoshop, Illustrator, LiveMotion and other adobe products....what am I not understanding.
Thanks in advance.
View Replies !
View Related
Creating A Site Map And Link
Hey folks, new to these forums, but I'm on a deadline for this evening, and I have an entire flash site ready, with only one small problem:
The Site Map. I've uploaded my .FLA for people to have a look at, so I can get some serious help with this.
Just reply here if you can take a look.
As you'll see if you download the file, there's a site map button in the upper right corner, that does nothing when you click it.
Now, there are 5 main pages, the Home Page, M.Maurus page, Equipment, On Assignment and Contacts page. I want to make a 6th, and have that be the Site Map, and then link to it from the button in the top right. Can someone please give it a shot and let me know ASAP? I have about 2.5 hours to get this done, and I'm turning to these forums for the help I need! Please let me know, and the process you used to complete it!!!
Thanks,
G
Edited: 01/25/2008 at 02:48:48 PM by cuorebrave
View Replies !
View Related
Creating A Download Link
Hello there im pretty new to action script and i was wondering if anyone new how to get a simple button so that once it is clicked it then downloads a pdf (or any file for that matter) to the users computer. ie when you click a button the save as command apears. Any help would be much appriciated thanks
View Replies !
View Related
Creating A Website Link In XML And Having AS 2.0 Seeing It.
Hi and Thanks for reading this,
How do you create a hyperlink to a website in XML that can be seen in flash actionscript 2.0?
Do I need to make another text field in flash? Can I put the link in one of the already existing text fields?
Here's the code for the scrolling thumbnails in flash:
and here's my XML code:
[code]<?xml version="1.0" encoding="utf-8"?>
<photos>
<image photo="MissOops">
<caption>HERE LIES THE COPY FOR MISS OOPS.</caption>
</image>
</photos>[code]
Attach Code
/**********import classes**********/
import mx.transitions.*;
import mx.transitions.easing.*;
/**********declare variables and instances**********/
var nextX = -380;
/**********create objects**********/
var xmlPhotos:XML = new XML();
var initThumb:Object = new Object();
/**********handle events**********/
xmlPhotos.onLoad = function() {
for (var i:Number = 0; i<xmlPhotos.firstChild.childNodes.length; i++) {
initThumb.photo = (xmlPhotos.firstChild.childNodes[i].attributes.photo);
initThumb.desc = (xmlPhotos.firstChild.childNodes[i].childNodes[0].firstChild.nodeValue);
makeAThumb(i);
nextX += 100;
}
setInterval(_root,"scroller",50);
};
initThumb.onRollOver = function() {
thumbScaleX = new Tween(this, "_xscale", Bounce.easeOut, this._xscale, 120, .5, true);
thumbScaleY = new Tween(this, "_yscale", Bounce.easeOut, this._yscale, 120, .5, true);
};
initThumb.onRollOut = function() {
thumbScaleX = new Tween(this, "_xscale", Bounce.easeOut, this._xscale, 100, .5, true);
thumbScaleY = new Tween(this, "_yscale", Bounce.easeOut, this._yscale, 100, .5, true);
};
initThumb.onRelease = function() {
txtTitle.text = this.photo;
txtDesc.text = this.desc;
mcLargePhoto.loadMovie("images/large/"+this.photo+".png");
};
/**********functions**********/
function makeAThumb(num) {
var thumbName:String = "mcThumb"+num;
panelBottom.mcScroller.attachMovie("thumb",thumbName,num,initThumb);
panelBottom.mcScroller[thumbName].mcPhoto.loadMovie("images/thumbs/"+panelBottom.mcScroller[thumbName].photo+".png");
panelBottom.mcScroller[thumbName]._x = nextX;
panelBottom.mcScroller[thumbName]._y = 0;
panelBottom.mcScroller[thumbName]._xscale = 100;
panelBottom.mcScroller[thumbName]._yscale = 100;
}
function scroller() {
//if (this._ymouse>mcScroller._y) {
var scrollSpeed = (this._xmouse-Stage.width/2)/15;
if (Math.abs(scrollSpeed)<1) {
scrollSpeed = 0;
}
panelBottom.mcScroller._x -= scrollSpeed;
if (panelBottom.mcScroller._x>0) {
panelBottom.mcScroller._x = 0;
} else if (panelBottom.mcScroller._x<Stage.width-panelBottom.mcScroller._width) {
panelBottom.mcScroller._x = Stage.width-panelBottom.mcScroller._width;
}
updateAfterEvent();
}
/**********set properties**********/
xmlPhotos.ignoreWhite = true;
/**********run now**********/
xmlPhotos.load("photos.xml");
panelBottom.createEmptyMovieClip("mcScroller",this.getNextHighestDepth());
panelBottom.mcScroller._x = 0;
panelBottom.mcScroller._y = -78;
View Replies !
View Related
Creating A Link On A Hotspot
Hi can someone help me how can i make links on my invisible buttons using action Script 3.The invisible buttons are on a map and are country names i am right clicking on the desired button and its selected but i donn see it in the actions panel to put the code i also want to know the code to use
View Replies !
View Related
Creating A Link Over A Piece Of Swf ?
Hi all peoples,
this is my first question here. I have to make a a hyperlink from selected area over an external loaded swf.
I load the swf inside of scrollpane, but how can I let the user to create this area as big as he wants and how can I get its position after?
If you have any ideas how can I do this I am open for suggestions.
View Replies !
View Related
Creating An Email Link.
Hi guys... it's been a while.
I have an email button on my site and I want to know how to set it up. Is it a "getURL" thing or some sort of "mailto:" deal.
You are all familiar with the email links that open an outlook email with the address in the "To:" field... Well that's what I'm trying to do but I'm stuck. I know this is probably an easy one to answer but I've tried everything. Any suggestions?
-oasis
View Replies !
View Related
Right Botton Disabled
Hello, im trying for disable the right botton action in a flash used as active desktop. How can i do this? The problem is that flash take control of your desktop and you cant use the windows right click menu over the desktop.
Thanks a lot
sorry about my english!
View Replies !
View Related
Fade Out Botton
how do I make a botton that fades out on mouse out?
I know how to make it fade in on mouse over but don't know how to make it fade out on mouse out.
where do I actually put the movie clip?
Can anyone help?
View Replies !
View Related
Botton Effects
Hi all,
I'm just wondering if there is any tutorial for botton effects?
This is what I wanna do,
- 5 bottons with a fade in effect
- The bottons are fadeing in like a serie, ec. first the Home botton fade in and when its done the next botton fades in, and so one..
- And on (roll over) the text on the botton, sakes or something like that.
I have problem to making this work, I don't really know how to do this.
Regards,
Johan
View Replies !
View Related
Installer Botton
hi
i want create a botton that when i press it install a softwar from the hard and not internet , i locate this software (in .exe format)beside my *.swf
pleas help to me to creat this botton
View Replies !
View Related
Mailto Botton
hi
I´ve read the tutorial on how to make a mailto botton, but probrably I´m forgetting to do something. My botton do not work.
I´m using flash MX. this the as i´m using.
on (release) {
getURL("mailto: felipe.marquardt@terra.com.br", "_self");
}
May the problem be on the host?
thanks
View Replies !
View Related
|