I'm trying to have links(when pressed)- to go to a corresponding frame label- example link5 when pressed would take you to "section5".The following code works fine for the rollOver and rollOut states- the problem is onRelease.Basically I want link[i] to gotoAndStop("section" + i)- when pressed...Anyway I know something's screwy with the for loop or the way I'm combining a string with a var- or both...
var linkArray:Array = new Array();
for (var i:Number = 1; i<6; i++) {
linkArray.push("link"+i);
}
I'm trying to do a collasplble menu, after hours of search (thx 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..
it look like this :
HTML Code: links = new Array(); links[0] = "exemple.html"; links[1] = "exemple 2.html";
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..
It is a large gear that rotates CCW when you click the top button and CW when you click the bottom button. Clicking the buttons also retrieves the next element in an array called 'title' and displays it next to the gear. The elements of the array are titles of videos. I need to be able to click on these titles (as hyperlinks) and have them open up a video window to display the video that corresponds to that title. I am using flash CS5 and I am a beginner. The applet can be seen at [URL] and the AS code is below.
I have a page that loads in links from an XML into an Array and displays them. When you rollover each link it is supposed to turn red. My problem is that I can only get it to make the last link to turn red. Also, when you rollover any other link the last one turns red. I need a way to set up a variable for each link. I have attached the files so you can see what I mean.
I have an array called "webSite" that has a list of website addresses (url..).I have this code snippet that works great except that all the siteButton moviclips all go to the last website address in the "webSite" array.I need each button that is created to go to the proper website in the array. (siteButton[0] goes to webSite[0], etc.).Here is the shippet of the code where I am having the problem.[code]...
I have the 3D rotating cube. Each panel of the cube is an image pulled in through actionscript. When you click on one of the panels, the cube straightens itself to show only the face you've clicked on. This is all great. However, I want to be able to click on that face again and have it link to a URL. This is where I get lost.
I feel like I'm ALMOST there - I've gotten it to work so that I can click the panel and it links to a URL, but right now every panel links to the same link. I haven't figured out how to make each panel link to its own separate URL. Here is the portion of code in my .FLA where I've added the linking action:
Code: setupFaceAction = function (cube) { for (var i = 0; i<cube.faceArray.length; i++) { var face = cube.faceArray[i]; face.onPress = function() { if (!cube.fading) { [Code] .....
This is the line I added to make it link when you click the panel after it's facing forward: Code: cube.getURL("[URL]", "_self");}
So I assume I need to set up some sort of array so I can have multiple links that correlate with the appropriate image. To make it clearer, I've attached all of my files, so you can see all the code. You'll find actionscript in the .FLA and two external actionscript files. I think "cube.as" may be where I need to do the work.
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.
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]....
I 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.
I am trying to have multiple links off site but have hit a brick wall. If I have the code listed below, it opens the second link as soon as you open the links page, If I have the"function onLinkClick (evt)", above btn6_btn I end up with the duplicate error message. Is there a way to have multiple link buttons on a page. I have played with this for hours.
i have a flash that I have tried to add my html link to the aboutus.htlm, billboard.html, and contac.html and it is not working? I am still new but would like to email the flash file for someone to tell me why its not working- I added the link for aboutus.html but its not working.
alright, here is the deal: i have published a .swf AND a macintosh projector file and the only thing the movie contains is one button with a link to a web page. here is my actionscript:
on(release) { getURL("http://www.google.com"); }
i click on the button and absolutely nothing happens. has anyone ever come across something like this? is this a settings problem?
I have been working on a project that has multiple links assigned via AS to the specific instance of a button. I have tried assigning URL scripts in frame 1 as well as "hard" coding them to each button the frame that they are being displayed on screen.
figure out how to make my swf files (animated buttons created in flash cs4 / as3 ) work in my dreamweaver site (cs4) as links to go from one html page to another ?
I am using flash CS4, i have created a small flash presentation , it has some hyper links to external web site . All the links are perfectly working in my system but the links are not working when i tried into other system(system does not have flash installed ).
I've been building a website in flash for the first time and I'm struggling how to get the links working, this is how I've been doing, putting the whole file name into the link under options then link, the links when i open the swf files don't work at all. But the htmp pages work on my computer but on an other computer the links don't work cos I have linked the html pages to my folder on the computer I'm working on.
Im having an odd issue. I have a swf that I use for a nav bar and load that into another swf with AS3.The navbar swf is a pretty basic set up with links to my other pages.Here's one of the functions triggered by a mouse click.
Is there a way to create a url link on an image loaded from an xml file. So for example in my photo gallery, I have my set of thumbnails which when clicked on would show the larger image. I'd like to click on the larger image and have another window popup and go to the proper url with an even larger image.[code]...
I'm making my website at the moment. I made a little mill which goes around, in there I made a movieclip which has two frames, one with links and one without. I made it so that if you are staying on it (rollover) it stops and you can click the links but the links don't work. this is the fla file:
I am trying to generate a list of links via xml using as3. I have created a movie linkHolder and a text field called linkText.
I then add link text to linkHolder and add linkHolder to the stage. I have an eventListener attached to linkHOlder which calls a function and when I roll over the links it activates the function correctly.
How do I give a unique id or reference to each button so that I can pull up the correct link associated with it?
Here's some of my code:
Code:
function createVideoLinks():void{ for (var i:int=0; i<externalXML.videoClip.length();i++){ //build the arrays of link text and link destination vidText[i]=externalXML.videoClip.vTitle[i];