Can you customise DateChooser to select a week, instead of day?

hey guys, so quick weird question, im trying to create a calender type thing for my application where if the user clicks on a given day it selects that week, and then changes that given panel to have a group of information?
so i basically need to change the "DateChooser" to when you hover over a date, the entire week highlights, and if you click on that week it gives you an array of the days in the week.
any ideas??
thank you in advance

ahh, i went through your blog, thank you
i actually started out with the following code, it seems to be working... i basically have the week highlited... i was wondering if there is a way i could possibly animate the dateChooser, where if the user selects the week, everything gets minimised and the week kinda floats to the top of the app, and then the user would be able to click on each date individually, at which time i would display a form right below the week...
i hope im making sense... its going ot be sort of like a scheduler, but for a different purpose
thanks you alex for the quick response
<s:HGroup height="100%" width="100%">
     <s:Group height="100%" width="100%">
          <mx:DateChooser width="100%" height="100%" change="selectWeek(DateChooser(event.target))" />
     </s:Group>
</s:HGroup>
public function selectWeek(calendar:DateChooser) :void
     var sd:Date = calendar.selectedDate
     var dayUTC:Number = 86400000;
     // check if sunday (first day of civil week)
     var sd_sun:Date = sd;
     if (sd.day != 0)
          sd_sun = new Date(sd.valueOf() - sd.day * dayUTC);
     var sd_sat:Date = new Date(sd_sun.valueOf() + 6 * dayUTC);
     calendar.selectedRanges = [{rangeStart: sd_sun, rangeEnd: sd_sat}];

