ActionScript 2.0 :: How To Make Buttons Become Functional Links
Jan 13, 2008
I found a cool menu that I'd like to be able to use but right now I don't know how to make the buttons become functional links. If its just a matter of editing the XML only? Or...does something need to be added to the actionscipt as well. I have a hunch both need to be edited and I have already tried various revisions. Below is the link where the example and files can be found. Be aware that if you try to use the actual files you will need an mc tween extension found at [URL].
Here is the XML code
<?xml version="1.0" encoding="iso-8859-1"?>
<item nazov="button num 1 "load="" image=""/>
<item nazov="button num 2" load="" image=""/>
<item nazov="button num 3" load="" image=""/>
<item nazov="button num 4" load="" image=""/>
[Code] ....
View 2 Replies
Similar Posts:
Nov 6, 2009
i want to make a sliding panel with 2 buttons on it. The panel pops up from the bottom of the screen when the mouse is hovering over the the bottom 25 pixels of the screen. The panel is set to disappear when the user hovers the mouse off of the panel. At first i just tried to put buttons on the panel and covert the whole thing to a symbol, but then i could not access the individual properties of the buttons. What i tried instead is to make invisible buttons over the area where the image of the buttons were on the panel. The problem is that when now when the user hovers over the button, flash reads it as the mouse leaving the panel and the panel disappears.
View 3 Replies
Jul 26, 2009
I have a flash that I am trying to make the buttons/links towork on and no matter what I do they just do not work. I have many hours into it so far and just had no success weather using my CS3 how to book of the forums information.I not sure what I am missing. Never had this much trouble before. the first one I tried is HOME, have not gone farther since I can make the 1st one work.[URL]..
View 1 Replies
May 30, 2010
i'm a flash newb, wrestling with actionscript 3 and ran into a problem with a drop down menu.the menu is composed of nested movie clips that open and close, and contain buttons that control a ui loader in scene 1. it seemed to be working all right until i realized that after opening and closing and reopening a submenu, the buttons that worked the first time stopped controlling the ui loader. since there aren't any error messages i'm kind of at a loss as to what needs fixing.
View 7 Replies
Mar 12, 2009
I'm working with this Flash file and I'm having lots of trouble trying to add links to the MC buttons.
[Code]...
View 4 Replies
Sep 24, 2009
How do I add links to my flash buttons? Im using Flash CS4
View 7 Replies
Aug 20, 2009
I am new to editing video. I am looking to add a replay link and a go to url link once my movie plays through. I am using Flash CS3 pro.
View 9 Replies
Nov 18, 2009
ive got a flash template, but its really difficult to edit. heres the thing: there are 4 main categories buttons, and when i click each categorie, 3 options appears. for example
[Code]...
green, blue, red and yellow are already with button codes, for when i click it, it opens their 1, 2 and 3 option buttons, but these 1 2 and 3 for each color are not links, and when i try to add a code to them, ALL of them get the same link, like their instances from the same thing. and when i try to set a button to be instance of another thing, all of them change again.
its really difficult and i've tried everything. even creating another box for these 1,2and 3, but when i create a box on this section, another 2 boxes are created at its sides.
View 2 Replies
Dec 11, 2010
I have 6 buttons on the same layer, all with hover over effects and the sort. I assigned each one an instance name, and tried to make actionscript to link each image to a different page, however the following code is not working:
[Code]...
View 2 Replies
May 30, 2007
I was just wondering how when you assign a link to a button, instead of it opening that link in the same window, how can i get it to open it in a new one.
View 3 Replies
Jun 3, 2009
I have no idea how to ask this question properly. I am only designing this, not making it, so simple answers for me would be good, but also technical answers that I can pass on to the flash person.
On my home page, I am going to have 3 images that switch out, each that need to have a "learn more >" link and a 1, 2, 3, and pause buttons.My question is whether or not these image buttons/links can be placed on or embedded in the flash object. I read this is not possible and that buttons or links have to be separate from flash. Ideally if I wanted to place a "go" button on top of my flash image, that would be great.
However I have been told the only option is to make one side of this in photoshop where I have the buttons and then place that next to the flash image. My example of this would be the msn.com home page.
View 6 Replies
Feb 23, 2009
I have a site that has multiple pages of similarly sized buttons. These are magazine covers. I'd like for the mag covers and links they point to (loaded swfs) to be dynamically loaded via a text file, if possible. The client always has new magazines she's been in and to manually load the newest buttons first is a pain and time consuming.
View 3 Replies
Aug 6, 2009
joining this forum may be an awesome resource for future continued use. So, I have an as2 language selection front door in development utilizing xml influenced dynamic buttons being retrofitted for a global front door language toggle.
In production, it looks somewhat like this:
I have two main buttons that the 'for-loops' add. mainTabs and subTabs. On release on the subTabs, the are supposed to getURL defined by the link attribute in the xml file. However, I cant seem to have the getURL command target the proper address.
[Code]...
View 2 Replies
Feb 5, 2009
I have two buttons in a flash movie. Each button links to aunique url. I want to use XML to dynamically define the urls foreach of the buttons. Setting up in XML is easy. I'm usingattributes. Ex showing simple xml code:
<data>
<url_1 link="url path" />
<url_2 link="url path" />
[code].....
View 4 Replies
May 26, 2010
I am in a bit of a bind here i am struggling to link my xml links to flash buttons. Here is my xml:
[Code]....
View 3 Replies
Feb 6, 2011
I made a flash banner + have photo creds on each photo. I want to make it a link to source to the photographer's portfolio.I've got 5 links for 5 buttons, button1, button2, button3, etc, each is named in the library with a matching name for the instance.I got the link working for the first image, but whenever I try and do it for others I keep getting a message of [code]
View 1 Replies
Dec 11, 2010
I have a fla/swf file, with 6 buttons on it all with their own hover effects and such, however they're all on the same layer. So assigning a link to each one through actionscript is confusing as I've only done it if they were on different layers.
View 1 Replies
Feb 28, 2011
I'm making a flash website, I know the basics of html and AS3, but this is my first time trying to use them together. I need only two interactions between the swf file and the server:
The .swf needs to be able to grab image files from a directory hosted on the server
The .swf file needs to be able to change the URL
View 2 Replies
Feb 21, 2008
I'm building an app where pretty much all the text is pulled in from XML, including the nav. It's linked to a MySQL database which throws XML into the app via PHP...I want the nav to be a dynamic menu made via the number of nodes in the XML file, and it'll end up looking like the 'related videos' menu on you tube. I've got this working by making a movie clip with a text field in it... the app loops through the XML, gets the number of nodes, then dynamically creates the nav via instances of my movie clip with a text field in it...
So say I've got 3 nodes, all of which are going to be nav items... The app then dynamically creates 3 movie clips, positions them onstage, populates the text field inside each movie clip with the name of the link (taken from the XML), and adds an onRelease action to each movieclip. The problem is, because of the nature of the app, the nav could grow to about 50 items over time, so I was gonna make it sit in a box with a scroll bar, like the side menu of related video clips on you tube.
I want to know if I can ditch the movieclips and just use a dynamic text field, and then make use of the scroll bar component so that, when the nav is generated, a scroll bar appears if there are too many items for the nav box to hold. In order to do this I need to know if I can launch action script via a link assigned to some dynamically created text... If not I guess I'll just have to make my own little scroll bar that affects the dynamically created movieclips but I thought I'd ask anyway!
View 4 Replies
Sep 23, 2010
I am very new to Flash and actually our graphic designer created this small flash timeline here:[URL]..For some reason when I test it in Firefox the Close button and the links do not work. Also I know of one person who has the same issue in IE. Most others using IE have no problem what so ever. The actionscript for the close button is:
[Code]...
View 5 Replies
Feb 9, 2009
i am using MCloader to load my swf in my main swf and i keep running in the same issue around the site.using all the same button script and style in labels.... sometimes they work like they should and sometimes they just don't got to the over or out state?!
here's an exemple::
Code:
//---------------Buttons intro---------------\
btnintromc.onRollOver = function () {
btnintromc.gotoAndPlay("over");
[code]....
the "btnintromc" when clicked load the right swf in the mcloader on the main swf (so the onRelease work fine)but the animation just don't work, that's really bugging me because it's the same button and same script as in the main swf but for some reason it just wont work?
View 1 Replies
Jun 6, 2011
I have a site that has multiple pages of similarly sized buttons. These are magazine covers. I'd like for the mag covers and links they point to (loaded swfs) to be dynamically loaded via a text file, if possible. The client always has new magazines she's been in and to manually load the newest buttons first is time consuming.
View 3 Replies
Nov 13, 2005
Lately I have been seeing flash based sites that will work with your browser back and forwards buttons. I have also noticed on some sites that if you right click on the .swf they can have links to parts on the site in that as well.
View 2 Replies
Jul 27, 2006
but i'm actionscript challenged and it's been a LONG day...
i have a button inside of a movie clip, and when you click the button, it's supposed to go to another scene. i tried using the gotoAndPlay (scene, frame) option, but it didn't work for obvious reasons.
is there something i'm supposed to put infront of gotoAndPlay?
View 4 Replies
Mar 19, 2010
i've designed a strip of thumbnails in flash to go in a Wordpress site i'm working on, which when clicked need to open up images and videos using Lightbox 2. (Lightbox is already setup and working.) The problem is that i'm importing the links for each of the thumbnail buttons from a .txt file which works like this:
[Code]...
View 5 Replies
Sep 19, 2003
Is it possible to put pictures and buttons and links in a scroll box right alongside the scrolling text?
View 1 Replies
Jan 10, 2010
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 buttonAboutUs
1120: Access of undefined property buttonFAQs
My guess is that it's not finding the buttons in the movieclip (since the script worked fine when the objects were on the stage).[code]...
View 7 Replies
May 9, 2006
What is the Action Script code that makes me able to make a download link? I used "getURL" but this way user is forced to open the file, I want to make him able to download the file and save it to his hard disk. How I can make this? For Example, if the file was an audio file, I don't want it to open directly with the default player, I want to make user free to save it to his PC or play it online.
View 2 Replies
May 15, 2005
I'm trying to do a collasplble menu, after hours of search (Google) I've found a great FLA, really.. but I don't know why, I cannot make url links, it only work with external SWF..
[Code]...
View 1 Replies
Feb 9, 2012
I am having really trouble with fullscreentakeover... I have a VideoPlayBack Component and a menu with 8 videos that sets the source of that component, when i test it windowed, or when i start the published .exe and change to windowed mode at start, the videos works perfectly, even if i change to full screen after load the first movie... If i start it full screen, i get a beautiful black screen.... This is my code:
ActionScript Code:
function clic(event:MouseEvent):void
{
[code]......
View 0 Replies