My AS3 Quiz Widget doesn't work correctly

First of all, yes I have set the project options to export as
"AS3" and yes, the widget is also "AS3", so there should be no
compatibility issues.
I'm a flash programmer for 10 years now and this really
brings me down to my knees whining and screaming...
I programmed a very simple widget which displays a "Yes" and
a "no" button instead of the radio-buttons you're forced to use
otherwise for this type of question.
I started with an AS3-Version which almost worked. The XML
couldn't be received correctly and the result of hitting the right
button didn't seem to have been recognized by the underlying
Captivate movie.
Then I converted it to AS2. (also setting project options to
export as as2). Everything worked immediately as expected.
Then I converted it BACK to AS3 to be sure to have the exact
same program-logic and changed everything according to the AS3
guidlines. Again, this didn't work.
I suspect that the following functions aren't properly
integrated in Captivate 4 yet:
function answeredCorrectly(isSurvey:Boolean):Boolean
This function never gets called from anywhere in the
Captivate movie whenever I click on "send" or anything! But it
really shoud be, because it's the only way to communicate the
result to Captivate.
var myXML:XML = new XML(movieHandle.widgetParams());
This one doesn't get me the Parameter I was expecting. Even
though the setInspector... and getInspector... functions work fine
and I am able to set everything in the inspector window, this one
always returns crap instead of the variables I set before using the
inspector-functions.
I included the whole code which doesn't work.
On the stage is:
btnJa => yes button
btnNein => no button
cbRightAnswer => pulldown for setting the right answer
lblRightAnswer => label for pulldown
dbg => debug window (because otherwise it would be a huge
pain in the *** debugging this)
So if anyone can spot the error, I'd be quite relieved,
because this is driving me nuts.

Yay, got it running!
Sadly, the function that got it running was NOT included in
the quiz-widget Template and I really wonder why, because this will
cause some big frustrations among some users.
I implemented the answers():Array function.
And I wonder why the AS2-version did work flawlessly without
it. And why it isn't included in the AS3 widget as-files. This
could have saved me 3-4 hours of research.

