Professional :: Making Multiple Buttons Out Of One Picture?
Jun 15, 2010
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 a picture gallery and use buttons that move you from picture to picture and backwards, but I don't want to tell button 1 to go to frame 2 and button 2 to got to frame 3 and so on (I hope you know what I mean)Can I use on button on a separate layer with the same action set? I tried something like that, but it didn't work:
on (release) { thisframe =+1 } [code]........
but it didn't work. I'm kind of new to any action script other than gotAndPlay, easy functions and all that.
This is for a freelance design i am working on. I would do it expect coding and flash is very confusing to me and hurts my head. I have a link that says how you make it but im not quiet sure. [URL]if someone can please make me something that would be great i will give you all the details you want in a email but i dont want to share it in the forums if its illeagle or not (its not illeagle by law but maybe by forums idk) my email to contact me is [URL]
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 have a flash movie with 3 buttons I am trying to link relativley to pages within my site, I have one working fine but can't get the others to link and when I try it makes the one that is working, work no more..
Below's the code I am using for the one that is working;
import flash.events.MouseEvent;var getIndex:URLRequest = new URLRequest("../index.html"); //---Enter Button---\
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?
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 am importing a series of mockups of a website into Flash CS5 as symbols, and it already has elements drawn in Illustrator CS5 that I want to use as buttons. I want to place those symbols into the Timeline and just use simple AS3 to make it go from one mockup screen to the other to make it into a slightly more functional mockup. 1. How can I take the mockups done entirely in Illustrator and make the buttons functional?
I am building a Flash site with a boombox animation. I have the below code I am using. I am using just two frames. First frame, is where I put the code in the actions layer, boombox is still. In the second frame, I placed my movie clips on layers (woofers vibrating & tape deck spins). No code in second frame. So, if you hit the play, previous or forward button a song goes on and the animation start. If you press the pause button, animations stop with music. I have created 2 functions per button.
2 questions: 1 - Is this the best way to do it? If I press the buttons quickly, sometimes a song gets stuck and I can't stop, forward, etc. I was wondering if this was the code?
2 - I am tweening in my pages using AS3 - not timeline. I have a music and video page (each a movieclip). Is there a way that once I tween in the new movie clip (non-music of vid page) that the music or video can shut off?
I've got this scene which is a movie clip; the only movement is in the models eyes, so I want to add invisible buttons around the scene that the user can interact with. When a certain object is clicked (the button) it triggers a short movie clip in the bottom corner of the scene, which is basically a text box typing letters.
However, I've tried to do this and I've come across two problems. One, I can only click the button once, it won't repeat itself again. Two, I can only seem to add one button as it's a movie clip and it messes with the others in the scene.
Here's a screen grab of what I've got: [URL] I want multiple buttons in this scene, and I want to be able to click them as many times as I like.
Is there any way I can have multiple sound buttons that works as stop buttons for each other? I mean.. I now got 3 buttons that start 3 different songs, but they overlap each other when I press more than one. I'd like Song 1 to stop when I press Song 2 or 3. And vice versa
I am working on an interactive flash map, I was able to set all the countries borders with the help of fireworks (awesome tool), and import them back to flash and set each country as a button.I would like to set all of the buttons to have the same properties for example :All the buttons have default red color, and will have a mouse hover frame that will change the color of the button to blue.I DO NOT want to set each button manually, because I would like to have the choice to change the mouse hover color to a different one, and would like to avoid passing each button and changing each one's mouse hover frame.
Is there a way I can built a template of a frame, and for each button set its mouse hover frame as the template frame I built ? And then if I make any changes to the template frame, all of my buttons would be automatically updated?
I'm really new to flash, and just taking an intro level course at the moment.Anyways, for one of my projects,I wanted to load some .jpg files onto the stage, and make buttons from certain aspects of the image.So for example,I have an image of a coconut that I wanted to make a button out of.Right now I am trying to use the pen tool to outline the shape of the coconut, and then create a symbol from the pen tools shape.However, I'm obviously not doing something right, as when I turn the image into a symbol, instead of creating a button symbol from my outline with the pen tool, it just turns my whole .jpg file into a symbol.
I want to be able to make multiple clickable buttons from a single image,I know how the coding will work once I can make the individual buttons, but right now I seem to be missing a step.
In CS5, I want to create a series of buttons that when clicked will linked to other frames in the same timeline. So one button will link to frame 5, one will link to frame 10, one will link to 15, etc. All the buttons will appear across the top of the stage on a layer, and I want them to appear on all of the frames so the user can click back-and-forth to the different frames/screens.
1. Is the best way to do this to just add the buttons to frame 1 and add a keyframe to the last frame in the timeline, frame 15, so they are copied to all the frames in between?
I have a project that requires building the project using Scenes to chunk up different sections of an Elearning course.
I have created 20 Scenes.
Each Scene uses the same interface design.
On the Interface there are 6 specific buttons that will allow users to visit 6 instructional areas.
All six buttons will be avialable in all 20 Scenes.
My question is: is it possible to replicate the six buttons across all 20 scenes without having to provide unique instance names for each button in all 20 scenes so that the code to go to a scene will work in each Scene?
Or do I just have to code all 180 buttons individually as I go?
What I mean is for example.
The Lesson 1 button is replicated 20 times. the lesson one button has actionscript to go to the Lesson 1 Scene.
If I replicate the button to another Scene, I have to give it a different instance name, and update the code for that button each time and for all buttons.
I was wondering, if I had an image with multiple sections that are highlighted on rollover(like a car), and I wanted to give the user an opportunity to select multiple sections and on release they are taken to a page that displays relevant info on each clicked section, how would I go about doing that?
I have a drop down menu whereby the clicking of a button causes it to move to a specific keyframe in the timeline. I also have multiple buttons which load external swf files.The problem is when i navigate to the drop down menu the loaded external files keep dissapering because they are not on the keyframe where the drop down menu is actuated. Is there any way of coding it so that which ever swf file is loaded remains there whilst the drop down menu moves to its specific stage in the timeline?
i am making a Picture Gallery for a personal Project...
The code all works fine, although is probably quite messy, in the test movie environment within flash but when i publish or export the movie it doesn't load my images?
I am using Flash CS3 with AS 2.0
I will upload the fla, you can use any picture to test if you want.
I've got five buttons and want them their enabled property to toggle as you move through the menu. So, if MenuItem1 is disabled (because you're in that section), then you click on MenuItem2, MenuItem1 is automatically enabled. I'm using SimpleButtons. No need to use anything more than that.
I am using Flash CS5 on an iMAC, running OSX 10.6. I created a file that uses a Combobox on the first frame, and I would like to connect the buttons to go to and stop/play on multiple labels.
In one of our project we are using flex for front end, blazeds/java in the backend. Its an existing code where services are prewritten. I have to make calls to 3 services in the backend (basically 3 remote objects) and get their result and store the result in an object and show the data of this object in a view. Now in front end we are using Flex and Parsley Framework. I was thinking of the following approaches.
1) Making commands for each service call and storing the result in a shared object (model) and then displaying this model in the view. In this approach the problem is some services are needed in some other web pages, but they donot need the same model. How should i handle this scenario ? Should i make a asynchronous remote call and fetch the result and then again dispatch and event with the event object storing the result.
2) Making a service call , wait for the result then make another call and wait for the result and then make other call, not sure if this is the right way ?
I'm making a small Flash game, which is rotating rings in an image to create a coherent picture. Think of the puzzles in Assassins Creed.I have three scenes set up, one with the puzzle, one with a fade to white transition, and one with a congratulatory screen.
I have this code to check if the orientation of the rings match, but I'm really new to actionscript so I'm not sure if it's right or not.
I have kind of a follow up question what would the procedure be if I had like a slide show and each slide when you clicked on it there would be multiple links this is the code I have so far: My slideshow instance names are pic_000_mc to pic_004_mc
[Code]....
I know there is a better and more efficient way to do this then to have all five different functions and listeners.
Working on a picture gallery with multiple pages. The basic idea of what I'm trying to do is I get a list of all thumbs, separate the list in groups of 20 and then add all the groups to a MC that slides left and right when the user presses a left or right button.This is the code I've written:
What I want is "simple", That if I click the "nxt" button, it loads the next picture in the xml. And the "prv" button goes backwards. AS3 Code PHP Code:
i am new to this and i need to put a simple picture show an a web page, i need it to work like a powerpoint presentation but also needs buttons that you can roll your mouse over and have the slide that is associated with it come back up and also need to be able to click it to bring it back and stay on the screen for a longer period of time.
I'm working on a dynamically resized photo gallery like everyone else and their mother. Everything works ok so far, until I try to add key detection to complement the previous and next buttons already in place. When I hit the left or right key it registers, but the picture doesn't resize the same as if I just press the prev or next buttons. It actually loads the next picture, and then resizes on the follow key hit.
i would like to know, is it possible to go to a other website (url) if i click on one of the picture in the tutorial "3D Photo Panals)? What is the command for this? It doesn“t work with TweenLite. I would like to have the same tutorial, but with buttons. Is this possible?