Dynamic and inherited States in MXML not recognized

Hi ! can you explain how Flash Builder detects the states in MXML?
It seems that it only parses the inline MXML declaration (and only strings!)
<s:states>
        <s:State name="state1"/>
        <s:State name="state2"/>
</s:states>
but if you have states defined in the base class those states are not recognized when you type includeIn, excludeIn, etc.
Even more ! if you make something like this:
<s:states>
         <s:State name="{STATE_NAME}"/>
         <s:State name="state2"/>
</s:states>
Where STATE_NAME is a local var, Flash Builder doesn't recognize it either.
Please tell me if this is a bug or a lack of feature, and in any case, if there is a workaround for this.
I need to inherits my states, and use them in the child components.
Thanks !
Enrique.

but problem is when I try to set some variable as valie of
attribute and I dont want to make it bindable: I get warnings
unable to bind,etc etc ....
so I am pretty sure it tries bind anything that is variable
type. for example I have static variable :
static public var MY_DATE_RANGE: Object = {rangeStart : new
Date(1970,0,1), rangeEnd : new Date()}; and if I set that as value
of attribute selectableRange of DateField component :
selectableRange="{NpdNaDateField.UNLIMITED_DATE_RANGE}"
I start getting warnings : unable to bind etc etc ... so that
means it is trying to bind.
but how else I can set that value besides {}?
if I do
selectableRange="NpdNaDateField.UNLIMITED_DATE_RANGE" does
not work.