Similar Messages

  • Menu Widget is not working correctly when applied in Master Page?

    Hi There,
    Is there a reason why menu widget doesn't work correctly when put in the master page?  When I do preview it only highlights certain menu and doesn't highlight other ones?  In order to fix this I had to take my menu widget off the master page and had to manually apply the menu widget on each page for it to work correctly?  Is there a reason why this is happening and are you guys working on fixing this?
    Best Regards,
    Nick

    Hi There,
    Just published the northcountydoulas website through business catalyst that
    wasn't working correctly...The menu widget is in the master page...
    Best Regards,
    Nick

  • Game Center doesn't work correctly

    Game Center on iPod Touch 2nd Gen doesn't work correctly under iOS 4.2.1
    It shows wrong language (Englist but not my native language. My region setting is right and the system language right too.)
    Besides, the "Games" page only has a button "Find Game Center Games", while it should show my Game Center Games.
    The Friends page shows all my friends. But when I press a friend the sub page doesn't show the game my friend and I have in common.
    I've restored my device several times, but it didn't help.
    How to solve it?

    I've had exactly the same problem on my 2nd gen since early May when it just stopped working out of the blue.
    There are a few threads here on the subject. I believe that every 2nd gen is affected as I've yet to hear a 2nd gen owner say that theirs works.
    Other than waiting for Apple to fix it I don't think there is a solution.

  • Updated to 10.4.9 and now weather widget doesn't work-what to do?

    Hello-
    Just updated to 10.4.9 tonight and for the first time since I bought this computer in August, the weather widget doesn't work.
    Would anyone happen to know what I could do to get this to work. I am connected to the internet, I can access the accuweather.com that I think this widget connects to, I restarted and reset PRAM (not even sure if that has anything to do with it).
    I just don't even know where to go from here to troubleshoot. Any suggestions would be appreciated... Thanks.

    Just for the record... There is quite a bit of discussion about widgets. I only use the dictionary and iStat. I use WeatherPop in the taskbar, which resides in the taskbar...
    It did it again this morning. I let it boot all the way, and then I went into system preferences to find the resolution that the display was using. It was 1400x1050. But there was a second display preferences window open. Basically... The computer was "mirroring" to a second non-existent monitor. I ran through the "detect displays" and it got rid of the second setting.
    I've never had a second monitor hooked to the machine, and I've never messed with the display settings, other than to change wallpaper. I'm not sure how or why it turned on, but I think it's off now... Weird that it only did it every now and then.
    Steve

  • My live corners widget doesn't work, how can i fix it ?

    my live corners widget doesn't work, how can i fix it ?

    jotapepea,
    You may have a look at the list below. The easy ones are at the top.
    The following is a general list of things you may try when the issue is not in a specific file (you may have tried/done some of them already); 1) and 2) are the easy ones for temporary strangenesses, and 3) and 4) are specifically aimed at possibly corrupt preferences); 5) is a list in itself, and 6) is the last resort.
    1) Close down Illy and open again;
    2) Restart the computer (you may do that up to 3 times);
    3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (easy but irreversible);
    4) Move the folder (follow the link with that name) with Illy closed (more tedious but also more thorough and reversible);
    5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);
    Even more seriously, you may:
    6) Uninstall, run the Cleaner Tool (if you have CS3/CS4/CS5/CS6/CC), and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html

  • AddChild doesn't work correctly in 11.9

    comparing the two releases listed below, somehow my Flash program doesn't work correctly on the latest version anymore, nothing was changed in my program but after upgrading to the latest Flash Player, it doesn't work properly anymore, specifically, the items I add through the addChild method doesn't appear properly, was there any changes in between these versions that could have affected the addChild behavior? I'm testing with Windows  7 IE debug version and I see no script errors
    Released 10/8/2013) Flash Player 11.9.900.117 (156.2 MB)
    (Released 9/24/2013) Flash Player 11.8.800.175 (Win IE only) (50 MB)

    Could you please open a new bug report on this over at bugbase.adobe.com?  When adding the bug, please include sample code, test url or a test swf so we can quickly test this out internally.  If you'd like to keep this private, feel free to email the attachment to me directly ([email protected]). 
    Once added, please post back with the bug URL and I'll investigate internally.
     

  • IPhoto doesn`t work correctly with german "umlaut" (ä,ö,ü) in keywords

    iPhoto doesn`t work correctly with german "umlaut" (ä,ö,ü) in keywords. They get to ä̈,ö̈, ü̈ when I write the keyword a second time. Can anybody tell me why. Thank you. Heinz

    It apparently does not like non-standard English characters - use A-Z and 0-9 adn you should be OK
    report to Apple - iPhoto menu ==> provide iPhoto feedback
    LN

  • After upgrade my iphone 4 to IOS6, sound doesn't work correctly

    After upgrade my iphone 4 to IOS6, sound doesn't work correctly.
    During a phone call, there is no sound. But if I turn on the speaker, there is sound. itune works fine since it's on the speaker.

    Dear All
    i have done the same activity ( buy a new iphone 4 -> upgrade to ios5 - > configure email) with success-
    than when i start to move the contacts from old mobile to iphone (using the microsim) i receive the same crash
    in disgnosis e use i saw 2 dump with this title 'latestCrash-Preferences.plist and LatestCrash.plist. in each file the date is the same and i read:
    Exception Tyle: EXC_CRASH (SIGABRT)
    Exception code: 0x00000000, 0x00000000
    Chrashed Thread: 6
    in thread 6: name: Dispatch queue:
    com.apple.addressBookUI.ContactsSettingPlugin
    and thaan a lot of data.
    Have you any idea?
    thank in advance
    Fabio

  • Translation from CS5 to Cloud doesn't  work correct, navi and linked images are broken.

    Translation from CS5 to Cloud doesn't  work correct, <navi> and linked images are broken.
    The data of CS5 was created at another PC. I installed Cloud version into two different PC. One has had the site data since dreamweaver CS5 and it works correct in Cloud version. Another PC got the site data from remote server and it doesn't work correct. <navi> and linked image are broken.

    Another PC got the site data from remote server and it doesn't work correct. <navi> and linked image are broken.
    This implies your site is not properly defined in DW.  Go to Site > Manage Sites.
    Or simply go to your other installation of DW and export the site definition file from Manage Sites.
    Save it to a flash stick or other removable drive.  Then import the STE file into your 2nd installation of  DW.
    Nancy O.

  • ITunes 10.4 full screen with Win7-64bit doesn't work correctly.

    iTunes 10.4 full screen with Win7-64 doesn't work correctly. I have the Windows taskbar on the left side of my screen. Maximized iTunes is panned to the left.

    Same issue here. When the Windows taskbar is position on the top of the screen and then the iTunes windows is maximised, it's position is as if the Windows taskbar is at the bottom of the screen so the top of the iTunes window sits under the taskbar.
    For those wanting a workaround, hold shift and right click the iTunes icon in the taskbar/quick launch bar and click restore, at least then you can adjust it to be full screen manually.
    System:
    Windows 7 Ultimate x64
    iTunes 10.4
    ATI 5750 video card

  • [svn] 4028: Bug: Draining of buffered messages doesn' t work correctly with long-polling.

    Revision: 4028
    Author: [email protected]
    Date: 2008-11-06 09:04:26 -0800 (Thu, 06 Nov 2008)
    Log Message:
    Bug: Draining of buffered messages doesn't work correctly with long-polling.
    QA: Yes - please make sure both nio and regular long-polling channels work with throttling.
    Doc: No
    Checkintests: Pass.
    Details: Made sure that buffered messages are drained properly with all polling channels (polling, long-polling, and nio-long-polling).
    Modified Paths:
    blazeds/trunk/modules/core/src/flex/messaging/client/FlexClient.java

    Sounds like you've probably already looked but the CUPS article in the wiki led me through setting up a printer without any problems.  http://wiki.archlinux.org/index.php/CUPS
    The first section describes how to troubleshoot CUPS and printing problems.
    I've also found a few other posts and links that may help.
    http://hplipopensource.com/hplip-web/mo … eries.html
    http://ubuntuforums.org/showthread.php?t=419163
    Hope this helps!

  • How can I avoid duplicates on contacts and how do I get contacts created on iPhone/ipad synchronized on my mac? so far it doesn't work correctly, just sometimes. same for icalendar

    how can I avoid duplicates on contacts and how do I get contacts created on iPhone/ipad synchronized on my mac? so far it doesn't work correctly, just sometimes. same for icalendar

    On your Mac, for duplicates, switching Contacts off then back on in System Preferences > iCloud may prevent duplicates.
    On the iPhone / iPad tap Settings > iCloud. Make sure Contacts and Calendars are swtiched on.
    Try restarting your Mac and your iOS devices when items won't sync as they should.
    To restart an iOS device:  Hold the On/Off Sleep/Wake button down until the red slider appears. Slide your finger across the slider to turn off iPhone. To turn iPhone back on, press and hold the On/Off Sleep/Wake button until the Apple logo appears.

  • ASR1002 - For DNS it seems that NAT doesn't work correctly

    Hi Folks,
    For DNS it seems that NAT doesn't work correctly
    The ASR 1002 works as a NAT-Router. But for DNS it seems that NAT doesn't work correctly.
    All DNS packets with a frame size greater than 512byte are not processed (they donїt arrive at the DNS Server), but we can't verify if they are dropped or just not processed.

    Sorry guys its everytime*

  • Widget doesn't work after updating to OSX 10.6.8

    After installing the latest batch of updates, my sudoku widget doesn't work anymore. Anyone else having a problem like this, or know how to fix it?
    I noticed on the website which created it that others are also having this problem in the last few days:
    http://briandeboer.com/posts/sudoku-20-approaching-beta-status/
    Thanks!

    Someone posted the following on the Sudoku widget website:
    "Just wanted to add to my previous post. This widget uses images “.png” files so the font issue has not affected it’s performance. After some digging I found WebKit2 was bundled with the latest Safari update (5.1 and 5.0.6). WebKit2 uses a whole bunch of new APIs rendering some old ones obsolete. My guess is as good as yours, but most likely the SudokuC controller inside the widget is referring to one of those obsolete APIs."
    Does anyone know what this means, and can explain it to someone, like myself, who is not a programmer?
    Also, does it seem like a relevant solution and/or cause of the problem?
    Thanks!

  • Link on my website doesn't work correctly on my iMac. It works correctly on Safari, and both browsers on my laptop.

    Link on my website doesn't work correctly on my iMac. It works okay when using Safari. It also works correctly on my laptop using either browser.

    We worked out my problem. My solution turned out to be: Firefox Preferences/Applications. Scroll down until you find "Portable Document Format (application)", click on it and use the dropdown menu to the right and changed "Save file" to "Use Adobe Acrobat Pro (default). I had trouble at first finding if the listing was under Adobe, Acrobat, or what so I used the search feature and found it immediately.
    Hope this helps.

Maybe you are looking for