papanesta Posted August 31, 2005 Share Posted August 31, 2005 Does anyone here have a reasonable level of Flash knowledge? I need to know if there is anyway, at the "Over" stage of making a button, is there anyway you can have more than one frame? Basically, the button has a mechanical theme, and when it is scrolled over, it is like doors sliding off to the side, obviously this would happen in the "Over" stage, thus revealling the text for the link. And, the animated type thingie I want the "Over" stage to be like, but obviously not looping: If anyone can give me a hand, it would be much appreciated. Even just a link to a tutorial. I've looked, but found nothing helpful. Link to comment Share on other sites More sharing options...
anuj Posted August 31, 2005 Share Posted August 31, 2005 (edited) Mmkay, this is going to seem kinda jumbled. When you create the button, go to the Over field and click F6 to insert the frame. Click on the item (in this case, the black rectangle), hit F8 and choose Movie Clip. Double-click the newly-created symbol, and you'll open a new window with a new timeline, ONLY FOR THE CLIP. Animate your button, and you'll be set. I'll throw down a little example, so I can be sure thats what you want. edit - http://www.2graphik.com/example.swf That's the basic idea of what you'll get using the above method. I'm trying to remember how to make the animation transition back to the 'closed' state rather than just snap back. Edited August 31, 2005 by anuj Link to comment Share on other sites More sharing options...
papanesta Posted August 31, 2005 Author Share Posted August 31, 2005 Thank you so much, mate. I'm pretty sure that's exactly what I was looking for. Sadly, I can't check if I can do it right just now, I only have access to Flash in school. I'll check tomorrow, then get back to you. Link to comment Share on other sites More sharing options...
papanesta Posted September 9, 2005 Author Share Posted September 9, 2005 (edited) Right, bumpage time. I've got the button working... to a certain extent. I can't get the animation to stop looping in the "Over" stage. How do I stop this? And the other thing is, everywhere I host it, it makes it bigger. Like this, haha: http://www.adamcs.net/uploads/inprogress.swf Edited September 9, 2005 by papanesta Link to comment Share on other sites More sharing options...
anuj Posted September 15, 2005 Share Posted September 15, 2005 (edited) Right, bumpage time. I've got the button working... to a certain extent. I can't get the animation to stop looping in the "Over" stage. How do I stop this? And the other thing is, everywhere I host it, it makes it bigger. Like this, haha: http://www.adamcs.net/uploads/inprogress.swf omg u r adamcs!? Hook a brother up with a FLA and I'll see how your button is set up. I'll try to download/decode the swf for right now. edit - Okay, two things. 1. In the keyframes for the opening animation, you don't have any actionscript applied. So sekect the 15th (final) frame of the opening animation, and open the 'Actions' frame. Simply type " stop(); " into the box (sans quotes, of course), and hit save. This simply stops the playing of the animation dead in its tracks. 2. Why didn't you use a motion tween instead of individual keyframes? The animation still looks good, I just think it might've been easier. Finished Product: An animated button that won't loop, or eat babies. http://www.2graphik.com/paps.swf I'm still working on the scaling bit. Edited September 15, 2005 by anuj Link to comment Share on other sites More sharing options...
Ottae Posted September 15, 2005 Share Posted September 15, 2005 The Secret's out! Papanesta has an Alter Ego! anywayz, it's looks good mate! Keep up the good work, both of you Link to comment Share on other sites More sharing options...
papanesta Posted September 15, 2005 Author Share Posted September 15, 2005 We all have a bit of adam in us. But no, I just requested to borrow his hosting. 1. I actually figured that part out after checking a tutorial on-line. Sorry, should have asked adam to host the new on for me. 2. I'm still very new to all this, I knew doing it frame by frame worked fine, so stuck to that. Only then did my teacher give me a book on learning Flash, where I read all about the motion tween. At least it won't eat babies now, that's a relief. Any progress with the scaling? It's confusing me to no end. I tried editing the Publish Options, but that helped bollocks all. Thanks for your help so far, 'nujer. Link to comment Share on other sites More sharing options...
Kuiosikle Posted September 15, 2005 Share Posted September 15, 2005 (edited) The reason it's scaled like that is because when you view a .swf by itself on a web browser it will zoom in so that it reaches the window's dimensions. When you have it embedded in a page it will appear at 100%. So when you go to publish it, publish an html file with it. EDIT: http://gtaunderground.codenamenetwork.com/...s/papflash.html Edited September 15, 2005 by Kuiosikle Link to comment Share on other sites More sharing options...
anuj Posted September 15, 2005 Share Posted September 15, 2005 The reason it's scaled like that is because when you view a .swf by itself on a web browser it will zoom in so that it reaches the window's dimensions. When you have it embedded in a page it will appear at 100%. So when you go to publish it, publish an html file with it. EDIT: http://gtaunderground.codenamenetwork.com/...s/papflash.html That's what I was going to say, but I was hoping to find a standalone swf solution. I found how to keep it from scaling in independent flash viewers (fscommand), but not browsers. Nice sig, btw. Link to comment Share on other sites More sharing options...
Kuiosikle Posted September 15, 2005 Share Posted September 15, 2005 (edited) The only way I could think of would be to give the document the same dimensions as your resolution, which ofcourse is different for everybody so that's no good. (thanks) Edited September 15, 2005 by Kuiosikle Link to comment Share on other sites More sharing options...
papanesta Posted September 15, 2005 Author Share Posted September 15, 2005 So, if I use the buttons in a bigger web page design, like I plan to do, it will be okay...? Link to comment Share on other sites More sharing options...
Kuiosikle Posted September 15, 2005 Share Posted September 15, 2005 If you use the code from the html that has the right dimensions (21, 61 in this case) then yeah it should be fine. As long as the document size matches the content, which this case it does. Link to comment Share on other sites More sharing options...
Mercie Posted September 16, 2005 Share Posted September 16, 2005 (edited) So, if I use the buttons in a bigger web page design, like I plan to do, it will be okay...? Get to the last frame in your movie animation, and insert the 'Stop" command (script browser) in the scripts menu. That will make the animation stop at that frame. i believe the code looks like ()stop; But it is in the menu of all the flash commands. I see. Now that I look over Anuj's post again... Edited September 16, 2005 by Mercie Link to comment Share on other sites More sharing options...
papanesta Posted September 16, 2005 Author Share Posted September 16, 2005 Yeah, I said I got that... Link to comment Share on other sites More sharing options...
Otter Posted September 16, 2005 Share Posted September 16, 2005 Hey, I think I know what you should do. Tou oughtta get to the last frame in your movie animation, and insert the 'Stop" command (script browser) in the scripts menu. That will make the animation stop at that frame. i believe the code looks like ()stop; But it is in the menu of all the flash commands. Link to comment Share on other sites More sharing options...
king surfer Posted September 16, 2005 Share Posted September 16, 2005 I think the button automatically takes on the dimensions of the canvas you're working on? So if you perhaps crop the canvas down to the button size it will stop? Just an idea. Link to comment Share on other sites More sharing options...
Kuiosikle Posted September 16, 2005 Share Posted September 16, 2005 I think the button automatically takes on the dimensions of the canvas you're working on? So if you perhaps crop the canvas down to the button size it will stop? Just an idea. Nah, the button won't automaticly take on the deminsions of the canvas, it wil be whatever size you make it. In pap's flash the canvas size is fine anyways, the problem is when viewing it in a broswer by itself as already stated. Though the way he dicribes his use for the button he won't have a problem. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now