Shared objects update the things they are bound to

Shared objects (my_so) don't seem to be update the things they are bound to
<mx:Button toolTip="{(my_so.data.wantMusic)?'Turns off music':'Turns on music'}"
               id="musicOn"
               icon="{(my_so.data.wantMusic)?imgPlayClass:imgPlayOff}"
               >
When my_so.data.wantMusic changes the icon doesn't change

I've also done the following:
                private var my_so:SharedObject;
maybe I also need to make the   my_so.data bindable as well so that the
following code works as well?
<mx:Button toolTip="{(my_so.data.wantMusic)?'Turns off music':'Turns on
music'}"
               id="musicOn"
               icon="{(my_so.data.wantMusic)?imgPlayClass:imgPlayOff}"
                cornerRadius="9" fillAlphas="[1.0, 1.0]"
fillColors="[#0FEFBD, #7106D5]" width="26">
        <mx:click>
                <![CDATA[
                    my_so=SharedObject.getLocal("mediaCenter");
                    if (my_so.data.wantMusic)
                        stopIntroSound();
                        my_so.data.wantMusic=false;
                        my_so.flush();
                    else
                        playIntroSound();
                        my_so.data.wantMusic=true;
                        my_so.flush();
                ]]>
            </mx:click>
    </mx:Button>
best wishes
Nikos

