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.

Similar Messages

  • Flash plugin created not working in flash player 10.1 (release - not beta)

    Hello, i wrote a plugin using flash (you can click on the preview button to see it):
    http://activeden.net/item/shiny-plugin/94112
    It worked perfectly on all the previous flash player versions and in the new flash player 10.1 you can see the effect.
    Actionscript wise -  it draws lines at various angles and then apply gradient glow on them.
    If you re-install the previous version the plugin works again. any clue why is it happing? Thanks.
    =====================
    System: Windows 7-64Bit
    Flash player: 10.1
    CPU: Intel Core 2 Quad 2.4MHz,3GB RAM
    GPU: Nvidia 8800 GTS
    =====================

    Thanks for the quick response! here is the file list (all file versions are 10.1.53.64):
    C:\Windows\SysWOW64\Macromed\Flash:
    Flash10h.ocx
    FlashAuthor.cfg
    FlashInstall.log
    flashplayer.xpt
    FlashUtil10h_ActiveX.dll
    FlashUtil10h_ActiveX.exe
    install.log
    NPSWF32.dll
    NPSWF32_FlashUtil.exe
    uninstall_plugin.exe
    C:\Windows\SysWOW64\Macromed\Flash\FlashPlayerTrust:
    Adobe Search For Help.cfg
    AdobeFireworksCS5.cfg
    AdobeXMPFileInfo.cfg
    AdobeXMPFileInfoCS5.cfg
    kuler.cfg
    ServiceManager.cfg
    I also made sure all the addson are enabled. Still doesn't work.
    disabled hardware acceleration.Still doesn't work.
    the last resort is will try to update the GPU driver - as ʇɐb ɹəuəllıʍ said.
    I will keep you posted either way. thanks

  • Facebook connection using Flash IDE

    Hi,
    Ok so for many months now I have still been trying to find a decent tutorial on how to make a connection with Facebook using AS3 and the Flash IDE.
    I must of tried over 50 tuts by now and none seem to work. Obviously the update of the API causes issues however I've yet to find one tutorial which actually works and can bring in profile info like name, friends list and profile pics.
    Does anyone know of any tutorials showing this and how to achieve it?
    p.s please don't point me to the Adobe docs or Flash API wiki as their information and documentation is out dated. I have gone through all their examples with no success.
    I can only find examples for Flash Builder and maybe Flex, but I work with Flash IDE (5.5).
    What I want to do is to be able to connect to FB through Adobe AIR on my iPhone. I'm pretty skilled in as3.0 and adobe air for mobile and have done several games, I just don't know how this FB works and no tutorial seems to work anymore etc.
    Please, if you know how this works, can you please tell me?
    Much much appreciated

    I can help better if you can write the steps you followed and the places where you got stucks or errors that you see.
    Here are the general steps that you need to perform.
    1. Add reference to the facebook API SWC library in your project.
    2. call FacebookMobile.init(APP_ID,callback);
    3. In callback of init the signature is of this form private function callback(session:Object, fail:Object):void . If you get a non-null session it is of type FacebookSession and you need to check if you already have a valid acces token. to do this check if you have a valid (non-empty non-null accessToken) and expiryDate is still not elapsed. Otherwise you will need to call login method.
    4. If you do not have a valid accessToken you should call FacebookMobile.login. Which will ask the end user for credentials and athunticate the user. an example call I have used is as follows
                    var swv:StageWebView = new StageWebView();
                    app.stage.addEventListener(Event.RESIZE,function(e:Event):void{swv.viewPort = new Rectangle(0,0,app.stage.stageWidth,app.stage.stageHeight);});   
                    FacebookMobile.login(handleLogin,app.stage,['user_photos','friends_photos','user_photo_video_tags','friends_photo_video_tags'],swv);
    5. in handleLogin (Signature is same as that of init callback) if session still happens to be null the login attempt is failed and you can start inspecting the fail object for reason.
    6. If you get a valid session. You are all set to call the API and get the data that you want for eg. you can use something like following to get all information about the logged in user.
                var p:Object = new Object();
                p.limit = 0;
                FacebookMobile.api("/me",function(result:Object, fail:Object):void{
                    if(null == fail){
                        // process result for eg. result.name, result.username, result.gender, result.first_name
                    }else{
                },p);
    For the different api calls (The way I have used "/me" you can visit Graph API explorer)
    Please revert back for any issues that you find.
    I am working on a tutorial that allows one to use the Facebook Single Sign-On Feature in order to authenticate and authorize. Read more about it here. I will release the tutorial ASAP on my blog.

  • Compile .fla files without Flash IDE

    i need to know whether this can be possible or not....
    My aim is to compile bulk FLA's (say 50). can we compile .FLA's without using Flash IDE using command Line?
    If so how it can be done. please provide with an example.
    I have used JSFL concept for publishing bulk FLA's. But it will work using Flash IDE. This is not what i need.
    I need to compile or publish the FLA's using CommandLine or Batch Files.
    Please reply to the post ASAP

    I've been looking fro the same answer for quite some time, I do not think compiling without the IDE is possible ( if you absolutely need the assets from your flas, that is), I have since changed my workflow to accomodate foe this shortcoming.

  • 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.

  • URLLoader not working in any browsers but fine in the Flash IDE

    I have a problem that seems very strange. A flash script is using URLLoader to update some records and send back a message.
    In the flash IDE there is no problem. However, when I upload to the server, or viewing the swf file locally in any browser, the browser just hangs and does not show anything.
    I have also added a IOErrorEvent.IO_ERROR handler which does not give me any information.
    The URLloader is communicating with a php script. I have found out that it works with a .txt file.
    Is the anything that needs to be included in the php script?
    Thanks in advance.

    Hi Everyone
    I have managed to find the answer.
    The PHP script had a comment line after the echo statement. Once this was removed the application started the work fine in all the browsers.

  • Flash IDE randomly creating Symbols

    Hey There
    For some reason I have not been able to figure out, every so
    often I'll look over at my Library in the Flash IDE and see (at the
    bottom of the Library list) a bunch of numbered Symbols that Flash
    has (apparently) just randomly generated on its own. The symbols
    are always of other elements in the project that are already in the
    Library, and they get names like Symbol 81, Symbol 82, Symbol 83.
    It's so weird, and annoying (especially since its adding to my file
    size!)
    Anyone know what's going on here?
    Thanks,
    Graham

    Nope. The same darn thing is happening to me. I import a SWF
    and it breaks into pieces, adding fragments to the library of
    bitmaps and symbols named stuff like "symbol 82" and "symbol 83."
    No tweening going on. I hope someone can help!

  • Adobe Flash IDE: Migration/Compatibility issues between Adobe Flash Professional CS3 and CS5

    Hi,
    Adobe Flash IDE: Adobe Flash CS3 Professional and Adobe Flash Professional CS5
    I am facing some  migration/compatibility issues between Adobe Flash CS3 Professional and Adobe  Flash Professional CS5:
    I am working on a project that has  been completely developed in CS3 earlier. When I am using CS5 (Flash Player 9 /  Flash Player 10) to compile the FLA files, it is creating some new issues like  some customized radio buttons are getting disappeared while viewing the SWF on a  web page etc.
    So, I would like to  know:
    1) Is there any  migration/compatibility issue between Adobe Flash CS3 Professional and Adobe  Flash Professional CS5?
    2) If yes: Is there any patch  available from Adobe for it?
    3) If no: What could be the causes  and the best possible solutions for it?
    Any help and support would be highly  appreciated. Many thanks in advance!
    Thanks & Regards
    Amit

    Apparently some people have issues, but I don't think it is across the board.  Here's a link to another recent posting that may or may not prove helpful to you...
    http://forums.adobe.com/thread/776615?tstart=60

  • 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>

  • Does Flash IDE compiler follow symlinks?

    I am using Flash CS4 10.0.2 on OS X 10.6.3.
    I have a Flash project in a dir:
    $ ll
    -rw-r--r--@ 1  jfassett   jfassett   4.5K  8 Apr 18:04 Navigation.as
    -rw-r--r--@ 1  jfassett   jfassett    59K  8 Apr 16:44 Navigation.fla
    -rw-r--r--@ 1  jfassett   jfassett   547B  8 Apr 18:05 Navigation.swf
    lrwxr-xr-x  1  jfassett  jfassett    29B  8 Apr 18:05 com -> /project/kiln/as3lib/src/com/
    -rw-r--r--@ 1  jfassett   jfassett   563B  8 Apr 17:55 data.xml
    You can see I have the directory com as a symlink to another location on my hd. If I try and import files from the com directory into Navigation.as the Flash IDE cannot find them saying:
    1172: Definition com.zoogeny.resource:ResourceService could not be found.
    It works using mxmlc:
    $ mxmlc Navigation.as
    Loading configuration file /Applications/Adobe Flash Builder Beta 2/sdks/3.4.1/frameworks/flex-config.xml
    /Users/jfassett/Documents/_work/freelance/fdsdevelopments/Navigation.swf (4434 bytes)
    Should the Flash IDE also be following the symlinks?

    Suppose not.
    Defect created: https://bugs.adobe.com/jira/browse/SDK-30475

  • What Viewer Will Work In Flash Catalyst

    I got simpleviewer to work until I closed the project and the folders I loaded into the workspace folder were not saved.  I tried the demo of Slideshow Pro, but it gives me no idea of if it will work in Flash Catalyst or how I would install it.  Is there any kind of viewer that I can use to create a picture gallery in Flash Catalyst or do I need to build one in Flash Catalyst with a data list?

    I took a look at the tutorial PSD file and couldn't find anything wrong with it.
    When you save your project file, the only file that it should save is the ecotours_ui.fxp file. The ecotours_site.fxp file was one that was bundled in the tutorial files .zip package.
    It shouldn't be a problem that you have the CS3 versions of Photoshop and Flash. As you have said, you are not running them. The lack of RAM could possibly be an issue. Another possibility might be some permissions getting in your way. Have you checked to see if the files or folders that got unzipped will allow you to write to them?
    -Adam Altman
    Catalyst Engineering

  • How come querystring variables don't work with Flash Slide Presentations

    How come querystring variables don't work with Flash Slide
    Presentations
    When I create a regular new Flash FLA and publish it I can
    add a querystring to the file name in the object tag and get that
    value back in the flash move like this:
    myflashfile.swf?myname=andrew
    But when I try the same thing using a new Flash Slide
    Presentation with screen, it doesn't work.
    Is there something I'm missing that I'm not aware of or does
    the Flash Slide Presentation not support the use of querystrings?
    I have tried this using a mix of PC and Mac with MX2004 Pro
    and Flash 8 Pro.
    Any reference links or ideas are much appreciated.
    Thanks,
    Andrew

    Good info found here:
    http://flashmx2004.com/forums/index.php?showtopic=971&hl=query

  • Flash IDE duplicates objects on drag

    Hi!
    I have a problem with the Flash IDE which I've been trying to solve for weeks and nothing works. I've tried disabling plug-ins, re-installing... nothing helped.
    Every time a try to move an object on the scene in the IDE it duplicates the object instead of moving it. When I click on an object and start dragging it I see a "+" icon next to the arrow instead of the "move" icon.
    Any help will be really appreciated!
    Thanks!!

    Hi fringe_fan,
    Thank you so much for posting the solution to your problem.  I just upgraded to Lion a few days ago and started experiencing the same exact issue you described in your original post.  (Alt/Option key seems like it's stuck / Duplicating objects on stage just by clicking and moving the object.)  My main problem was not being able to curve a straight line with the Arrow tool.  Instead it would create a corner point as if the Alt/Option key was being held.  After a couple of hours crazy Google searching I finally found your thread!
    I did not have AirParrot installed, but after finding out what kind of program AirParrot was, I realized I had a similar program called AirDisplay installed.  (I also found out that AirDisplay and Lion do not play well together!)  So I immediately removed AirDisplay and BAM, my Flash Professional started working again!
    Thanks again for posting your solution.  You have saved me lots of time and frustration!!
    I tried to be thorough in my post just incase someone else is using the same keywords trying to find a solution to this problem.

  • Captivate 4 AS2 Text Entry Box not working with Flash Player 11

    I am having issues with text entry boxes not working at all in flash 11. I am using Captivate 4 and exporting an AS2 swf. When you get to the slide you can type but you cannot see anything nor does the button or keystroke to move on. Also there is no cursor. Any ideas?

    You said it is not working with Flash 11, so does that mean you tested with previous version and that worked?
    While publishing choose Flash player as 9 and publish that, verify if that plays in a compatible web browser.
    AS 2 is a legacy scripting, it has been said not too be supported with even Flash Player 10 --
    http://help.adobe.com/en_US/AS2LCR/Flash_10.0/help.html?content=Part2_AS2_LangRef_1.html
    I believe if you switch back to version 9 while publish your project, it should work.
    Thanks,
    Anjaneai

  • Flash IDE Components in Flex 3 Design Mode. Can they be visible there?

    Hi,
    Im exploring Flex to get a grasp on its concepts and am currently looking into building components in the Flash IDE. Though i guess its likely that when you're more familiar with Flex you build your components in Flex, like said Im exploring its concepts and like to know where and how the Flash IDE fits in its workflow.
    I made a simple Flex Component in the Flex IDE, which shows up fine when I run the Flex project. But it does not show in Flex Design Mode.
    I have exported the component from Flash as an SWC and added the SWC to the Flex library path. The symbol in the Flash IDE extends UIMovieClip. Now I read in 'Using Adobe FlexBuilder 3' (p.67) that the Flex Components panel only lists visible components, according to the documentation 'components that extend UIComponent'.
    Note that my question is about being visible on the stage in Design Mode, not in the component panel. As UIMovieClip doesnt inherit from UIComponent (and the UIComponent class doesnt seem to be available in the Flash IDE), is this also the cause that the Flash IDE component is not visible on the Flex stage in Design Mode?
    Can someone confirm, or deny this?
    Regards,
    Marcel

    Hi Latha,
    thanks for your feedback. Reading it back though, Im still not sure whether Flex components build in the Flash IDE (using the Flex Component Kit for Flash CS3) can be visible in Flex 3 Design Mode.Maybe you can be a bit more specific and save a lot of Flex beginners a lot of headaches.
    I understand that MXML components can be used in Design Mode. I also understand that if your component is AS you have to create a Library and link that to your project to make them visible in Design Mode. I also understand that Flash Builder 4 does "support rendering of UIMovieClip objects which are in library (swc) and added to the project build path"
    This actually doesnt answer my question really. Does this mean there is no way to render Flex components build in the Flash IDE (using the Flex Component Kit for Flash CS3)  in Flex 3 Design Mode?
    Regards,
    Marcel

Maybe you are looking for

  • Src/wwu directory does not exist

    Chapter 3 of three of the Single Sign-on Administrator's Guide (Rel. 3.0.9) refers to 'ssoexp.csh' in the "src/wwu directory in which Portal is installed". What are they talking about? I found an "ssoexp.csh" in ".../Portal30/admin/plsql/wwu" that I

  • Failed to fetch a list of all custom record types

    Hi, I tried to fetch a list of all custom record types. I tried with below piece of code, but failed with below error message. Can anybody help me to resolve this issue: CustomRecordTypeReadAll_Input cusRecTypeAllIn = new CustomRecordTypeReadAll_Inpu

  • How to use dbms_java.grant_permission

    i am trying to execute the following statements in oracle9i, i got an error SQL> call dbms_java.grant_permission('scott','java.io.FilePermission', 2 'C:\framework\Shell Scripts\testscripts\*', 3 'execute'); call dbms_java.grant_permission('scott','ja

  • Jbuilder, RMI, ServerException, UnmarshallException, CommitSuicideExc....

    Hi Hero's I have posted one message before about RMI and JBuilder, but no answers there. I have browsed through following previous topics: http://forum.java.sun.com/thread.jspa?forumID=58&threadID=142221 http://forum.java.sun.com/thread.jspa?forumID=

  • Idocs Vs RFC's

    Which is used when and why?Where are Idocs preferred and where are RFC's preferred?