Similar Messages

  • Crop Tool - can you get it to select areas to be removed?

    The Crop Tool on my AAX selects the area to be retained.  Can you alter the tool so that it selects the area to be removed instead?
    I'm trying to remove just the white space in the middle of a page.  My pages have some lines of text at the top, then white space in the middle, then more text at the bottom. A crop tool that identifies the middle white space and then removes it would be ideal - but there may be other ways?
    I'm doing a trial of AAX Pro vs Nitro Pro OCR.

    Thanks Bernd, I couldn't find it, and you've now confirmed it isn't there.
    Michael asks me "   ... what do you want in the middle, if not white?"  Answer:  take the white out of the middle thus shortening the page.  Bring the footer text upwards to where the white space used to be.
    I'm making the pdf equivalent of paper files.  So for example into each pdf I put A4 sized prints of emails, one per page.  Each email has maybe 5 lines of important text, then lots of useless white space, then a footer with additional important text.  I want to remove that central white space.  That would make the page much shorter than A4 but still same width, and retaining the footer text.  So that the file content can be read without loads of wasted space on the screen.
    I accept now that the AAX cropping tool can't do what I want.  Nor I think the redaction tool.  But maybe there's another way to get what I want?

  • How can you export a clip selection from FCPX to motion? Round tripping?

    How do you export a clip selection out of FCP into Motion? In Motion, you have the option of exporting a selection out of motion? I don't understand why FCPX does not have this functionality. I do not want to export an effect or  transition. FCPX is good, but it looks like the application team have no clue about workflows. Especially integration between FCP and Motion.

    Not sure if you are asking a question or having a rant .. also not sure what your point is about it being 2013 ? Roundtripping is not in these apps .. sold for very little (relative to FCS which did roundtripping) and most of the functionality used daily from Motion is now in FCPX in one way or another. Perhaps it would be a 'handy' but to highlight this as some BIG deal is a tad missing the point ... .
    What exactly is it you cannot do in FCPX and need to send to Motion to work on ?
    These may help you with the basics of new compound clips ...
    http://play.macprovideo.com/finalcutprox103-editing-in-the-magnetic-timeline/1
    http://www.youtube.com/watch?v=lZdjTtF8Qqo
    Jim

  • Can you add the brush selection tool to CS4?

    Elements 7 has a really cool brush selection tool. I could really use it in CS4, 'cause now I have to move my file back and forth between programs.

    There's two features you should look into, quick mask and quick selection. I think you'll find quick selection to be the feature you're after.
    Quick selection:
    http://help.adobe.com/en_US/Photoshop/11.0/WSFD9BA8C5-31BA-4fec-81F3-CF04EE5295FCa.html
    Quick mask:
    http://help.adobe.com/en_US/Photoshop/11.0/WSfd1234e1c4b69f30ea53e41001031ab64-76c1a.html

  • Can you write code to snap to page instead on continuos scrolling on ipad?

    I'm using IQMercury as a player for a client... And i need the page to snap into place instead of continous scrolling, so that you scroll one page at a time instead of being able to flip 10 pages at a time. Is there a JavaScript code to beable to do that?
    Thanks
    Andre

    I think the problem is that its not a very good player, with limited functionality...so all it does is have a LoadPDF function that calls a pdf from a location and plays it through the player, but it doesn't allow you any additional customisation. So im relying on embedding some code in acrobat pro and then into the PDF so that when played through IQMercury player it picks up the embedded code.
    Thats the plan anyway...whether it works is another thing altogether....i just can't move outside of using IQMercury as the player...it has to be played in that.

  • How can you change the thumbnail selected for an Album in Photos?

    I'm having difficulty changing the photo that is automatically selected as the thumbnail on an iPad Air and iPad Mini.  How can I change this, and what parameter governs which photo is selected?
    There are a number of threads about changing the name, the creation date, the modified date, and none of those have worked for me.  After changing these various parameters, I have unsynced and resynced photos, and at this point, it is becoming an obsession of mine to change this. :-)
    I would appreciate any input if you've been able to do this in iOS7 and Maverics.  Thanks in advance!
    - Robert

    Okay, now it is working. I had to save the XLSX-file into the older XLS format, but that seems to work quite well.
    But I won't ever understand why InDesign loses its backward compatibility from one version to the other.
    Thank you, -hans-.

  • Can you change the iTunes selected Artist View art?

    When you're choosing an artist in the Artist View tab, iTunes preselected an album cover to display next to that band/artist's name. Is there a way to change this? It seems, in my case anyways, iTunes picked the photo to display based on the alphabetical order of that artist's albums. For example - Under "Aerosmith," the album cover that displays for the band is based on the 1973 "Aerosmith" album art, because it starts with "A." Would like to know if I somehow can change which album shows. I'd rather it list it by year, perhaps. This is how albums are listed once you pick an artist in my list....
    Hopefully this makes sense. have included a photo of the part I wish to change however, in case not! Thanks!

    i am having the same problem, iTunes 11 just assume all the Artwork i had selected on the older iTunes 10, but now if you want to change it it is over
    i got even an insolite case, i bought a new version (Japan) of a Diamond Head CD, i deleted the older version in iTunes and ripped the new one to the library. The Artist Artwork was the one from this CD and now i got a BLANK artwork
    how i can change it? or define a new one?
    i guess that was one more new Apple bug on this re-vamp iTunes

  • Can you automate keyboard channel selection?

    Hi,
    is it possible to automate channel selection on a midi heyboard controller,
    in order the needed sound to be automatically selected while playing?
    Thanks,
    Pi

    Set send level = 0 as the off button, and level = 127 as the on.

  • Where can you see discount movies of the week listed?

    supposedly these are already available in Canada but i can't see where the discounted movies are listed.

    thanks... i see this on the US site but not on Canadian site. This is supposed to exist on the Canadian site as well. on the US site Ghost is the 99 cent movie but this movie is 3.99 in Canada?
    maybe it hasn't come to Canada yet? an article i read said that it was already in US & Canada and was now coming to the UK... maybe the article was in error.
    anyone know if Canadian store actually has 99 cent movies at this point?

  • Can you show applications open directly in menubar instead of dock?

    Hi there
    I want to disable dock totally
    But I want to get the functionality in my menu bar
    So i want to show icons of the apps which are open (or at least favourite apps), directly on the menubar
    I don't want them in a folder, I already have an app which does that called xMenu
    I want the actual icons of the Favourite/IfPossible:OPEN apps to directly appear in menubar
    Is there anything that can get some/all of this functionality?

    Well, there probably is; however, a word of caution: the Menu bar is controlled by the System and it may have undesirable results changing system behavior.
    What is it about the dock that bothers you?
    I have all the apps I use on a regular basis in the dock - not a folder, mind you - alias icons to the apps themselves which all open with one click. I rarely use the system supplied Applications folder in the dock. At last count, I had almost 60 app icons in the dock, which is minimized with significant magnification - I have them organized so I can usually hit the right one without having to search. You can also check "automatically show and hide the Dock" so it'll only show itself when moving the cursor over the area.

  • Can you force HTTPService to go to server instead of looking in cache?

    I think I've found out the reason my Flex/php/mySQL database test app isn't working.  I used the wizard to generate the .php service code to get at the mySQL database and am using the HTTPService to FindAll records, Delete a record and the do a FindAll again.  My deleted record shows up again as not deleted (even thought phpMyAdmin confirms that it was indeed deleted), but when I empty my cache in IE 8 and then do the FindAll again, it works and the deleted record is gone.  Soooooo....how do I force my HTTPService .send request to always go to the server and not look in the cache
    I am new to mySQL and to php, so don't assume I know anything when you post an answer.
    Thanks very much in advance to any of you gurus who can help.

    Append the date/time to the url to make it unique.
    http://ria.dzone.com/news/flex-httpservice-browser-cache
    If this post answers your question or helps, please mark it as such.

  • Can you use your phone number in messages instead of your apple I.D.?

    I want to link my cell phone messages to the new messages application instead of using an apple id.  Am i able to do this?  If so, how?

    First of all, the ability to use a phone number in addition to an Apple ID on a Mac's messages application is supposed to come in the Fall.
    Secondly, you can have two Apple IDs authorized on one Mac.  To get the second one authorized, while in iTunes, go to Store ---> Authorize this computer.  That way, after synching with your iPhone, it will be able to use the apps from the two Apple IDs.

  • HT3477 Can you please send me my verification email instead of just saying you will

    I need you to send me my Apple ID verification email to my gmail account so I can download apps

    If you made a typo, then it will go to the wrong account.
    I guess it's time for
     Account Security Team (AST) 
    Check the AppleCare number for your country here:
    http://support.apple.com/kb/HE131
    Call them up, and let them know you would like to be transferred to the Account Security Team.
    HT5312: Rescue email address and how to reset Apple ID security questions
    http://support.apple.com/kb/HT5312

  • Can you change podcast page to say "watch" instead of "listen"

    For Podcasting you can only edit the text on the "entry" page but the word "listen" only appears on the Podcast page. I would much prefer it said watch on the video podcasts and listen on audio.
    Am I missing something? I really don't want to address this minor issue later in the HTML code.
    Thanks in advance for any advice.
    Dan

    I agree, it would be nice to be able to have "watch" as an option.
    Listen is for audio, watch is for video right?
    Video is better anyway, but the majority have audio podcasts so they
    catered to the masses on this feature and it's too bad.
    It's Microsoft Lemming mentality, hope apple isn't going to become
    a MS lemming company.

  • Can you lock just the photos or videos instead of locking out ipod

    wondering if you can lock sections of the ipod instead of just locking out the ipod?
    thanks if you know

    What are you planning to put on there that you would want to lock behind a code? =P

Maybe you are looking for