Expanding and Moving of a SkinnableContainer

Hello!
I am using Flex 4 and a SkinnableContainer. I add the container with
this.addElement(theSkinnableContainer);
to my screen.
My problem is, that I willnot only put the Container onto the screen, I want, that you can see how the container will be displayed. So I think about a kind of an expansion. So the container could be 1x1px and then expand to the 92x92px size. Is this possible and how could I do this?
Also I do not know how to move such a container onto the screen. There is a move method for it, but you can not see the move. I want to see the automatic movement from one side to the other side of the screen.
Perhaps someone has an idea?
Thanks a lot in advance & Best Regards PHANTOMIAS
Source code of the SkinnableContainer:
<?xml version="1.0" encoding="utf-8"?>
<s:SkinnableContainer xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx"
                      mouseUp="skinnablecontainer2_mouseUpHandler(event)" mouseDown="skinnablecontainer2_mouseDownHandler(event)"
                      skinClass="skin.SkinBackgroundImageTask" width="92" height="92">
    <fx:Style source="/styles/styles.css"/>
    <fx:Script>
    </fx:Script>
    <s:Label x="0" y="0" width="86" height="86" text="{taskText}" fontFamily="notes" fontSize="14" verticalAlign="middle" textAlign="center"/>
</s:SkinnableContainer>

Has no one an idea how to do this?
Best Regards PHANTOMIAS