Similar Messages

  • On that last software update we (my family) have noticed on all our iPhone devices there is a huge gitch problem with our devices. My phone is an 4s but the other devices a brand new phones and they started since they updated the software they are having

    A concern we've noticing since we have updated the lastest software... Our phone keep glitching and it's moving extremely slower than usual. I have the 4s and my kids have the newer phones 5c and the 5s. Is this a on going problem and if so when is it going to be fixed because this is terrible. Very disappointed customer. I was waiting on the newer iphone for myself but if apple can't get things straighten out with software I will have to consider your competitors. I have majority apple products and so far I am hating the issues I am having. Please fix soon. Thank you.
    Colleen W Rorie
    <Personal Information Edited by Host>

    This is a user forum.  Apple does not participate in this forum.
    You speak about glitches in your iPhones but unless you describe those glitches, we are unable to offer any help. You mention you are having issues but we are not psychic and cannot imagine what those issues could be.

  • Triggers are gone when updates the view they are on?

    I found that when I updated a view, all the triggers on this view were dropped.
    Is this supposed to be or I did something wrong?

    To answer the second part of your question, triggers on tables are not dropped if you modify the tables, unlike when you modify views. However, if you modify the table in such a way that it invalidates the trigger, the trigger becomes invalid, but not dropped. Please see the example below.
    scott@ORA92> create table test_tab
      2    (col1 number)
      3  /
    Table created.
    scott@ORA92> create sequence test_seq
      2  /
    Sequence created.
    scott@ORA92> create or replace trigger test_trig
      2    before insert on test_tab
      3    for each row
      4  begin
      5    select test_seq.nextval into :new.col1 from dual;
      6  end test_trig;
      7  /
    Trigger created.
    scott@ORA92> show errors
    No errors.
    scott@ORA92> insert into test_tab values (null)
      2  /
    1 row created.
    scott@ORA92> select * from test_tab
      2  /
          COL1
             1
    scott@ORA92> commit
      2  /
    Commit complete.
    scott@ORA92> alter table test_tab add col2 number
      2  /
    Table altered.
    scott@ORA92> insert into test_tab (col2) values (10)
      2  /
    1 row created.
    scott@ORA92> select * from test_tab
      2  /
          COL1       COL2
             1
             2         10
    scott@ORA92> commit
      2  /
    Commit complete.
    scott@ORA92> select status from user_triggers where trigger_name = 'TEST_TRIG'
      2  /
    STATUS
    ENABLED
    scott@ORA92> select status from user_objects where object_name = 'TEST_TRIG'
      2  /
    STATUS
    VALID
    scott@ORA92> alter table test_tab drop column col1
      2  /
    Table altered.
    scott@ORA92> select status from user_triggers where trigger_name = 'TEST_TRIG'
      2  /
    STATUS
    ENABLED
    scott@ORA92> select status from user_objects where object_name = 'TEST_TRIG'
      2  /
    STATUS
    INVALID
    scott@ORA92> insert into test_tab (col2) values (20)
      2  /
    insert into test_tab (col2) values (20)
    ERROR at line 1:
    ORA-04098: trigger 'SCOTT.TEST_TRIG' is invalid and failed re-validation
    scott@ORA92> select * from test_tab
      2  /
          COL2
            10

  • I'm on a windows laptop using iTunes sharing through the family to connect with Apple TV. After choosing the folder of photos to be shared and displayed on the appletv and when I choose to show on screen, they are not shown in the order they are in the or

    I'm on a windows laptop using iTunes sharing through the family to connect with Apple TV.
    After choosing the folder of photos to be shared and displayed on the appletv and when I choose to show on screen, they are not shown in the order they are in the original folder.
    How to pair show in a certain order, for example, sorted by name.
    grateful
    Julio Cesar

    Not that I'm aware of. You just export JPEG copies to a folder that you can point iTunes to. For instance, I have created a folder in my Pictures folder called Apple TV. And within that folder I have other folders of pictures that I can choose from in iTunes to share with Apple TV. But there doesn't seem to be any way to share a Lightroom slideshow. If you have laid to create a video file that would probably work. Apple TV is a little clunky in my opinion. Some things are a little more difficult to do now than they were a while back. I probably haven't provided you with much help, but just keep experimenting and I think you will figure it out.

  • What do i do when iPhoto Deletes my recent pic's all the way to 2010????? i opened the program and it said i needed to update my library otherwise i wouldn't be able to view the images that were not updated-- and now they are gone!!!!!! WHat do i do!!!!!!

    what do i do when iPhoto Deletes my recent pic's all the way to 2010????? i opened the program and it said i needed to update my library otherwise i wouldn't be able to view the images that were not updated…… and now they are gone!!!!!! WHat do i do!!!!!!  Is this some type a virus???? my mac is protected!!!!! tried to chat with an IT person but they keep asking if its like a tech problem and it is just iphoto

    You should get your keyboard checked as it's repeating  on a lot of keys and makes you look silly.
    There are 9 different versions of iPhoto and they run on 9 different versions of the Operating System. The tricks and tips for dealing with issues vary depending on the version of iPhoto and the version of the OS. So to get help you need to give as much information as you can. Include things like:
    - What version of iPhoto.
    - What version of the Operating System.
    - Details. As full a description of the problem as you can. For example, if you have a problem with exporting, then explain by describing how you are trying to export, and so on.
    - History: Is this going on long? Has anything been installed or deleted? - Are there error messages?
    - What steps have you tried already to solve the issue.
    - Anything unusual about your set up? Or how you use iPhoto?
    Anything else you can think of that might help someone understand the problem you have.

  • I updated iOS 7 and my contacts were ok then they suddenly disappeared a few weeks after updating. I have no idea if it has anything to do with iOS 7 but when I email someone the contacts are there. When I open the app they are gone. What happened?

    I updated iOS 7 and my contacts were ok then they suddenly disappeared a few weeks after updating. I have no idea if it has anything to do with iOS 7 but when I email someone the contacts are there. When I open the app they are gone. What happened?

    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 logo appears.
    - 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.
    - 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                                      

  • Today, I just updated my iphone software to IOS5.  I forgot to download pics from my iphone and since the upgrade they are all gone.  Is there a way to get them back?

    Today I just update my iphone software to IOS5.  I forgot to download pictures that were on my iphone and since the upgrade they are all gone.  Is there a way to get them back?

    The only restore I can find is from 2010.

  • Hey guys . . how come I get updates, but can not updates them as they are "not applicable" for the "version" of the pad?, hey guys . . how come I get updates, but can not updates them as they are "not applicable" for the "version" of the pad?

    hey guys . . how come I get updates, but can not updates them as they are "not applicable" for the "version" of the pad?, hey guys . . how come I get updates, but can not updates them as they are "not applicable" for the "version" of the pad?

    The only people who can possibly assist you with this is Apple Customer Relations, call your local Apple contact number and ask for Customer Relations then explain your situation clearly and politely (be firm but don't rant).
    You might want to investiage what the local laws are regarding defective goods and 'fit for use' definitions on warranties etc. Consumer Protection can be a useful tool to use or bargain with if needed ...

  • Oracle insert problem(records not in the order they are inserted)

    hi, all:
    I tried to insert a word list into a oracle table, everything is fine except that the words are not in the order they are inserted. For example, the words are inserted in the following sequence:
    accreted     
    accreting     
    accretion     
    accretionary     
    accretive     
    bladebone
    bladed     
    bladeless
    bladelike
    When I retrived the resultset from the table and iterate through each of the record, the words are not in the order inserted, i.e., it may look like this,
    accreted     
    accreting     
    bladebone
    bladed     
    accretion     
    accretionary     
    accretive     
    bladeless
    bladelike
    This strange phenomenon won't happen when the word list is small, like 500 words or so, but when the number of words reaches around 10,000, it takes place. My coworker also experienced this problem when trying to insert large volume of data into oracle table.
    The code I used to insert into the DB table:
    BufferedReader reader=new BufferedReader(new FileReader("C:\\Dictionary.txt"));
    while( (line=reader.readLine())!=null )
         sql="INSERT INTO DICT " +
         "VALUES ('" + line +"')";                         
         statement.executeUpdate(sql);
    Any advice will be highly appreciated,
    thanks

    Well, the best thing to do is follows scsi-boy's advice and add the additional column and either put a sequence number in it from the Java side as you insert, or use an Oracle sequence object to put a sequence number in it from the Oracle side (which is sort of like an auto-generated value, but different).
    Note that an Oracle sequence generates numbers in sequence, but possibly with gaps (usually if the database is rebooted), unless you do some things that slow sequences down substantially. Sequences can also be something of a bottleneck on RAC clusters. See:
    http://www.dizwell.com/oracle/articles/autonumbering.html
    However, if your coworker is commiting after each and every insert (which is bad form and slows the database down, -10 points), and if your coworker is also never ever ever updating the columns after they've been inserted, and if your coworker is using Oracle 10g and not some older version such as 9i, then your coworker could use the ORA_ROWSCN pseudo-column to order by. Those are very very severe constraints and you shouldn't begin to consider doing it that way without a very good reason, and right now you and your coworker wouldn't know a good reason if it snuck up and bit you on the butt, you've got a lot of learning the basics first.

  • TS1702 I have three apps that I tried to update and now they are stuck in waiting how do I fix this

    I have three apps that I tried to update and now they are frozen any ideas on how I can fix this

    You can try any or all of these suggestions that have worked for others in the past .... But ... YMMV.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    Make sure that you do not have a stalled download in iTunes - a song or podcast .... if you have a download in there that did not finish, complete that one first. Only one thing can download at a time on the iPad so that could be what is causing the problem.
    If that doesn't work - sign out of your account, restart the iPad and then sign in again.
    Settings>iTunes & App Store>Apple ID. Tap your ID and sign out. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Go back to Settings>iTunes & App Store>Sign in and then try to update again. Tap one waiting icon only if necessary to start the download stream.
    You can also try deleting the waiting icons - tap and hold down on an icon until it wiggles - the tap the X on the icon to delete it. Then try to download again.
    You can try resetting all settings. Settings>General>Reset>Reset All Settings. You will have to enter all of your app preferences and device settings again.
    If all else fails, download the updates or the apps in iTunes on your computer and then sync the content to your iPad.

  • How do I get my contacts back on my phone I update it now they are missing

    How do I get my contacts back on my phone I update it now they are missing

    I just lost all contacts. I tried the backups but as soon as restore was completed, it would lose notes again. I disconnected after recover but still no notes.
    Out of desperation, as I have all my passwords etc on it (yes, I know) but I trusted the iTunes backup system. I looked on the net and found a recovery company called Wondershare, Dr Phone. I tested it and there it all was, but it has now cost me $69 to purchase key number to download my info.
    All contacts info and everything else is available. It saves it in a file which you open.
    Now I have to type it all in again. I will keep manual backups now as well as using Dropbox from now on. Nightmare. I hope this helps you all.
    <Link Edited By Host>

  • Sharing objects in the same package (context)

    Hi,
    I need a small example or API invocations which shows object sharing beetween two applets in the same package.
    Thanks.

    Look at the JavaPurse sample. You'll see the record, ParameterFile, and CyclicFile are shared objects in the same context.

  • I have Acrobat Pro 9.0. Am happy with it since I only have occasional need. Haven't updated it. Is there a way to do this? Do I need toy go through updates sequentially if they are available? Thanks for any help.

    I have Acrobat Pro 9.0. Am happy with it since I only have occasional need. Haven't updated it. Is there a way to do this? Do I need to
    go through updates sequentially if they are available? Thanks for any help.

    Hi Spiral Geronimo,
    It is always recommended to update the software to its latest updates. I would suggest you to update your Acrobat 9 to its latest updates. You can download the updates from the link below:
    http://helpx.adobe.com/acrobat/kb/update-patch-acrobat-reader-7.html

  • None of the network adapters are bound to the Netmon driver.If you have just installed, you may need to log out and log back in order to obtain the proper rights to capture. Please refer to the product help for more information.

    Hi,
    To analyze Lync issues I have installed these applications in my windows 7 x64 laptop
    1) network monitor 3.4
    2)Lync network monitor parser
    3)nmdecrypt2.3
    4)network monitor parser3.4
    Installtion got completed successfully but when I try to start capture I get this error everytime.......
    "None of the network adapters are bound to the Netmon driver.If you have just installed, you may need to log out and log back in order to obtain the proper rights to capture. Please refer to the product help for more information"
    I read many technet articles and other blogs but that didn't solve this issue. I tried things like
    A) Run as administrator
    B) nmconfig /install in cmd
    So could you please help me how I can fix this issue?
    Regards,
    Ajit

    Seems our driver didn't get installed.  What you see when you type "sc query nm3" from a command prompt?
    Thanks,
    Paul

  • Sharing enabled with everyone, but they are not getting my recently purchased music. Can anyone help?

    Hi! I am the organizer of my apple "family". I have sharing enabled with everyone, but they are not getting my recently purchased music. Can anyone help?

    Hello alisannlh,
    Thank you for participating in the Apple Support Communities.
    If you have Family Sharing set up, but your family does not see shared purchases, make sure they're following the steps from this article to access your shared purchases:
    Sharing purchased content with Family Sharing - Apple Support
    If they follow the steps above and can't see or download your purchases, the troubleshooting steps in this article can help:
    If you don't see your family's shared content - Apple Support
    All the best,
    Jeremy

