I am making buttons to control a video in flash and all is working fine except I would like the fast forward button to continue going forward as you hold it. At the moment I have th
I am making buttons to control a video in flash and all is working fine except I would like the fast forward button to continue going forward as you hold it. At the moment I have this code:
I have a vido page. Once I get to that page I can't navigate anywhere else unless I click the video thumbnail button and as long as the video is playing the buttons are active. I can I change this so the I don't have to click a video thumbnail button to navigate out of that page.
Code: one.addEventListener(MouseEvent.CLICK, vid1); two.addEventListener(MouseEvent.CLICK. vid2); function vid1 (e:Event):void { vidPlayer.source = "vid1.flv"; } function vid2 (e:Event):void { [Code] .....
I am new to actionscript 3, when I publish this code everything works fine except that the hand disappears when it is over the text. Is there something that I am missing?I tried applying menu_txt.buttonMode = true, but I got an error.[code]
I am attempting to revamp a website. The buttons that are currently being used are only gifs that are hyperlinked and there are almost 12 buttons... I think that this is a ridiculous amount of buttons to have. It looks very cluttered. So, I figured I should make 6 buttons and just fit the rest of the buttons into subcategorized buttons. And the way to do this is to create flash buttons with drop down menus. To see what I mean, go to this link and look at their buttons:
[URL]
Their buttons drop down into menus with sub-categories. I want to do this.
So far, I have gone into flash, created buttons and made graphics for the "Up" "Over" "Down" and "Hit". I have also added the menu buttons and graphics for the "Over" of each drop-down button-menu.
I have even provided the action script to link each button to where I need it to go.
HOWEVER, here is where the problem is. When I roll the mouse over the button, and then move the mouse down to click on one of the buttons in the drop down menu, the menu disappears, OF COURSE, because the mouse goes off the hit. I can't make the hit bigger, because the menu shouldn't open unless it's on the main button. But without the hit being bigger, the menu will always disappear.
IN ADDITION, I've never used flash buttons on a website before. I'm just using HTML. How do I link the button to the page? Do I save the file as a .swf flash file? And link to 6 different files? Or do I save the buttons in a line, and just use one link?
I have a document which is basically a catalogue page, and I'm trying to make it so that when you click on an image, a movieclip of the image fading in larger appears, so it will look essentially like it's been zoomed in. To do this I put the movieclip inside a button. I have the button working fine, when you click it, it does exactly what it's supposed to, but I have no idea how to set it so that when the button is clicked it stays in the 'down' position, so you don't have to hold the mouse down. And also how to get back to the main screen afterwards, since the movie does take up the entire stage when played. Is it possible to do this?
Im trying to make two buttons for my artefact to link to facebook and twitter, but it doesn't work. I've got no error messages or anything, I just click the button and it doesn't do anything
The code is the following: BTN_FACEBOOK.addEventListener(MouseEvent.CLICK, FacebookClick); function FacebookClick(event:MouseEvent):void{ var getFacebook:URLRequest = new URLRequest("[URL]"); navigateToURL(getFacebook); }
BTN_TWITTER.addEventListener(MouseEvent.CLICK, TwitterClick); function TwitterClick(event:MouseEvent):void{ var getTwitter:URLRequest = new URLRequest("[URL]"); navigateToURL(getTwitter); }
i'm making a few buttons to be interactive with each other, for example my question is based on this: I'm making a game where you can extract oil and sell it, but what i want to know is how can i show a text message when i hit a button? for example: Once i play the scene, i will have a few buttons (Buy, sell, check reserves) also i will have a few text fields which will be "linked" with these other ones for example if i click two times in BUY i want to have in the text field of OIL BOUGHT: 2 (this are the times i clicked before) Well,hope anyone can answer my question or at least recommend me an excellent book of AS3, i'm quite lost in this
I have some buttons on my timeline and I want something to be done when I mouse over (for example) my button. The buttons have instance names of b1, b2, b3 and so on. Actionscript I`m using (for the first button) is:
b1.onRollOver = function() { //blah }
Same code goes for other buttons, I only change instance name. It is easy to do as I have a few buttons but what if I want 100 or more? It should be an easier way instead of using copy/paste.. Tried to solve this problem using loop:
I started creating a simple navigation bar: [URL] But decided to make individual buttons: [URL]
As you can see the latter repeats, however the code (after about an hour checking it seems to be identical: Actions for frame one: _root.buy_mc.onEnterFrame = function() { if (mouse_over_buy_mc) { _root.buy_mc.nextFrame(); } else { _root.buy_mc.prevFrame(); }};
Actions for invisible button: on (rollOver) { _root.mouse_over_buy_mc = true; } on (rollOut) { _root.mouse_over_buy_mc = fstartlse; }on (release){ getURL("[URL]"); }
I am attempting to make a flash website, and have 5 buttons on my menu. I made 5 pages in a movieclip called "content". I want to know how I can link those buttons to go to those pages (actionscript and where to put it).
I have seen flash website templates, and see only ONE button, but when I looked at it in an .swf, it shows all buttons with their specific text label.
this is probably a daft question but I'm a complete novice so bear with me. I need to know if it's possible to upload a picture to my Flash stage (a row of buttons I made in photoshop) and then somehow select each of these buttons and turn them into working button symbols? Or do I have to (very annoyingly) upload each button as a seperate picture in a seperate layer before turning it into a button symbol?
I want to make on button play a piece of music and another one to stop the music. I manage to make buttons work for playing frames in the timeline, but how do I make the buttons play the music and stop it?
I have a few questions on creating some animated buttons for a nav. There are 2 actions I want to trigger on moue over. If I want to use a static (PNG) image that I created in Photoshop for the actual button, can I use that? I want to smoothly slide button down on mouse-over and slide back up on mouse off. If I push part of the button off the "canvas" (sorry, this is coming from a Photoshop guy) will it disappear in the final animation? Another way to put that is, if I put an animated element off the white area, will it no longer show up in the movie (.swf) when it's published?
For the second part; you can see a bit of what I want to do if you look at this website's top Nav: [URL] I need the "light" above the button and it's going to be on another colored <div> so I can't set one solid BG color for my flash document. But I want to achieve the effect of the "bar" lighting up above the button and the actual button sliding down upon moue over.
I have got this menu from intronet and got it working, now am trying to be tricky, I want to have a way to make certain buttons light up when on a particular page, so for example I have got Brian's Vision button taking me to frame 2. How can I get certain buttons to be highlighted on that frame?Basically in my code so far I can listen to a button that is clicked and determine what text it has.. so who can I identify a button with a certain text and make it do something (without clicking on it?)
I am fairly new to Flash and I am wanting to create a virtual tour through a house. I DON'T want the panoramic views; I want to be able to have the buttons walk the user forward through the house and look side to side. I have successfully made the left, right, and forward buttons look side to side and move forward for one sequence, but once I add multiple "If" scripts for the forward button it messes everything up. Furthermore, when I want the forward button to go back to its screen when on the left screen it doesn't want to seem to work.
All this is to say how do I get a button to do different "if" functions from frame to frame.
The code I currently have looks like this:
stop(); up_btn.onRelease = function() { if (_root._currentframe == 4) {
[code]....
it seems to mess up the entire button. It will only do the first command in the structure. All of it has been VERY frustrating and I don't know how to structure it so that it will go to the desired frame but also go back to the frame I want when looking left or right.
I've built my first flash application and it's very close to being finished. I have a problem with two buttons that are on the are on the left and right of the stage. When the browser is enlarged these buttons don't remain on the edge of the browser. Not sure if I explained that very well so here is a link to the application [URL] if you make you browser wider you will see my problem.
I have a looping aquarium with looping swimming fish. I want to be able to click the fish and they make a pop-up appear with info about them. I can't figure out the code to launch the pop-up? I am using CS3 and action script 2.0.
I'm working on a Flash video slideshow (which you can preview here). I would like to be able to make it so you can click a button (I've got one made in the doc already) that will make just the video on each "slide" go full screen, similar to how you can do so with other videos on sites like YouTube and others.
While what I've linked to above is just a template I'm messing with, I'd like to be able to have a video on the right, let's say, with text on the left, and then be able to click a button (perhaps under the video that says "full screen) and have the video that is there fill the whole window and play.
I am new to this company and my employer who knows I haven't worked with Flash asked me to look into making a flash video for new software that he developed. I have looked at the Adobe website but am not sure where to start. Can I just download a editor, which one? Do I need something with the editor to make it work
I am pretty rusty when it comes to action script. I am using CS3 and want to have an XML file that has the links likeimported into the flash so when a button is clicked it will go there...I have looked at numerous examples but all are too complicated for what i want to do.I will pay someone via paypal if they want to do this quick fix for me... I can send the file... should be strait forward for someone knowing waht they are doing
I get this in my output when I click on my pre-loader button, which works great and sends me to the home page... but when I get there the code I wrote for my portfolio page to click on portfolio and have it take me to the portfolio page isn't working.... It gives me the faollwoing output error....object reference. at Website_fla::MainTimeline/Website_fla::frame1()[Website_fla.MainTimel ine::frame1:13]
making custom checkboxes/radio buttons. I have created one of each on the stage. The goal is to create each in a movie clip so that I can use them in various programs. As I am using these flash programs in an interface down the road, I have found myself to have trouble with the prebuild flash components. I would like to build my own. I would also like them to be able to only have one clicked at a time.
quick note: I have the buttons both changing their stages in movieclips. Frame 1 is the upstate and frame 2 is the down state.
I have dynamically attached a number of movieclips inside a another movieclip on the stage, and now I want them to act as buttons, but I can't work out how. They are named as they are created, so I know I can target them, but as to how to assign an onRelease functions to them I have no idea.I don't want to hard code a load of onReleases, as the number of movieclips will change depending on outside data, how I could do this with a loop or something, given that I have an array of their names?
so the problem is that i was following instructions for making scrolling text with a custom button. and i put the following script (the instances are scrollUp_btn and scrollDown_btn):[code]and afther that i auto-checked it and (besides not working in the preview) it indicates these errors:[code]then i switched the '}'s for '{'s or viceversa but it shows me the opposite error. what's wrong ?
I am trying to make my buttons do this (<-- Link). What I can't figure out is how to make the button stay red after the user clicks it and then go back to white when the user click on another button. Here is my file (<-- Link) so far. and here is my Code:
I want to accomplish this. I want to have two buttons and my piece of text. When the user clicks the plus button the text gets larger. When the user clicks the minus button the text gets smaller.