Similar Messages

  • Rectangle keeps expanding and moving other report items

    Hi there,
    I am using SSRS 2010, and I am trying to make an rdl to fit exactly on pre-printed paper so I need report items to occur exactly where they are located.
    In the attached image , I have a header and then two rectangles (shown selected) in the body.
    What is supposed to occur is products are populated in the table in the first rectangle, and everything in the bottom rectangle is supposed to stay in place regardless of how many products
    occur in the top rectangle.
    What is happening is that I have aligned the bottom rectangle based on a single product, but any report that contains multiple products is pushing the bottom rectangle downward and out of alignment.
    My searching of this forum has shown that:
    Items will push or displace each other within the rectangle.
    Items will not push or displace items outside the rectangle, because they are not their peers.
    Because these two rectangles are separate and not peers, I can't understand why the growth of the table in the top rectangle is pushing the second rectangle downward. I assumed the second rectangle should always stay fixed, and this needs to happen but isn't.
    NB: I have made sure that any report items are located within the parent rectangle and are not behind the rectangle.
    Any help would be much appreciated thanks.

    Hi SynchFX,
    In Reporting Services, the size of rectangle will automatically resize as the contained items (table, matrix, image, textbox etc.) grow. In your scenario, it means that when the table size change dynamically (show all the values in the detail row), the first
    rectangle will also be resized to adjust to the height of the table. With the expansion of the first rectangle, the second rectangle will automatically move down to free up more space to the first rectangle. Because all the items are displayed one after another
    in report. This is by design. And based on my research, I find that we cannot achieve your requirement at the moment which you can see on the link below:
    https://connect.microsoft.com/SQLServer/feedback/details/383350/add-can-grow-and-can-shrink-properties-to-rectangle-control
    Thank you for your understanding.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • So, I have just about had it. For nine days now,  I have valiantly tried to move my library to an external drive. At first, I attempted to move it to my 2TB Time capsule, iTunes didn't like its new home though and moved home without telling me.

    So, I have just about had it. For nine days now,  I have valiantly tried to move my library to an external drive. At first, I attempted to move it to my 2TB Time capsule. iTunes didn't like its new home though and moved home without telling me. So then there were two libraries. I meshed them back together reluctantly and iTunes in a silent revolt, absolutely refused to use its own 'Keep Library Organized' criteria and may as well have thrown my music against the wall. Seriously, my 5 year old nephew has his computer files better managed. Then I bought a 3TB Time Capsule and you may ask yourself why??? Well, iTunes doubled in size- although when I ran apps that are designed to find duplicate iTunes files, it deleted the music I actually bought from iTunes. So then I watched as iTunes got it back. How you ask; I run a MacBook Air, iMac and Mac mini in my house - as soon as one powered up it hit the net like a sailor on leave and re-downloaded it all without abandon. I tried to keep the libraries separate, no success there. I tried to keep them unified; iTunes response was to ask me if I wanted to join iTunes Match every time I logged on to my computer and on any computer - my iTunes match song number has been as high as 24,367 and as low as 11,112. And I can't simply refuse iTunes. No one refuses iTunes. Refusal to allow iTunes Match to run through all 24000 songs again was to revoke my rights to the songs that were once part of my library. If I took a long time to decide or was visibly impatient while iTunes did its little 3 hour scan it would arbitrarily decide that music I bought from iTunes was ineligible for iTunes Match. How could that possibly be??? I am missing music, or at least iTunes tells me so by showing me that lovely exclamation point. I have tried backing up my computer to do a full system restore and start all over. Time Capsule claims I have 979 GB of data and takes its sweet time to even back up one gig (about 18 minutes) even though I can transfer files to my Time Capsule at about 1 GB every 40 seconds. I guess though performing back-ups are somewhat like government jobs; it will get done, when it gets done. The back up requirement of 979 GB is surprising though, my Mac claims that I currently occupy just about 25% of my 2TB drive. The discrepancy, who knows, but I think the solution lies somewhere in iTunes. But maybe iPhoto. But that is for another time.

    After admittedly only a quick read the one thing you don't say is how you are trying to make this move.  Most people with moving library issues do it the wrong way.  Plenty of web sites tell you how to do it the wrong way.
    If the iTunes application is started before the drive with the library is fully mounted and awake iTunes will revert back to the internal drive.

  • ITunes has renamed and moved some of my files. How can I move them back to their proper locations?

    Recently, for no reason that I can explain, several of my iTunes files have been moved or their information has been changed. For example, my iTunes now lists two copies of Smoke On The Water by Deep Purple, but when I play one of them it is actually The Song Remains The Same by Led Zeppelin. This has happened to dozens of my songs. Also, several of my movie files have been listed as songs, and moved to the music folder on my computer. I tried moving them back to the movies folder, but when I opened iTunes they went back to the music folder. iTunes won't allow me to change their media kind to "movie." How do I get all of my files back where they are supposed to be, under their correct names?

    I didn't mess with the iTunes Media folder previously, so I don't think that was the cause. Anyway, I manually fixed most of the songs, but I still can't figure out how to fix the movies that became listed as songs.
    Here is a screenshot of what it looks like when I click on "Get Info" for one of the movies (which has ended up in the music section on iTunes):
    There is no option to change the media kind to "movie" or "video" even though it is a movie and it still plays as a movie if I press play.

  • Problem with text resizing and moving

    After much pain with this issue, I'm going to ask for help.
    The whole issue(s) resolves around text upsizing, changing and moving in Muse.
    No amount of grouping, layering and locking has stopped this issue for me.
    I don't have divs that are a pixel off and whatnot. This happens even when I have a blank site and I test it (as seen in the example pic below).
    The majority of the time, this is an issue when viewing Muse created sites on Android, although text does move when viewed on iOS.
    Example 1:
    I have a square div. I put text in the div that I want to stay contained in the div. Basic right?
    View site on browsers and iOS devices it generally plays by the rules (although not always, there are some movement going on). When viewing this example text and div on an android device, the text resizes larger. This results in the text overlapping the div and moving EVERYTHING below it down. This makes it impossible to tightly design anything for a website.
    I know Android has options within it for users to set text viewing size, but this worthless from a web designer standpoint. That is something I can't control.
    Example 2:
    I have 1 text field and set the typeface to 15. There is nothing else on the page, just a background image (under "Fill"). Viewed on browsers and iOS looks fine. When viewed on Android this text balloons to some enormous size (25+) that makes the website utterly useless. This random resizing makes it impossible to design to. 
    Example 2.5:
    I take that same text from example 2, copy it into 2 of the same size text fields. They are placed next to each other, taking up the same width as Example 2. It now looks like 2 columns of text. Set the typeface to 15 again. I view it on Android and get the resizing issues from example 1 not example 2. It's noting to the extent of example 2 but like example 1, it still changes enough to ruins any design I'm trying to accomplish.
    Is there any place in Muse to lock the text? I don't want to make the text into an image (obviously).
    I been dealing with this in Muse for 6 months and haven't been able to find anything online or in forums about. I understand with the bevy of platforms out there nothing will look the same across the board, but right now I don't see how I can continue working with this issue.
    Am I the only one dealing with this?
    Thank you for any assistance.

    Welcome to the annoying realities of working with text on websites... Nothing you describe is unique to Muse.
    Every browser has it's own text engine and thus each line breaks text differently. Even the exact same web page on the same computer with the same fonts will sometimes result in different line breaks in different browsers, or even in different versions of the same browser. It's just a side effect of the nature of determining a line break, where even the most miniscule difference in calculations can result in an entire word fitting, or not fitting.
    There are two "tools" that are especially important to understand and use effectively in order to create designs that work as effectively as possible with the variation in line breaks from one site viewer to the next.
    Text Frame Height Always Matters
    If a text frame is drawn to the exact height of the text wthin the frame, then any increase in the number of lines of text due to changes in line breaks will result in the text frame growing and other objects below the text frame being moved down.
    If a text frame is drawn larger than the height of the text then when line breaks change the text frame won't grow unless the changes in line breaks are severe enough to result in the flowed text being taller than the text frame was originally drawn.
    If you resize a text frame smaller than the text within the frame in Muse Design view, the frame will snap back to be large enough to accommodate the text, but a dotted horizontal line will appear within the text frame indicating the "minimum height" for the text frame. If line breaks change in the browser the text frame will grow or shrink in height down to the minimum height indicated by this dotted line.
    Careful sizing of text frames can go a long way to creating a design that will continue to work well even when line breaks, and thus text frame heights change.
    Grouping Has Consequences
    As part of the output process, Muse collections the objects you've drawn into a hierarchy of horizontal groupings, vertical groupings, or stacks. When line breaks change in different browsers and text frames change height, when the text frames are located in this output heirarchy determines what impact the change in height has on other objects (if any).
    For example, if you have a layout that looks like a 2x2 grid of text frames, by default Muse will interpret it to act as two colums. So if the first text frame gets taller it will push the text frame below it down, but won't impact the location of the two text frames in the second column.
    If that's not the behavior you want, the way to tell Muse to treat things differently would be to group the two items in the first "row". This would cause the top to to be treated as a horizontal group. If anything in the group grows taller than the group, the group resizes taller and pushes the objects below it down. Thus if the top to items are grouped, if either one of them grows taller than the group it would push both the text frames below downward.
    The 2x2 grid is just a simple example of the concept. In most cases you don't have to do anything special to get the behavior you want, but it is important to understand grouping has this ramification. Grouping an arbitrary set of objects on your page can result in undesired behavior when text frames resize in the browser.
    For the Andriod screenshot you've provided, I don't have an immediate explanation. For us to explain what's shown we need to know the exact browser, browser version, Android version and device the screenshot is for. It would also be immensely helpful to have the URL for the page, so we can attempt to reproduce what you're seeing and view the exact code involved.

  • I bought a new laptop and used Windows Easy Transfer cable and moved all files from one computer to another. I installed iTunes and found my iTunes music Library.  However, when I plug in my iPod it says it is already synced with another iTunes Library.

    I bought a new laptop and used Windows Easy Transfer cable and moved all files from one computer to another. I installed iTunes and found my iTunes music Library.  However, when I plug in my iPod it says it is already synced with another iTunes Library. 
    I don't see anything in Help that shows when you already have transfered all the files over.  Why would it want to erase and sync when I already have all the music folder copied over?  I didn't have an issue when I had another technician copy from one laptop to another.  Home sharing is also on but not being recognized.

    I suspect you only migrated the media folder instead of the complete working library. Either review the transfer process and copy over the entire iTunes folder from your old profile's music folder or see Recovering your iTunes library from your iPod or iOS device.
    tt2

  • I redirected iTunes to an external drive and moved my iTunes library and folder, but my hard drive is still low on space.  How can I be sure that my music is all on the external HD ONLY, especially with the new iCloud technology?

    I redirected iTunes to an external drive and moved my iTunes library and folder, but my hard drive is still low on space.  How can I be sure that my music is all on the external HD ONLY, especially with the new iCloud technology?  It doesn't look like I created any more space by doing this, AND I totally lost all my iTunes playlists.  I'm not sure if because I added old library materials manually if this messed up my playlists, or if the new location is just not reading my moved library.  In any case, I followed step by step instructions and found a few holes and thought I'd just "figure it out" but I guess I'm not as smart as I thought since I'm still scratching my head many hours later.
    Thanks for any support ;-)
    Eaglerocker

    Quick answer if you use iTunes' default preferences settings:  Copy the entire iTunes folder (and in doing so all its subfolders and files) intact to the other drive.  Open iTunes and immediately hold down the option (alt) key (shift on Windows) so you get a prompt to select a library, then guide it to the 'iTunes Library.itl' file in the moved iTunes folder.
    If this is to a new computer and you put the copied iTunes folder in the default location of Macintosh HD > Users > *User Name* > Music  then you don't even need to start with the option key held down, iTunes will automatically look for it there.  (Make sure there isn't anything already in the iTunes folder there that you want to keep since you will be replacing it with the one you are moving.)
    iTunes: How to move [or copy] your music [library] to a new computer [or another drive] - http://support.apple.com/kb/HT4527 - a somewhat bewildering and not always easily understandable set of options.

  • I downloaded a program on my macbook pro and moved the file now everytime i open the program it says repair now...how do i fix that

    i downloaded a program and moved the file from which it was orignally downloaded now everytime i open it it says repair now...what do i do to get it to stop doing that...i hit repair now every time and it still says it everytime upon the programs startup

    Photoshop needs to be in the folder within Applications in which it was originally created. Put it back where you got it.
    Did you actually complete the download process or were you maybe running from the .dmg that you downloaded?

  • I installed elements 12 on a Win 8.1 computer and moved all my photos from my old XP machine.  I updated to elements 12.1.  Now, many/most of my photos will not open because I do not have "permission" to open the files.  How do I fix this so I can work wi

    I installed elements 12 on a Win 8.1 computer and moved all my photos from my old XP machine.  I updated to elements 12.1.  Now, many/most of my photos will not open because I do not have "permission" to open the files.  How do I fix this so I can work with MY photos?

    Yes, the Old Master file has a folder for each year where I find all photos from that specific year. I am attaching a screen shot of the file.
    In the meantime i have managed to download all photos (it did not download any video files though in mpg, avi, 3gp, m4v,mp4 and mov format) to a new iphoto library. Unfortunately the photos are quite mixed and often doubled up. I ma considering to purchase iphoto library which checks all duplicates in iphoto. this will save me a lot of time. What do you think?

  • How do I import an iPhoto Library  (V.7.1.5) created on my old MacBook (10. 6.8) into my new Macbook pro (10.9.1) running iPhoto 9.5.1? I tried copying onto memory stick and moving to new mac, but new iPhoto doesn't recognise the library.

    How do I import an iPhoto Library  (V.7.1.5) created on my old MacBook (10. 6.8) into my new Macbook pro (10.9.1) running iPhoto 9.5.1? I tried copying onto memory stick and moving to new mac, but new iPhoto doesn't recognise the library.

    So what exactly did you copy over? If it's a 12 gig iPhoto Library then it sounds like the files are there. Perhaps the copy went wrong along the way.
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
    Regards
    TD

  • Help needed with consolidating and moving itunes folder.

    I have imported songs into itunes using with the Copy Files To iTunes Folder When Adding To The Library box unchecked and moved the location of my music folder to an external hard drive. I already had a folder full of music files on this hard drive so I now have 2 folders with music files, the iTunes folder with music recently imported from cd's and the old folder. The library points to references to both of these folders but not ALL of the files in the old folder as I don't need them in iTunes.
    I now want to be able to listen to my iTunes library when not connected to the external drive. How do I do this? If I reset the location of my iTunes folder back to the macbook do I then need to consolidate, and if I do will only the files with reference pointers go into this folder? I don't want all the music files in the old folder to go onto the macbook, only the ones with reference pointers to them, plus the ones in the iTunes music folder.

    I have imported songs into itunes using with the Copy Files To iTunes Folder When Adding To The Library box unchecked and moved the location of my music folder to an external hard drive. I already had a folder full of music files on this hard drive so I now have 2 folders with music files, the iTunes folder with music recently imported from cd's and the old folder. The library points to references to both of these folders but not ALL of the files in the old folder as I don't need them in iTunes.
    I now want to be able to listen to my iTunes library when not connected to the external drive. How do I do this? If I reset the location of my iTunes folder back to the macbook do I then need to consolidate, and if I do will only the files with reference pointers go into this folder? I don't want all the music files in the old folder to go onto the macbook, only the ones with reference pointers to them, plus the ones in the iTunes music folder.

  • I recently updated to ios and moved from Mobile Me to icloud.  Now I have multiple copies of the same contacts on my phone.  How do I get them back down to one per person!

    I recently updated to Ios 5 and moved from MobileMe to the icloud.  Now I have duplicate contacts on my phone - like 8 of each person!  How do I get rid of them?  My calendar is finally in sync....

    I turned off syncing from Itunes and said yes to deleting them from the phone and now I only have one contact per person.
    It only took a few hours to get past the fear of delete
    hope this helps

  • How can you take a photo from one event and put it in another, without dragging to desktop and dragging back into iPhoto and moving it to the event folder I want it in.

    As the title says I need help on how to take a photo from one event and put it in another, without dragging to desktop and dragging back into iPhoto and moving it to the event folder I want it in. Right now when I want to move a picture from one event to another I drag it to my desktop then delete it from iPhoto then I drag it back into iPhoto and put where I want it.An example would be taking a photo from the Christmas event and add it to a specific person event.  Can I do that within the events section without all the dragging. Also is there anyway I can remove duplicates from iPhoto without going through each and every file. Any help would be greatly appreciated.

    Apple doesn't make it easy to do what you want.  However, here's how I do it. 
    Select the photo you want to move and create a new Event for it via the Event ➙ Create Event menu option.
    In the Event mode select the new Event with the one picture and drag it onto the Event you want to move the photo to.

  • I'm new to mac I have a macpro retina and moved my music over from my pc into my music folder would like to get it into iTunes any suggestions

    I'm new to mac I have a macpro retina and moved my music over from my pc into my music folder would like to get it into iTunes any suggestions

    Pull down File > Add to Library, navigate to the iTunes folder and click "open." This will add all the music to the new iTunes library.

  • Adding a link to expand and collapse all DHTML drop downs

    Hi, can anyone help me adapt the "Skinny on Skins" example "Add a Toolbar button to expand and collapse all DHTML drop downs" so that it will work with just a simple HTML link in RH8, instead of being attached to a custom skin button?
    The example looks like this:
    Step 1. Open the Skins Editor for the skin where you want to add the button.
    Step 2. After the preview loads into the window, ensure that the Toolbar tab has focus, then click the plus symbol. The Custom Toolbar Item dialog should display.
    Step 3. Type the Item Name (This is simply an internal reference for the button).
    Step 4. Type the Text (This is the text that will be seen by the end user. The field must contain something. So if you don't want any verbiage to display for your toolbar item, simply type a space.)
    Step 5. Choose your Image Options, then click the Action tab.
    Step 6. Click the JavaScript option button.
    Step 7. Enter the following code in the OnClick field:
    javascript:toggle()
    Step 8. In the JavaScript area, ensure the Inline JavaScript option button is selected, then click the edit (Pencil) icon located to the right.
    Step 9. Enter the following code in the Inline JavaScript dialog
    var show = "false";
    function toggle() {
    parent.frames[1].bsscright.focus();
    var arrayofDivs = parent.frames[1].bsscright.document.all.tags('DIV');
    if (show == "false") {
    for (x=0;x<arrayofDivs.length;x++) { arrayofDivs[x].style.display = "block";}
    show = "true";}
    else {
    for (x=0;x<arrayofDivs.length;x++) { arrayofDivs[x].style.display = "none"; }
    show = "false"; }
    Step 10. Click the OK button to close the Inline JavaScript dialog.
    Step 11. Click the OK button to close the Custom Toolbar Item dialog.
    Step 12. Click the OK button to close the Skin Editor.
    Step 13. Generate WebHelp via File > Generate > WebHelp and ensure that you have the new button selected with a check mark. This will probably require stepping through some screens to see the place where you can select it.
    Many thanks
    Jonathan

    Hi again
    I want to use it in the header of one of my Master Pages, so it will only be created/maintained once. Not all my pages have drop downs in so rather than have a toolbar button available for every page, I was trying to be a bit cuter by having two Master Pages - one for normal pages and one for pages with drop downs in.
    I'm no javascript expert so I'll see if one of my developers can help.
    Thanks anyway
    Jonathan

Maybe you are looking for

  • Download past purchases in iTunes on Mac

    Running iTunes on my Mac and when I try to download past purchases, I get: "This computer is already associated with an Apple ID. You can download past purchases on this computer with just one Apple ID every 90 days. This computer can be used with a

  • XI Mapping - understanding contexts

    Hello, I have a PO idoc that I am trying to map from R/3 to a proxy in SUS (Supplier Self Services).  I need to allow each line item to have a "ship from location" address.  The Idoc structure looks like this: ZORDERS1.IDOC.E1EDP01.Z1EDPA1.PARVW = "Z

  • Problem in sending image from applet to servlet

    dear friends, i have a need to send an image from applet to servlet via HttpConnection and getting back that image from applet. i am struggling with this sice many hours and got tired by searching any post that would help me but haven't got yet. i tr

  • Dual Control feature on Vendors and Customers

    Hi ! The way I understand this functionality, the vendor is blocked for payment only. So I can create a PO, Goods Receipt, Invoice Verification without any warnings or error messages. Isn't there a way to get the system to block these activities as w

  • Problemi gps con iOS 8.3

    Salve ho installato iOS 8.3 e adesso sia nell' iphone 6 che nell' 5 ho problemi di ricezione gps all' chiuso, mentre all' aperto ci mette un po di più a trovare la mia posizione ma dopo un po la trova, questo con tutte le app. con mappe e con siri. O