ActionScript 2.0 :: Can't Select The Links Which Animate Out A Menu That Holds A Couple Of Links?
Mar 23, 2004 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 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 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 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.
I have been building this website and have run into a snag. The navigation for the site does not work well. The user seems to have to click alot of buttons just to get the information they want, so here is the site url...
First, I am using a flash navigation on the left side to control content in an Iframe.
Secondly, I have links in the Iframe that I would like to control the flash navigation.
For instance, on the portfolio page. When a user clicks on a project, I would like the menu to expand to the location of where the link in the menu is: example: in the profolio page, click on campden lakes home and the menu on the left expands project; over 4000 sq ft; So, having said that; do i have the site setup weird? Is there an other navigation menu that I can use.I think this is a flash actionscript, but i am not sure, sorry if If this questions should be in an other category. I hope someone can show me the errors of my ways.
Here's the link to my flash menu:[URL]how I can adjust the links inside the menu and the menu item text?
View 1 Repliesi have problem to do something in flash MX 2004 so i have question to this fine community1. there are some CD's with some subdirectories [ names of subdirectories are different on every CD ]2. on these CD's are autorun.exe [ created with SWF Studio ] which contains swf ,and this swf is used to show content of main folder 3. in every subdirectory there is the same swf file and it is showing content of the subdirectory.is there posibility to make a simple menu [ in the swf file from 2nd point ] which will becontainig links to swf files in subdirectories ,but it should dynamically get subdirectories names and transform them into menu linksbeneath is example structure of CD.
CD
|
|--FOTOS
[code]....
I've been working on an imitation of the SamataMason website sub navigation. Right now I have a top level menu that is created from an array, and a sub menu display that is created from XML. If you click on any of the top 4 or so items in the menu you'll see a list of links displayed below. The problem at this point is that the line of code that controls which XML nodes get displayed causes the URL links to break.
Line 37 of the "XML functions" layer contains the code that breaks the URL links:Code:if (item.attributes.industry == industry) {If you comment out the line (and it's closing brace on Line 54) you can click on any of the top 4 menu items and it will display a list in which the URL links work. But you're not seeing the appropriate list for each menu item.Anyone know how to rewrite this line so that it doesn't interfere with the other code? I'm baffled as to why "URL" breaks but the "client" nodes still work.
I have a drop down menu on my website and it works perfectly fine except for some of the links. i don't have the other pages made yet but i still have the links to the pages in the buttons in my drop down menu. For some reason when i click on the buttons in the drop down menu, they don't go to the pages, they don't do anything. But when i click on the buttons in the sub drop down menu in side the main drop down, they work
the code for each button is the on(release) get url code, is their a different code i can use that will make these buttons work? here is the link to the website so you can see what I mean. the paralegal services button is the one with the drop down.
[URL]
I have a drop down menu on my website and it works perfectly fine except for some of the links. i don't have the other pages made yet but i still have the links to the pages in the buttons in my drop down menu. For some reason when i click on the buttons in the drop down menu, they don't go to the pages, they don't do anything. But when i click on the buttons in the sub drop down menu in side the main drop down, they work
the code for each button is the on(release) get url code, is their a different code i can use that will make these buttons work? here is the link to the website so you can see what I mean. the paralegal services button is the one with the drop down.[URL]
I've been asked to modify this flash piece (CS3, AS2) and add clickable links to the pop up menu. For the life of me I can't get it to work, and my head hurts from searching the web top to bottom for an answer. I would attach the fla but its too large, but basically you scroll over a button, in this case a dot, and it triggers a pop up box beside it with a list of items. These are generated by frame identifiers, and when you roll over the box it goes away. I need it to stay there and make that list of items clickable ones.
View 5 RepliesMy problem is that I just recently start working on the company website. They a have menu bar on the side of the website. Some of the links dont work. Where would I find the hyper links in the file to change them to make them work?
View 5 RepliesI have a bunch of menu windows that I've placed on separate frames (for example main menu is on frame 1, options menu on frame 2, chapters menu on frame 3, characters menu on frame 4, etc). On each menu there are a bunch of text links (movieclip instances), when clicked goes to another menu page. Some of these same links (same instance) are duplicated on multiple pages since they perform the same function. For example clicking the "backToMain" instance will go back to frame 1, which is main menu, regardless of which page it was clicked on.
Does anyone have an idea how I might build this? So far I've tried to add listeners to every single link, however since lots of links are on different frames other than frame 1, I can't add listeners to them until I tell actionscript to flip to that frame, which I don't want to do. I want to globally add listeners to all links all at once in the beginning:
[Code]....
[URL] I finally figured out how to get my rollover links to work, but now I need to figure out how to make the bottom links move. For example, when we rollover the Arizona Link, we want the California and Contact Us links to move BELOW the Arizona rollovers. And same thing for when the California link is rolled over, we want the Contact Us link to move BELOW the California roll overs. I feel like it's just a matter of simple code manipulation where I have the rollover code for the individual links, the code I have is below:
[Code]...
I have tried to do those thing for couple of days( and nights), and every time some part of the code that i write in there does not work.I have tried to do Drop Down in animation (motion tween), i have also tried to do links, but i just dont get them work.
View 1 RepliesI new to flash and I am trying to create a menu similar to the one in this tutorial: [URL] I was able to do so with no problems, but I would like the pages, or rectangles (content 1 movie clip, content 2 movie clip, etc) to also be hyperlinks to different pages. In other words, the user should be able to click on the big rectangles to get to other pages. I tried making them button symbols instead of movie clip symbols, but that broke the sliding menu- the rectangles no longer moved when buttons were clicked. I tried adding a getURL action to onRelease for the movie clips, but I get an error and from what I read, this cannot be done with Actionscript 2.
View 2 RepliesIve noticed a lot of flash websites have user defined items/links added to the default flash right click settings menu. In other words when we right click on such flash websites it shows links to the designers home page or associated site etc.
View 14 RepliesI am trying to do the following: I have a project file open in CS4. It currently has a background image which is locked. I want to include a menu with links/sublinks on the left side, a corporate video in the middle and another video on the right. The menu on the left (links/sublinks) simultaneously controls the other two videos. If the user clicks the 'stop' link, both videos stop. I would also like to include a scrubber, to control the video (play, pause, rewind, mute).
I am trying to do this in pieces - first get the video imported and playing, then create scrubber/playcontrols, then incorporate second video, and finally add the menu (links/sublinks). I have created sites with Flash, but this project has me baffled. I have spent months on it. As an example - I am struggling just to import the first video. Do I embed it? It seems as though each time I import the video, it does something different. I was told to embed it into the timeline (each frame of video would be on its own frame in the Timeline). This would alleviate AV synch issues, and allow me to control everything at once.
I purchased a website template that has some flash in it however the auther of the template lacked to include instructions and seemed to have left it unfinished (The links don't work, of course).
I can't seem to locate the actionscript he talks about: [URL]
[code]....
Notice that nothing there with clickable links :
I cannot find the actionscript that deals with onRollOver actions I would be absolutly ecstatic.
Download source files: [URL]
How I could make a sliding/scrolling menu of images(sideways) with links and those images should dynamically loads from lets say a directory or something like that and can easily control/change image and url in a simple external text file( heres a sample of what it should look like: [URL] the bottom part. How to achieve the sliding menu image that loads dynamically.
View 2 RepliesI was following this nice tutorial on how to create a dock-like menu in Flash.I managed to add my own icons and to adapt height and length etc., but I did not manage to remove the grey bar in the back.And more important, to add a link to one of the items in the dock. I tried to make the icon a button, but that didn't really work.
View 1 RepliesI am doing a dynamical menu they are scroll, with links, I am using as function. If I call an external swf:
function cargaranimacion(animacion){
loadMovieNum(animacion,0)
}
In the text:
<a href='asfunction:cargaranimacion, "proceso_novolen.swf">PROCESO NOVOLEN</a>
<a href='asfunction:cargaranimacion, "polimerizacion_estructura.swf">POLIMERIZACION Y ESTRUCTURA</a>
And if I am inside a swf, call a label:
function cargaranimacion(animacion) {
gotoAndPlay(animacion);
}
That is ok... But, How I do to accede to a specific label of an external swf?? I want that it loads the animation and begin to it turns from the label that I indicate.
I have a dynamically generated menu populated by two arrays, "menuTitles" and "menuLinks." Everything works great except the onRelease command. I get "undefined" instead of the contents of the array element (should be an HTML link). If I hard code the array element (menuLinks[1]) it works, but as it is, I just keep getting undefined.
function generateMenu() {
menuLength = menuTitles.length;
var currItem:MovieClip;
for (var i:Number = 0; i<menuLength; i++) {
currItem = emptyMovie.attachMovie("menuItem", "item"+i, i);
[Code] .....
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.
[Code]...
I'm in the process of learning OOP and have run into a small problem. I'm trying to create a basic menu system where you can rollover and rollout of all links. When you select a link, it stays highlighted until you click another link.I've given the 5 links instance names like (link0, link1, link2, link3, link4) and given them each an ID of (0,1,2,3,4) - respectively. I used to be able to do something like this:
Code:
this.onRollOver = function(){
if(this.ID != _root.selectedLink){
this.gotoAndPlay('in');
}
[code]....
I need to add a couple menu items to an existing Flash menu that I did not create, but I am having trouble figuring out how to make the buttons stay highlighted until you click another one. Best way to simply describe my problem since is to simple show you. The first 5 links work exactly as they should. But the last 2 (Careers and Client login) do not stay go highlighted on the loaded page. [URL]
View 9 Repliesi 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.
View 6 Replies