Help making a panel w/ ability to use color picker/eyedrop

First off I have no programing skills what so ever.
I'm a tradition artist. And I'm trying to bring a little of that in to my work flow. I like working with a minimal color pallet. So I made a jpeg of one of my many color wheels that I made with watercolors based off of Michael Wilcox book "Blue and Yellow don't make Green" Great book.
I also know you can get the color picker panel from http://www.anastasiy.com/
But like I mentioned. I like working with minimal color pallet.
O.K So I put the jpeg into a swf/image loader. With a couple of buttons.  I use a wacom. So I was going to hook that panel up to a button on my wacom pen. so I could pop it open and close it with a push of the button. I was hoping to be able to go to the color in the panel. Click and that be my for ground color. But that didn't work. I then tried the alt. button in brush mode and clicking in the panel. that doesn't work either. I know you can click in the image and drag to the panel to select  a color. But thats just not a good work flow. I want to pop the panel open and closed when I want it.
I just want to be able to pop it open the panel. float over to the  color I want.  Pick it. Close the panel and keep painting. Like the swatch panel. But I like working with a color wheel. and I have way to many color wheels to make custom swatch pallets in a circular format.
Any help would be very much appreciated.
Thanks,
scott g
Heres a snap shot of what the panel looks like.

Way cool!!!!
Thanks so much!
Attached is the non-embedded version.
It takes the picture from Colors.png, in the same folder as the flash.
If permissions are not set, it will show an error message.
Wow! I get excited just thinking of the possibilities!
PS: Modified source code:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="init();">
   <mx:Script>
      <![CDATA[
         import com.adobe.csxs.core.CSXSInterface;
         import com.adobe.csxs.types.*;
         public var bitmapData:BitmapData;
         // Set bitmap from image MyPic
         public function setBitmap():void
             bitmapData=new BitmapData(MyPic.width,MyPic.height);
             var matrix:Matrix = new Matrix();
             try{
             bitmapData.draw(MyPic,matrix);
             catch(error:Error)
                 Text.opaqueBackground = 0xffffff;
                 Text.text = error.message;
         public function init():void{
            CSXSInterface.instance.evalScript("PhotoshopRegisterEvent", charToInteger("setd").toString());
            CSXSInterface.instance.evalScript("PhotoshopRegisterEvent", charToInteger("Rset").toString());
            setBitmap();
         public function charToInteger(keyword:String):Number{
            var value:Number;
            value  = keyword.charCodeAt(0) * 256 * 256 * 256;
            value += keyword.charCodeAt(1) * 256 * 256;
            value += keyword.charCodeAt(2) * 256;
            value += keyword.charCodeAt(3);
            return value;
         public function updateColor():void
             CSXSInterface.instance.evalScript("setForeground",
                            bitmapData.getPixel(MyPic.contentMouseX,MyPic.contentMouseY).toString());
      ]]>
   </mx:Script>
   <mx:Image x="0" y="0" id="MyPic" source="Colors.png" click="updateColor()"/>
   <mx:Text id="Text"/>
</mx:Application>

Similar Messages

  • How to use color picker or RGB values in the hue-saturation colorize adjustment

    I have a monochromatic adornment that I want to match to the color of a logo.  I am attempting to use the colorize option of a hue saturation adjustment layer to match color.  But I cannot quite get the colors to match.  I know the RGB values of the color, but how do these translate into the Hue/Sat/Lightness numbers of the adjustment dialog?  I tried using the correlating H/S/B values fro9m the color picker but that did not work.
    Any suggestions?

    Thanks Zeno.  Creating a layer with the color and using the blend mode worked fine.  But as I stated in the original post, using the H/S/B (there is no HSL) values from the color picker does not work when you place them into the H/S/L values in the hue-adjustment layer with (or without) the colorize box checked.  But your first suggestion worked like a charm.  Thank you.

  • Help with draggable Panels

    Hi All,
    I am making some panels (3x3) which are draggable. When I
    drag a panel over another panel these two panels must swap from
    place. Therefore I use the DragManager.
    On the mouseMove event I call a method which does:
    if (_model.mouseIsDown) {
    var dragsource:DragSource = new DragSource();
    dragsource.addData(panelData, dataFormat);
    DragManager.doDrag(panelWin, dragsource, event);
    But this doDrag function is different from the startDrag()
    function. With the startDrag function the Panel is visually
    dragging instead of the doDrag function which only can show an
    DragImage while the Panel itself stay's on it's own place.
    What I want is to drag the Panel itself when I drag it (not
    an DragImage) and when I enter another Panel(box) these Panels must
    swap with a cool Move-effect.
    Can anybody give me some help or hints on how to do this?
    Thanks in advance!

    Hi,
    I suggest that you put your question into the Spry forum, 'cause there are acting most of the specialists around this topic. Here the link to it:
    http://forums.adobe.com/community/labs/spry?view=discussions
    Hans-Günter

  • Why am I getting the flag Invalid URL for web content overlay when making scrolling panel in Indesig

    Why am I getting the flag 'Invalid URL for web content overlay" when making scrolling panel in Indesign? Iam making additions to existing articles but the problem is new. The articles were originally made using CS and now I am on CC, which I have just uninstalled and re installed, no difference, can anyone help please? Steve

    Hi Bob, thankyou very much for coming back on this. The flag is coming up towards the end of the preview process on desk top. I have made dozens if not hundreds on my two published apps on the app store, but have not done an update for nearly a year, in which time I have needed a refresher, and as usual went to Lynda. In this case I have followed to the letter your DPS course, which is great, and I found the process of making the scrolling panels somewhat easier than when I started 2-3years ago. Initially I was mystified that the flag talked about url and web content, but just put it down to something I had missed in recent improvements in CC.
    I tried over and over, but always got the same result. I thought at one point it might be because the content of my slide was copy and photo, so for a test I deleted the photo. Same result, and many of my existing slides are copy and picture.
    I also uninstalled Indesign CC and reinstalled in case of corrupted content, I also copied to IDML and relaunch, same problem. I am sure I have made the scrolling content as instructed, The one thing I havn't done is trash my preferences, if you think that would be a good Idea could you please direct me to some content at Lynda on how to do it in CC. Many thanks, Steve

  • My computer lose the ability to use a correctly connected wifi

    I have a mac desktop. Just recently, possible since an upgrade to mavericks, it loses its ability to use wifi its clearly recognises as connected. The temporary solution I have involves opening the network and running wifi diagnostics. It always comes back and says it is all fine but it fixes it. ie the act of running diagnostics resolves the problem.
    Happens every 10 mins or so when using and is now becoming a sore point.
    I am not even slightly technical. I turn on, I type, I turn off.
    any help gratefully received

    Please test after taking each of the following steps that you haven't already tried. Stop when the problem is resolved. Back up all data before making any changes.
    Step 1
    Take the applicable steps in this support article. The Wireless Diagnostics program generates a large file of information about your system, which would be used by Apple Engineering in case of a support incident. Don't post the contents here.
    Step 2
    Disconnect all USB 3 devices. If you don't know which are USB 3, disconnect all USB devices except keyboard and mouse.
    Step 3
    If you're not using a wireless keyboard or trackpad, disable Bluetooth by selecting Turn Bluetooth Off from the menu with the Bluetooth icon. If you don't have that menu, open the Bluetooth preference pane in System Preferences and check the box marked Show Bluetooth in menu bar. Test. If you find that Wi-Fi works better with Bluetooth disabled, you should use the 5 GHz Wi-Fi band. Your router may not support it; in that case, you need a new router.
    Step 4
    Open the Network pane in System Preferences and make a note of your settings in the Wi-Fi service. It may be helpful to take screenshots of the various tabs in the preference pane. If the preference pane is locked, unlock it by clicking the padlock icon and entering your administrator password. Delete Wi-Fi from the service list on the left by selecting it and clicking the minus-sign button at the bottom. Then recreate the service by clicking the plus-sign button and following the prompts.
    Step 5
    Reset the System Management Controller.
    Step 6
    Reset the PRAM.
    Step 7
    Launch the Keychain Access application. Search for and delete all AirPort network password items that refer to the network. Make a note of the password first.
    Step 8
    Make a "Genius" appointment at an Apple Store, or go to another authorized service center.

  • I have lost the ability to change fonts,use color and size and when I try to write anyone,I cannot see my mailing list and there is no send button.

    A few months ago my ability to use different fonts, colors and sizes suddenly disappeared. These choices were always available when looking at my email and I used them regularly . No one I asked ever heard of such a thing happening. I left it alone until I found someone to help. Then, a few days ago, when I clicked "write" , two things happened. First, I could not forward, reply or even see my collected email addresses. Second, there was no longer a place that said "send". My email page filled the entire screen and when I scaled it down, there was still no way to see my list or to send. I am a novice when it comes to fixes and terms but, I have asked people who have some experience with PC's they were stumped. I contacted Fairpoint and they said it must be a Thunderbird problem. Most of the people I asked said they didn't know Thunderbird. One suggested that I reinstall T.bird but, said I also might lose everything on my PC. I would appreciate any help you can give. Thanks, Jim

    When you click Write and open the new message editor, press Alt to show the Menu Bar, then enable all the toolbars under View/Toolbars. Plus, press F9 to show the Contacts sidebar.

  • Need help installing windows 7 on my Imac using bootcamp

    Hi everyone so I just got a new mac and I gotta say not very tech smart when it comes to apple products but Ive been trying to install windows 7 using bootcamp now just making it clear that I am using a ledgitimate legal windows cd and not a copy. I dowloaded the necessary updates to a cd i took every step that i needed that i found and when it came to installing the software on my mac after i insert the disc it will start reading and make a sound like its reading the disc but then would stop after a few seconds and the i get a message to insert a windows disc and wait till its recognized to install. Ive done that waited till it was recognized and clicked install and same thing happens ive tried 3 different microsoft corp windows programs and its the same thing with all of them. I did put different cds music and movies and it read them quick and played them without a problem seems like its only the windows discs. Please help any solutions references and suggestions would be greatly appreciated thanks

    i thought about the same thing so i had restored my mac to factory settings did all the updates and tried again however when i dowloaded the software for windows and put it in a cd for me it never said partition y always said install so i would click it but as my comment above it would read the disc for a few seconds and stop all together and not install the software.

  • Help making a Install USB of os x 10.4.6. for my Macbook 1.8ghz

    Hi,
    I need help making the USB install of os Tiger.
    The drive is having trouble reading the install disc I own so I am trying to make a USB install of it.
    I wantto install from the usb not install to it to be clear.
    Things I have!
    X1 8gig sandisk flash drive
    1 Macbook white 1.8 ghz Intel
    1 Pc with Macdrive 7
    1 Install disc that seems to have trouble being read in the drive > few marks on the disc and the mac DVD drive make lots of noise reading it but
    It will go to Disk utilities.
    Seems to be a bug in Tiger and restore doesn’t seem to work as in I can’t drag and drop a source to the restore the DVD to the flash drive.
    I already tried only 1 time to copy the DVD to the formatted flash drive using Macdrive and it read it as a bootable drive but the apple simple came up
    And then I got a the error (Can’t find driver for this platform error APCH or something like that.
    I have a torrent download of OS x 10.4.6 as well just in case some files are corrupted > I own the disk so it’s not illegal.
    I am new to mac but long time user of PC.

    Ok ..you need another Mac to make this work!
    you just use another mac even a old one like g4 to make a restore to a flash drive that you have formatted and verified.
    Bye
    Sam

  • I need help making Adobe Edge animation appear correctly on iphones, ipads and android phones.

    I need help making Adobe Edge animation appear correctly on iphones, ipads and android phones. It currently looks fine on desktops and androids. I am using wordpress with a responsive theme (Canvas). I will need you to document The url is http://adamhtc.org.s183459.gridserver.com.

    Thanks George, interesting thought.  I looked on Adobe's site and they "advertise" fillable forms for the iPhone and Android markets, but on the Windows Phone tab, that is mysteriously missing.  lol    Maybe it will come later?   Meanwhile, I'll google to see if there are any PDF viewers that can handle it now.   Thanks for the reply.  :-)

  • Is it possible to add button in the main tool panel of AI cs6 using javascript?

    Hello freinds,
    Is it possible to add  button in the main tool panel of AI cs6 using javascript?
    or is there any other way of adding the ui component to the tool panel..
    is it feasible??

    you can't add buttons to the tool panel using javascript, your only option is to create a plugin, you'll need C++ for that.
    yes, you'll need the SDK...if you need help with that, there's a dedicated forum for it
    http://forums.adobe.com/community/illustrator/illustrator_sdk?view=discussions

  • Need Help making a Screencast for IPHONE

    Hello there
    I need some serious help making a screencast for a client - for it's Iphone Apps -
    something similare to this
    http://www.newsluxe.com/chaumet-et-iphone.php
    but more sexy, with a animated background and a different type of cursor.
    Anyideas ?
    I really don't know where to start - I found leads however :
    Camtasia Studio , screenflow, ,
    Maybe you could help me filling the gaps.
    Thanks for your help !

    does anyone know how apple made these forums?
    I think they use Jive:
    http://www.jivesoftware.com/products/forums/
    The Apple way for users to add photos is the .Mac web gallery:
    http://www.apple.com/ilife/iphoto/#webgallery

  • Why have I lost the ability to use the Background Brush in Low Key in my Photoshop Elements 11 Program??? Need this fixed!!!

    Why have I lost the ability to use the Background Brush in Low Key in my Photoshop Elements 11 Program?????  I need this fixed, can anyone help me???

    I'd try resetting the pse 11 preferences.
    In the pse 11 editor Adobe Photoshop Elements Editor (Edit)>Preferences>General, click on Reset Preferences on Next launch
    and then restart the pse 11 editor.

  • Need help making slanted grid

    Hi! I'm looking to make a landscape image similar to the one below by first making the grid and then filling it in with the paint bucket. Note I DO NOT WANT PERSPECTIVE, so the perspective grid tool isn't helpful. I've tried messing around with the rectangular grid and mesh tools but I'm very new to Illustrator and can't get what I want. Any help is appreciated, thanks!
    I'm using Adobe Illustrator CS6 by the way.

    Note I DO NOT WANT PERSPECTIVE
    Yes you do. What you've shown is perspective. It's just parallel perspective instead of converging perspective.
    You don't really need grids for such things, but if they make you feel comfortable, you might consider Serif DrawPlus. It costs less than $100, can draw to user-defined scale, and has a context-sensitive axonometric grid feature that's right up your alley.
    It neatly works around the usual problems associated with most grid attempts by displaying only the plane you are currently working on, and interactively switching to another plane when you select an object on that plane. Example:
    1. Set the current plane to what the program calls the Top Plane. The top plane grid displays. The shape drawing tools automatically conform to that grid:
    2. Set the current plane to what the program calls the Front Plane.The left plane grid displays, and the shape drawing tools automatically conform to it.
    3. Set the curent plane to what the program calls the Right Plane. The right plane grid displays, and the shape drawing tools automatically conform to it.
    Now here's the neat part.
    4. You want to draw the next surface that's parallel to the Top Plane. You just click an object already drawn on that plane and it switches you to that grid. Of course, by clicking that object, you've also changed the current stroke and fill to the colors of those of that object, so you're automatically all set to draw the top of the next terrace with whatever shape tool you have in hand.
    5. Similarly click a shape already on the left plane and the current color, grid and auto-conforming behavior of the shape tools switch to that orientation.
    6. Click a shape already on the right plane and the color, grid, and shape behavior switch to that plane.
    And so on. Note that the bounding boxes of the shapes conform to the current plane. So dragging the middle side handles stretches the shapes as you would expect, parallel to the grid lines of the plane the object is on. And it's not just the rectangles, but all the other pre-defined shape tools auto-conform, too. So you get accustomed to it in a few minutes and can proceed quite quickly.
    So it's sort of like the FreeHand / Illustrator perspective grid, except it does parallel perspective.
    JET

  • [svn] 3520: Add ability to use the FP10 unloadAndStop() method in SWFLoader .

    Revision: 3520
    Author: [email protected]
    Date: 2008-10-08 10:26:39 -0700 (Wed, 08 Oct 2008)
    Log Message:
    Add ability to use the FP10 unloadAndStop() method in SWFLoader.
    An application needs to be compiled with the "-target-player=10" argument to allow SWFLoader's unloadAndStop() function to use the Flash Player's unloadAndStop() function. If the argument is not provided then the Flash Player unload() function will be called instead.
    QE: YES
    Doc: YES
    Checkintests: YES
    Reviewer: Ely, Deepa
    Bugs: SDK-16764
    SWFLoader.as
    Added new public method unloadAndStop().
    Ticket Links:
    http://bugs.adobe.com/jira/browse/SDK-16764
    Modified Paths:
    flex/sdk/branches/3.0.x/frameworks/projects/framework/src/mx/controls/SWFLoader.as

    Thank you for your replies.
    I have been looking into it as well and seem to have found quite a simple solution...
    First you need to create an instance of a UIScrollView in the .h file:
    IBOutlet UIScrollView *scrollView;
    Then in the .m file, add the following line of code in the viewDidLoad method:
    scrollView.contentSize = CGSizeMake(320, 700);
    Then in IB all you need to do is set the files owner to the controller file we have set up above, drag a new instance of UIScrollView to the window. Then set two of its referencing objects to the File's Owner (view and the scrollView we have defined).
    You can then add as many labels etc to the scroll view by dragging in IB. Load it all up and the view scrolls perfectly and displays all labels!
    Thanks for helping me look into this.

  • JQuery Accordion Help: Closing Active Panel

    I am new to JQuery Accordions and would like to keep the selected active panel open when navigating through the content.  I have four areas in the accordion and each area has multiple links below.  When I click on a link, it collapses the panel and defaults back to the first panel and opens it.
    I would like it to stay open in the active panel.  I am using Dreamweaver CC and the code is below:
    $(function() {
      $( "#Accordion1" ).accordion({
      active:true,
      animate:{duration: 1},
      icons:{header: "ui-icon-plusthick", activeHeader: "ui-icon-minusthick"},
      heightStyle:"content",
      collapsible:true,
    And an example of the site: http://training.getfueledservices.com/FEC/SelfPayParent/SelfPayOverview01.html
    Basically when I click on any of the content in panels 2, 3, or 4, it reverts back to the first panel.
    Thank you for your help and time.

    On the page you link to change the 'active: X' state - so for the 'Peak Office' page change it to - active: 1, - Peak Classroom  page change to - active: 2, see if that works.
    <script type="text/javascript">
    $(function() {
    $( "#Accordion1" ).accordion({
    active: 1,
    animate:{duration: 1},
    icons:{header: "ui-icon-plusthick", activeHeader: "ui-icon-minusthick"},
    heightStyle:"content",
    collapsible:true,
    </script>

Maybe you are looking for