Professional :: Won't Button Link To A URL?
Oct 1, 2010I gave my button an instance name of "O2Online" on frame 1076. I found AS3 code online and customized as follows:
[Code]...
I gave my button an instance name of "O2Online" on frame 1076. I found AS3 code online and customized as follows:
[Code]...
i recently developed my website and i decided to create buttons to link my site. The problem i'm having is that when i click on a button it's opening up a new tab in my browser.
on (press) {getURL("services.html", "_main");
}
i want to link a submit button in a movie clip to the main timeline, any ideas of how to do it?
View 15 RepliesI installed a Flash template that has a "Read More" button which is used in several locations of the site. The button corresponds to a single symbol called "button_more" and another symbol within that symbol called "area_more". It's a "Movie Clip" type of symbol, not a "Button" type symbol.
What I'm trying to figure out is where would I find the link to the page where that button points to - it points to different pages of the site depending on where it's located. For example, in the About Us section it links to a page that has more details describing About Us. In the Services section it links to a page that has more details describing Services. So the same symbol is going to different links.
I checked the Properties of the symbol and it doesn't have any option for a link. (I guess it's not really going to a link, but to a different frame in the timeline) But where would I find exactly where each button points to in case I want to edit one of them in the future, or create a new button with a new link?
I try to create a flash menu; where every button on the screen operates as a simple getUrl() link. Because of this, I have taken the following steps:- Create new document.- Create a symbol on the canvas.- convert is into a button Symbol- Double Click the button and adding events for up, down, over by clicking F6 on each frame.- back in scene one, I right click the button and open the Action panel- Adding the Script: "on release { getUrl('index.html'}- Press ctrl + enter to test the move ! ( index.html exists in the same folder as the flash file.)
View 1 RepliesI installed a flash template. It has navigation buttons with a nice roll-over effect. The buttons are all located within a symbol called "menu" (it is a Movie Clip type symbol, not a Button type). Each individual button in the menu appear to be in its own separate layer, so the first button is in a layer called "item1, second button in "item2", and so on. I want to edit the link for the fourth button so it goes to another website but I can't seem to find the code to edit the link. I managed to find
[CODE]...
and this does work - upon pressing the button it goes to the website link. However, there is no more roll-over effect for this button. So there has to be an alternative or better way to editing the link for this button (without removing the roll-over effect).
I saved as swf & got this error msg in the compiler errors: Symbol=but1,layer 4, frame=1 Mouse events are only for button instancesIn the library I checked the properties of the button and its a movies clip, I'm not sure if it will make any difference if I change to button or graphic?I would like to upload the fla and swf files but this forum doesn't seem to allow me to attach files to messages.
View 3 RepliesI made a Flash banner ad that I want to put on my site for my client to view. In Flash, when I test it, everything works, button email link. I import it into the body of my DW html page, test it in DW...works. However, when I upload to my site, the button doesn't open an email link.
Attachments: MatterAd.swf (32.3 K)
Is it not possible to have selectable text turned on when you are making a link or button?
View 2 RepliesI am trying to connect audio to the button so when I click on the button music it starts playing and when clicked again music stops.
View 5 Replies1. The old main logo was not as wide as the new one, so now the entire new one is not clickable (to take you back to the main page). How do I fix this?
2. For the life of me I can't figure out how to make text (or a button if need be) link to a specific flash frame. If you look on the site, there are a couple of spots under "What We Do" that I need clickable to take them to the Contact Us page.
i created my subMenu buttons fine, however i only know how to link them to a picture/url address, my goal is to have the user click the subMenu button and open the image or page right below the menu bar in the "stage" area of flash. I read about IFrames but i'd rather create the whole site in flash .Here is the code for my subMenu...
btn_34th.addEventListener(MouseEvent.CLICK, buttonClickHandler);
function buttonClickHandler(event:MouseEvent):void {
navigateToURL(new URLRequest("images/34th.jpg"));
trace("I'm Clicked!");
Again, this works fine, i just want to have the image take up the "white" space on the stage area, very similar to an IFrame.
I have created a small application which takes it's information from an xml file and displayes it in a news ticker which is a flash Flash AS2 application. tell me the correct way to format the link tag in the xml if there is a standard when wanting to state a target for the link? The xml file currently looks like:
<newsTicker>
<item>
<header>Test Message 1</header>[code]....
So what I want to do is to be able to open the link in a taget=_blank window however adding that to the end of the url does not currently work.I have added a comma and also tried using a space, space and encompassing in quotes but none are working.
I've trawled the web, everyone with different ideas on how to call up a mailto link in AS3. What I'm looking for is this: I have a box, that is coverted to a button symbol given the name 'mailto'I have another layer for the actionscript I have imported 'flash.net.navigateToURL' and 'flash.net.URLRequest'
I know I need to create a function or a variable to link in the already created button. Do I also need to import the MouseEvents?
I created this FLA to get used to CS4 (i was previously using8)Everything works wonderfully, I would just like to know how to use AS3 properly, without having to call defeat and create the FLA again using AS2.
[URL]
The ad on the bottom right of the screen (the one with lightning flashing) has an invisible button in its Flash file (CS5) linking to [URL]. This file is imported as SWF in Dreamweaver CS5.
The hyperlink works in Firefox, but not in Safari. Maybe it is just my computer.
I have an an array of objects. I populate the datagrid from the array. The nmber of columns in the datagrid is fix i.e.5 and the first column always shows serial number (0,1,2,3,4). I have a link button called 'CLEAR' in the last column of the datagrid.
1> How do I make the clear button visible only when the row is particularly clicked 2> When the clear button is clicked, how do I make the contents of that particular row cleared. Not deleted, only cleared to insert data again. Also, the serial number (0,1,2,3,4) should not be cleared, nor deleted. How to do this ?
I am trying to make a button in such a way so that after you clicked on it, the button will change colour, indicating that the link has been visited.
View 3 RepliesSo I'll be honest, I am very new to Flash. I have CS5.5 and I am trying to animate some images that I made in Photoshop in Flash. I would like to use tools such as the Bone tool on them but I have gotten almost every error feedback such as "cannot be applied to stroke" and "cannot link bitmap" and "cannot link group objects". I have been messing around with it quite a bit. My file is .swf and I do ungroup it but now when I use the bone tool on it, the entire image turns white.
Previously I have had problems where the picture would not disappear but my drawing would move back a bit and I could only see it through the movable window given by the bone tool in the shape of my picture. Another problem was when I used the Bone tool, the image would split into four flipped sections and not stay together. I assume this had to do with when I tried to "break apart" my image, but something similar happened on an unbroken non-bitmap image.
I'm fairly new t flash and I'm pretty crap at it as I can't even get my button to link to a url, I've put the following code the the script for Scene 1 (the only scene(:
on (release) {
getURL("http://www.bbc.co.uk/");
}
But I just get 1087: Syntax error and if I preview it there is no link. If you need the file you can download it here: [URL]
How can i link my button to another scene?
View 7 RepliesI bought a flash template last week and have more or less being able to modify it to the way I wanted, its 95% done & I've had to make a couple sacrifices due to my lack of flash knowledge.
The blog on the website is now on a subdomain (I'm using wordpress for the blog), I also had a registration email form on my current site which is now gonna be on a seperate html subdomain too.
My problem is that I have one page on the flash template that I wanted to use for the blog but as that's not easily done. Instead of using the button to open an empty page, is there anyway I can redirect it to the Blog on the subdomain & open it in a blank window/tab?
how do you link to a pdf or word document to a button, also where do I put this doc, I am only using Flash and this site will be on a server as local Intranet.
View 1 Repliesi want to know how to do this, i want to link another flash file when a user click on this button and the current flash will unload and the new flash file will load, so what should i do? means there are 2 flash files in total.
View 1 Repliesi have a friend who are dentist and ive agreed to do a web site for him. I do it in cs4. Like so: ive made a pretty simple and nice layout i plan to use for all pages with some images an so on .Now ive made lots of buttons wich all opens in a timeline nice and slow (not to slow). On the index page i have a menu called "treatments" wich requir some room. I want to make a button called "treatments" wich can open and collaps to 3-4 minor buttons wich then again can link to diffrent pages describing different treatments. Now i need the treatment button to open up the 3-4 minor buttons one by one smooth(tweened with the alpha slider) with same frame rate as the other ones on the page and collaps again.
View 1 RepliesI am definitely new at AS3 and Flash in general, but I have to do a project for work that requires me to build a portion of a website in Flash. I need to link a button to a PDF document that will be stored on our site on the internet. So far I have been able to successfully write code that allows me to link one of the buttons[code]...
View 2 RepliesI'm completely new to flash and have figured out most of the basic features on my own thus far, but I'm completely stumped with this one issue of linking a pdf to a button. I'm using Flash CS5. I've used the recommended code on code snippet, I've used codes that were recommended and I've tweaked it, but it still not opening my pdf. Here is the current code that I am using. This is from the code snippet. I've used this code to get my different scenes and it works, don't know why I'm having such a hard time with this.
AppPage_IndividualUSDoc.addEventListener(MouseEvent.CLICK, fl_ClickToNavigateToPDF_5);
function fl_ClickToNavigateToPDF_5(event:MouseEvent):void {
navigateToURL(new URLRequest("APP_IND_US.pdf"), "_blank");
}
I have an object on the stage (with an instance called mcBlackboard) that contains two buttons.I'm trying to make these buttons link to pages on my site but I get the following error(s):1120: Access of undefined property buttonAboutUs1120: Access of undefined property buttonFAQsMy guess is that it's not finding the buttons in the movieclip (since the script worked fine when the objects were on the stage).I may have done things in an odd way, but it's the result of days trying to figure this out mysel
Code:
function myButton(button:MovieClip,url:String) {
var buttonPath = "mcBlackboard." + button;
[code].....
I have one button code but i dont know how to put website link in below code. Actually i want to open new page url once user click on button.
Below is my code:
package Webdesign_fla
{
import flash.display.*;
[Code]....
How do you add a URL link to a button which is part of a movie clip called to the stage?
View 4 RepliesI am trying to link a different URL to each of my files in XML and use this XML in Flash were I created a carousel. In the carousel, when you click on a picture I would like to insert a specific URL. Each picture will have a different URL (http://------------).Here are my codes:
XML:
<icons>
<icon image="icon1.png" tooltip="Planning" />
[code]....