Making a button with a picture

I'm trying to make a button with a picture I made in photoshop.. but the problem is that the background is transparent, I just want the main part to be clickable.
Here is an example.. I just want the purple part to be clickable. The box around that is the actually whole image. So how can I fix this?

if you are using a simple button with up / over / down / hit frames do the following.
add a new layer to your button's timeline above the bitmap
in the up keyframe of this new layer draw a circle the same size and position of the purple starburst.
select the circle and cut the the circle (cmd-x or cntrl-x)
delete the layer you just made
make sure there is a keyframe in the hit frame of the remaining layer (f6)
if the bitmap is in the hit frame, delete it.
with the hit frame selected do a paste in place: cmd-shift-v or cntrl-shift-v
now you should have only the vector circle shape in the hit frame of the button.
now your button will only respond to mouse events when you rollover where the circle is.
the reason i had you add a new layer is because when you draw vectors in the same layer / frame as a bitmap, the vectors go behind the bitmaps and are hard to select, see, or modify.

Similar Messages

  • Iphone photo making funny faces with you pictures

    ok a few months ago i saw the 2.0 video and they showed this cool thing you can do with your pictures on your iphone you can pick a picture you have on your iphone and move you finger qaround on the face and make funny shapes and move the face around and to put the picture back to normal all you had to do was shack the phone ok i downloaded 2.0 but cant seen to find how to do this ??? any help?? thanks

    I was looking for how to do this also.

  • How can i create a button with a dynamic picture?

    How can i create a button with a dynamic picture using
    mcLoader.loadClip
    I did create one with it doesnt seem to be working. It loses
    all its
    functions (eg onPress onRelease)
    Thanks

    I solved thep roblem anyway creating a mc.. then creating
    another MC withing
    the first MC and i change the picture on the second MC. And i
    apply the
    propierities to the first MC , and works
    If i have troubles with mu sistem on the future I will use
    yours!
    Thanks!
    "the fleece" <[email protected]>
    escribi� en el mensaje
    news:e67i88$jlf$[email protected]..
    > the image loading will remove any properties or
    functions the mc had.
    >
    > you need to apply them in the onLoadInit function
    >
    > mclListener.onLoadInit = function(target_mc:MovieClip) {
    > target_mc.onRollOver=blah blah
    > };
    > var image_mcl:MovieClipLoader = new MovieClipLoader();
    > image_mcl.addListener(mclListener);
    > image_mcl.loadClip(blah, blahblah);
    >
    >

  • Connecting a movie with a picture/button

    Hello, I bought a flash web template and now I am trying to
    modify it. I need to know how to import a video clip into flash and
    then connect it with a picture/button using actionscript in CS3. I
    want to keep everything within the same flash project so being able
    to do that would be ideal. Thanks for any help you can give
    me.

    There are multiple ways in which HTML controls can communicate with flash. I think one such way by using SetVariable() can address your issue is explained at: http://www.adobe.com/devnet/flash/articles/external_interface_print.html

  • I keep hitting the mute or speaker button with my cheek when i am holding it after making a call....my phone does not black out...how do i fix that?

    How do you make the screen black after dialing a number and talking? Every time I place a call or someone calls me I keep hitting the mute button or speaker or facetime button with my cheek....this is soooo irritating!! please help!

    It sounds like the proximity sensor is acting up. To test it, make a phone call and use your hand to cover the top 1"-1 1/2" of the screen (where the sensor is located). The screen should blank out, if it doesn't, you need to make an appointment with an Apple Store or call Apple to get it repaired/replaced. If it does blank, check how you are holding the phone to your ear, you may not be holding it in a way that the sensor can tell it's at your ear.

  • Need help with keeping pictures in focus after transitions

    I am fairly new to Final Cut X.
    Right now I am making a DVD of just photos with music added.
    I am using transitions between photos as well.
    I'm having one problem:
    When I play the movie in FC, during the transition from photo to photo my pictures look great and are clear, but when the transition is not happening and the picture is just showing it goes a bit blurry. 
    Can someone help me out with a solution for this?
    Thanks, Adam

    Highlight the song or songs you want to add the artwork to.
    Click the Artwork button in the lower-left corner of the iTunes window (4th icon in).
    The Artwork box will open.
    Open the folder with the pictures in it from Windows Explorer
    Drag the picture you want to the Artwork box from folder.
    Press OK.
    Alternatively:
    Highlight the song or you want to add the artwork to.
    Right click on it and choose Get Info
    Then choose the Artwork tab
    Choose Add and browse to the picture you want to add.
    To add artwork to multiple items using Get Info
    Open iTunes, highlight your selection (click on the first track in your list, hold down the shift key and click on the last).
    Right click anywhere in the selection and choose Get Info
    When you are asked if you want to edit multiple items say yes.
    Drag your artwork to the small artwork box about halfway down on the right and choose OK.

  • Making a button in a scrollbar

    Hello,
    First things first. I know my english is not the best but I will try to explain my problem as clearly as I can.
    I have a problem with my Indesign document I am using indesign5.5.
    I am making an ipad version of a newspaper. And I made a scroll section for the menu. So if you wanna see the news you can scroll through the subjects. But if you see a subject you want to read. you have to click on the picture of te articale you want to see.  I can make buttons and I can make a scroll section but I can't make a button in the scroll section. I've tried a lot of ways but it just won't work or it won't scroll with the pictures. I hope you guys can help me to find a solution.
    thank you

    Your English is fine, but you’re in the wrong forum. Please visit the Digital Publishing Suite forum.
    Before posting however please have a look at the FAQs.
    Adding interactivity to scrolling content is a newly added feature that requires the use of the Pan and Zoom overlay instead of scrollable content layers.
    Bob

  • I am busy making a website with iweb. Do you know if it is possible to make a page with a slideshow which does not contain jpg's but other documents?

    I am busy making a website with iweb. Can I only make a page with a slideshow containing jpg's? I would like to make a (pages) document with pictures and have this as a slideshow. Is that possible?

    If you use Keynote rather than Pages you can export as HTML to get a slideshow...
    http://www.iwebformusicians.com/Banner-Slideshow/HTML-Slideshow.html
    Or you can use a JQuery slider that will display text, images, movies etc...
    http://www.iwebformusicians.com/Banner-Slideshow/Anything-JQuery-Slider.html

  • Is it possible to make a button with multiple paths?

    Hello and good day Everyone
    I want to make a flash game with a map leading to various places for example school or beach like this http://www.yotreat.com/sites/default/files/190-160_1286.jpg
    if the player goes to the school she will find the teacher, and if the player goes to the beach se will find the coach.
    How can I make the player (for example) talks to the teacher at school, returns to the main map, and goes to the beach to talk with the coach, yet if she goes to the school again, the dialogue with the teacher won't be the same with first dialogue?
    =>>> Is it possible to make a button with different paths to go? As if you've watched frame A, then you push the same button again it will take you to frame B??? <<<=
    Sorry for my confusing description... I hope you get the idea >,<
    Im so desperate... I've been searching for articles about this since yesterday and I still can't find one to solve this problem of mine.
    Making games is my dream... I've made some very simple games, but I want to try a new level of difficulty
    Please help me? (>o<

    Thank you for the advice, sir Ned Murphy!
    Yes, I try to use variables now, but face another problem with it... would you please tell me what's wrong with my script?
    Here, in label: "School" I type:
    on (release) {
    if (point = 0){
    gotoAndStop("dialogue1");
    else if (point = 10){
    gotoAndStop("dialogue2");
    else {
    gotoAndStop("dialogue3");
    (it's only a testing, so I only use these 4 labels)
    and in label: "dialogue1", "dialogue2",and "dialogue3" I type:
    on (release) {point += 10;}
    on (release) {
    _root.gotoAndStop("school");
    The result when I test movie:
    1. At "School" (shows point=0), I click the button,
    2. then occurs "dialogue2" (shows point=10), I click the button,
    3. then back at "school" (shows point=20), I click the button,
    4. then occurs "dialogue2" again (shows point=10)
    even the first shot is wrong
    point=0 should be the entrance to "dialogue1", but all I can get is "dialogue2"...
    Please tell me what's wrong with my script, sir Ned Murphy,
    Thank you very  much
    Regards,
    Tami

  • Animating a button with actionScript

    I'm fairly stumped on this one - but probably quite simple to fix.
    I need to animate the scale of a button with actionScript 2.0. I've inherited a project that was done with actionScript 2.0 and have decided to stay with this generation rather than rewrite the whole project. Anyway - I've created a sound object, it plays audio from the library and 3 seconds after it starts playing, I want to animate the "next" button and make it pulse to attract the users attention.
    Doing this by putting the button in a movie clip is not working as I am losing it's button states and besides it's probably far more tighter to program it.
    When the user rolls over the button it stops pulsing but still retains it's up, over and down states.
    Any easy answer?

    Thanks for your help Ned.
    I ended up making an advanced button with movie clips and using programming for all the states.
    Movies are so much easier to control than buttons.
    But you have raised something I had overlooked...setTimeout( )
    I was using setInterval( ) and then doing clearInterval( ) within the function so it would only loop once, which of course was problematic if the user beat the 'clearInterval' code by clicking on the button too early.
    Actually used setInterval( ) to delay all sound on the project - now going to re-program all that.
    Thanks

  • PSD Rollover Button with image in front stops button from changing state

    I have a wide PSD button that changes state when rolled over. I would like to place a PNG image with transparency in some areas over the top of it so that the rollover button shows through the transparent areas of the PNG.
    How can you get it to do the rollover effect when the user mouses over the bit of the button that the image is in front of? Is ther a way of making the PNG 'invisible' to the mouse?
    I know I could redesign the button so that it includes the image but I'm trying to keep file sizes and load times to a minimum, I use this button a lot on my website with a different on each, and having that number of individual buttons would result in a bloated, slow-loading website.

    Hi Abhishek
    Thanks for your reply. I was able to achieve the effect I wanted by having the PNG and the PSD Button with the same link and then grouping them. This means I can mouse over the PNG and still get the PSD rollover effect, which is perfect.
    However I also have another similar problem. I have some different PSD Rollover Buttons which have some text in front of them (basically it's the button label). On some of these buttons when you roll over the text it prevents the rollover state of the button, and on other buttons the rollover effect occurs as it should, and there doesn't appear to be any consistency about which does what. Grouping or ungrouping doesn't appear to make a difference. Can you help?

  • HT201210 my Ipod is stuck with a picture of a connection and Itunes showing..

    my Ipod is stuck with a picture of a connection and Itunes showing.. my Itunes says it is unable to recover it,
    what should I do..the Ipod is stuck in this screen and nothing happens if I turn it on or off...

    Due the unsuccessful updation your iPhone has stuck in recovery mode. you need to download the iOS 7.0.2 from the following link http://appldnld.apple.com/iOS7/091-9872.20130924.2wc82/iPhone4,1_7.0.2_11A501_Re store.ipsw and restore your device manually,please make sure you have all the backup stored since this will be a restore not an update so you data will be lost and you will have to restore your data from backup.You can do this by shift + mouse click the restore button in iTunes this will give you an opendialogue box to select the iPSW from which you want to update your iPhone after that have some patience and let the iTunes complete the installation and enjoy iOS 7.0.2.

  • HT1414 I Pad is frozen with a picture of a USB cable with an arrow pointing to an icon of itunes

    IPAD is frozen with a picture of a USB cable with an arrow pointing to an icon of itunes? Can anyone suggest a fix

    You are in Recovery Mode. Follow the instructions below to recover your iPad.
    1. Disconnect the USB cable from the device, but leave the other end of the cable connected to your computer's USB port.
    2. Turn off the device: Press and hold the Sleep/Wake button for a few seconds until the red slider appears, then slide the slider. Wait for the device to turn off.
    If you cannot turn off the device using the slider, press and hold the Sleep/Wake and Home buttons at the same time. When the device turns off, release the Sleep/Wake and Home buttons.
    3. While pressing and holding the Home button, reconnect the USB cable to the device. The device should turn on.
    4. Continue holding the Home button until you see the "Connect to iTunes" screen. When this screen appears, release the Home button.
    5. iTunes should alert you that it has detected a device in recovery mode. Click OK, and then click Restore to restore the device.
    Note: You need to be patient and repeat the above many times to recover your iPad. Data will be lost.

  • Can we perform two actions with one button with two clicks one after other?

    Sir,
    can we perform two actions with one button with two clicks one after other?
    I want that when I click an Add Button first time it add data to the database and when I click again this button it clear the form data to empty fields.
    Regards
    Tanvir

    In code it should be easy.
    The following code adds a button called butman with a text "ADD".
    It then registers a listener that will be called if the button is clicked.
    This listener then calls the runAddData method if you clicked on butman while it contained the "ADD" text and it will call the runClearData method otherwise.
    Therefore it will swap the button's functionality between ADD and CLEAR on every click.
    final Button butman = new Button("ADD");
    butman.setOnAction(new EventHandler<ActionEvent>() {
              @Override
              public void handle(ActionEvent t) {
                        if (butman.getText().equals("ADD")) {
                                  butman.setText("CLEAR");
                                  runAddData();
                        } else {
                                  butman.setText("ADD");
                                  runClearData();
                        } // END IF-THEN
              }});I hope this is what you wanted.
    Some extra food for thought.
    You might want to run the ADD and CLEAR methods in their own threads so that it can run in the back ground, without slowing down your user interface.
    I also like to rather reuse one button for multiple functionality in stead of making an application with hundreds of nodes only used rarely with masses of code to show and hide them if needed.

  • Making a button rollover change a movie clip's frame

    Hi again everyone,
    I knew how to do this in AS2 but now I am having problems
    with making a button on the stage goto a frame in a movie clip on
    the stage.
    I've attached a sample of my code below, hopefully you'll see
    the error and be able to point it out to me?
    I have a movie clip on the stage that has different
    information in different frames. I want to make it so that when
    someone rolls over the button, the movie clip fades in and goes to
    the correct frame to display the information.
    With this setup the way it is below, I keep getting "Warning:
    3590: void used where a Boolean value was expected. The expression
    will be type coerced to Boolean.
    I know where the problem is happening, "function
    XXX(event:MouseEvent):void {navigateToURL(XXXweb)}"
    How can I write this differently and eliminate this problem?
    Thanks,
    Jeremiah

    I'll give that a shot, thanks!
    A follow up question to that one, is there a way to make it
    so that I can have one rolled over function applied to several
    buttons / frames in the movie clip? This movie clip has 50+ frames
    in it and if I could reduce my coding, it would make life a lot
    easier.
    Thanks,
    Jeremiah

Maybe you are looking for

  • Dimension key 16 missing in dimension table /BIC/DZPP_CP1P

    Hi all, I have a problem with an infocube ZPP_CP1. I am not able to delete nor load any data. It was working fine till some time back. Below is the outcome of running RSRV check on this cube. I tried to run the error correction in RSRV. But n o use P

  • My security question answers don't work, how do I change them?

    I have 4 computers synced to my iTunes account.  It asks me security questions to which I know the answers, but every time I put them in, they are incorrect.  I obviously have 2 computers that work perfectly to download, purchase, make CD's etc.  But

  • How to implement ajax at ADF table column or ADF table column button.

    I want to use ajax in table column selection. I have two table. One is master table and second one is detailed table. I have requirement to click master table column and display data in detail table column against the master table column. let assume

  • Encoding Problem from Webservice to Weblogic JVM 10.0 to Database

    Hi, I feel we have issue with encoding. We have a value "TESTTESTTEST -TESTÇAO TESTTEST", Clients inject a message with UTF-8 format with this value to our Weblogic servers and these jvm does some businness validation and inserts in to database. In D

  • Question about same emails with others

    Good afternoon, the other day I walked into yahoo.com, because I wondered if I had done earlier account there. So, when I tried to log in, I chose that I can not remember my identity and asked me to write the security email I would have put in during