ActionScript 2.0 :: Add Clickable Links To Popup Menu
Nov 30, 2009
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 Replies
Similar Posts:
Jul 8, 2010
i want to draw a map of a campus. then when you click on different buildings, the building pops up big (possibly with text alongside it)any links to a tutorial how to do this?
View 8 Replies
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]...
View 9 Replies
Dec 14, 2009
scrap that I got the links working but the same url keeps showing up for each link:
Code:
var url=myXML.links.a[i].@url;
var url_name=myXML.links[i].a;
[code].....
View 0 Replies
Mar 20, 2011
I'm to make a clickable map divided in regions, where it is possible to see some info when you rollover the precisely defined regions, and when you click on that region > go to a specific website. Is it the best way to make this in Flash or are there other or easier ways?
View 1 Replies
Feb 7, 2007
When a user clicks on a URL, I want the new page to open up in a new window (or tab),instead of always in _self, which of course replaces the movie. I've trace'd the htmlText contents, and see TARGET="" where it's building the clickable links, which I assume the browsers interpret as the same thing as _self. Is there some better way to change the target for any URLs, short of doing a search and replace of the htmlText field
View 9 Replies
Aug 17, 2007
I've gone through an mp3 tutorial series and modified the final result for what i'm looking for. one thing i would like though is to be able to add another attribute in for a clickable button that links to another page that would have lyrics. so my xml would look like this i believe or something close <song name ="Test Track 4" band ="Band4" file="test4.mp3" lyrics="testlyrics.html" /> basically so it adds another button in after the track listing so you can click and view the lyrics that would be on a separate page. I don't quite understand how it all draws together in flash actionscript and how to put the lyrics attribute on another button.
View 5 Replies
Sep 1, 2009
I currently have a movie where I have an icon (image) and a block of text as a clickable button (locked together) the button takes you to a specific urlActionScript
Code:
on(release){
geturl("[URL]");
}
What I need to do is replace the geturl with some script that will add an alert box with 2 options. I would like the box to have a title something like "Where would you like to go from here?" then two text links "Members Excel" (which will take them to members-excel-forum) and "Newsgroup Excel" (which will take them to newsgroup-excel-forum), like I said I have many more to add but once I have the code and a "How to" I should be able to adapt it.I will have to do this for each of the items (I'll have to unlock them first) there are 24 items in my movie (it looks like 12 as there is an icon and text locked together for each category) so I need to do this for 16 of them, I say Alert box as this won't be bothered by a pop up blocker. The Code [URL]
View 3 Replies
Sep 25, 2002
I am wondering how to make a movie clip that contains automatic vertical scrolling dynamic text(from an external .txt file) I dont want to press buttons to scroll text, I need it to be constantly scrolling, then loop once the text has been read from the external txt file.
I also require each line of the dynamic text to be clickable links that will take each line of text to a specific link. Ive uploaded a zip file containing fla and swf i found which shows vertical scrolling text. However if i move any of the graphics and text field clips around the stage the text cannot be seen anymore. why is this? can you put all of the items on the main stage in a movie clip so i can resize and move the scroller around the stage?? I tried this but again the text disapeared when i exported the movie? Is this due to the x + y co ordinates in the scripting?
How can you adjust the size of this scroller without this happening? Can the scrolling text be taken from an external file and each line of text be a seperate hyperlink? Follow this link (copy and paste it into your browser window, DONT click on it): [URL]..
View 9 Replies
Oct 26, 2011
i am doing a slideshow with images occuring randomly wch hav clickable links,okay it works but at times the transition is very fast instead of the 8s interval i expect ,when i view the trace() output ,i have noted that at times the timer is triggerd twice or more simultaneously...my code is below...what maybe the cause may u kindly assist i have 21 frames with 21 images
[Code]...
View 2 Replies
May 18, 2010
Each page has like the first page "Welcome" followed by a brief paragraph followed by a "read more..." link/button which opens to a small popup window with additional 3-4 paragraphs. So the main page has "WELCOME" > small paragraph > read more button.
Below that has "LATEST WORKS" > small paragraph > read more button
Both of those "read more..." lead to the same popup window but have their own title "Welcome" and "Latest works"(don't know where the mini title file is) but the paragraphs are the same which I don't want. I want each "read more..." to open to its own little popup.
Still learning script but is their anything in the script to change or something on stage? Or just redo everything somehow
on (rollOver) {
gotoAndPlay("p1");
} on (releaseOutside, rollOut) {
gotoAndPlay("p2");
} on (release) {
_root.popup.gotoAndStop(2);
_root.popup.label.text = i;}
View 1 Replies
Feb 11, 2010
This is the Class I'm using to bypass the popup blocker. This is the function to call to the class function
function linkHandler(e:MouseEvent):void{
popup.ChangePage(linksURLArray[e.currentTarget.name], "_self");
} this is the class.
[Code]...
View 1 Replies
Jun 15, 2009
I'm creating an xml generated gallery/menu, I have the gallery and menu populating fine but my issue arises when I try to make the menu items clickable.
This is inside my populate menu function
_root["mainMenu"+[i]].onRelease = function() {
trace(this);
var splitThis:String = this
var splitThisArray:Array = splitThis.split("Menu");
trace(splitThis)
trace(splitThisArray[1])
};
Now the trace output I get is
_level0.mainMenu1
_level0.mainMenu1
undefined
Although when I set splitThis to "_level0.mainMenu1" manually I get "1" or whatever number comes after "Menu".
View 2 Replies
Jan 23, 2008
Looking for 3D clickable menu carousel tutorial in AS3? I'm looking for this kind of vibe [URL].
View 2 Replies
Dec 15, 2006
I have a menu movieclip that pops out from the right hand side on rollover. On this menu there are four buttons for menu navigation options. However these buttons are not working properly. I feel that the menu movieclip is taking precedence over the buttons because the whole menu is than clickable, while the buttons show up, however are not clickable. Here's what I have so far:
[Code]...
View 13 Replies
Jun 25, 2009
I am building a fake Windows looking OS in Flash for a project of mine. So far I have a clickable start menu, and I want the categories inside the start menu to be able to be rolled over like in Windows and open up to clickable links. Just click the start menu in Windows, and then scroll into "All Programs". I want to be able to have scrolling buttons like that. I am using Adobe Flash CS3 Professional and Actionscript 3.0. I've only ever used Flash in the past to make cartoons and things of that nature.
View 3 Replies
Jul 28, 2009
Here're my 2 problems: 1-I did a menu moving in 3d following my mouse movement. But i would like it to have a limit of rotation on the left and on the right, cause i don't the user to see the back of the image (the image is rotating 360 right now, i would like it to rotate maybe like 90 or less). Here's the code i am using:
[Code]...
2-My second question is about my menu buttons. I want them to be on lower layer cause it help creating my 3d scene cause sometimes it is a part cover by my image on the top. But the buttons stop to be clickable when they are behind something (even a part behind). I want them to be clickable at all time. The strange thing is i checked out in the forum and a lot of people have the opposite problem... their buttons still work. How can i make mine clickable?
View 3 Replies
Dec 13, 2010
I have developed a rolling credits style movieclip in Flash using Actionscript 2. Text is loaded from an XML file and parsed into a dynamic textfield. This text includes hyperlinks to webpages defined by a url node in the xml so Flash can add the appropriate a href to the dynamic text field and make the link clickable.
In my first attempts to do this the textfield stayed still and all the links worked fine both testing locally and when I run it in a browser on my website.Then I wanted to make things move ... which I achieved easily enough and tested locally (from within Flash Professional) and the links remained clickable, a browser window opened and the webpage i was expecting to see opened... great
However, when I export the swf, upload it and run it from my website suddenly the links are not working. So I tried to test the movie in a browser from Flash Pro - same problem, it must be something to do with Flash Player and the moving dynamic textfield.
a couple of observations - the cursor will change to a hand icon when over the links as you would expect, and if I right click on the link and click open in a new window the link works ok, just not when I left click. If I stop the scrolling then the links become clickable again, it is only when the textfield is moving... actually its not technically scrolling, im moving the whole textfield.
View 1 Replies
Apr 16, 2009
i'm working on a project where i would like to build a menu of 3 buttons in the bottom of my screen, when 1 of these buttons is clicked a little popup MC pops up with a X sign to close it. WHen the popup is active the background (the buttons) fade to a 30% alpha and a re not clickable anymore. When i close the popup MC with the X sign then the buttons are active again. I seen a tutorial how to do this but i lost it.
View 2 Replies
Sep 8, 2002
if I make a popup menu with submenus, and I make multiple menus horizontally next to one another...I know I can use invisible buttons to close the menu on rollOut, however, I've been advised using the "with" function would avoid confusion in the case where menus are close together. I'm a bit confused about doing it this way.
for one thing, assume the menus going horizontally are named menu1, menu2, menu3, etc. the with action.. is this upon rollOver of menu 2 for example..then in that movieclip or menu instance, I'm asking menu1 to move to a closed state? or is the action using with within menu1?
View 4 Replies
Mar 4, 2011
If you create a popup via:[code]It will create a popup and bring it on top of any other visual piece. I have one problem though. This 'popup' needs to stay up even when the user interacts with the background.I would use modal, but I need the ability to interact with the back. Any way to tell the popup manager not to remove the popup when the user clicks off of it?
View 1 Replies
Sep 9, 2008
why a popup menu on main swf, is displayed behind a loaded external swf? Surely, the loaded swf is placed behind all main swf elements?
View 3 Replies
Jul 27, 2010
In my app I currently have a popup menu implemented as a BorderContainer with a lot of buttons, textfields, date pickers, etc. PopUpManager handles its appearing and disappearing based on some UI events.I'd like to be able to drag the container by clicking on any part of it minus all the components on it. In other words, when I click on buttons, text fields, etc. I'd like for them to respond as usual and for the container not be draggable.I've tried this very simple implementation
_menu.addEventListener(MouseEvent.ROLL_OVER, toggleDragON);
_menu.addEventListener(MouseEvent.ROLL_OUT, toggleDragOFF);
private function mouseDown(event:MouseEvent):void
[code]....
View 1 Replies
May 5, 2005
I am trying to make a menu that pops up on (rollOver) but when I add script to the buttons they don't work.
View 7 Replies
Aug 20, 2010
I got this movieclip. With actionscript I attached a new movieclip to this one, as a popup menu, which will show on rollover. Inside this movieclip, it automatically makes textfields, as menu options (information I receive from a XML document). The problem is, that I cannot get it to respond on a onRelease function on those text fields, and I do not know why.
Heres the code for the textfields
Actionscript Code:
marray = explode(",",mn);
var sizes = 0;
for(var i=0;i<=marray.length - 1;i++){
trace(i);
mc.menu1.createTextField("txt"+i, i+59, 0, sizes, 100, 25);
mc.menu1["txt"+i].onRelease = function() {
getURL("[URL]", "_blank");
};
mc.menu1["txt"+i].text = marray[i];
sizes = Number(sizes) + 25;}
I tried to make a onRelease on one of the links, but it just wont work probably.
View 7 Replies
Jun 21, 2005
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.
View 3 Replies
Dec 13, 2010
I've created a popup navigation menu at: [URL] In firefox and internet explorer everything works fine - the menu pops over the flash. But in Chrome, Safari and Opera the menu is behind the flash.
View 1 Replies
Oct 4, 2003
I have a sliding menu at the bottom of my screen. When you mouse over the menu it pops up and as it does it triggers an animation of a moving object. The moving object starts "off screen", comes sliding in and comes to a rest in the middle of the menu. The object has buttons on it. What I'd like to do is when a user clicks the button it loads content onto the main stage. Then either after clicking the button or mousing off the menu the object animation will continue on it's merry way out of view (off the menu).
Everything works great except I can't get the button to work! I'm thinking it's a path issue since I've done lots of buttons. So the button is now here:
_root.slidingNav.animationMC.object.button
And I've got the AS on the button:
on (release) {
_root.slidingNav.animation.gotoAndPlay(31);}
Is the button so buried that it's clicking options aren't available?
View 14 Replies
Feb 17, 2009
I have a big problem with my flash menu and the hittest function.I want to show a 'popup' window on menu item rollover (and i did it!).But I have a rollover problem passing through other items because of hittest areas are colliding.I attach a .fla file for example...Try to pass from 'voice1' to 'voice 2'...voice 1 windows remain shown.
View 5 Replies
Sep 30, 2011
I have several objects on the stage and a MouseOver on any of these will add a menu popup child and tween it from off the stage. A MouseOut will tween the menu away and remove the menu with removeChild. Heres the bug: If I mouse out and then quickly mouse over the same object while the menu is tweening away before it has been removed, it doesn't add the menu again, and then on the next mouse out, it tries to remove the child menu, which isn't currently a child because it was just removed, and
I get the error:
TypeError: Error #2007: Parameter child must be non-null.
at flash.display:isplayObjectContainer/removeChild()
at menucaller/tweenOffTimerEnd()
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
Is there a way I can use an if statement to make sure that the menu is a child of the parent before removing it?
View 1 Replies