Add Links To Flash Buttons?
Sep 24, 2009How do I add links to my flash buttons? Im using Flash CS4
View 7 RepliesHow do I add links to my flash buttons? Im using Flash CS4
View 7 RepliesI 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.
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].....
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]....
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 RepliesI'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
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]...
I'm working with this Flash file and I'm having lots of trouble trying to add links to the MC buttons.
[Code]...
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 Repliesive 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.
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]...
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 RepliesI 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 Repliesjoining 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]...
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 RepliesI 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 RepliesI 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] ....
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!
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]...
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?
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 RepliesLately 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 Repliesbut 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?
Is it possible to put pictures and buttons and links in a scroll box right alongside the scrolling text?
View 1 Replies I have a menu once clicked it animates out a menu that holds a couple of links, but with my code I can't select the links.
[code]...
i created a flash slideshow with pictures of events and link each picture with its own event (ie. each pictures has its own links to the website). I created the fade in and fade out effect using the class motion tween. With the link, I created a layer with a button that has alpha= 0 (so the user don't see it) and then I used code snippet to make another layer with the action script "click to go to url."
When the slideshow goes to the last picture I made it fade out and the first picture of the slideshow would show up and then the slideshow would replay itself (by default?). My goal is to make a continuous slideshow.
When I tested the swf file, the first time it runs, everything is right. The urls and the pictures are in correct order. However when the slideshow replays itself automatically, I notice that the links are incorrect. In the first play, when I click the picture of the event it would open the url of that event.However when the sldieshow replays, clicking the pictures would only open the url of the first event picture. When I click on the 2nd, 3rd, 4th, etc.pictures the browser opens only the link of the first picture of the slideshow.
code for disabling and redirecting links in the HTMLLoader:
Code:
import flash.html.*;
import flash.net.URLRequest;
[code]....
I've got a PHP script that searches for links in a block of text and converts them to HTML values. The $message variable is then entered into my database using a simple INSERT. So far, so good. Then I have Flash parse the message using XML:
ActionScript Code:
function messStyling() {
messCSS = new TextField.StyleSheet();
var messCSSURL = "include/links.css";
[Code].....
The problem, however, is that my links don't work. The rollover works from the CSS styling, but the links don't actually go anywhere. When I rollover the links, the hand cursor doesn't appear, and clicking only serves to change the color back to the non-hover value.
I'm writing some code in Flash MX 2004 and everything works fine except for the last button (4DSystemsProducts).According to the coding if none of the drop down buttons work it should go to products.php, but for some reason it goes to 4DSystemsProducts.php. All of the other menus are coded the same way and work fine, if I take out that button it works fine,or if I take out button 7 and switch 4DSystems to button 7 everything works.Here is the code to clear up this explanation. [code]....
View 5 RepliesI want to add links to 3 different external html pages in the place of th 3 my trial links(which are on the timeline) Here is code, this creates the three buttons listed in var catBtmmenu_label Array:
Code: Select all// Catalogue Bottom Button
//stop();
//hide button on the stage[code]..........
I dont know how to assign links to dynamic created buttons.