Professional :: Linking A Button Within The Same Website?
May 12, 2010
I have created mc's (movie clips) for each one of my pages and for pages within those pages, if you can understand that lol. The problem I am having is, linking from one mc to another.
Example: I am in my home page movie clip, and I have a "read more" button on one of the articles, when a user clicks on this button I want him to be redirected to the page that article is on.
In my case, I am making a website that gives users information on Paris, France. On my home page I have an article that speaks about Napoleonic and I have created a "read more" button. The information on Napoleonic is on the landmarks page(which is its own movie clip). When the user clicks on the "read more" button I want him to be redirected to the page thats in its own movie clip with the info.
View 6 Replies
Similar Posts:
May 13, 2010
I am creating a website in flash and I need help linking to internal pages. I have created mc's (movie clips) for each one of my pages and for pages within those pages, if you can understand that lol. The problem I am having is, linking from one mc to another.
Example: I am in my home page movie clip, and I have a "read more" button on one of the articles, when a user clicks on this button I want him to be redirected to the page that article is on.In my case, I am making a website that gives users information on Paris, France. On my home page I have an article that speaks about Napoleonic and I have created a "read more" button. The information on Napoleonic is on the landmarks page(which is its own movie clip) and inside the landmarks page is the Napoleonic page(also its own mc). When the user clicks on the "read more" button I want him to be redirected to the page thats in its own movie clip with the info.
View 1 Replies
Oct 12, 2010
how to link the button I made to say Scene 2 of my flash project. I'm not sure the actionscript required or where I put the action script.
Here is the file I'm using, trying to simply figure out how to make the open button go to scene 2. [URL]
View 2 Replies
Jul 19, 2011
I m building a website and lately i am facing a lil problem.i have placed a button from windows->components-> button with movie type button property now the issue is i am unable to link that to a pdf file.i want that button to open a pdf file.and how do i do that.
View 18 Replies
Mar 22, 2012
Decided to stick with AS2.0, i've got buttons that are working great, linking to certain frames in my timeline etc. The only problem I'm having is after they have been clicked and gone to their respected frame, they remain clicked. This is my code for each button
[Code]...
Could this be something in my code or something in the timeline i've possibly done wrong?
View 8 Replies
Feb 12, 2010
am i publishing the movie incorrectly? It works great when I preview the flash file (cntrl+enter), but after I publish it and insert it into the html (in dreamweaver), the file shows up and animates perfectly, but when clicked, no link... It doesn't do anything
View 3 Replies
Apr 10, 2009
I'm trying to adapt a tutorial I found on this website entitled Complex Button Rollover - Rollout Effects The effect I am trying to achieve is instead of linking the animation to a website I wan't to be able to navigate to another scene. The bit of the actions I've been changing in the downloaded fla is this,
Code:
this.onRelease = function(){ getURL("http://www.kirupa.com","_blank"); }
To this,
Code:
this.onRelease = function(){
gotoAndStop("Scene 2", 1);
}
But this doesn't seem to work when I click it just seems to refresh the animation. I have got Stop(); at the beginning of both scenes.
View 2 Replies
May 23, 2010
I am fairly new to flash and I have started to attempt to modify a template that I found online to make it my own. The thing that I am having problems with is the URL Links. There are 5 different clickable tabs on the header that I have, and when you edit it in flash cs4, each one is the same image when you edit it. The only way in which you can change what each one of them says is by editing them in the library. This isn't the problem. I want to link these tabs to different pages on my website. When I edit one of them, all of them change to the same url link. The file is too large for me to upload I think.
View 4 Replies
May 18, 2008
So I'm building a drop down menu, and I'm done, almost, all I need is to link everything. The tutorial uses action script:
on(release){
getURL("http://www.something.com",_blank)
}
so it works for me when I enter actual website (ie coldplay.com) BUT I'm trying to link everything from my computer, this to be more specific: F:ColdplayWebFinalcoldplay.html
But it DOESN't WORK and I spent so much time building everything. Is there any way to make it work?
View 1 Replies
Oct 16, 2009
I have an intro movie for my website, I know how to make it load another URL after it has played but how do I get it to load another swf. I know there is an easy answer that is escaping me.
View 1 Replies
Aug 26, 2008
I have a PDF I want to make downloadable via a button. Is there an action scrip command i can put on a button so the file can be downloaded?
View 3 Replies
Nov 29, 2010
With the aid of Dreamweaver CS4 I've manged to create a temp 'under construction website'. This website has a fullscreen .swf looping in the background.
I have made 4 of these very short looping .swf files.Is it possible, by adding one simple button on the screen, for the user click and the next .swf background starts playing? So basically this button acts a 'next' button, and each times it's clicked the next .swf starts to play.
[URL]
Ps: check out the source code. The flash background code starts from '<!-- flash background -->'.
View 7 Replies
Sep 30, 2011
I have created a flash website in cs4 using AS2. I have 2 layers in my time line, content and AS. I created scenes along the time line and labeled each scene "about" "contact" etc.Each scene is 10 frames long and has the stop action applied to it. The gotoAndPlay command is applied to each button within the scene and I have used the folowing action on the buttons to link the pages:on (release) {gotoAndPlay("scenename");}This does link the pages however if i hit any of the buttons twice, it directs me to the wrong page. For example if I hit the home button twice, it will direct me to the about page. Should I be targeting a frame within the scene also?
View 3 Replies
Nov 17, 2010
I am making a website purely on flash (actionscript 2.0), for a school project, and I have set up one frame for each page. I also made a drop down menu, but unfortuantely I can't link them to the actual pages, since the drop down menu is a movie clip, if I use an actionscript such as:[code]it goes to the 3rd frame in the movie clip and not the main scene.
View 3 Replies
Jul 24, 2008
i am having some problems linking my mp3 player swf file to my website. It looks like it loads fine, and the buttons work and change the track of the song, but there is no sound heard or played. Here is the code i used to do this:
[CODE].....
As i said before, the player loads up and shows up on the website with no errorsand the buttons work (going to next or previous song as well as the pause and play buttons pausing and playing the music properly), but no sound can be heard. (this is being test on the latest version of firefox).
View 6 Replies
Apr 6, 2010
Is there a way to display a website [URL] inside your Flash website?
Looking for something similar to HTML inline frames
<iframe> src="adobe.com" height="200" width="300" </iframe>
View 1 Replies
Sep 30, 2010
I had an issue with my index.html testing on IE and the preloader just stalls on "loading 0%". he told me that locally the progress event doesn't have time to load and to try uploading it to your server and see if it works. It worked just fine. Rah Rah Kglad.
So today I'm fine tuning the swf/ fla to clean it up. Reduced some picture sizes and deleted unused files and reduced the swf from 4000 KB to 350 KB Rah Rah Gene. replaced the swf in Dreamweaver and re-uploaded with Filezilla. Rah ah Filezilla.
Everything working great and my preload went from 23 seconds to less than 3. So I'm real happy except for one small issue. Firefox and IE both do this. If I hit the refresh button, it stalls on "loading 0%" once again just like it did locally.
If I hit the refresh several times it WILL refresh randomly....2 times refresh......10 times refresh etc.
[URL]
Spoke to my hosting company who said everything seems fine on the server. BTW he said Chrome did NOT have this issue Rah Rah Chrome.
View 1 Replies
Mar 29, 2010
I"m building a presentation & have two separate swf's. One is about 80 mb, the other is 40 mb. When I tried to export the larger one, I got a warning that it exceeded 16k frames. I figured out how to work around that. But now I need to integrate both swf's. If I take the smaller one & import it into the larger one as a new scene, will that blow up my export ability again? Can I link between two separate swf's using some sort of gotoAndPlay function?
View 5 Replies
Oct 27, 2009
I am currently building a website in flash for a school project and it has to be on a timeline. I was wondering if you could help me i have buttons at the top of the page how would i link these to another frame so it can be used as a new page
View 6 Replies
Nov 23, 2010
I need to get the code to make a button link to a pdf located in the same folder on my host server as my flash movie and index.html file. (or should it be located differently?) I want the pdf to load in a new window..
View 3 Replies
Jul 20, 2009
After defining my button as a button and then going into the F9actionscripts menu, I don't know what code to input to make the button link to a specific file. I'm doing this as an autorun swf for a CD I am making.
View 1 Replies
Feb 28, 2007
I've recently made a simple standalone SWF in a projector format. It contains a button which links to a PDF ..
on (release) {
getURL("cd/manual.pdf");
}
On PC this works fine (although it does open in a web browser rather than Acrobat). On Mac this link does nothing except open Firefox which refuses to open the PDF. The PDF themselves are fine and if clicked on at the source just fire up Acrobat (in Mac and PC).it's possible to force a file to open in a certain App?
View 3 Replies
Jul 2, 2010
I was able to come up with a menu bar to display on my non-flash website, and left linking to absolute last because I assumed it would be the "easy" part.What I have is a menu bar where each item (about, home etc) is a mc, and some of those mcs have animated sub menus within them (mcs as well).My problem is that when any item in a sub menu is clicked, instead of redirecting to their own link, flash it redirects to the link of the mc that contains the submenu.I'm attaching a link to the file so you guys can understand what I'm talking about.The items with submenus are "services" and "markets".
View 3 Replies
May 24, 2011
Ive been working on a site TheCondoBar which will be up and running soon..... but im trying to figure out some steps on "deep linking" into specific frames. i would like to have deep linking to the tabs I have at the top of the swf file Flash File .... and recommendations on what could be done
View 1 Replies
Feb 18, 2009
I am having a problem linking an invisible button to a url. I have 3 invisible buttons that have an action script as follows:
button1.addEventListener(MouseEvent.CLICK,clickHan dler1);
button2.addEventListener(MouseEvent.CLICK,clickHan dler2);
button3.addEventListener(MouseEvent.CLICK,clickHan dler3);
function clickHandler1(event:MouseEvent):void{
navigateToURL(new URLRequest("mywebsite"));
[Code] .....
After I upload the files, I can see the hand icon when I mouse over them, but when I click on that spot nothing happens. I have two text links on the same page that do work. One is an email link and the other is a url link. I have check the button names to my code and they do match.
View 4 Replies
May 20, 2009
Here's my new question: What code I have to input in a button file in Flash, for that when I click it opens a site I've made, in a browser? I'm doing my website in Flash, and the other website I want to put the link was made in Dreamweaver. It's not hosted, it's in my pen, that's why I'm having problems with the code.
View 4 Replies
Apr 29, 2011
I have created seven buttons using Flash version 9 following a tutorial on this site [URL]. The buttons function the way they were designed, however, when I attempt to link them with a URL or a unpublished website file (eg. contact.html or index.html) the button brings up the "TextEdit" application on my Mac.
The action script 3 code that I am using:
btn_6.addEventListener(MouseEvent.CLICK, onMouseClick);
function onMouseClick(event:MouseEvent):void {
navigateToURL(new URLRequest("contact.html"), "_same");}
I have even tried using action script 2 code after changing the publish settings to AS2:
btn_6.onRelease=function(){
getURL("[URL]", _same);}
The results are the same. When I test the buttons, they link to an application on my Mac. All of my buttons are on the same layer.
View 2 Replies
Aug 30, 2011
I have recently followed a Adobe Flash tutorial, which has helped me make MovieClip buttons which extend to the left when hovered over.
This tutorial can be found here: [URL]
An example and download link for the project is at the bottom of that page.
Everything on the tutorial went fine, but now I am trying to work out how to make these MovieClip buttons link to another URL.
What code do I need to do this, and where do I need to put it?
View 3 Replies
Oct 31, 2010
I am trying to link 5 buttons I have made in flash CS5 AS3 to 5 pages and I have made this code, but I keep getting error message 1061: Call to a possibly undefined method addEventListener through a reference with static type Class. My code is
stop();
function button1_clicked(e:MouseEvent):void{
gotoAndStop("page1");
}
[Code].....
View 9 Replies
May 3, 2005
I've converted a graphic that i imported into a button. And put this action script on it to go to a certain scene.
on (press) {
gotoAndPlay("2,1");
}
This button should make the movie go to scene 2, frame 1, but its just not workinBackground info:The first scene is jsut a short intro where a couple buttons finally come up in a keyframe. In the keyframe itself, I have a stop action so the main scene doesnt loop. And on each button I have the action that i wrote above, to go to certain scenes depending on which button i click. Am i totally setting this up wrong structurally? Do i need to put any kind of "Reset" action if i want to go back to a previous scene. Also, in each scene, I have a mouse hide and replace action, could this have anything to do with it?
View 1 Replies