Unexpected behavior when you listen to "currentStateChange".

In one of my projects, I tried to call a function when a component of the Application view state has changed. In the mxml Application tag, I added:

currentStateChange = "{someFunctionX (event)}" just like I would any other time, I would like to add a handler in mxml. " I ran the application and nothing happened. I then tried to place a breakpoint inside the function of Manager (someFunctionX) and FlashBuilder indicated that the breakpoint was not valid because the code was inaccessible.

After a lot of trial and error, I finally managed to make it work by removing the braces of around the outside of the line manager as he looked like this:

currentStateChange = "someFunctionX (event)" "

Anyone know why the tag application behaves like that? I've never had this problem with any other component. Is it a bug or if the s:Application is supposed to work this way?

The braces are not absolutely necessary, and I'm unable to reproduce this problem here. Can you your zip code and also the list of the Flash Builder version you are using?

Thank you.

Tags: Flex

Similar Questions

  • Installation of Adobe met an unexpected failure when you attempt to install the first instance of AdobeAcrobatPro DC.  It is the exact error message and seems to be the case for a number of users.  I am running Windows 7 and has already managed to success

    Installation of Adobe met an unexpected failure when you attempt to install the first instance of AdobeAcrobatPro DC.  It is the exact error message and seems to be the case for a number of users.  I am running Windows 7 and was already able to install Adobe Acrobat Reader DC and have Adobe Flash Player 10 ActiveX installed successfully.  It's the exact error message, there is NO error code!   It seems as there is no support number to contact Adobe to, and the only way to receive the 'support' is through the forum.   PLEASE ANSWER!

    Untitled.jpg

    Hi tracyes31040766,

    If it you please run this tool cleaner Download Adobe Reader and Acrobat cleaning - Adobe Labs tool to remove the old Acrobat, retsrat your system plates & then try to install it again using this link Download Adobe Acrobat free trial | Acrobat Pro DC.

    Let me know how it goes.

    Kind regards

    Nicos

  • iOS 10 Mail: moving Messages, inconsistent behavior when you tapoterez folder icon

    iPhone 6, iOS 10

    I see inconsistent behavior when I try to move a message in Mail from in the message.

    In previous versions of iOS, during playback of an e-mail message, I could tap the icon of the folder at the bottom of the messages, and which would lead to the top of the hierarchy of the folders for the email of the message account. From there on, it was just a matter of tapping on the file I want to move the message to, and he settled there the message and look back to the Inbox display (or the folder view I moved this message of).

    In iOS 10, when I hit this folder icon, two things happen: it happens the same thing I described above, or sometimes, rather than see the hierarchy of folders, I see three buttons slide up from the bottom of the screen. The top button allows me to move the message directly to a folder in my account called 'Action' I created (I don't know why he chose this particular file to the default value for this button - maybe because it is first in alphabetical order of all my folders created by the user), the second button says "Another mailbox" and when it takes me to the hierarchy of the mailbox as described above, and the third button is a Cancel button.

    I can't understand what dictates which of those two things happening. I tried again and again on a bunch of different messages. Some do happen, some do the other thing happens, and sometimes I'll have a different behavior in the message even if I try again later.

    I prefer the old way. But I could get used to the new way, if I could at least choose what default folder appears in the first box.

    Anyone else seeing this?

    Someone knows how to change the default folder in the first box of this new process?

    Thank you!

    I seem to have solved the problem on my own. I went to settings > Mail, and in the "Threading" section, I have disabled "Complete Threads."

  • No sound when you listen to XM through Windows Sidebar

    My Dell laptop has sound and works very well, HOWEVER, I am not able to hear any music when I'm listening to XM via Windows Sidebar. I know it is connected, but not all the sounds will play.

    Hi Srhtx,

    • You are able to get the sound when you use other gadgets in the sidebar?
    • Did you get the sound earlier on this computer on XM radio on the sidebar?

    I suggest to access XM Radio using Windows Media Player on your computer and check if you can hear the sound. To play in Windows Media player follow the steps below:

    a. open 'Windows Media Player'
    b. Select 'display '.
    c. Select "online stores".
    d. Select 'XM Satellite Radio' in the list of online stores and continue by entering your user name and password.

    If you are able to hear sound in Windows Media Player, you can contact support XM radio to check if you need to change the settings.

    Link to contact XM radio support:http://www.xmradio.com/help/index.xmc

    I hope this helps. Let us know the results.

    Thank you and best regards,

    Srinivas R

    Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Windows Media Player - error C00D1198 when you listen to files online

    C00D1198

    I had the same problem over and over again with my Windows Media Player. He is not consistent, but it happens several times a day. When you try to listen to music on the net, I am having problems and receive an error code that reads C00D1198. I don't know what it means, and I would like to know how to avoid ever see that again. In addition, there were moments where I got Windows Media Player successfully, but after a while, the music would stop playing on its own.

    Hi Dazzlicious,

    Windows Media Player cannot connect to the server that hosts the content you want to listen to. You may encounter this error message for the following reasons:

    1. The name of the server that hosts the content is not valid. If you typed an address Uniform Resource Locator (URL) in the Open URL dialog box, verify that the file name is spelled correctly and that the path to the file is correct, and then try again. If you clicked a link on a Web page, the link isn't valid.
    2. The server is not available (for example, the server is busy or not online). Try again later.
    3. For Windows Media Player proxy server settings are not configured correctly. Verify that your proxy server settings are correct.

    Follow the steps in the article below to check your proxy server settings
    http://Windows.Microsoft.com/en-us/Windows7/C00D1198

    Bindu R - Microsoft Support
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • unexpected behavior when the button is clicked - & quot; playhead & quot; jumps to wrong frame

    I'm working on a flash site and I'm running on an actionscript issue that has me a little deadlock.

    The timeline main .fla is long of 42 images. Images 1-23 are the preloader, each frame between the 24-31 images contains one of the sections of the site, and frames 36-42 contain paragraphs of one of the main sections. 32-35 are empty frames just to help me keep things visually separated while I work on this project.

    I have a subnavigation for this paragraph of installation in frames 36-42. For each of the buttons in this sub navigation, I have attached a very simple actionscript that links to other pages of the paragraph. I used actionscript as I've mentioned below, where 'web' is in this case, the name of the image I'm aiming:
    on (release) {}
    gotoAndPlay ("web");
    }

    When I click on a link to take me to the last image, that is be named "specevents" (special events), it takes me to which frame correctly. If I click on the "specevents" button once again within this framework, I picked the preloader screen. This type of jump also happens in some of the other secondary navigation buttons, that is, by clicking on a link for a framework which I am already in will take me to a quite unexpected setting (always the same framework for each button, however).

    In fact, looking a bit more closely, I find whenever I click on one of the sub - nav links, I have to move an image. As part of the "specevents" is the last image, it brings back me to the first frame of the movie.

    It's all a bit strange for me, because apparently, I used the same method on the main navigation buttons, and they do not have something unexpected when you click it.

    FYI - the page in question here, can be found at: http://gravitygroup.com/testflashy/ the 'our work' section sub navigation, that's what I'm looking at.

    Any ideas? Thank you!

    AHA! figured it out. The problem is that I got my sub - nav buttons grouped together so I could move around as a unit. I have them removed, and everything works now!

    Thank you for taking the time to help!

  • Can we do "image moves with the text" the default behavior when you paste an image into a page of text?

    in a text in 'pages' document - copy - paste an image in a body of text automatically seems to do with 'image remains on the page' and 'automatic', which makes the image stays in place when later editing / adding text... so the picture does not end with the original text that belongs to it.

    Can we do the setting "Fix '-' with text Move' -' Inline with the text" setting by default, then it will automatically stick a new image without having to go through a few clicks every time?

    Thanks muchly, everyone who might have an idea

    Peter

    You can insert and to scale an image of your choice, set its object Placement and dressing of your choice and then do a placeholder image. You save then this as a model. When you create a new document based on this template, any image that you copy/paste or drag/drop on this placeholder image will now have your preferences of positioning of the object and the skin. Other that that, you cannot change the default settings of v5.6.1 Pages.

  • Publish all getting calls when you listen to songs via WiFi

    Hello guys,.

    I'm using iphone 4 iOS 7.1.2 having.

    I recently came across a question while I was listening to music online of savan via WiFi,

    I've been listening to songs through the speakers, and at that time there, there were appeal form someone.

    I received the call, but when I took on appeal in the background songs of savan also plays from the speakers.

    It's very irritating, and to stop the song for this times, I turned off WiFi.

    I met same question several times.

    Is there a solution related to this?

    Thanks and greetings

    Kaushal Patel

    Hi kp220690,

    I understand that the Saavn app does not stop when a call comes in. Let's see if we can get it worked.

    In general it should pause the currently played track if you can take the phone call. In case it is not, you can switch to the application and pause the song or close in multitasking. You can close and app of double pressing the home button and then drag upward on Saavn.

    Multitasking
    http://help.Apple.com/iPhone/7/#/iph1a1f981ad

    I know that is it app works as expected, you can try some troubleshooting in the article below. I know he's talking to the apps crashing, but it is relevant for applications that do not work proerply. He will have to leave you out of the app in multitasking, restart your iPhone, and then remove the application to download again.

    If an application you have installed unexpectedly closes, unresponsive, or does not open
    https://support.Apple.com/en-us/HT201398

    Nice day

  • unexpected error when you try to reset Firefox sync

    Hello

    I'm trying to reset my password for Firefox sync, without success. When I enter my email address and click on 'next' I get "unexpected error." I don't want to create a new account with a different email address.

    Any help is appreciated.

    Hello jc_denton,

    The reset Firefox feature can solve a lot of problems in restaurant Firefox to its State default factory while saving your bookmarks, history, passwords, cookies and other essential information.

    Note: After Firefox reset, you will lose all extensions, toolbar customizations, and certain preferences. See article Firefox Refresh - reset modules and parameters for more information.

    To reset Firefox:

    1. Open the troubleshooting information page using one of the following methods:

      • Click the menu button

        click Help

        and select troubleshooting information. Should open a new tab containing your troubleshooting information.

      • If you are unable to access the Help menu, type Subject: support in your address bar to bring up the troubleshooting information page.
    2. At the top right of the page, you should see a button that says "Reset Firefox" which looks like this:

      . Click on it.

    3. Firefox will close and reset. After it's done, Firefox will display a window with information that is imported.
    4. Click Finish and reopen Firefox.

    This corrects the problem? Please report to us!

    Thank you.

  • Music on AppleTV resumes when you listen to AirPlay from PC

    While listening to music from my PC to my new AppleTV airplay (4), the Apple TV music app takes over, stop the music I want to hear.  Its very annoying and I can't stop.

    Apple TV restarting will help you for a little while - the problem will disappear for a few days (I think that until the next time that you use the music). When this happens, just the UN - and re - choose your Apple TV from airplay speakers (if you use "multiple speakers" uncheck / reclick, if you use the "single" speaker switch to another option and back then the music) and in general it will not happen while replay session.

    You must report this to the Apple - http://www.apple.com/feedback/appletv.html

    I was not able to find a permanent solution, actually this bug got a little bit worse since the last tvOS updated. When it started to happen, I thought it was triggered by using the voice command Siri. Everything worked perfectly up until you said Siri to play the radio or music, after making this antenna would stop and the last thing you said Siri play would begin again - but now I think that happens if you've used the app music at all.

  • Why the computer quit when you listen to music?

    When listening to music, such as Sirius radio, with other activities on the computer, he will play only for a short period and then he will leave until the mouse is moved. I tried to find an arrangement, but havn't had any luck so far.

    Hi Chiniwayne,

    I will definitely help you with this.

    1. what version of Windows is installed on the computer?

    2. what web browser do you use to listen to Sirius radio?

    3. you get any error message?

    4 have have there been recent changes made on the computer before the show?

    I suggest you to refer to the advice given by Srinivas KR on January 22, 2012 and check if it helps.

    http://answers.Microsoft.com/en-us/IE/Forum/IE9-Windows_7/cant-get-SIRIUS-radio-to-play-on-my-computer/c35c2e1b-0eea-4599-8632-059aa8b58ac6?msgId=e6536035-1E70-467C-b0c4-bd7a3303de8e

    If anything in my post is not clear or if you have other questions, do not hesitate to let us know. We will be happy to help you.

    Thank you.

  • Audio intermittent when you listen to a NPR music program

    audio

    Sound keeps going in and out when I'm listening to NPR radio show.  What can I do to fix that

    Hello

    ·         What is the browser used to listen to NPR Music?

    ·         When the question began?

    ·         It happens with NPR Music?

    If you use internet explore I suggest you follow the steps in the below to optimize the internet Explorer:

    http://Windows.Microsoft.com/en-us/Windows/help/Internet-Explorer/slow-five-tips-to-boost-performance

    I hope this helps.

  • Stange behavior when you open Illustrator CC 2015

    I've been hit by a really weird behaviour lately while trying to open Illustrator CC 2015.  At launch, the program opens with really tiny windows as shown in the attached picture. I can drag to expand the interface to normal size, but when I do it does not show my saved workspace. Instead, I have to reset the workspace to move things to the way I want that they, which is not a big problem in itself.  But the launch quite annoying behavior, so I'd appreciate any help / insight.  My basic system features are as follows:

    8.1 Windows Pro 64-bit

    Illustrator CC 2015 (updated)

    Intel i5 2.8 GHz processor

    12 GB OF RAM

    Videocard of NVIDIA GE force 630 (drivers) to update
    Wacom Intuos Medium Pro (drivers day)

    AI launch.jpg

    HI Margaret,.

    Can you please try to clean the preferences of AI. Please, follow these steps after leaving AI runs.

    1 window press on + r key.

    2. type %appdata%\microsoft\windows\sendto in the Run dialog box and press on enter.

    3. go to the Adobe folder.

    4 remove or rename 19 Adobe illustrator settings folder.

    5. start HERE.

    Sanjay.

  • 2.1 RC1 - strange behavior when you change the data in the table

    I recently found a new strange behavior of the SQL Developer. On a small table or a table with a filter where all the data is loaded, but not all lines can be displayed on the screen, trying to change the data in the table. When I confirm the editing with the key enter, Developer SQL jumps always until the end of the data. Quite confusing and boring. The cursor seems to remain in the field that I have edited, then moving upward or downward line force SQL developer to this line.

    Appears not to be the case when all the data are loaded instead of punch, but if you force Developer SQL to load all the data, I can reproduce this strange behavior.

    Sven

    Bug 9205959 is fixed.

    -Rambeau

  • Get "pdftopdf quit unexpectedly" error when you try to print

    I'm trying to print on a printer Epson Stylus Photo R2400 connected to the Mac Mini. I tried to reinstall the printer driver. Did not work. I then redownloaded the sw Epson printer (has removed the printer from the printers installed and selected again - reinstalled in the system preferences, he got an error message that the printer driver is missing some parts and I would like to fix it - I clicked on repair and it was installing something.) Later he has been admitted in the list of printers.

    I also downloaded the application Epson uninstall to completely remove everything and the printer driver before reinstalling the sw. I get the above error and cannot print. I can print on my Brother laser printer, so this isn't in itself a printing problem, but somehow I bollixed the Epson driver or something in the operating system it uses / needs to be able to print.

    The driver appears to be installed correctly, I can * see * the printer - I can open the printer utility application and work in (checking ink, the ink levels, etc.).

    But whenever I try to print on the Epson inkjet, I get the error "pdftopdf quit unexpectedly.

    Would appreciate any suggestions.

    Have you tried everything here

    Get help to solve the problems of printer on your Mac - Apple Support

    including resetting the printing system

    OS X Mavericks: reset the printing system

Maybe you are looking for