Adding bitmap images that behave like a button or adding buttons that support images?

I am a new to Flash Builder and making some progress, but find I am easily stuck.  I want to add graphics to my application that (1) detect when they have received a click event, (2) change graphics when mouse off, mouse over and clicked. 
I thought that I could add graphics to a button to accomplish this, but cannot figure out how.  Perhaps there is another, better way to do this using an image object.  Any help is greatly appreciated.

is it as simple as copy the button from it's own library then
paste it into the shared library - then do the linkage steps?
tq

Similar Messages

  • How do I create a title, that behaves like a button?

    Hi,
    I'm using XML to load data from asp to flash. Here's the XML
    example:
    1. <?xml version="1.0" encoding="iso-8859-1"?>
    2. <news>
    3. <item>
    4. <headline>Flash XML Based News reader out
    today!</headline>
    5. <date>05/09/1986</date>
    6. <message>Today my new xml based flash news reader
    came out, I am so excited!</message>
    7. </item>
    8. <item>
    9. <headline>One day until the Flash XML Based News
    reader is out!</headline>
    10. <date>05/08/1986</date>
    11. <message>Tomorrow my new xml based flash news
    reader comes out, I am so excited!</message>
    12. </item>
    13. <item>
    14. <headline>Two days until the Flash XML Based News
    reader is out!</headline>
    15. <date>05/07/1986</date>
    16. <message>The day after tomorrow my new xml based
    flash news reader comes out, I am so excited!</message>
    17. </item>
    18. </news>
    And here's the ActionScript part:
    1. // Initialize the xml object that our news will be loaded
    into
    2. var news_xml : XML = new XML();
    3. // ignore all whitespaces inside of our xml file
    4. news_xml.ignoreWhite = true;
    5. // when the xml recieves a return from the load() function
    call, execute this function
    6. news_xml.onLoad = function( success : Boolean ) {
    7. // if the xml file was successfully loaded
    8. if ( success ) {
    9. parseNews(this);
    10. }
    11. }
    12. // call the load function on the xml object, passing in
    the url of your xml file
    13. news_xml.load("xmlTutorial.xml");
    14. // this function will take our news xml object and parse
    it
    15. function parseNews( _xml : XML ) : Void {
    16. // first we create an array that holds all the values of
    the item nodes
    17. var items : Array = _xml.firstChild.childNodes;
    18. // now we want to iterate over every item in the items
    array
    19. // and parse the nodes as we see fit
    20. for ( var i : Number = 0 ; i < items.length ; i ++ ) {
    21. // here we set the text of the text field ( news_txt )
    22. // the first thing we add to the textfield is the
    headline then a line break
    23. news_txt.htmlText += "<b>" + items
    .childNodes[0].firstChild +"</b><br>";
    24. // next we add the string date followed by the date value
    in the xml file
    25. news_txt.htmlText += "Date: " +
    items.childNodes[1].firstChild + "<br>";
    26. // now we add the message, then two line breaks, only for
    formatting
    27. news_txt.htmlText += " " + items
    .childNodes[2].firstChild + "<br><br>";
    28. }
    29. }
    So far is everything clear to me. But what I want to do now
    is that after a user clicks on title, next happens:
    the current swf unloads
    the flash sends data to asp (ID of an article and ID of an
    author, which movie to load next).
    How do create a title/button?I know how to make a title to
    behave like a link (just add the
    http://... in the headline tag in XML
    document. But this,..... I just don't know how to do that.
    THX for any help

    2m, you are right. I should tell you about my concept. It's
    all on the paper yet, because this is how I work - first I write
    down everything on paper, study it and the next step in trying to
    make it work on computer.
    I have a main swf, I call it system.swf. System.swf receives
    the info about the swfs, it must be loaded from html tag
    <object><param>. The ID of the movies is send from
    flash to asp and then via <object>back to flash. Does that
    make sense? Is there a better way for that?
    So, the system.swf is loaded for the whole time - let's say
    it on level1. On level 2 are then loaded other swfs.It depends
    which content the user wants to see.
    About the article part:
    first the user sees the list of last articles (title, date
    and short description). When he/she clicks on the title, all the
    action happens:
    flash sends the data which article the user wants to read to
    asp, asp searches in data base for the requested article and
    creates xml, where are title, date and the whole content of the
    article.
    At the same time asp also sends via <object>tag in html
    the id of the swf that must be loaded and the id of the author of
    the article, so the swf, where the pictures of the all authors are,
    will know what picute must load (this is the second swf that is
    loaded on the article part - it's created like a gallery; the
    author of the active article is bigger and if the user wants to
    read the last article of other author, he/she just closes the
    picture and then the images are moving in a slider way and when
    he/she clicks on an image, it get larger and the last artcle of
    this author is loaded).
    And I wonder how can I make this all to happen: when the user
    clicks on a title, all the var action happens?
    If you have better idea how to create this, please, advice.
    THX for the help so far

  • My iphone's screen goes black and it behaves like that it is switched off.No switches work and the power button also does not respond.The ringtone do not also respond.The only way to switch on the phone is to press  home button and  power button together.

    My iphone's screen goes black and it behaves like that it is switched off.No switches work and the power button also does not respond.The ringtone do not also respond.The only way to switch on the phone is to press  home button and  power button together.

    Pressing the Home button and the sleep/wake or on/off button together until you see the Apple logo and then release is called a reset.
    If no change after a reset, the next step is restoring your iPhone.

  • I have updated my iOS to 4.3.5.... And after that my 3gs iPhone still behaving like previous. Versions of iOS....... My iPhone. Showing no new feature which apple has added to iOS 5 like icloud , imessage... Should I update it again...?

    I have updated my iOS to 4.3.5.... And after that my 3gs iPhone still behaving like previous. Versions of iOS....... My iPhone. Showing no new feature which apple has added to iOS 5 like icloud , imessage... Should I update it again...?

    anshulmajoka wrote:
    I have updated my iOS to 4.3.5.... And after that my 3gs iPhone still behaving like previous. Versions of iOS....... My iPhone. Showing no new feature which apple has added to iOS 5 like icloud , imessage... Should I update it again...?
    iOS 4.3.5 is not the same as iOS 5. iOS 5 with the new features you list has not been released.
    Stedman

  • How to drag and drop a swing component that can make it behave like Visio.

    1) How to make a JComponent drag and drop that behave like visio? I understand it's possible to drag and drop a text or image, but no idea on how to do that on JComponent. 2) After the JComponent is dragged and dropped, how to make the JComponent to be able to resize by the user using mouse 3) The area that the JComponent dropped should it be GrassPane, LayerPane, or ContentPane?

    I see where you're going. I'm drawn to Thunderbird because it puts open emails in separate tabs, which makes finding a particular open message easier than searching the task bar for an open outlook message. I do see your point that tab happy programmers, probably too young to remember how cool we thought drag and drop was when it first came out, don't think much of it. As with a lot of software, each programmer has a very limited view of how it their program should be used vs how it is actually used in the wild.
    People work in different ways. When I schedule an appointment with a client, this is often preceded by a series of emails related to whatever the client wants to discuss. I drag and drop those messages into the appointment window so that on the date of the appointment, I have a nice neat summary of the issues right there in the appointment window. I could use workarounds (save email and then attach to the appointment), but that's like a trip back to Windows 3.0 and it's, if I'm not mistaken, 30+ years later. I guess I'll continue to use Tbird for email and outlook for calendar, not my preferred solution, I'd like to flip MS the bird and cut all ties to outlook, and was hoping Tbird was the solution. Not yet, and perhaps not ever, based on your thoughts.

  • Adding bitmap images to UDI custom page

    Hi All,
    I have a basic issue regarding bitmap images and UDI custom screens.  The issue is that I cannot get any images to display on my page; they appear as "Image not Found" in the preview window.  I am putting my images in the same folder
    that the wizard is in, so under the source property I have "Computer.bmp".  I have also tried other image types to no avail.  Can anyone shed some light on this?  Thank you.

    did you update the changes to the package to your distribution points ? did you look at what the SMSTS.log file says about the problem ? (enable command prompt support in your boot image, distribute it to your dps, deploy, press F8 when you want to debug,
    and search for the smsts.log file with dir smsts*.log /s
    Step by Step Configuration Manager Guides >
    2012 Guides |
    2007 Guides | I'm on Twitter > ncbrady

  • I want to create a tail that behaves like a string

    I want to create a tail and fasten one end to an object. The object is translating and has a small amount of rotation oscillation. I want the tail to behave like a string that has very little stiffness. It should curve from side to side as the object oscillates. I could probably figure this out by experimentation but I would much appreciate assistance.

    Well, I don't know what you mean by "the object is translating", but to make a tail that behaves with a lot of curve, it needs to be comprised of segments. I would go with a replicator of a bunch of circles and then use the replicator sequence behavior to animate the curvature.
    Andy

  • Uneditable full-width bitmap images

    Under what settings does Captivate record the state change of various UI elements, like the depression of buttons and the checking of check boxes, as additional narrow, full-width bitmap slices which are not editable or localizable?
    For new recordings, it looks like creation of these slices can be avoided by deselecting Record keystrokes in the Recording > Settings category in Edit > Preferences or in Record/Create > New Project > Settings. Is this correct and a known issue?
    Has anyone any insight on how to avoid these uneditable full-width bitmap images? The goal is to have a single background that can be localized so they are a major headache and I'd like to know how they can be avoided. Thanks.

    I'm complelely baffled.  The only bitmap you should have is the background.  If you haven't solved your problem, send me your file or a representative slide or two so I can take a look. Sounds like gremlins in the Print Screen key.
    Leslie Bivens
    E-Learning Developer/Captivate Coach
    [email protected]

  • Using a script to get the color of a colorized Black & White Bitmap image

    I've been running into this wall for quite some time and would greatly appreciate any help that can given for it.
    I have an Illustrator script that runs inside of a BridgeTalk session within an InDesign script.  Yeah, it's complicated.  The upshot is that the Illustrator part opens up an EPS file, looks through all objects on a certain layer in that file, and returns an array of the colors used in it.  So, it looks at fill colors, stroke colors, gradient stops, etc.  One of the biggest stumbling blocks (next to PlugIn Items, which I'll ask about in a separate post) is getting the color of raster images.
    Most raster images, I realize, are going to be CMYK or RGB images, but our company mostly deals with either Grayscale images or Black & White Bitmaps that are embedded in the EPS file.  Those two allow the ability to colorize them by simply selecting them and then choosing a color, such as a spot PANTONE color from one of their color books.
    Now, I need the script to read the color that the raster image has been colorized with.  This works okay for images that have a GrayScale color space, as the script just looks at Colorant[0] of that image.  However, I run into a problem with Black & White Bitmap images.  Here's a piece of code that I try to make work with an EPS file that has a raster image:
    var document = app.activeDocument;
    for (var i = 0; i < document.layers[0].pageItems.length; i++) {
              // Stepping through each item on the layer.
              var currentItem = document.layers[0].pageItems[i];
              $.writeln("Current item is " + currentItem.typename);
              $.writeln("Number of channels is " + currentItem.channels);
              $.writeln("Color Space is " + currentItem.imageColorSpace);
              $.writeln("Colorized Grayscale? " + currentItem.colorizedGrayscale);
              $.writeln("Number of Colorants: " + currentItem.colorants.length);
              for (var j = 0; j < currentItem.colorants.length; j++)
                        $.writeln("Colorant number " + j + " is " + currentItem.colorants[j]);
              $.writeln("Its parent is " + currentItem.parent);
              $.writeln("Parent's typename is " + currentItem.parent.typename);
    This code runs successfully on an Illustrator file that has a Black & White Bitmap image on the top layer, but if you try and run it, you'll see the problem:  Even if you've colorized your Bitmap image with a PANTONE spot color (and the script even returns "true" on the line "Colorized Grayscale?"), Colorant number 0 is "Gray".  It should be the spot color assigned, not "Gray".
    Can anyone please help me figure out how to get the script to recognize the actual colorant of a Black & White Bitmap image in Illustrator?

    If you're a professional photographer with 50,000 pictures stored now and more coming all the time, you need to forget about using iPhoto and get yourself some professional-quality digital asset management software. iPhoto is not meant for people like you, and instead of providing a simple, elegant one-stop answer to all your needs, iPhoto is actually complicating your life.
    You need an application that will:
    - catalog ALL your images and keep track of where they are, no matter how many DVDs, folders, partitions or hard drives they're spread over;
    - display thumbnails of ALL of them, even when the DVD that contains them is not present in any drive, so you can select all the ones you want for a project;
    - find and copy (or export) the originals of all the files you've selected in the browser window, even if it means prompting you to insert the necessary DVDs for all of them.
    I suggest Googling "digital asset management software Macintosh" and seeing what turns up. I used to use an old version of Extensis Portfolio, and even that would have been better for your purposes than iPhoto is.

  • Bitmap images have grayscale settings

    I'm creating pdfs using Acrobat Standard 6.0 from Word documents. The documents contain images in color, grayscale and bitmap mode. For some reason the bitmap images in the final pdfs are not appearing as bitmaps but appear with the settings for the grayscale images. Meanwhile, the actual grayscale images appear with the color settings. The color images are fine. I've experimented with different resolutions for each type of image and each time the results follow the pattern described.
    I'd be interested to know where in the chain of events is the problem is occurring, or if anyone can suggest a way of trying to pin it down. I've tried two separate versions of Word, so I'm assuming the problem lies elsewhere.
    Thanks for any advice.

    Is there a way really one can use to convert bitmap
    images into vectored images?
    I ask this question in response to a problem that I
    have. I take photos using a camera of resolution 72
    pixels per inch and then process them in a program I
    have written in Java. I then print cards as the
    output of the system processing. The picture quality
    I then produce is a worry. The images are blurred and
    they rather look like zoomed bitmap images. Its not
    very disgusting but its something the clients are
    complaining about. And what makes you think that vectorizing an image is actually an improvement?
    Suggestions with regards to where I could be going
    wrong are very much welcome.Get a better camera.

  • Could work an animated flash bitmap image exported in html 5, in DPS ?

    I'm new in DPS, just started for a couple of weeks and I need to use a image in an animation.
    I created the animation in inDesign exported in .fla, used de toolkit js, load it in a container with web content overlay, and when I preview it with Adobe Content Viewer it doesn't work, it apears a blank screen. Neighter of animation from that stage won't work.
    To be very precise any animation works fine, when I test the html in a browser, the problem appears only in the content viewer.
    The animation is very simple: smal logo entering in the stage from the right, not very complex.
    I tried in flash with other images in a test file and loaded in inDesign, and still don't work. Other vector animation works well, no problem. I saw that if I have an image in library in flash and export a simple animation with a vector ball, won't work in indesign preview, with content viewer.
    My question is, Could work an animated flash bitmap image exported in html 5, in DPS ?  If so, what should I need to do ?
    Thank you in advance.

    Two possible solutions I was considering:
    1) In my index/first page, have all the swfs present (scaled to 1x1, behind something, or invisible) and have a preloader code on that first page... so all the content gets loaded before continuing onto the rest of the site.  That would certainly work in making the site run quick... but would mean a relatively lengthy wait at the start.  Luckily, unlike my current site, all the actual site content (aside from the header/nav interface) is HTML... so the bulk of the site's content is in the HTML pages, not as part of the Flash header... so it probably wouldn't be too horrific a wait.  However, it would be loading EIGHT of these swfs, since there are eight pages... so then maybe it would be....
    2) Have an swf that consists of just the 'draw up' of the interface, and it's idle state... then when each button is pressed, load a new swf to replace the main one, which has the specific page's animated title sequence, and ends with the code to load the html page.  So, each separate HTML page would have embedded into it only the main swf, and the title animation swf would be swapped in when a nav button is pressed.  Main issue here is each button press would envoke a preloader sequence (kind of tedious)... and unfortunately all the 'main interface' elements loaded in with the main swf would have to be loaded in again at the start of each animated title swf (although none of the draw up... just the loading of the interface and buttons).  For highspeed users, it should be okay, I guess....
    Thoughts or better ideas?

  • How to convert color of bitmap image?

    I am programming with Acrobat 7.
    I'd like to change color of all object to CMYK color or gray.
    In case of plain object like path or font,
    I need to seek CMYK color from the object's RGB color.
    and I change the property of the object color space and value with it.
    but in case of bitmap image, i don't know how to at all.
    it has numerous colors.
    I hope your advice.

    Thank you both of you.
    by the way, Leonard, Could you tell me that APIs more detailly?
    I have look into the document for long time. it is still hard to find proper API.
    I have to say this again. I am trying to find APIs based on version 7.
    I am using custom function ACEconvertColorProfile which is placed in snippetrunner. it consists of these APIS ACMakeColorTransform, ACApplyTransform, and so on.
    but I can't find the way to convert bitmaps once and for all.
    I hope you give more hint.
    Thanks again.

  • Poster Image in Strobe Player: Must it be a Bitmap Image?

    Hello,
    Quick question: must the poster image be a bitmap image in the Strobe and Flash players in OSMF?  I would like to use .jpg images because the quality is much better, etc.  When I try to create an image in Photoshop and convert it to a bitmap, the quality is very degraded and must be in black and white.
    Thanks so much.
    Jim

    Thanks very much for the reply.  I had uploaded a .gif, which didn't work, then went into the documentation and saw it written that poster images were bitmap images and assumed that meant that I need to use a bitmap in order for it to work.

  • How do I overlay n number of  bitmap images using Java.

    Hi All,
    I have a task of creating a composite bitmap or a .gif image from "n" number of bitmap images , so that the resulting composite image will look like as if all those "n" images were placed side by side . How can I achieve this ? Can you point me to some place where I can understand the concepts behind this?

    Create a new BufferedImage with the dimensions of all the images you want combined, then paint all the images into it through the Graphics object you can obtain from the BufferedImage. Then write out the image using the ImageIO class.

  • Outtputting Bitmap Images

    I have a project that requires we save a movieclip as a
    bitmap. I have researched this and found that I can convert the
    movieclip to a bitmap object and use the jpgencoder or pngencoder
    classes to convert the data to the correct format. However, my
    question is : can I get this to work locally through a flash
    application that is wrapped in a projecter file. IE save a bitmap
    file locally. I hope this is clear. Thanks.

    Is there a way really one can use to convert bitmap
    images into vectored images?
    I ask this question in response to a problem that I
    have. I take photos using a camera of resolution 72
    pixels per inch and then process them in a program I
    have written in Java. I then print cards as the
    output of the system processing. The picture quality
    I then produce is a worry. The images are blurred and
    they rather look like zoomed bitmap images. Its not
    very disgusting but its something the clients are
    complaining about. And what makes you think that vectorizing an image is actually an improvement?
    Suggestions with regards to where I could be going
    wrong are very much welcome.Get a better camera.

