Using Actions To Link To A Website.
Hello Everybody:
I'm, well, kinda new to flash, and need some help linking to a webpage using a button. If anyone can help, I'd appreciate it. Thanks in advance.
jaspar
FlashKit > Flash Help > Flash Newbies
Posted on: 11-20-2005, 06:37 PM
View Complete Forum Thread with Replies
Sponsored Links:
Link Inside An Mc That Has Actions...?
i think we've all run into this problem and there has to be an easy way around it!
i've got a clip with mouseOver and mouseOut actions applied to it. inside the clip, i have some text and I want a piece of the text to have a link on it - either the text itself or just a button or something. unfortunately, when you apply mouseOver or Out actions to a movie clip, Flash wont recognize actions applied to clips or buttons or text that's inside that mc.
what can i do to fix this problem?? it can't be that hard, is it?
thanks,
CB
View Replies !
View Related
Creating A Link Disables Other Actions....arg Help
Hey there...
Ok, I am using the "3 collapsing menus" fla from Senocular:
http://www.senocular.com/flash/source.php?id=0.140
I have added a couple of section titles, and removed the sub-menu buttons from all but one of the section titles. When the drop-down section title is clicked, it opens up a sub-menu. clicking ANY section title will close the drop down.
Problem is that I would like each of the "section titles" (except the one that is a drop-down) to be a link in and of itself as well. If I apply some AS to the section title movieclips to make it so:
title.onRelease = function () {
loadMovie("faq.swf", _root.contentarea);
}
The actions begin to act strange. The drop down works fine. If the drop down is "closed" the links work fine as well. If the drop down is open, and you click one of the other section titles, it will close the drop down, but it will not open the linked swf.
I would like it to do both!
Any ideas?
View Replies !
View Related
Link A Website
I have made a flash menu for a website, but the rest of the website is just normal html.
The problem is: I can't find how to link the menu with the site, so I want to link the button "artiesten" to artiesten.htm
Please help me.. i have to upload this site very soon
View Replies !
View Related
Website Link: SWF Or EXE?
I'm trying to add a link to a flash video on our website. The only thing I've been given is the .exe file.
When visitors click the link, the only option seems to be to download the file. I want them to be able to VIEW the video. Would I need the .swf file for that?
(What's the difference between linking to the .swf and linking to a .exe?)
View Replies !
View Related
Link Banner To A Website
Hello,
I hope this is an easy one to anwer.
I have a Flash banner on my webpage with many diffent layers. How do I make the entire banner linked to a website address if someone clicks anywhere on the banner?
Thanks in advance,
MonaE
View Replies !
View Related
How To Create Link To Website?
hi,
May I know can anyone advise on how to create a link to webpage?
(1)I create a button on stage and I use behavior to create a link to a particular site to the internet. I have set the behavior to be "on press". However, when I "test movie", it will automatically lead me to the link which I have typed in "behavior". How come is it like that? I thought it will only lead me to the webpage when I clicked on it?
(2)I have written a html file to embed this swf file. When I opened the .html file, there is no respond when I clicked on the button. Anybody know why?
May I know what is the correct procedure to create such link?
thanks a lot.
View Replies !
View Related
Link To Website From Within A Movieclip Off A CD-rom
Hi
I need to link to a website from within a movieclip (this is for a CD_Rom so it will be a standalone projector.
This is the code I've got:
on(release)
{
_parent.getURL("http://www.asa100.com/", "_blank");
}
It does open the browser but dosn't go to the site. Can anyone help me with this.
Thanks for all the help.
Regards
View Replies !
View Related
How Do I Link A Banner To A Website?
I created this flash banner:
http://www.geocities.com/imagocreati...er/Banner.html
Now I need to link it to the website but I don't know how to do that. Last time I made a banner the person wanted a ClickTag from Google so I added the transparent box over the banner and copied the code that Google provided but this time it seems that all the person needs is a direct link to their website..
Thanks!
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
Trying To Set Up A Button In My Website Which Will Link To Another Swf
trying to set up a button in my website which will link to another swf. i know how to do that the only problems is my button does not seem to be working. currently i am just trying to get it to play a frame in the current file as a type of test. New to this game so is there any chance any one can help me or have a look at it. It the button name button1_mc under the layer black button
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
Flash Link To Website
Ok this is probably really simple to you guys but im acomplete newbie and learning as i go along.
Ive created a banner for a website and have included some motion tweening and text effect using swishpowerfx
Attached the file to help out understand a bit more what im asking
http://members.lycos.co.uk/samsung824/Untitled-8.swf
What i need is their should be two links their mobilemods and t100world when you click on the names.
How can i complete this process as ive no idea
View Replies !
View Related
How To Link To Website That Is Not Live
Hi
Hope this is not too dumb a question!! - but i am building a portfolio website and Ihave designed three websites that are not live - how would i be able to link to these sites within my flash site..basically i want to dreamweaver site to appear in a separate window ( a pop up window) any help would be greatly appreciated
thanks
nic
View Replies !
View Related
Flash Link To Website
Ok this is probably really simple to you guys but im acomplete newbie and learning as i go along.
Ive created a banner for a website and have included some motion tweening and text effect using swishpowerfx
Attached the file to help out understand a bit more what im asking
http://members.lycos.co.uk/samsung824/Untitled-8.swf
What i need is their should be two links their mobilemods and t100world when you click on the names.
How can i complete this process as ive no idea
View Replies !
View Related
Using An Already Generated SWF File As A Link On A Website?
Is it possible to use an already generated .SWF file as a link on a website? If I use an image between the <a href...> and </a> tages, I can click the image and go to the link. But if I do the same with an attached SWF file, clicking the SWF will not allow me to go to the link. Is it possible to do this with the already generated SWF file, as going back into the FLA is not an option.
View Replies !
View Related
Link Flash Intro To Website
Hello,
Thankyou for reading this. i paid $250 to boxedart.com to modify one of their flash intros for me to start when people first typed in my web site address. At the end of the Intro they have put a ENTER button there. This is where people can press to enter my web site. it took me 6 months to work out everything about creating and publishing my web site but now i really can't wait to get this Flash Intro going with it.
Can anyone help me to do this? Please.. I would be eternally in your debt. Thanking You. God Bless you.
Warren Welsh
Sydney, Australia
View Replies !
View Related
How Can I Improve My Website?...(link Inside)
http://www.conflix.co.uk/conflix02.html
Hi all, I'm designing this for my mate, I have completed it roughly but I am not satisfied with the quality of it. You might notice there are alot of popup windows when you click on certain navigation links
songs - this is because I don't know how to get a "save target as" command in flash so i made a html page in dreamweaver insted and linked it.
shop - do not know how to put paypal buttons or links into flash
gallery - do not know how to put decent gallery in flash
news - ideally I wud like to make a scrollin bar for this but again lack the knowledge.
I realise mayb I need a preloader
any help/advice you guys can offer on making this website better would be much appreciated.
View Replies !
View Related
Error With Link To External Website
Hi,
I'm trying to make a button work in Flash that links to an external website but I'm getting an error message. On another frame, I also have a button that opens a new mail message for email and that seemed to work. However when I used the same syntax to create this new button on a different frame, Flash gave me an error message that said it was conflicting with this other previous button. I also tried to change the var link to var mylink but I'm still getting an error. In this same action frame, I also have menu buttons that navigate to various frames within Flash. I'm not sure if I'm getting a conflict with these buttons as well. Here's the code:
var mylink:URLRequest = new URLRequest("http://www.nonamesite.com");
mylink_btn.addEventListener(MouseEvent.CLICK, onClick);
function onClick(event:MouseEvent):void
{
navigateToURL(link);
}
Anyone have any suggestions??
Also, this is the error message I'm getting when clicking on the button:
TypeError: Error #2007: Parameter request must be non-null.
at global/flash.net::navigateToURL()
at Myflashfile_fla::MainTimeline/onClick()
View Replies !
View Related
PLAYING A FLASH .exe Off A Website Link?
Hello i am running flash xp and i have created an informative animation. i want to be able to send out a link in an email or off my website and it opens another window and plays the .exe automatically. How do i do this? is publishing it in an exe the right thing to do in the first place.
View Replies !
View Related
How To Link An Invisable Button To A Website...?
hi all!
i have a simple question.
i've got a invisable button that will be under a picture. when the viewer clicks the picture i want a new window to open up to a website that i specify.
i can make the invisable button but am unsure what happens after this point!
pretty lame, huh?
can someone give me an assist?
it will pad your stats!!! lol!
thanks!
let me also add that i have my pics as graphics tweened from alpha 0-100% and when i put my button over them the tween stopped...why?
View Replies !
View Related
Creating A Link To An Internal Website
I know that flash can create a link to an external website, my question is: does flash has the capability to link to a site (.htm file) that i created and saved on disk? if so, how do I go about doing this?
Secondly, in as2 one was able to send an e-mail message using "mail to" behavior. What is CS3's way of doing this?
Lastly, this question is for Flash CS4 users. Did adobe upgrade behaviors for AS3?
View Replies !
View Related
Link Button To Other Page On Website
HI!
I created a simple flash based website and when I ftp-d it the buttons wouldn't work on the home page. Because of this I took the website down, but, while it was on the net no matter which button I pressed I got an error message stating the path was incorrect. It showed the incorrect path as c:MyDocuments/FlashStuff/KARPATOK/Karpatok/history.html/
This was the path I used and that worked before I put the website on the net. Ofcourse, before I put it on the net I changed the adress in the Actions panel to:
http://www.karpatok.org/history.html (and so on for each button)
I left the Windows field empty and I left the variables field at it's default which says "Don't send". I then published the settings.
So, even with the new address for each button, for example,http://www.karpatok.org/history.html , and after I ftp-d the website to the net, when I clicked on any button on the homepage to take me to another page within the website, for example, the history button , I still got the error message "incorrect path as c:MyDocuments/FlashStuff/KARPATOK/Karpatok/history.html/"
All I would like to do is be able to click on a button on the home page that will take me to the specified page withing the website. Thank you for your time and patience with me. What am I missing?
View Replies !
View Related
Link To Flash File From Website
can anybody tell me the html code to add to a webpage that will create a link that when clicked, will load a .swf file and for the file to open in flash player and not a browser.
and if possible for the flash player to be fully maximised on the client computer
thanks you guys
larry
View Replies !
View Related
Link Pics Off A Image Gallery To Website
i have created a Image Gallery by using
"Creating an Image Gallery in Flash" tutorial from oman3d
http://www.oman3d.com/tutorials/flas...egallery/4.php
and instead of when you click the image and a larger one being displayed,
i have been trying to get it to link to another website
(so each image within the image-gallery links to a different website)
is this possible to do? ive been at it for hours and no luck. Because each image is a movie clip and looks like you can only link buttons? im not to sure. Its probably something simple that ive done wrong
thanks
andy
View Replies !
View Related
|