Professional :: Making A Button In Flash?
Jan 23, 2011i need to create an ebook where the scenes are linked via buttons.
View 1 Repliesi need to create an ebook where the scenes are linked via buttons.
View 1 RepliesIt seemed like a simple process but I cant seem to get this right... I got a button there, but the URL wont go, i.e., the click does nothing. I imported a PSD layered image to Flash CS3, into a new blank layer. I need basically an area of this PSD to be "image mapped" so what I did was create a rectangle with the rect tool, over the area I needed the hot spot. Here I tried to do a transparent box and border (alpha 0) but the outline is still there even though the box is "empty." (I did select the transparent box, no color, and tried alpha, both same result). I made that into a symbol, then I double clicked into there to fill in the key pts for the over, hit, etc., states.... I don't have any effects here btw, as simple as we can get.
After that I right clicked on the button and entered the action script ("reserve" is the name of my button symbol)
reserve.onRelease=function(){getURL("[URL]");}
Which gave no errors on validation. When I preview in Flash, everything looks good except the thin black border and the fact that when the button is pressed, nothing happens.
I have a button on frame #1. On that frame, I used the following code I found on the web (which I tried using both AS2 and AS3):
stop();function buttonClick(event:MouseEvent);void{gotoAndPlay(2);
I get errors of varying sorts. What should I use? AS2 or AS3? And what code should I assign to the button (or that button's frame?) to get it to go to frame 2 once clicked?
Flash CS5 on Windows 7 I have a problem with a project I am creating. I have created 3 buttons which when clicked open other movieclips for each button. On each of the movieclips that the buttons send them to, all have a back button to return them back to the original view.
This back button works fine apart from once they are back at the original view, the 3 buttons stop working.
In CS5, I want to have a frame with buttons that when clicked, reveal different graphic symbols or movie clips (I'm not sure what to use?). The symbols will reveal text information and graphics, and might fade in when clicked, though will not move or do anything else.
1. Is it better to make these text and graphcis into movie clips or graphic symbols?
2. How do they get hidden on the stage until a user clicks on a button to reveal it?
3. Using Code snippets, which option will make this work?
This might be trying to be too tricky, but I have a set of keyframes on the timeline that correspond to the buttons on my xml drop down. When I am on a particular frame, I want the button for that frame and the mainItem button that it drops down from to have some sort of highlight or extra glow. This is meant to be so that a user can see where they are in the project at any time. All the code is included in my previous posts on xml drop down menu..
I can find the buttons by checking if they have certain text on them, so now I want to
1) Set a variable on each keyframe
var a:String="page1";
and then have some code that says
if(a=="page 1")....[go and get the button] e.currentTarget.menuText.text=="Questions" [and do something to it ]<-- except it wont be the current target it will just be out there with that text on it..
Is it not possible to have selectable text turned on when you are making a link or button?
View 2 RepliesI am in the process of making a button (a very stubborn button) with a mouse event in the actions for a frame. Here is the full error: Error: Call to possibly undefined method addEventListener through a reference of static type Class. And here is the code for the listener:
[Code]...
I've been following the book "Beggining Flash Programing for Dummies" and I have come up to a part where I create a very simple game.
The script involved in the frames are FRAME here:
stop();
btnGoThere.onRelease = function(){ _root.gotoAndStop("there");
} //end event handler
Frame there
btnGoHere.onRelease = function(){ _root.gotoAndStop("here");} // end release
When I test the movie and click the button, the frames don't seem to change.
I'm jew to Flash and I'm trying to make an animated button in Flash CS5 that has the ability to turn music on/off. I've followed different tutorials, and right now I'm trying to use an animated movie clip with an "invisible" button over it. I want the animation to swap frames when the button is clicked, and I also want the music to toggle on/off when the button is clicked.For example:When the button is pressed, the animation switches to say "press to turn off music" and the music turns on.But so far, the button isn't working, and the animation won't stop switching frames even when I enter the "stop();" code.Does anyone have any idea how to make it so that the button works together with the animation and music?
View 2 RepliesI'm wondering how to make a link in Flash Professional 8?
View 3 RepliesI want to make this effect in my website where there are books on shelf and when you click on one say the "About" book it comes off of the shelf and flips open onto the screen and shows the text written in the book on what my website is about. Im not really sure on how to go about this. I dont want a application where you have to flip the pages or whatever i want it to be a static page but it just flips open like a book.
View 1 Replieshow to take a classic paypal "buy it now" encrypted btn and code it within a flash interface? Im referring to paypal btns that are linked to a specific items listed within your paypal account.
View 2 RepliesI would have thrown both my computer and probably my family out the window by now out of pure frustration. I used the tutorial to learn how to use flash mx to make button hyperlinks by using the actions/browser/geturl thingWhat I am struggling with is finding a way to outline or select each individual state so that the user can click anywhere in the state and have it link to another page rather then have to make a dot on the state
View 2 RepliesI am trying to make a ball move, it's all perfect apart from this:
Statement must appear within on/onClipEvent handler = ( isJumping) = false;)
Then I put in "on", then it says:
Unexpected 'on' encountered.
Is there an easy way to make a cool looking, interactive photo gallery that i can insert into my website usuing flash?
View 2 RepliesI'm trying to make a simple text animation but the background won't go away from my exports. I need to make a movie file (.avi or .mov) and nothing is letting me remove the white space in the background.Things I have tried:
Go to Publish settings > HTML > Window mode: Trasparent Windowless
Result: White background remains
Make a .mov and in Quicktime Export Settings checkmark Ignore Stage Color (generate alpha)
Result: This time, everything was black (text was black too so it probably blended withthe background[code].....
So far nothing works so what is the deal with flash not comprehending with a clear background in movie files?
Don't ever tell me that its the window mode set to transparent in the html setting in publish settings and don't tell me I need to change the html code of the published product in dreamweaver because I don't have dreamweaver.How is one to make an swf file file that has no background in it without Dreamweaver and without a publish setting that doesn't work?After that can be answered, how then are you to make an avi. file thats transparent?How do you edit your discussion so I don't have to post the same topic twice with new information?
View 3 Replieswindows 7 64 bit IE and mozilla firefox , both 32 bit Says I have flash player installed. I have the latest version. My windows is up to date, 64 bit 7. Plugin is enabled, works on adobe's site. Doesn't work anywhere else to my knowledge
Attached pics are what other people have looked at while trouble shooting, I have looked many places, and have not found the correct answer[URL]..
The folder is not there. I thought that would probably be the problem. Manual installer uninstalling and all kinds of installing have been tried.
I am creating this animation. When you click on a button I want it to use facebox to use a pop up. I was talking to my coder friend and he gave me this code to maybe useSo I am trying to basically use this kind of coding into flash. The only thing is that I am not that great a coding so I have no idea what I am doing. The only coding that I have is a stop (); at the end of the animation so it doesn't loop.
View 1 RepliesI am making a flash presentation I have buttons on the top presentation that will navigate to differnt slides.The question i have is for each button I have the behaviors set to show the screen I want and hide all of the other screens.I have to go to each button and do a hide each screen one by one, I have about 40 of them. Is there a easy way to do that in bulk. I.E. If i have button 1 I want it to show only screen 1 and hide screens 2-40. Button 2 will show only screen 2 and hide screens 1, 3-40
View 1 RepliesIs it possible to make some kind of clickable object that resets a flash file? Say you're in a game and your character gets killed. By clicking on a button you you're taken back to the start of the flash file and all the variable reset to their starting positions. Basically I just want to make a button that reloads the flash file the same as hitting the reload button on your browser (except that it just reloads the flash file and not the entire web page).
View 3 RepliesWhat I'm wondering though is, are there any good resources out there for making games in Flash CS4. I know I'm going to get some "learn the basics first" replies, and yes I know I need to get a solid grounding in those, but I want to be able to start gathering resources, and look ahead to what I'll be able to do with Flash in the future. By resources I mean books, other websites, your own advice about game making, etc...
View 1 RepliesI am making a flash site, and wonder were I can find a good turtorial for making a contact scheme, where people can answer questions who is sent to my email.
View 1 RepliesI would love to create a 40's style animation, but i need to know what to set the frame rate to and other stuff.
View 1 RepliesWell first off here is my script so far on the page:
[URL]
Using Pastie to keep amount of text on thread low to make things easier to read.
Here are the errors I get everytime I try to debug or Test Movie:
[URL]
Also maybe if you can help a bit with it heres the check list that this is graded on. Also no I am not trying to make you guys do my work for me its just he gave us this project but I have been at work (17) and unable to finish it at all. Please help I dont want a bad GPA this ending semester.[URL]
I installed Adobe Flash CS5.5 a couple of days back...Trying to learn a few basic tricks such as motion tween (messed up things with the bone tool though)..Well the problem is, a friend of mine made a 3D drawing in Solid Works(a modelling software). It is a sort of box, now he wants me to make a flash animation for the box which starts from a sheet of paper and folds into a box and then the camera zooms out.
Now i have no idea how to do that..jpg file can be made and imported to flash...but as it will be an imported file how can it be manipulated to achieve the final task....taking screen shots of the box at various stages of solid works can be done and then played all together in flash baut it would be very tiresome and time consuming...
I dont want anyone to make it for me just guide me what tools and tutorials to look at.
I am an artist trying to remake my website...I have a picture of a window on my homepage. The window is a movie. When clicked on, the window lights turn on and a grid of thumbnail pics appear. Each thumbnail is a movie clip. When a thumbnail is clicked on, the movie plays and a larger image appears over the window. The problem is, the window is still active underneath the large image, so if I click on the large image, I am really clicking on the window movie clip underneath, and the thumbnail grid disappears-starting the window movie clip over. How do I make the window clip inactive after it is initially clicked? Also, I would like the larger images to end their movie clips after another thumbnail is clicked, so that there aren't large images piled up on top of each other.
View 6 Repliesit seemed like a simple process but I cant seem to get this right... I got a button there, but the URL wont go, ie, the click does nothing.I imported a PSD layered image to Flash CS3, into a new blank layer. I need basically an area of this PSD to be "image mapped" so what I did was create a rectangle with the rect tool, over the area I needed the hot spot.Here I tried to do a transparent box and border (alpha 0) but the outline is still there even though the box is "empty." I did select the transparent box, no color, and tried alpha, both same result)I made that into a symbol, then I double clicked into there to fill in the key pts for the over, hit, etc., states.... I dont have any effects here btw, as simple as we can get.After that I right clicked on the buttonand entered the action script ("reserve" is the name of my button symbol)
reserve.onRelease=function(){
getURL("http://www.redeggnyc.com/menu2.htm");
}
[code].....
i have a friend who are dentist and ive agreed to do a web site for him. I do it in cs4. Like so: ive made a pretty simple and nice layout i plan to use for all pages with some images an so on .Now ive made lots of buttons wich all opens in a timeline nice and slow (not to slow). On the index page i have a menu called "treatments" wich requir some room. I want to make a button called "treatments" wich can open and collaps to 3-4 minor buttons wich then again can link to diffrent pages describing different treatments. Now i need the treatment button to open up the 3-4 minor buttons one by one smooth(tweened with the alpha slider) with same frame rate as the other ones on the page and collaps again.
View 1 Replies