Maybe you are looking for

  • Menu bar and application toolbar

    is there a way to change item text on menu bar and application toolbar  eg in business partner overview(T-Code fmcacov) i want to change text 'Business Partner" to "tax Payer" on both menu bar an application toolbar. i have tried the norma way of goi

  • Embedded flash not behaving correctly

         I am having some problems with embedding flash into a PDF and I hope you can help. When I run the flash outside the PDF, all of the rollovers and cursor changes behave correctly. However, once I embed the flash into the pdf and launch it, when I

  • Viewing iphone pictures on Win 7

    I backed up pictures from an iphone 4 and 4S to a CD, because I ran out of phone space.  I tried to view those photos on my Windows 7 desktop, but it says it can't open them.  How do I see what I backed up? Thank you

  • Appleworks 6.2.9 and OS 10.4.2 Problem

    When I use the Assistant in Appleworks to prepare an envelope, Appleworks crashes at the moment I try to select the Page Setup. I have tried deleting Appleworks and reinstalling from 6.2 CD and then the 6.2.9 Update to no avail. I may have more than

  • MacPro with RME FIREFACE 800 ?

    Hy, I would like to know if the MacPro-RME Fireface 800 couple is a good one. Is there any issues, how about stability and latencies. Thanks for Fireface users help. regards