Similar Messages

  • Can any one help me to fix my ipod touch it wont recognized by my laptop and itunes its said usb not recognized itried all the tips like reboot and restore plshelp me thanks

    can any one help me to fix my ipod touch it wont recognized by my laptop and itunes its said usb not recognized its freeze iin display usb and itunes logo pls help me pls itried all the uninstall unknown device and reboot the ipod and restore pls help me thanks

    Try the suggestions found here: http://www.apple.com/support/ipodtouch/assistant/itunes/

  • After upgrade IPHONE 4 to IOS 7 , it work 2days, and now it is off, not recognized on the pc and no battery logo when connecting to the sector

    After upgrade IPHONE 4 to IOS 7 , it work 2days, and now it is off, not recognized on the pc and no battery logo when connecting to the sector

    I'm happy to say that I solved the problem, and for the community (for the "next generation" that will search a solution for this problem) - I will publish the solution for this problem : I defined as new iphone, and then the restore showed up!
    All wishes everyone...

  • I just bought a mac mini over the weekend. I saved items from my old G4 to an external hard drive. I go to plug in the external hard drive and the new computer is not recognizing it. Help.

    I just bought a mac mini over the weekend. I saved items from my old G4 to an external hard drive. I go to plug in the external hard drive and the new computer is not recognizing it. Help.
    Here is the information I have. The external hard drive is a 120GB Acomdata. It has both USB and Firewire. When I go to plug in to the mac mini through USB, it is not being recognized. When I switch to Firewire on the old computer I can see it, however when I go to USB it is not being recognized (even on the old computer).
    I'm at a loss as to what to do. Any advice would be helpful.

    Shalese wrote:
    Have you ever tried the FW 400 to 800 adapter?
    I have used them on multiple occasions and they work just fine.
    Try this (maybe you already have):
    -Boot Mini with drive disconnected.
    -Do not connect drive but turn it on
    -wait a few seconds for drive to spin up
    -plug cable into the Mini then into drive.
    This is an old drive and may have some timing
    issues.
    I had an Acomdata drive a long time ago.  It
    worked fine with FW but USB was flakey.

  • I have recently updated my OS from Leopard to Snow Leopard but now my external hard drive and even my iPhone are not recognized by my Macbook Pro!  Anyone have a suggestion??

    I have recently updated my OS from Leopard to Snow Leopard but now my external hard drive and even my iPhone are not recognized by my Macbook Pro!  Anyone have a suggestion??

    Zap the PRAM and Reset the SMC, then try again. If the problem remains, update to 10.6.8 and repeat.

  • Downloaded the latest update and now my iphone is not recognized in itunes

    I downloaded the latest update on my computer for Itunes and now my Iphone is not recognized when I plug it into the computer or open Itunes>

    Device not detected in iTunes for Windows

  • What do I do when I plug in my iPod to charge and it says "USB Device not recognized"?

    What do I do when I plug in my iPod to charge and it says "USB Device not recognized"?

    See:
    iOS: Device not recognized in iTunes for Windows
    I would start with
    Removing and reinstalling iTunes and other software components for Windows Vista, Windows 7, or Windows 8
    or
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    Run this to help if it identifies the cause
    iTunes for Windows: Device Sync Tests
    Have you tried on another computer to help determine if you have a computer or iPod problem?

  • I downloaded the latest itunes and now my iphone 42 not recognized.  what the heck is the problem?

    I downloaded the latest itunes and now my phone is not recognized.  I have read all sorts of fixes and none of them work.  what the heck is the problem, Apple?

    I got it working.  I uninstalled both iTunes and apple mobile device support and then downloaded iTunes again.  That took care of the problem.

  • Sigma 18-250 and 17-70 HSM (Pentax) not recognized by LR3.2

    Dear all,
    I noticed that the two lenses are not recognized/identified in Lightroom 3.2:
    - Sigma 18-250 HSM (for Pentax)
    - Sigma 17-70 HSM (for Pentax
    I bought these lenses just one months ago. So I do not know, if this is LR3.2 specific.
    Other lenses are recognized, e.g. Pentax DA 40.
    Does anybody have an idea, what the problem is and what I can do about it?
    Best regards from Cologne, Germany
    Jacob

    stonejake wrote:
    Nevertheless I see things much simpler:
    For some lenses things work fine (e.g. PENTAX DA 40mm limited). For other lenses it does not (e.g. SIGMA 17-70mm OS HSM for PENTAX mount).
    Reason is: The list of lenses in cameraraw.dll is simply not maintained well.
    I am able to maintain the list. Why can't Adobe?
    You are assuming that any change you make is safe and will not affect 1000s of users.  You can only affect your own install. You need to consider the bigger picture.
    CameraRaw library does way way way more than just contain lens metadata. Just look at some of the function names. It is a util library that offers a lot of services.
    Change is risk.  Adobe updates Lr regularly. As part of those updates sometimes MD support is updated and the entire library properly QAd in a sensible manner.  What if some small bug is introduced, and Adobe has to track 100s of versions of some library across how many releases of Lightroom or Adobe Camera Raw? Suddenly your "simple maintenance" becomes a maintenance nightmare that is actually harder to resolve than the original, harmless, problem.
    It is always safer to restrict changes and to limit the number of revisions of released code.
    Adobe just inherited this mess; they didn't create it. It makes no sense to arbitrarily track every single possible metadata change when that adds significant risk for 1000s of users for very little benefit.  Honestly, if I have to decide between risking bothering a few Pentax users with this lens and breaking the app for an entire user base, who do you think is going to win?
    Let's hope the next rev of the EXIF standard solves this mess. Until then, applications will always lag behind real life.

  • I recently upgraded to ios7 and now my PC is not recognizing my iphone

    I am having several problems.  I recently upgraded to ios7 and now my PC (Windows 7) is not recognizing my iphone.  1) I am getting an error message when itunes opens: "Itunes could not connect to the iphone because it is locked with a passcode. You must enter your passcode on the iphone before it can be used with itunes."  How did it get locked and how do I unlock it without losing my data?  What do they mean by passcode?  I don't have a 4-number code to get into my iphone activated.  In fact, I've never had a passcode.
    2) I cannot download my photos from my iphone onto my computer because my computer doesn't recognize my iphone.  In other words, my iphone does not show up on my computer (no iphone icon, no DCIM folder). 
    3) This is a separate issue but it is also very confusing: I went online to check my iCloud and I cannot see any data (icloud.com).  But I know that I set up iCloud when I upgraded to ios7 and it backs up my data every night. What am I doing wrong, am I unable to see my data and photos?
    Why is this happening?  It was bad enough that when I upgraded to ios7, I lost my Notes - I have no idea why they didn't return.  But now essentially my iphone is not recognized when connected to my computer and this is very frustrating.  I have read numerous previous postings regarding downloading photos onto the PC and regarding this passcode error and cannot find a resolution, so I would appreciate any help.

    No problem!
    This will make it easy for you:
    http://www.tuaw.com/2011/07/09/quicken-wont-run-on-lion-heres-10-mac-apps-to-cur e-those-blue/

  • Trying to upload raw cr2 files and Lightroom says "file is not recognized"

    Backstory: I photographed a VERY important commercial shoot today and I went to upload the photos to Lightroom. The first 30 images uploaded just fine, but the rest won't. Lightroom says the file is not recognized by the raw format support in Lightroom (401). Everything is updated in my computer... Lightroom, Photoshop ect. Photoshop also says that the file cannot be read. I can't open them in iPhoto or preview either. BUT I can see the thumbnail when I click the camera card reader on the desktop. I am uploading from a card reader as well. I shot with this card yesterday and everything was fine. I NEVER delete photos off my camera, and I always format it. If it is corrupted, how do you I find that out, and is there anyway to get my photos back?
    Is there anything I can do to fix this? I am panicking. Help, please.
    Thank you in advance

    The two raw files you've uploaded to dropbox are corrupted so Lightroom and Photoshop are giving you the correct message.  At least with these two, the embedded JPG preview is there but the raw data is not correct so cannot be rendered.  Here is the error that Canon's own software gives when the files are attempted to be edited:
    You should reattempt to copy the images from the memory cards to your computer using a card reader and an operating-system function (Explorer or Finder) to do it rather than LR or a cable connected to the camera, then see if things work any better.  If you already used a card reader, then try a different one and see if the situation improves.
    If you cannot get a better set of images by retransferring them, then we can work through how to extract the embedded JPG previews en masse.

  • I just bought a new ipod and I'm trying to download my itunes library and games but itunes is not recognizing my new ipod. I have followed all the instructions from apple asistant except deleting and reinstalling itunes.  What can I do.

    I bought a  new Ipod (5th generation).  I am trying to sync it to my itunes.  I tunes does not recognize my new ipod. It is registered.  I was only able to download purchases I made from my old ipod.  I cannot download my itunes library or any of the games I have purchased. I tried using the troubleshooting guide to no avail.  The only thing I did not do was to uninstall and reinstall itunes.  I did update it to the latest version. How can I get  itunes to recognize my new ipod?

    - You do have iTunes version 11 on the computer, right. Saying the latest is not sufficient.
    - Have you tried everthing here:
    iOS: Device not recognized in iTunes for Windows
    - You should
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    Your library/media will not be affected.
    - Does the iPod charge?

  • While updating my Ipod to ios 5 an unexpcted error occured and now my ipod is not recognized by itunes or my computer and all data has been removed. What can I do

    While updating my Ipod to ios 5 an unexpected arror occured before my data was restored and now Itunes will not recognise my Ipod. My Ipod is also not seen as a device in My Computer but asks me to install drivers. What can I do?

    - First I would remove and reinstall all the Apple software using the following and then restoring the ipOd.
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    - Next see if manually placing the iPOd in recovery mode will allow a restore. For recovery mode see:
    iPhone and iPod touch: Unable to update or restore
    - Next try DFU mode:
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - Next try another computer/cable to help determine if you have a computer or iPod problem.
    - If the other computer works and yours does not see:
    iPhone, iPad, or iPod touch: Device not recognized in iTunes for Windows

  • Ipad 2  and ipod 2nd generation is not recognized by itunes 10.5

    I have windows 7 64 bit and ipad 2 (ios 5.0) and 2nd generation ipod v 4.3.  Neither of these are recognized by itunes when I plug them via usb.  I have 2 usb on the front left side and 2 on the right side back.
    I have tried rebooting my laptop and ipad 2 several times as well as shutting down avast antivirus, comodo firewall and spyware sweeper it did not work.  Then of all of sudden whether the antivirus or firewall is shutdown or not itunes recognized ipad 2. 
    I can connect via wifi using a dlink and going through mozilla firefox to load any files on my ipad 2. 
    This did not happen before 4.3 it seems it started happening in the last two updates of ios.
    I have tried another laptop and it is the same.
    I notice  that for the computer to recongize the ipad 2 two beeps must be heard before it is recognized but itunes does not.
    What do you recommend?
    What do you mean by a periodic defect.  I live in Hamilton and we do not have an Apple store for me to take into.  I bought it at future shop.
    I have also tried to uninstall and update the driver but that did not work.  What is wrong and what do you recommend I do. 
    I was to reinstall itunes over the itunes that I have would that work.
    thanks for your response.
    13Pstone

    Tried going to another computer but it does not support the Ipod because the itunes on it is not updated enough because the os is os x 10.4 which cannot get itunes 10 on it

  • My daughters iPod touch (4th gen and 4 months old) is not recognized by iTunes (PC) or our stereo docking station, but it will charge. Other devices (iPhone and another touch) work fine on PC and stereo. What is wrong??

    We have an iPod touch 4th generation (4 months old) that is charging on our PC but is not recognized by iTunes. It is also charging on the docking station of our stereo but is not recognized by the stereo (will not play music). Other devices (2 other iPod touches and an iPhone) are recognized by both the PC and the stereo. What could be wrong with this particular iPod touch??

    What are the model iPods and iPhone and iOSs that work?
    - Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple l
    - Reset all settings      
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    The following may result in in the inability to regain full use of the iPod if iTunes does not see the iPod
    - Restore from backup. See:                                 
    iOS: How to back up           
    - Restore to factory settings/new iOS device.
    If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar          

Maybe you are looking for