Why image background is not at center desktop when click fullsceen button

hi. I'm building fullscreen button. and when i click to run fullscreen image it in left not center.
background image in application i make it by skinclass. it run normal and at center desktop when run but when click fullsreen it not
and fullscreen:
    private function init():void {
                fullScreenState = stage.displayState;
            private function btn_click(evt:MouseEvent):void {
                if (btn.selected) {
                    fullScreenState = StageDisplayState.FULL_SCREEN;
                } else     {
                    fullScreenState = StageDisplayState.NORMAL;
                try {
                    stage.displayState = fullScreenState;
                } catch (any:*) {
and button:
<s:ToggleButton id="btn"            
                        click="btn_click(event);"
                        width.trangchu="121" x.trangchu="401" y.trangchu="-27" height.trangchu="95" />
Can u help me please?

I don't know how to fix your problem, but just wanted to say
that I wholeheartedly agree with kglad.
I am working on a project now that needs to have a custom
scroll bar that I can incorporate with dynamic text fields that
need to be scrolled.
Four days ago, I decided to save some time and just use and
modify the UIScrollBar Component.
ALL SORTS OF LITTLE BUGS EVERYWERE.
After messing with it for an entire weekend, I decided to
just bite the bullet and write my own scrollbar class.
Here is what happened for me when I decided to write my own
class.
own class --------------------vs------------------- component
took 4 hours ------------------------- took 3 days until quit
3 mc's in the library to modify if you want
------------------------ I don't even want to count the
to change the look --------------------------- amout of mcs u
gotta change
can change width of scrollbar on the fly -------------------
can't change width of a vertical sb
added an autoscroll function that starts
------------------------------ no such function
scrolling down slowly upon page load
increase file size by a few kilobytes ---------------------
increase filesize by like 30kb
NO BUGS -------------------- BUGS EVERYWERE.
Lesson I had to learn: Components waste more time than I did
on my World of Warcraft phase.
They are good for designers who have limited scripting
knowledge, just be aware that they can be very buggy. There are
lots of third party developers that sell menu components and the
like. You may want to look in that direction if you absolutely must
use components and the included ones aren't working for you.

Similar Messages

  • edited by host HARD DRIVE ICON WILL NOT OPEN ON DESKTOP WHEN CLICK

    my HD will not open on desktop when i click on it. For 4 years i had no problem on this every.
    why does this happen now?
    what is wrong with the icon?
    could my HD start becoming bad?
    what are some signs that i should be "aware of" is this one?

    You might try booting from DVD or another drive and running Disk Utility and Disk Warrior.
    Or Single Users Mode (command s on startup) and follow on-screen instruction command
    /sbin/fsck -fy
    to repair your boot drive
    ... or a Safe Boot with shift key held down.
    Corrupt prefs, directory, could be a number of small or major things.
    But, in any case, make sure you have backups, and a bootable backup clone, maybe an emergency boot drive as well (install OS X on another drive if you don't have one now).

  • Why is my itunes not guessing genre anymore when I start to type?

    Why is my itunes not guessing genre anymore when I start to type?

    Hello fmomade,
    Some older video and software still requires an older version of QuickTime (version 7) that isn't included with Mountain Lion. It can, however, be downloaded and installed here.
    Installing QuickTime Player 7
    http://support.apple.com/kb/HT3678
    A Mac OS X v10.6, OS X Lion, and OS X Mountain Lion-compatible version of QuickTime Player 7 is available for use with older media or with AppleScript-based workflows. QuickTime Player 7 can be used to playback formats such as QTVR, interactive QuickTime Movies, and MIDI files. Also, it supports QuickTime 7 Pro registration codes for access to QuickTime Pro functionality.
    To install QuickTime Player 7 on OS X Lion and OS X Mountain Lion
    Download QuickTime Player 7 from here.
    Double-click "QuickTimePlayer7.6.6_SnowLeopard". Note: This download is compatible with Mac OS X v10.6 or later.
    QuickTime Player 7 will be installed in your Utilities folder.
    Cheers,
    Allen

  • Why do I get constant Game Center notifications when I'm playing games? Seriously, if there isn't an easy way to turn off gamecenter, I'll be switching to a Microsoft phone at my next upgrade. I don't want this garbage popping up while I play my games.

    Why do I get constant Game Center notifications when I'm playing games? Seriously, if there isn't an easy way to turn off these notifications, I'll be switching to a Microsoft phone at my next upgrade. I don't want this garbage popping up while I play my games. What a worthless, obnoxious piece of junk. Apple, stop ignoring your customers!

    How is Apple ignoring their customers, exactly?  If you don't want Game Center, why did you sign into it?
    Sign out, launch an enabled game.  Game Center pops up, close it, launch the game again, it pops up, close it again.
    Now it doesn't pop up any longer.
    All as documented.

  • Why does my form data gets cleared out when clicking on the back button.

    Can someone explain why does my form selections get cleared out when clicking on the back button.
    I have a JSP page that displays a form with some selections and text boxes. I populate the page and submit the request. The action on the submit call another jsp page, which processes the data and displays the results via a <jsp:include> statement which calls the results page. When clicking on the back button from the results page, it returns me to the form page, but the selections are cleared out.
    1. Is there something in my calling of the pages that causes this behavior and can I prevent it?
    I notice that the behavior is different when using the IE 6.0 version Netscape 7.1. IE clears the page Netscape 7.1 retains the settings.
    If I cannot prevent this behavior does that mean I will have to save the state of the form data. And if I have to save the form data, what would be the easiest method of doing this. I'm a beginner to JSP and Java, but have some ASP experience. I don't understand why the back button in a JSP request clears the form data but a regular HTML page does not can someone explain?
    THANKS.

    the browser doesn't have to remember what you submitted and fill that back in.
    you can't prevent it unless you can ensure a new request to the server in which you can fill the default values in there.

  • TS1365 My Macbook Pro 17" 2.44ghz all of a sudden one day decided to not boot up. When the power button is pressed the sleep light in the front on the latch release turns on and there is a small running sound but it never boots up and the screen never lig

    My Macbook Pro 17" 2.44ghz all of a sudden one day decided to not boot up. When the power button is pressed the sleep light in the front on the latch release turns on and there is a small running sound but it never boots up and the screen never lights up. Anyone else have this problem? Any ideas?
    I'd love to repair it but not if it'll cost 500 bucks or more to replace the logicboard.
    I appreciate any help
    Michael

    Lao Bo,
    yes, you can locate and copy a file from your HD to a USB key using UNIX commands. If you know the exact name of the file which you’re trying to locate, try this:
    find / -iname filename -print
    This command will search your entire internal disk for the particular filename. If you know that it’s within a particular user account, then you can save search time with this variation:
    find /Users/username -iname filename -print
    Either variation of this command will print all files found which have the given filename. Presuming that you’re able to identify the correct file, you can copy it to a USB key using the command
    cp -p filename_returned_by_find /Volumes/USB_volume
    If you’re not sure which volume name your USB key has, this command will show you what the possibilities are:
    ls /Volumes
    Please let me know if you have any trouble with these commands.

  • HT5312 What to do if we can t remember the answers to the secrets questions and we do not receive the reset when clicking send reset to rescue email ( can t remember what is the rescue email we gave ) ?

    What to do if we can t remember the answers to the secrets questions and we do not receive the reset when clicking send reset to rescue email ( can t remember what is the rescue email we gave ) ?

    The Three Best Alternatives for Security Questions and Rescue Mail
         1.  Send Apple an email request at: Apple - Support - iTunes Store - Contact Us.
         2.  Call Apple Support in your country: Customer Service: Contact Apple support.
         3.  Rescue email address and how to reset Apple ID security questions.
    A substitute for using the security questions is to use 2-step verification:
    Two-step verification FAQ Get answers to frequently asked questions about two-step verification for Apple ID.

  • "Save Image As" does not appear on the right click menu of an image I want to save.

    Trying to save images as a file to my desktop/laptop. I right click on the image and the menu appears. The entry Save Image As... is not present on the menu. How do I get the menu to show this entry?
    I've heard that the problem may have something to do with plug-ins, but I've reinstalled and disabled each of them. It didn't change anything.

    Does that happen with all images or only on specific web pages?
    Can you post a link if the later applies?
    Can you save the images via Tools > Page Info > Media ?
    To be sure:
    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    * [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    * Use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    * Close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    You can also try "Reset all user preferences to Firefox defaults" on the [[Safe mode]] start window.

  • After last update, Thunderbird does not appear on desktop when started (XP Professional).

    Since yesterday's update, when I start Thunderbird, it appears in the task bar, but not on the desktop. I can select it, or use Task Manager to "switch to" it, but right-clicking it does not give me a menu. (It used to be that it opened outside the visible desktop, but right-click gave me a "move" option and I could move it to the visible screen with the cursor keys). I know XP is on its way out, but...

    Start >Programs >Mozilla Thunderbird
    right click and select 'Create shortcut'
    It should ask to put shortcut on desktop, click on Yes

  • I have a Iphone 42 and want to transfer my photos to my PC why does my computer not recognise the Iphone when I connect it to the pc?

    Can any help. I want to transfer photos on my Iphone 4s to my PC, my computer will not recognise the phone when I connect via the USB port to the PC.  Any Ideas would be appreciated.

    Do you get any response from the computer when you plug the phone in? I'm guessing that you are going into Computer to see if you find the phone? If you go into Device Manager, do you see any errors in the USB area?
    See this support document and pay particular attention to step 5 regarding drivers. http://support.apple.com/kb/TS1538

  • Do not get full page when click on bookmarked entry

    when click on bookmarked item - only get part of a page not full page? Why? how do I get the full page from clicking on a bookmark?
    using firefox 4 on win 7 - 64bit
    last (old) firefox worked fine!!!

    How are you saving a new bookmark?
    There 5 ways to save a new Bookmark in Firefox, the first 4 should offer to save the new bookmark in a folder:
    1.
    2. Right-click and select Bookmark this Page.
    3. Bookmarks > Bookmark this Page
    4. Double-click the Star that is on the right side of the Location bar.
    4a. (A single-click on the Star will save the new Bookmark to the Unsorted Bookmarks folder, without opening the Edit this Bookmark dialog.)
    5. Drag the website image in the URL bar into the Sidebar view of Bookmarks
    or to the Bookmarks menu bar item and then into the drop-down or onto the Bookmarks Toolbar

  • After updating to v. 24.0 (and restarting) ALL add-ons (regardless whether they work or not) are marked "(disabled)", and clicking Enable button does nothing

    After updating to v. 24.0 (and restarting, several times) ALL add-ons (regardless whether they work or not) are marked "(disabled)". I tried clicking "Enable" button for each add-on and nothing happened. There is only one add-on which is marked as incompatible with this version (but it was also incompatible with previous version, and so marked).
    Clicking "Update Add-ons", gives a short list of add-ons but "Install Updates" button is pale and doesn't work. I can only sort list by name or last update.
    Also, I disabled Ask Toolbar and that went well. When I click "Enable" button (button works ONLY for this add-on) it takes forever to get note: “Ask Toolbar will be enabled after you restart Firefox”, I used to get this info in seconds time before this update. (I do not really want Ask Toolbar, I just used it to see whether if I disable and then enable an add-on might do the trick.)
    Bottom line – I can not tell if add-on works (i.e. if it is enabled or disabled) unless I try using it.
    Even when I posted this question and installed Troubleshooter, it's also marked as "(disabled)"

    You're welcome
    Are this screenshots from an extension window because the built-in about:addons page looks different?

  • Af:statusIndicator does not show busy icon when a command button is click

    Hi Guys,
    af:statusIndicator does not show busy icon or motion when a command button is click
    I am working on an excel data upload functionality on .jspx page. I use “af:inputFile” file uploader to upload an excel file then process the data and store it as a list of objects in memory and display it in “af:table” table
    I added “af:statusIndicator” to the page to show the user that the page is progressing while the data is uploading and when it is saving the data to the database.
    In this case, when the “af:inputFile” is clicked to upload the excel file - the status indicator shows a progress icon (movement) which is expected and is good. However, after the data have been display in the table when I click on a command button that saves the data to the database – I expected the status indicator to start its busy motion but that is not happening. Whereas, the command button grayed out and is disable when I clicked the button until the operation is completed.
    Is there any way to start the statusIndicator when a command button is clicked?
    I tried the following options
    *<af:statusIndicator id="si1_uploadStatus" partialTriggers="pc1:cb1 pc1:table"/>*
    Where pc1:cb1 is the command button and pc1:table is the table
    *<af:commandButton text="Submit Uploads" id="cb1"*
    *disabled="#{!viewScope.batchUploadController.allSavable}"*
    *partialTriggers="::infFilePath"*
    *action="#{viewScope.batchUploadController.saveUploadedData}"*
    *blocking="true"/>*
    Thanks,

    Can somebody please address this?
    Thanks,

  • Will not open new tab when clicked on the + next to open page

    firefox does not open new window when I click on the new tab +
    also does not open new tab when going through the file menu

    This issue can be caused by the Ask<i></i>.com toolbar (Tools > Add-ons > Extensions)
    See:
    * [[Troubleshooting extensions and themes]]

  • Why does black astrisk appear on some photos when clicked ?

    why does a black astrisk appear on some photos when clicked ?

    Are you talking about an exclamation point?  "!" 
    If so that is an indication that your library has damage - what version of iPhoto do you have?
    LN

Maybe you are looking for