BitmapData only works inside flash 8 IDE

I need to take a snapshot of the currently playing .flv
video:
var snap = new BitmapData(70, 52);
var mat:Matrix = new Matrix();
mat.scale(70/640, 52/480); // scale to thumbnail size
snap.draw(mc, mat);
mc contains the video that is currently playing.
The strange thing is that if I run it inside flash 8 IDE it
works fine. But if I click on the .swf file and open it outside the
IDE I get a blank picture.

Hello dinepada, '''try Firefox Safe Mode''' to see if the problem goes away. [[Troubleshoot Firefox issues using Safe Mode|Firefox Safe Mode]] is a troubleshooting mode that temporarily turns off hardware acceleration, resets some settings, and disables add-ons (extensions and themes).
'''If Firefox is open,''' you can restart in Firefox Safe Mode from the Help menu:
* Click the menu button [[Image:New Fx Menu]], click Help [[Image:Help-29]] and select ''Restart with Add-ons Disabled''.
'''If Firefox is not running,''' you can start Firefox in Safe Mode as follows:
* On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
* On Mac: Hold the '''option''' key while starting Firefox.
* On Linux: Quit Firefox, go to your Terminal and run ''firefox -safe-mode'' <br>(you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
When the Firefox Safe Mode window appears, select "Start in Safe Mode".
;[[Image:SafeMode-Fx35]]
'''''If the issue is not present in Firefox Safe Mode''''', your problem is '''probably caused by an extension''', theme, or hardware acceleration. Please follow the steps in the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
When you figure out what's causing your issues, please let us know. It might help others with the same problem.
thank you

Similar Messages

  • Flex mobile 4.6 app works inside flash builder but not in android emulator

    Originally posted on stackoverflow: http://stackoverflow.com/questions/8663892/flex-mobile-4-6-app-works-inside-flash-builder- but-not-in-android-emulator
    I have a basic flex mobile 4.6 app and it works fully fine in the flash builder built-in emulator using an android device profile like aria...
    It also launches fine in the android emulator but one particular view shows blank (and this view works fine in flash builder).
    Before I get in to many details of the view are there any categorical gotchas that can be causing this?
    I can't seem to get the trace statements from the app to show in 'adb logcat'. It seems I need to compile a debug version of the apk but I don't know how to do this. I use the 'Export Release Build' from the Project menu in flash builder and it doesn't seem to have an option for debug=true.
    The problematic/blank view basically uses the stagewebview and iotashan's oauth library to call linkedin rest apis... A different (and working) view can make restful web service calls in the emulator fine, so it doesn't seem to be an internet permission.
    The source code contained in the problematic/blank view is almost identical to the tutorial found at:http://www.riagora.com/2011/01/air-and-linkedin/
    The differences are: a) The root tag is a View b) I use StageWebView instead of HtmlContainer c) I use my own linkedin key and tokens.
    I would appreciate it if someone can provide me with some pointers on how to troubleshoot this situation. Perhaps someone can tell me how to debug the app while running in the emulator (I think I need the correct adt command arguments for this which matches the 'Export Release Build' menu but adds the debug param?)
    Thanks for your help in advance.
    Comment Added:
    I suspect that this has to do with connections to https:// api.linkedin.com and https:// www.linkedin.com. The only reason I can think of that the same code is not having issues inside of Flex Builder but indeed having issues in the Android emulator is something to do with certificates. Any ideas?

    Thanks er453r,
    I have created a project that clearly reproduces the bug.  Here are the steps:
    1) Create a UrlLoader and point it to https://www.google.com (HTTPS is important because http works but HTTPS does not)
    2) Load it
    3) Run in Flash Builder 4.6/Air 3.1 and then run in Android emulator.  The former works with an http status 200.  The latter gives you an ioerror 2032.  I am assuming what works in Flash Builder is supposed to work in the Android Emulator and what what works in the emulator is supposed to work in a physical device (plus or minus boundary conditions).
    I see a certificate exception in adb logcat but not sure if it's related...
    Here is the self contained View code which works with a TabbedViewNavigatorApplication:
    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
                        xmlns:s="library://ns.adobe.com/flex/spark"
                        xmlns:mx="library://ns.adobe.com/flex/mx"
                        xmlns:ns1="*"
                        xmlns:local="*"
                        creationComplete="windowedapplication1_creationCompleteHandler(event) "
                        actionBarVisible="true" tabBarVisible="true">
              <fx:Script>
                        <![CDATA[
                                  import mx.events.FlexEvent;
                                  protected var requestTokenUrl:String = "https://www.google.com";
                                  protected function windowedapplication1_creationCompleteHandler(event:FlexEvent):void
                                            var loader:URLLoader = new URLLoader();
                                            loader.addEventListener(ErrorEvent.ERROR, onError);
                                            loader.addEventListener(AsyncErrorEvent.ASYNC_ERROR, onAsyncError);
                                            loader.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
                                            loader.addEventListener(HTTPStatusEvent.HTTP_RESPONSE_STATUS, httpResponseStatusHandler);
                                            loader.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);
                                            var urlRequest:URLRequest = new URLRequest(requestTokenUrl);
                                            loader.load(urlRequest);
                                  protected function requestTokenHandler(event:Event):void
                                  protected function httpResponse(event:HTTPStatusEvent):void
                                            label.text += event.status;
                                            // TODO Auto-generated method stub
                                  private function completeHandler(event:Event):void {
                                            label.text += event.toString();
                                            trace("completeHandler data: " + event.currentTarget.data);
                                  private function openHandler(event:Event):void {
                                            label.text +=  event.toString();
                                            trace("openHandler: " + event);
                                  private function onError(event:ErrorEvent):void {
                                            label.text +=  event.toString();
                                            trace("onError: " + event.type);
                                  private function onAsyncError(event:AsyncErrorEvent):void {
                                            label.text += event.toString();
                                            trace("onAsyncError: " + event);
                                  private function onNetStatus(event:NetStatusEvent):void {
                                            label.text += event.toString();
                                            trace("onNetStatus: " + event);
                                  private function progressHandler(event:ProgressEvent):void {
                                            label.text += event.toString();
                                            trace("progressHandler loaded:" + event.bytesLoaded + " total: " + event.bytesTotal);
                                  private function securityErrorHandler(event:SecurityErrorEvent):void {
                                            label.text +=  event.toString();
                                            trace("securityErrorHandler: " + event);
                                  private function httpStatusHandler(event:HTTPStatusEvent):void {
                                            label.text += event.toString();
                                            //label.text += event.responseHeaders.toString();
                                            trace("httpStatusHandler: " + event);
                                  private function httpResponseStatusHandler(event:HTTPStatusEvent):void {
                                            label.text +=  event.toString();
                                            trace("httpStatusHandler: " + event);
                                  private function ioErrorHandler(event:IOErrorEvent):void {
                                            label.text +=  event.toString();
                                            label.text += event.text;
                                            trace("ioErrorHandler: " + event);
                        ]]>
              </fx:Script>
              <fx:Declarations>
                        <!-- Place non-visual elements (e.g., services, value objects) here -->
              </fx:Declarations>
              <s:Label id="label" y="185" width="100%" color="#0A0909" horizontalCenter="0" text=""/>
    </s:View>

  • Mouse only works inside firefox after suspension

    normaly I close my laptop and then when I open it mouse only works insider firefox, other aplicacions, even system task bar (windows 8.1) dont reconize my mouse, the only solution is close firefox which is very annoying if you have important work in your firefox tabs and need to work in other aplications outside firefox

    Hello dinepada, '''try Firefox Safe Mode''' to see if the problem goes away. [[Troubleshoot Firefox issues using Safe Mode|Firefox Safe Mode]] is a troubleshooting mode that temporarily turns off hardware acceleration, resets some settings, and disables add-ons (extensions and themes).
    '''If Firefox is open,''' you can restart in Firefox Safe Mode from the Help menu:
    * Click the menu button [[Image:New Fx Menu]], click Help [[Image:Help-29]] and select ''Restart with Add-ons Disabled''.
    '''If Firefox is not running,''' you can start Firefox in Safe Mode as follows:
    * On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac: Hold the '''option''' key while starting Firefox.
    * On Linux: Quit Firefox, go to your Terminal and run ''firefox -safe-mode'' <br>(you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    When the Firefox Safe Mode window appears, select "Start in Safe Mode".
    ;[[Image:SafeMode-Fx35]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is '''probably caused by an extension''', theme, or hardware acceleration. Please follow the steps in the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
    ''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    When you figure out what's causing your issues, please let us know. It might help others with the same problem.
    thank you

  • My arrow keys are not working inside flash games

    Hello,
    Whenever I play any flash game, my arrow keys are not working. They work perfectly fine when I am scrolling the site with them, but not in flash games.
    I am using Google Chrome, flash player version 10,3,181,36 and my operating system is Win7 64 bit.
    Solutions I've already tried:
    Use another webbrowser
    Re-install Flash player
    Restart PC
    Try another keyboard
    I have this problem ever since the last Flash Player update.

    Hey there Questionair1.
    It sounds like your arrow keys are not working correctly. I would start with these steps from the following article named:
    OS X Mavericks: If keys on your keyboard don’t work
    http://support.apple.com/kb/PH13809
    You may have accidentally set an option that changes how your keyboard operates.
    Choose Apple menu > System Preferences, click Dictation & Speech, then click “Text to Speech.” If “Speak selected text when the key is pressed” is selected, deselect it or click Change Key to select another key.
    Choose Apple menu > System Preferences, click Accessibility, then click Keyboard. Make sure Slow Keys is turned off. If Slow Keys is on, you must hold down a key longer than usual before it’s recognized.
    Thank you for using Apple Support Communities.
    All the best,
    Sterling

  • Iphone only works on mains - any ideas

    Hi folks...  any idea why iphone has just started to functon only from mains power?
    Thanks
    Dave

    The battery is dead/defective.
    Take it to Apple for evaluation.

  • So HDR photo mode only works with flash off?

    I noticed that when you turn the HDR photo mode on, the flash changes to off. If you try to put the flash back to on or auto, it turns HDR off.

    Yes, that's default setting for HDR:
    On iPhone 4, you can turn on HDR to take HDR (high dynamic range) photos. HDR blends the best parts of three separate exposures into a single photo. For best results, iPhone and the subject should be stationary.
    Turn HDR on or off: Tap the HDR button at the top of the screen. The button indicates whether HDR is on or off. (HDR is off by default.)
    Note: When HDR is on, the flash is turned off.
    copied from user guide, page 121, http://manuals.info.apple.com/enUS/iPhone_UserGuide.pdf

  • My iPhone 4 is 3 years old, and recently the Flash will only work WHEN it wants to... Anyone got any ideas what I need to do?

    My iPhone 4 is 3 years old, and recently the Flash will only work WHEN it wants to... Anyone got any ideas what I need to do? Does it need to be repaird in an Apple store? if so does anyone know roughly how much it would be? Or would a simple Restore work?
    Thank you in advance for replies

    Take it to an Apple store. Most likely you will have to get a replacement for which you will be charged the replacement fee.
    Rice only absorbs water. But it cannot prevent damage to the device.

  • Camera just up and stopped working with flash player. SUUUUPER annoying. Any ideas?

    Hi:
    Windows XP SP3 32bit, latest updates applied
    Firefox 3.6.6 (Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6 ( .NET CLR 3.5.30729; .NET4.0E))
    IE 8.0.6001.18702
    Flash Player 10,1,53,64
    HP EliteBook 8530w with built-in HP camera (brand spankin' new).
    So Flash Player today decided it doesn't want to work with my webcam. I have pulled my hair out trying to figure out what the problem is. The camera works fine with other video camera software, such as Adobe Flash Live Encoder 3.1, for example, or the various Microsoft cam tools. But Flash Player just won't see it. When I visit a website that uses the camera through flash, all I get is a black box. I never get the privacy screen that asks me if I would like to allow the site temporary access to my camera.If i go into my settings, and go to the camera tab, it shows my camera device in the dropdown box. But you know how if you double-click the little box under the dropdown, it should activate your camera and display a little video inside that box? That doesn't work for me. All I get is this:
    It doesn't matter if I use FF or IE. I've re-installed Flash Player, both the FF version and the Ax version. To no avail. I've logged into my computer as a different user, because hell maybe it's some weird dumb thing in the Flash Player cache or something. Nope.
    Now here's the super, super, super annoying part: I just recently moved to this laptop and one of the things I was looking forward to was a computer where my webcam would FINALLY work with flash player again. Yes, that's right: my old computer had this exact same problem. And in both cases, at one point the camera worked with Flash player no problem, and then at some point, it just stopped working.
    This makes me think, of course, that the problem is some nefarious piece of software I've installed, but I can't think of what that is. I know the camera was working with my new computer as early as last week. Recently I've installed a bunch of software, including Adobe Media Live Encoder 3.1, Flash Professional CS5, and the Adobe Connect add-in. I've uninstalled everything except CS5, because, hey, who wants to re-install that if they don't have to? I'll do that as a last result, but the guy sitting next to me has the entire CS5 suite installed and camera works fine for him with Flash Player (same exact hardware too), so I don't think it's that. Other than that, I dunno. I've got VS2008 and 2010 installed. GoToMeeting. Office. That's about it.
    So. Any ideas? Any thoughts on how I could even start to debug the issue? Logging or something? Any help is much appreciated.

    Yes.
    Victory is mine.
    VICTORY IS MINE!!!
    Solution:
    Go to C:\WINDOWS\system32\Macromed\Flash\mms.cfg
    Set
    AVHardwareDisable=1
    to:
    AVHardwareDisable=0
    Restart your browser. Done. Camera works now.
    I really want to shout this solution from the rooftops, because try Googling the solution sometime. I did. I failed. You will too. Hopefully if I use some more 18-point bold font, Google will index it faster, because that's the way it works right?
    I actually had no idea that Flash Player has a folder in Windows\system32 at all, and I definitely had no idea that this file existed. I am guessing some stinking app I installed decided I needed AVHardwareDisable set to 1 for some reason (effers). I found out about the location by just lazily searching through the windows registry for "Flash Player" and eventually saw it pointing to that directory. A little more poking around and I found this file.
    Those of you who actively support this forum: please keep this in the back of your mind, next time someone has audio/video input problems with Flash Player. I've found an awful lot of forum posts from people with cameras not working, and I bet a good portion of them need this fix. Reinstalling Flash Player will not fix it. Here's hoping the solution comes up in Google for the next unlucky soul.

  • I am having major issues with links in keynote! Even though the links (a navigation system) are on the master page, they are only working on some of my slides. Anyone have ideas on how to fix this or similar issues? Help!

    I am having major issues with links in keynote! Even though the links (a navigation system) are on the master page, they are only working on some of my slides. Anyone have ideas on how to fix this or similar issues? Help!
    I have created a navigation system on the master pages and set the presentation to links only mode. I also have other links scattered throughout the program, like a linkable table of contents, etc. Some of them work, some of them don't. Not sure why. Anyone out there having similar issues? Or have any idea on how I can solve this issue? Any help would be appreciated!
    Thanks!

    Links should not create any problems in Keynote.  If they are set up correctly on text, the text will be underlined. Objects that have links will have a curved arrow bottom right, if you click the arrow a popup will display the link information.
    Try this repair for Keynote,  ensure you complete all the tasks and in the order shown:

    delete all the iWork applications if you have them, not just Keynote, using Appcleaner from Mac Update, its a freeware application

    empty the trash:  Finder > Empty Trash

    Shut down your Mac, wait 30 seconds, then power on the Mac, immediately after the start chime, hold down the Shift key
    When you see the grey Apple symbol and progress indicator (a spinning gear), release the Shift key.
    If you are prompted to log in, type your password, then hold down the Shift key again as you click Log in.
    4  
    Let the Mac fully boot up, it will take longer as the OS is repairing the drive

    when fully booted, go to Applications > Utilities > Disc Utility; click on the boot drive then First Aid tab and click  repair disc permissions

    when complete, restart the Mac normally, Apple menu > Restart

    install Keynote from the Mac App Store
    let us know if this helped

  • When I power up my Mac-Pro I only get  a flashing file folder with a ? inside the folder. I suspect my hard drive is maxed to capacity can anyone help me as to what I should do?

    When I power up my Mac-Pro I only get  a flashing file folder with a ? inside the folder. I suspect my hard drive is maxed to capacity can anyone help me as to what I should do?

    Whatever the problem is you no longer have a bootable system. You need to try reinstalling OS X.
    Reinstall Snow Leopard without erasing the drive
    1. Repair the Hard Drive and Permissions
    Boot from your Snow Leopard 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. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    If DU reports errors it cannot fix, then you will need Disk Warrior and/or Tech Tool Pro to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    2. Reinstall Snow Leopard
    If the drive is OK then quit DU and return to the installer.  Proceed with reinstalling OS X.  Note that the Snow Leopard installer will not erase your drive or disturb your files.  After installing a fresh copy of OS X the installer will move your Home folder, third-party applications, support items, and network preferences into the newly installed system.
    Download and install Mac OS X 10.6.8 Update Combo v1.1.
    Reinstalling Lion/Mountain Lion Without Erasing the Drive
    Boot to the Recovery HD: Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the main menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu.
    Reinstall Lion/Mountain Lion: Select Reinstall Lion/Mountain Lion and click on the Continue button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.

  • Hulu not working on mac OS 10.6.8 with Safari 5.1.8 after updating Flash Player to version 11.7.700.169.  YOu tube works fine. Any ideas?

    I recently updated Flash PLayer to version 11.7.700.169 on my imac OSX 10.6.8 with Safari 5.1.8 browser and no longer get hulu to work. Scrren is black but audio is playing. You Tube continues to work fine.
    Any ideas?

    JavaScript and Cookies are enabled.  my cookies list shows at least 3 associated with hulu.  Funny thing is, if I grab the up/down control bar on right side of screen with my mouse, then hulu plays in a somewhat chopped frame by frame. As soon as I let go, the frame freezes yet audio portion continues.
    I don't know what a munged Hulu cookie is, however.

  • Flash only works for one user

    Using IE7. I have three users on my computer. All
    have Administrator level access. Flash only works for one of them.
    When attempting to play a video on YouTube for example it says "You
    either have JavaScrip turned off or an old version of Adobe Flash
    Player."
    JS is turned on and the current version of Flash Player is
    installed.
    So does anyone know what is going on here?
    Thanks

    I was able to fix my problem of Flash only working on user
    account. I did the following two steps to correct the problem:
    1. First uninstall the Adobe Flash Player plug-in and ActiveX
    control by following the instructions stated in
    tn_14157.
    2. Second Download SubInACL from Microsoft to fix permission
    issues that prevent the Flash Player installation by following the
    instructions stated in
    fb1634cb.
    Following the above two steps, fixed my problem of only
    having Flash run on only one user account. Now it runs on all four
    user accounts.
    As a side note: The Flash Player plug-in and ActiveX control
    would not run in user accounts with Limited access. But when I set
    the permission of the user account to administrative, then Flash
    would work.
    Regards,
    Bob

  • Flash Player only works for the account that downloaded it

    I downloaded flash player and did not specify any special preferences, however, it doesn't work for the 2 other accounts on the computer.  It only runs for the Administrator account from which i downloaded it. I'm running XP professional. Can someone tell me how to fix this?

    hi, i had already deleted cookies, temp internet files, etc;
    i only have the IE pop up blocker and blocking level set at Medium;
    it's the latest version of FP 10.0.45.2.
    I installed this version a couple of weeks ago and it worked ok for all accounts (the other 2 accounts are not admin) for a week. Then, it stopped working for all accounts, i reinstalled it (some trial and error involved), then when it finally reinstalled, only works for the one account. i just tried to reinstall from one of the other accounts and error mssg said  "failed to register"
    Date: Sun, 6 Jun 2010 11:20:59 -0600
    From: [email protected]
    To: [email protected]
    Subject: Flash Player only works for the account that downloaded it
    Hi ol, I would go to Tools, click on Internet Options and clear the Temp files. Delete Cookies, Delete Files, including the off line content. I would do this using all accounts. Also check the history files while you are there and delete those also unless you have done so recently.
    What version of Flash Player do you have Installed?
    Do you use any adblock or pop up blocker software?
    Thanks,
    eidnolb
    >

  • Flash player only works for user account installed with

    Hi all
    I've different user accounts on my PC for me and my son.
    Somehow Flash Player 10 only works for the user account I installed Flash player with.
    In case I install it using my account it will not work for my son's account and vice versa.
    How can I solve this?
    Thanks
    Mario

    I've struggled with this for a long time.  Here is what I've come up with.
    Adobe tech support recommended this:
    1. Log in as Admin
    2. Download the following zip file from here:
    www.supportflash.com/reset_all.zip
    3. Unzip this folder onto your desktop.
    4. Drag both files ‘reset_min_all.cmd’ and
    ‘subinacl.exe’ to your
    desktop.
    5. Run the reset_min_all.cmd file.
    6. It will open a DOS like terminal and start
    running through registry
    keys.
    7. When it is finished it will say “press any key
    to continue”.
    8. At this point you can install the latest Flash
    Player:
    for Internet Explorer:
    http://www.adobe.com/support/flashplayer/ts/documents/tn_19166/Install_F
    lash_Player_9_ActiveX.zip
    other browsers:
    http://www.adobe.com/go/getflashplayer
    9. Check that Flash Player is working for the
    Admin.
    10. Check that Flash Player is working as the
    other 2 users.
    I hope this information helps. Feel free to reply
    if you need further
    assistance on the issue discussed here or file
    a new case if you want to
    report a new issue in the Support Portal:
    <(><<)
    >http://www.adobe.com/go/supportportal>
    Thank you.
    Regards,
    Technical Support Engineer
    Adobe Systems, Inc.
    I can't recall whether I had to run this in each account or not.  It somewhat worked for me.  If the accounts were all set up as admin accounts, flash worked in all the accounts after that.  If one account was admin and the rest were limitied (I'm running xp home) it wouldn't work in the limited account.
    I gave up and reverted back to flash player 9 via NOrton go back
    It must be a permissons issue of some sort.  I just don't have the patience to figure it out.
    Good Luck,
    Let us know what you figure out

  • Create a worker in flash IDE?

    I'm trying to generate a worker swf from Flash CC.
    When I try to compile it using AIR 13 for android :
    var wtm:MessageChannel =  Worker.current.getSharedProperty("wtm");
    wtm.send('test');
    at runtime::ContentPlayer/loadInitialContent()
              at runtime::ContentPlayer/playRawContent()
              at runtime::ContentPlayer/playContent()
              at runtime::AppRunner/run()
              at ADLAppEntry/run()
              at global/runtime::ADLEntry()
    Is there a way to publish a worker swf from the IDE ?

    You send along some code but no FLAs (as you indicated) hehe. Here, this is a quick Main and BackWorker setup that merely inits a worker and send()s messages back and forth from the worker to main and main to worker. It works just fine in Flash CC. I'm targeting FP13:
    http://www.ertp.com/tmp/AS3WorkerCommExample.zip
    I'll paste the code because it's pretty small as well:
    Editing: Oy, tab pasting tabs isn't working yet *cry*.. Pasting in formatted from pastebin.com...
    Main.as:
    package 
            import flash.display.MovieClip;
            import flash.events.MouseEvent;
            import flash.events.Event;
            import flash.system.MessageChannel;
            import flash.system.Worker;
            import flash.system.WorkerDomain;
            [SWF(frameRate=30)]
            public class Main extends MovieClip
                    // worker SWF
                    [Embed(source="BackWorker.swf", mimeType="application/octet-stream")]
                    private var WorkerSWF:Class;
                    // worker object
                    private var worker:Worker;
                    // message channels
                    private var wm:MessageChannel; // worker to main
                    private var mw:MessageChannel; // main to worker
                    public function Main()
                            // inst worker
                            worker = WorkerDomain.current.createWorker(new WorkerSWF());
                            // worker to main channel setup
                            wm = worker.createMessageChannel(Worker.current);
                            mw = Worker.current.createMessageChannel(worker);
                            worker.setSharedProperty("wtm", wm);
                            worker.setSharedProperty("mtw", mw);
                            wm.addEventListener(Event.CHANNEL_MESSAGE, onWorkerToMain);
                            mw.addEventListener(Event.CHANNEL_MESSAGE, onMainToWorker);
                            // start worker
                            worker.start();
                            // ask worker if it's ready
                            mw.send("AREYAREADY");
                    protected function onWorkerToMain(e:Event):void
                            if (e.currentTarget.messageAvailable)
                                    // get message from worker
                                    var header:String = wm.receive();
                                    if (header == "YEP")
                                            trace("Worker is ready. Telling worker to get to work and send back data.");
                                            mw.send("WORK");
                                    else if (header == "NUMBER")
                                            var num:Number = wm.receive();
                                            // we know this is the data we wanted.. just 500 * 500 + 500 / 500..
                                            trace("Worker result: " + num);
                    protected function onMainToWorker(e:Event):void {}
    BackWorker.as:
    package 
            import flash.display.Sprite;
            import flash.system.Worker;
            import flash.system.MessageChannel;
            import flash.events.Event;
            public class BackWorker extends Sprite
                    // channels
                    private var wm:MessageChannel;
                    private var mw:MessageChannel;
                    public function BackWorker()
                            // init channels
                            wm = Worker.current.getSharedProperty('wtm');
                            mw = Worker.current.getSharedProperty('mtw');
                            // receive a message from main
                            mw.addEventListener(Event.CHANNEL_MESSAGE, onMainToBack);
                    protected function onMainToBack(e:Event):void
                            if (mw.messageAvailable)
                                    var header:String = mw.receive();
                                    if (header == "AREYAREADY")
                                            // yes.. I'm ready, send WORK
                                            wm.send("YEP");
                                    else if (header == "WORK")
                                            // receive message, sending back NUMBER header
                                            // then result of 500 * 500 + 500 / 500
                                            wm.send("NUMBER");
                                            wm.send(500 * 500 + 500 / 500);
    Traces:
    Worker is ready. Telling worker to get to work and send back data.
    Worker result: 250001
    As long as you export the BackWorker.swf in the same folder it'll find it and embed it, and use it. Let me know if you have any questions.

Maybe you are looking for