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
ActionScript.org Forums > ActionScript Forums Group > ActionScript 2.0
Posted on: 09-16-2008, 03:13 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
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?
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?
New Website But How Do I Do The Link
me and my m8 are have started useing flash MX and we have made some good stuff problem is i not sure how to but them into a website i no (well understand) HTML so if you could tell me how to or e-mail me how to that would be gr8 cheers!
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
Link To Other Website
how do you make it so when you click on a link it goes to another website???
in the same window, or a new one
Link To Website
How can I make a button in Flash that links to a website???
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?)
Flash Link To Website?
If I make a button in Flash MX, how can I make that button link to another website(http://www.flashkit.com)??
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
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
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.
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
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!
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
Link A Picture To Website
Hello, I am having a lot of trouble linking a picture to a website. Can you pleaser provide me with details steps on how to do this???
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;
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
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
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
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.
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
Please Help Link Flash Intro To My Website
Hello,
I previously asked for some help to link my website to a flash intro i had customised by a company called Boxedart. Jordslsght is trying to help but i havent had any luck so far. Is there anyone that can help me out?
Cheers
Warren Welsh
Sydney, Australia
How Do I Make An .swf File A Link In A Website.
This is what I'm trying to do, but it does't work. Can someone tell me why my add doesnt load?
<html>
<body><br><center>
<a href="http:\www.fraggedhosting.com">
<img src="Banner3.swf" border=0>
</a>
<br><hr>
</body>
<html>
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.
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()
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.
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?
Link To A Website From Flash Intro
Hi,
I have my flash file as an intro to a site but am struggling to link a button or object at the end of the intro to a website. This should be simple I know, but having just started using Flash MX2004 (I now see its not the latest version!) Im struggling. I can mail the file to someone if they can help me sort this out?
Many thanks
Bruce
Link To A Website From A Flash Banner
Hi,
So I have my flash banner and its plays all fine but i need to be able to click anywere on the 250 x 250 box and make it go to a specific site. Im assuming this is relatively easy and Im just very dumb! Can someone tell me what to do in simple man terms?
Cheers
Bruce.
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
Flash Website - 100% Of Browser Size - How Is This Done (link)
http://outlawcoffee.com/
Check out the above link, notice that it's all flash, yet has the semi-cleaness of a strong html feel and somewhat cool for a retail site. ..
Anyway, I'm curios as to how they created the page to go 100% of the browser size no matter what the window size or resolution is. Can someone point this out to me?
Thanks
/fe
After SWF Intro Movie Played How Do I Link To Website
my problem super newbie problem is this:
i have a flash movie and i want to link it to another webpage after it is done playing. i would like to know the actual code i should use, HTML, JS, Etc. to accomplish this.
i know a little HTML but have dreamweaver and use frontpage to code my page.
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
Button Link Inside Movie Clip Link To Slide #
First let me say I am a very new to ActionScript and Flash, but have a pretty good understanding of the web and a basic understanding of object oriented scripts from CSS and a few other languages.
I have a navigation menu which is a movie clip containing buttons inside it and have a slide presentation as my main content. I am trying to make the buttons link to a specific slide # in a different part of my flash presentation.
You can see the page here: http://brhpc.ericlevay.com
The nav menu is a downloaded source and the slide show is the default canned one from the Flash templates directory.
I was hoping to use the gotoandStop (slide#) to make the connection between the nav button and the slide but it does not do anything.
I will provide the source if needed...
Thanks!
|