TabNavigator blinking

Anyone else seeing this issue? Create a tab navigator inside a popup, put in 3 tabs and inside each of those three tabs (vboxs) put <canvas><Vgroup><Hgroup>bunch of components</Hgroup></group></canvas>.
When you run the app and the popup is displayed you are tab #1, click tab #3 and for me if the mouse is over the tab #3 when it opens the content will blink continously until you move your mouse of the selected tab ( off screen ).  If you leave the mouse over tab #3 it will blink forever until you remove your mouse.
So to work around I tried createpolicy="all" so that the creation is all done at once for all tabs. The only issue I have a dropdownlist that should be populated in tab#3 but when you creationpolicy="true" and you move from tab#1 to tab#3 the dropdowlist will empty.  Maybe calling invalidateSize, invalide*..., etc... will work once tab#3 is active? So click tab#3 and when it becomes active have the tab nav change function tell the dropdowlist in tab#3 to in essenance refresh?
Shouldn't have to do this but then the tab nav shouldn't blink.
Jason

dallas,
Can you please file a bug at http://bugs.adobe.com/flex and include a simple test case.
I was unable to repro the behavior you describe using the following example:
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:mx="library://ns.adobe.com/flex/halo"
        xmlns:local="*">
    <s:layout>
        <s:VerticalLayout paddingLeft="20" paddingTop="20"/>
    </s:layout>
    <fx:Script>
        <![CDATA[
            import mx.core.IFlexDisplayObject;
            import mx.managers.PopUpManager;
            protected function btn_clickHandler(event:MouseEvent):void {
                var poppy:IFlexDisplayObject = PopUpManager.createPopUp(this, TabNav, true);
                PopUpManager.centerPopUp(poppy);
        ]]>
    </fx:Script>
    <local:TabNav />
    <s:Button id="btn" label="Launchy" click="btn_clickHandler(event)" />
    <mx:Label id="sdkVer" initialize="sdkVer.text = 'Flex SDK Version: ' + mx_internal::VERSION;" />
</s:Application>
And my custom TabNav.mxml component/popup is as follows:
<?xml version="1.0" encoding="utf-8"?>
<mx:TabNavigator name="TabNav"
        xmlns:fx="http://ns.adobe.com/mxml/2009"
        xmlns:s="library://ns.adobe.com/flex/spark"
        xmlns:mx="library://ns.adobe.com/flex/halo"
        width="550" height="400">
    <fx:Script>
        <![CDATA[
            import mx.managers.PopUpManager;
        ]]>
    </fx:Script>
    <mx:Canvas label="Tab Number One">
        <s:VGroup>
            <s:HGroup>
                <mx:ColorPicker id="cp1"
                        initialize="cp1.selectedIndex = Math.random() * cp1.dataProvider.length;" />
                <mx:DateChooser baseColor="{cp1.selectedColor}" />
                <mx:DataGrid baseColor="{cp1.selectedColor}" />
            </s:HGroup>
            <s:Button id="closeBtn"
                    label="Close PopUp"
                    click="PopUpManager.removePopUp(this);"
                    initialize="closeBtn.includeInLayout = this.isPopUp;" />
        </s:VGroup>
    </mx:Canvas>
    <mx:Canvas label="Tab Number Two">
        <s:VGroup>
            <s:HGroup>
                <mx:DateChooser baseColor="{cp2.selectedColor}" />
                <mx:DataGrid baseColor="{cp2.selectedColor}" />
                <mx:ColorPicker id="cp2"
                        initialize="cp2.selectedIndex = Math.random() * cp2.dataProvider.length;" />
            </s:HGroup>
        </s:VGroup>
    </mx:Canvas>
    <mx:Canvas label="Tab Number Three">
        <s:VGroup>
            <s:HGroup>
                <mx:DataGrid baseColor="{cp3.selectedColor}" />
                <mx:ColorPicker id="cp3"
                        initialize="cp3.selectedIndex = Math.random() * cp3.dataProvider.length;" />
                <mx:DateChooser baseColor="{cp3.selectedColor}" />
            </s:HGroup>
        </s:VGroup>
    </mx:Canvas>
</mx:TabNavigator>
Peter

Similar Messages

  • Avoid showing of a canvas in TabNavigator while playing effect?

    Hello,
    I´m using the great distorsion effect of Alex Uhlmann (part of Tour de Flex) in a TabNavigator with Canvas containers. The effect works fine but while fireing the IndexChangedEvent by pressing a tabsheet for a blink of an eye the target-canvas gets visible before the effect should make it visible which is very annoying.
    As you can see in the Code-Snippet
    The function  playrotate() which is called in the EventHandler only set the right parameters for the CubeRotator method, which create an effectinstance and playing the effect.
    public  
    function ChangeListener(e:IndexChangedEvent):void{oldI = e.oldIndex;
    newI = e.newIndex;
    playrotate();
    private function CubeRotator(DC:String, oldI:int, newI:int):void{  
    var cr:CubeRotate = newCubeRotate( navtab.getChildAt(oldI) );cr.siblings = [ navtab.getChildAt(newI) ];
    if( DC == DistortionConstants.LEFT ){cr.direction = DistortionConstants.LEFT;
    else{cr.direction = DistortionConstants.RIGHT;
    cr.horizontalLightingLocation = DistortionConstants.LEFT;
    cr.duration = 1000;
    cr.distortion = 40;
    cr.play();
    If somebody has an idea how to avoid this behaviour it would be great.
    Thanks to everybody answering

    Well for what it's worth...
    I agree that it's a bad idea using a canvas like that.
    Check this out:
    http://social.technet.microsoft.com/wiki/contents/articles/29777.wpf-property-list-editing.aspx
    Baically, it puts your label and edit controls into a collection of contentontrols presented by a listbox of itemscontrol.
    <ListBox HorizontalContentAlignment="Stretch" Background="AliceBlue">
    <ListBox.Resources>
    <Style TargetType="{x:Type TextBox}">
    <Setter Property="HorizontalAlignment" Value="Stretch"/>
    </Style>
    </ListBox.Resources>
    <local:EditRow LabelFor="Label for property One:" >
    <TextBox Text="aaaa"/>
    </local:EditRow>
    <local:EditRow LabelFor="Label for Property Two:">
    <TextBox Text="bbbb"/>
    </local:EditRow>
    <local:EditRow LabelFor="Label for Property Three:">
    <DatePicker/>
    </local:EditRow>
    <local:EditRow LabelFor="Label for Property Four:">
    <TextBox Text="dddddd"/>
    </local:EditRow>
    <local:EditRow LabelFor="Label for Property Five:">
    <TextBox Text="eeee"/>
    </local:EditRow>
    <local:EditRow LabelFor="Label for Property Six:">
    <TextBox Text="fffffff"/>
    </local:EditRow>
    <local:EditRow LabelFor="Label for Property Seven:">
    <TextBox Text="ggggg"/>
    </local:EditRow>
    <local:EditRow LabelFor="Label for Property Eight:">
    <TextBox Text="hhhhhhhhhhh"/>
    </local:EditRow>
    </ListBox>
    Listbox has a scrollbar for zero effort and there's no messing about working out all the positioning of each control.
    Because editrow is a contentcontrol you can put any old control in it - textbox, passwordbox.... whatever you like.
    Hope that helps.
    Recent Technet articles: Property List Editing;
    Dynamic XAML

  • Issue with magsafe/charging (blinks green, amber, off)

    Having a quirky issue with my mid-2009 Macbook Pro.
    A month or so ago, I began having an issue with my macbook charging. When the computer is up and running and I plug in the magsafe it will say "Calculating..." and then say "Not Charging" and then switch to battery use. It constantly does this as long as the magsafe is connected. The lights on the magsafe will constantly cycle from green to amber to no light.
    At first, it would do it a few times then it would start charging. Now it constantly does this without ever stopping. I was editing video the other day for a while and it never stopped the cycle.
    Thinking it was the battery, I took it into the Apple Store last week and got a new battery because it had been saying "Service battery" for a while and the battery would only last about 20 minutes on a charge. So I just thought the battery finally refused to charge.
    But the problem still exists.
    The magsafe is new (only 3 months old) and here's the quirky thing: the computer will charge if it's asleep (lid closed) or shut down completely. No blinking lights at all. It will charge as long as it's asleep or shut down. So I don't think it's the charger. But as soon as you hit the power button to starting booting up, it will blink.
    I have reset the SMC a couple times actually, but no change.
    Is there something software/firmware related that I haven't tried? Any insight or suggestions would be greatly appreciated before I take it back to the Apple Store (which is about an hour away).
    Thanks!

    Try resetting the system management controller
    http://support.apple.com/kb/HT3964?viewlocale=en_US
    If that did nothing for you,  try resetting the NVRAM
    https://support.apple.com/kb/HT1379

  • When I login, all of my desktop items are gone, the "Finder" icon is bouncing and a message asking to restore windows is blinking but unresponsive. I can't exit out of it. What do I do? I've tried force quitting, and it doesn't get rid of it.

    When I login, all of my desktop items are gone, the "Finder" icon is bouncing and a message asking to restore windows is blinking but unresponsive. I can't exit out of it. What do I do? I've tried force quitting, and it doesn't get rid of this message. When I login to my husband's account, this message does not appear.

    Hey sunnyday7!
    Here is an article that can help you address this issue:
    OS X: How to quit an unresponsive application using Force Quit
    http://support.apple.com/kb/ht3411
    Additional Information
    OS X automatically relaunches the Finder when it is quit. If the Finder is unresponsive, use Force Quit to relaunch it. Select Finder in the Force Quit Window or Dock, then click Relaunch.
    Thanks for using the Apple Support Communities. Have a good one!
    -Braden

  • Macbook 13" screen blinks?!!

    Hey
    I've connected my macbook to a TV using the apple mini-dvi to video adapter.
    however, when it's connect both screens (the macbook and the TV) is blinking every other minute, which is quite annoying!!
    Does any of your know what causes this? the macbook is not "blinking" when it's not connected to the tv!
    Thanks guys!
    P.s. by "blink" I mean the screen are turning off for a short sec.

    So do both screens blink out in unison or in an unrelated manner? And when they blink out, do the screens go black and then come back, or black then blue then come back, or ???. Please describe as completely as possible because the soluton could be tied to the precise nature and timing of the symptom.
    Also, how are you connecting to the TV? Is it by composite or S-Video? And what kind of TV is it? An old style, CRT TV or a newer flat panel type?

  • Z77A-GD65 Multiple BIOS Issues - B4 Hang, Splash Screen Blinking

    Back in November 2012, I built a home server with a Z77A-GD65.  Lately, I've noticed some strange things happening that I've been trying to research but to no avail.
    First off, I get the B4 code hang-up whenever I'm booting.  This doesn't matter if it's a cold boot or a reboot, it hangs on B4 for about 10-15 seconds, flashes 92 really quick, and then goes to A2 which it stays for another 5 or so seconds.  After that I get the MSI splash screen for about 1 second, then it blinks 5 times.  After that it goes into Windows just fine.
    The blinking is a new issue, the B4 hang is not.  I've read from multiple posts that this is a USB issue.  When I disable USB legacy support, the issue goes away, but of course then I can't have legacy support.  I have yet to figure out what exact device is causing it.  In the process of trying to figure this out, I updated BIOS to A.A0.  After updating to this version of BIOS the splash screen blinks 5 times before going to the "Starting Windows" splash screen.  This is a more difficult issue to figure out why it's doing this because if you search for "BIOS" and "flash" or "flashes" or "flashing", you typically get results for flashing your BIOS.   Hence, why I'm using the term "blinking".  But even then I can't really find a solution out there.
    I also happened to see that the website for the Z77A-GD65 is showing a newer BIOS version, but I'm unable to flash this (at least using M-Flash).  I threw it on a USB, re-enabled USB legacy and whenever I click on it to install, the BIOS screen hard locks.  The screen just freezes exactly where it's at in the BIOS and the mouse is dead.  However, I can CTRL+ALT+DEL on the keyboard and it will reboot the system so I don't need to power cycle the computer.  Not sure why this is happening either.  Perhaps I need to flash this a different way?  Maybe I don't need to flash this at all?
    I could really use some input here on why this is happening.
    As for the specs on my system, they're as follows:
    i7-3770K overclocked to 4.2 Ghz by using the Turbo Mode in BIOS
    32GB Komputerbay DDR3 PC3-12800 1600MHz DIMM with Low Profile Blue Heatspreaders Quad Channel RAM | 9-9-9-24 XMP ready
    AMD PowerColor 7870 Myst Edition GPU - currently not overclocked although overclocking this doesn't seem to affect any issues
    2 - 128 GB Corsair SATA III SSD - one runs the OS, the other I use to load games from
    2 - 500 GB Seagate Barracuda 7200 RPM Sata II HDD's mirrored via Windows 7
    1 - 750 GB Seagate Barracude 7200 RPM Sata II HDD
    1 - 1 TB Western Digital MyBook USB 2.0 external
    2 - 3 TB Seagate USB 3.0 external
    ASUS DVD Burner - not sure which one, it's a cheapy $20 from Newegg
    1 - PCI USB 3.0 expansion card
    Antec TruePower New TP-550 Modular 550W Continuous Power ATX12V V2.3 / EPS12V V2.91 SLI Certified CrossFire Ready 80 PLUS BRONZE Certified Active PFC "compatible with Core i7/Core i5" Power Supply
    NZXT Switch 810 gunmetal - currently have 4 fans running but plan on more, also the Switch 810 has the multi-card reader in the front with 1x SD Card, 2x USB 2.0, 2x USB 3.0
    for peripherals
    1 - Microsoft 360 Wireless controller adapter (legit one, not the knockoff although I had a knockoff prior to getting the real deal)
    1 - Logitech Wireless USB Keyboard with Touchpad
    I tried to be thorough.  Thanks in advance for any help!

    Quote from: PirateDog on 26-August-13, 12:45:18
    Probably a USB device problem.
    This is a candidate, as well as mouse and keyboard. Disconnect USB devices one at a time to find the culprit.
    A lot of devices running. PSU a +12V single rail or is it multi rail? A rail going to the graphics or components may not be enough amps. My best guess is the card reader.
    For UEFI/BIOS flashing, select your mainboard here and use the forum flash method;
    I'll definitely try unplugging some of these USB devices to see if that helps with the B4 hang issue.
    As for the PSU, according to the description for it on Newegg:  "Four industry-leading independent +12v rails are provided for more stable and safer power output."  It has two rails going to the GPU.  The GPU is a new addition to the system and so I wasn't running it until recently.  The issues were occurring beforehand, but you're right that this PSU is underpowered for the rig considering PowerColor recommends a minimum of 500w.  I'm going to be buying a larger capacity one sometime in the very near future.  Any recommendations on good modular PSU's?  What's a good way to tell what wattage to get?
    Thanks for letting me know about the forum flash method.  I'll be back later when I have some results.

  • Device not recognized by Windows or iTunes - Blinking green light

    When I try to connect my iPod shuffle to my computer (Windows XP), it's not recognized by Windows or iTunes. (i.e. device does not appear in Windows explorer or iTunes) While in the USB port, the Shuffle's green light blinks incessantly. My wife uses an iPod on this machine (under separate user name) and has no problems.
    I've tried updating software (iTunes, iPod), restarting my computer and resetting the iPod to no avail. My machine is not on a network. The USB port(s) work fine as I can use my memory stick (no USB cable) with no problems. I've tried connecting my Shuffle under my user name as well as my wife's. Same problem.
    Also, I had my Shuffle setup on an old computer (PC, Windows 2000) and it still works fine plugging into that. (I'm getting rid of it soon, hence why I'm discovering these new problems).
    Please advise. Since my Shuffle is over a year old, I am not eligible for online chat or phone support without paying for an Apple Support agreement.
    I know there's another thread with the same issue that was not resolved on the discussion board.
    Thanks to anyone who can help.

    Recently I used my ipod at work all night, just like normal. After work on the way home, like normal, I plugged it into my aux port on my car's head unit, and plugged it into power. 10 minutes later, in the middle of going over Ortgea Highway(hiway 74 between Orange and Riverside Counties), it just suddenly stopped working. When I plug it into any of my computers at home, nothing happens, it is not recognized or seen. When I plug it into power, it displays either a "sad ipod icon" or a battery with exclamation mark(!) icon. I have brand new power adapters both for the car and home, plus brand new usb cables, thinking that would help. It hasn't and now, since I opened those packages, I am out that $$ and ******. Since I received this unit as payment for electrical services rendered, I have no idea how old it is. Does anyone have any ideas? ([email protected])

  • Can not see my Airport in the list of Wifi networks and is blinking organge all the time

    Can not see my airport on the list of WiFi networks and is blinking orange all the time. Tried to reset several times.

    Do you have a Mac or idevice for setting up the Express? It does require a later utility than is available for windows.
    You might be able to setup with the v5 utility in windows but there is no guarantee.
    You should use a simple name both for the base and the wireless. eg AEXgen2 base name and AEXwifi for wireless name.. that is if you get access.

  • MBP Won't start, blinking ? Mark... Nothing works

    I'm currently at work writing this on my 4 year old ibook g4, because after a complete system lock up yesterday, my MBP would not start up. It chimes, and then gives me the screen with a blinking question mark inside a folder.
    I've read about this problem alot, and I've done almost every possible fix i could think of. I'm just finally getting my system back the way I had it after a crash a couple months ago in which i archived and installed, only to find the previous system folder intact, nothing switched over (users, settings etc), and my permissions all sorts of messed up.
    So i'm really trying to avoid having to do another archive and install. Here's what I got so far:
    The MBP's hard drive works, and mounts fine on the iBook using target disk mode. I ran disk utility (both from the iBook using TDM, and from the 10.5 install disk), both said the volume is fine and no repairs were necessary. I also reset pram, and tried starting up without extensions. no luck
    i most recently downloaded DiskWarrior, and ran the rebuild on the system.
    This also had no effect.
    Is there anything else I can do to make this work?
    I have full access to the MBP hard drive via the ibook.
    Starting from CD, the hard drive is not an option for startup in "startup disk", and is also not an option from startup disk on the ibook.

    It's quite possible for a drive to pass all the diagnostic tests and yet not be bootable simply because one or more files are damaged but not in any way that the diagnostic software can find. You have no choice but reinstall the operating system. Whether you choose Archive & Install or erase and install is up to you.
    Your description of the earlier A&I is not typical and it sounds like something went awry. Usually A&I is the best and safest method of reinstalling the OS.

  • Linksys Network Everywhere Model NH1005 - Network Cable Unplugged / Blinking Lights

    I just replaced a computer on our network.  I connected the network cable to Port 2 on the hub, and it blinks.  I switched ports to make sure it wasn't a bad port, but continue to get the blinking lights.  On the computer, it's telling me the network cable is unplugged.
    Any ideas?

    Make sure you are using a patch cable and not a crossover, the easiest way to tell is to compare the ends of the cable side by side and make sure the colors are in the same order.

  • Java JTable Screen Blink Problem.

    Dear All,
    I am facing Screen blink issue while using the JTable.
    JTable is updated in real Time, It uses custom table model.
    To update the JTable, I update the Table Model and then call the UpdateUI() and repaint(). These update process is running in non-AWTevent-dispatch thread. So, During the real Time Update of the Table, When we do some rough handling work on the Table( for example, press the Enter Key on the Table for 1-2 minutes, move the Scroll Bar up and down fastly etc), It throws the following exception and the Table starts blinking.
    java.lang.NullPointerException
    at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:1141)
    at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1051)
    at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:974)
    at javax.swing.plaf.ComponentUI.update(ComponentUI.java:142)
    at javax.swing.JComponent.paintComponent(JComponent.java:541)
    at javax.swing.JComponent.paint(JComponent.java:808)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    The blinking also moves to Other Components such as JTree which is doing real time update in another screen of the Same Application.
    How to resolve this Screen Blinking Phenemenon ? Some suggested to use SwingUtilities.invokeLater() for UpdateUI(). But, I am concerned about the performance, using it in real time update as it may create many threads, it may cause other performance issues. Is other any other better solution ?
    Looking forward to your comments !
    Thanks !

    To update the JTable, I update the Table Model and then call the UpdateUI() and repaint(). No need to call updateUI() (I'd like to shot the person in the forum who keeps suggesting that and shot the people who keep using the method without reading the API to see what it actually does) or repaint(). You simply update the TableModel and the table will repaint itself.
    Here is a simple example of real time updates to a table from a non-GUI thread:
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=597870
    We can't help you because we have absolutely no idea what your code looks like

  • My iMac has a blinking question mark folder on it and won't let me boot.

    I have a late 2009 27 inch iMac whos hardrive failed a while back. A couple days ago i decided to pop in a new hard drive in it, the same brand, just different capacity. I wanted to put windows on it, and tried to boot it with pressing c on the keyboard at startup but encountered a few problems.
    When i power on my imac the screen is just a blank white screen for about 20-30 seconds. During this time, any devices plugged into the USB ports do not work. My mouse is not lit up, and my keyboard will not react to pressing caps lock, num lock etc. After that 20-30 second period the folder with the blinking question mark on it pops up. I tried holding C, as well as windows key and C but nothing seems to make the mac recognize i want it to  boot from other devices.
    The hard drive i installed is empty (obviously) So i'm not sure if its an issue with the way I installed the hard drive (pretty sure i did it right) or another issue that may involve trying to put windows on it. Also worth noting is im using a normal USB mouse, and a normal USB keyboard, not mac devices. I'm willing to put OSX on this computer if its necessary to make it work, but right now all i can get on it is that white screen and then the blinking folder. Does anybody have any idea how to fix this?

    Drive Partition and Format
    1. Boot from your OS X Installer Disc. After the installer loads select your language and click on the Continue button.  When the menu bar appears select Disk Utility from the Utilities menu.
    2. After DU loads select your hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Note the SMART status of the drive in DU's status area.  If it does not say "Verified" then the drive is failing or has failed and will need replacing.  SMART info will not be reported  on external drives. Otherwise, click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Apply button and wait until the process has completed.
    4. Select the volume you just created (this is the sub-entry under the drive entry) from the left side list. Click on the Erase tab in the DU main window.
    5. Set the format type to Mac OS Extended (Journaled.) Click on the Security button, check the button for Zero Data and click on OK to return to the Erase window.
    6. Click on the Erase button. The format process can take up to several hours depending upon the drive size.
    When formatting has completed quit Disk Utility and install OS X.

  • Apple TV does not work after trying to update software. Main light keeps blinking and on the screen shows itunes icon and a usb cable. What does that means?

    My Apple TV does not work after trying to install the new software update. The main light keeps blinking rapidly and on the screen it shows the itunes icon and a USB cable. What does that mean?

    The Apple TV is in recovery mode. Try to restore the Apple TV. Follow the link for instructions on the restore process.
    http://support.apple.com/kb/HT4367

  • I retned a movie from Itunes using my I phone; however, I can't see the movie listed under videos, nor does it appear in my I tunes library on my laptop.  on my itunes store app, there is a "1" inside the red dot that is blinking.

    I rented a movie from Itunes on my Iphone; however, i can't find where to watch or view it.  The movie does not show up in my videos or movies yet ther is a blinking "1" in the red dot on my Itunes app on the bottom right of the screen over the "more" tab? any ideas on how to get to the movie?

    ah, ok yes i did do that last night. I just did it again and relized that ther is a "Downloads" tab. I selected it and stated that there was a download error. I'm currently retrying it now. and it is now showing in my videos.
    thanks for helping me focus a little more to get where I need to be.

  • My iPhone 5 won't turn on. Blinking apple logo.

    My iPhone 5 won't open. When charging it using a wall charger, the Apple logo shows up every 4 seconds. But when charging it using a pc, nothing happens.
    I've already tried the solution pressing and holding the Home and Sleep/Wake button at the same time. When I do that, nothing shows up and when I release them, the Apple logo starts to blink again. Note that it happens when my iPhone is plugged thru a wall charger because when using a pc, nothing really happens.

    Ouch! That really stinks
    I would contact AppleCare or make an appointment for your local Apple Store.
    At this point, i believe your phone is just dead. Its possible the power brick was badly manufactured or something of the like, so make sure you also get the cord and power brick replaced.
    Good luck!

Maybe you are looking for