Maybe you are looking for

  • SAP B1 Patch 42 GUI, Vista SLOW MOTION

    Hi, I just don't know if I'm alone with this. I didn't find any thread about it. I've successfuly installed SAP B1 2005A SP001, Patch 42 on Windows Vista Home Premium.  Everything works find Except When windows pop, its slow like hell.  You know this

  • Is it possible to move sparsebundle?

    I'm new to Macs and i just bought a TC. I set up the TC using the wizzard and named my TC XYZ. I just realized that you can also create separate user folders so that different family members can have their own seperate password protected folders. Unf

  • Exceptions not caught in shared library when compiled under Sun Studio 9

    I realize it's a fairly old version of Sun Studio, however if at all possibly we'd like to avoid updating to the latest. Sun Studio 9, version reports version of "/opt/SUNWspro/bin/../prod/bin/../../bin/cc": Sun C 5.6 2004/07/15 version of "/opt/SUNW

  • Adobe Pro xi won't open in windows 8

    I am downloading Adobe Pro and it downloads fine.  When I try and open a document in it, it states it has stopped working and Windows will let me know if it finds a resolution - any ideas how to fix this?

  • Contract Quantity to Sales order qty

    Dear Sdities, 1. I have created Contract Using VA41 for 150 KG & saved Contract. 2.I have created Sales Order(va01) by referring to Contract , but i created  Sales order for 151KG. Then it gave me below Warning message & it allowed me to do delivery