ActionScript that worked in Studio 8 fails in CS3

I have three lines in my code that worked just fine using the
Flash/Java Integration Kit when the movies I'm creating were built
using Studio 8. I upgraded to CS3 and now I can't publish. The
three lines are:
import com.macromedia.javascript.JavaScriptProxy;
var proxy:JavaScriptProxy = new JavaScriptProxy();
var proxy:JavaScriptProxy = new JavaScriptProxy(_root.lcId,
this);
The error is that the JavaScriptProxy can't be loaded, but it
exists on the server(s) where the final SWF will live. I'm
desperate for help. Anyone?
Thank you so much,
-Benjamin

Well, if it worked in Flash 8, you can just adjust your
publish settings to use "AS2" instead of "AS3". Try that first.
You may need to copy/paste the appropriate libraries from
your Flash 8 program directory into the Flash CS3 directory as
well, if they're not there.
You might want to start using ExternalInterface instead of
JavaScriptProxy (ExternalInterface was available as of Flash 8). It
makes talking to Javascript MUCH easier.

Similar Messages

  • Scripts that work in VSTS IDE fails when run through MTM.

    Hi, we have created scripts using VSTS Coded UI that work well when triggered from VSTS IDE itself. But when we trigger them through MTM and executed from Agent Machine, it seems that some controls are not being identified properly. This is causing scripts
    to fail intermittently.
    When we re run the script again, it passes. this behaviour is inconsistent.
    Since this issue does not occur in VSTS, it has to be somehow linked to how the scripts work through MTM. any guidance on this will be much appreciated

    Hi Vasanth,
    Thank you for posting in MSND forum.
    >>But when we trigger them through MTM and executed from Agent Machine, it seems that some controls are not being identified properly. This is causing scripts to fail intermittently.
    According to your issue, could you please share me the detailed error message after you run coded UI test some controls failed through MTM?
    In addition, as you said that since this coded UI test script work well by the VSTS IDE, so the issue is not related to the coded UI test project itself.
    Therefore, to check if this issue is related to the lab environment, I suggest you could try to create a simple coded UI test from VSTS IDE and then ensure the simple coded UI test work well from the VSTS IDE.
    Then, you could try to run this simple coded UI test by MTM and then check if you could run the simple coded UI test fine.
    (1) If you still could not run simple coded UI test well, I suggest you could try to restart your test agent machine and then check this issue again.
    (2) If you could run this simple coded UI test, I suggest you could to make Coded UI Tests Wait For Specific Events and then check this issue again.
    https://msdn.microsoft.com/en-us/library/gg131072.aspx?f=255&MSPPError=-2147217396
    In addition, if you are testing the web application for coded UI test, please try to check if the test agent machine's IE browser is same with the local VS machine. Sometime, the different version of IE will impact the coded UI test.
    If you have any update message about your issue, please free fell let to me know.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Script that works in command line fails in EM.

    Hi,
    I'm using AIX 5.3 and tivoli dpo 5.4.1. Oracle DB is EE version 10.2.0.3
    the following script works fine when I run it through a normal shell. (i.e. invoking rman by hand)
    RMAN> run {
    2> allocate channel oem_sbt_backup type 'sbt_tape' format '%U' parms 'ENV=(BLKSIZE=104857600, TDPO_OPTFILE=/usr/tivoli/tsm/client/oracle/bin64/tdpo.opt)';
    backup as BACKUPSET current controlfile tag '06052007023232';
    restore controlfile validate from tag '06052007023232';
    release channel oem_sbt_backup;
    3> 4> 5> 6>
    channel oem_sbt_backup: validation complete, elapsed time: 00:00:08
    Finished restore at 05.06.2007
    released channel: oem_sbt_backup
    RMAN>
    but the same script run through the Enterprise Manager console gives me :
    RMAN-03009: failure of allocate command on oem_sbt_backup channel at 06/05/2007 14:40:46
    ORA-19554: error allocating device, device type: SBT_TAPE, device name:
    ORA-27000: skgfqsbi: failed to initialize storage subsystem (SBT) layer
    IBM AIX RISC System/6000 Error: 610: Unknown system error
    Additional information: 7011
    ORA-19511: Error received from media manager layer, error text:
    SBT error = 7011, errno = 610, sbtopen: system error
    And I cannot find anything from this message (errno=610) in metalink, google or here.
    dsmerror.log and dsmoraerror.log tell me nothing, neither does sbtio.log. tdpoerror.log is empty.
    In fact everything is look fine except for EM failing to backup to tape.
    Does anyone know what is happening or what that error means?
    Thank you for your time.
    Regards
    Oli

    Have you configured your default channels from OEM, try configuring all your default channels at RMAN level, so that you dont have to specifiy in run { } script;
    For Eg. in my environment , i have following settings and backup command works fine both from shell and grid
    its Oracle 9.2.0.6
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 3;
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK;
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/rman_backup/%F';
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE 'SBT_TAPE' TO '%F_TAPE_CONTROLFILE';
    CONFIGURE DEVICE TYPE 'SBT_TAPE' PARALLELISM 4;
    CONFIGURE DEVICE TYPE DISK PARALLELISM 5;
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE SBT_TAPE TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/rman_backup/d_%d_s_%s_p_%p_t_%t' MAXPIECESIZE 1536 M;
    CONFIGURE CHANNEL DEVICE TYPE 'SBT_TAPE' MAXPIECESIZE 1536 M PARMS "ENV=(NB_ORA_CLIENT=topdb1,NB_ORA_SERV=ilsdb2)" FORMAT 'd_%d_s_%s_p_%p_t_%t';
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/opt1/app/oracle/product/ora92/dbs/snapcf_topaz.f'; # default
    BACKUP DEVICE TYPE SBT CURRENT CONTROLFILE;

  • After installing the latest version of ITunes I get an error message that says this application has failed to start because MSVCR80.dll was not found.  how do I get Itunes to start working again?

    After installing the latest version of ITunes I get an error message that says this application has failed to start because MSVCR80.dll was not found.  how do I get Itunes to start working again?

    See... Unable to install or open > http://support.apple.com/kb/TS5376
    Also See this User Tip by turingtest2
    https://discussions.apple.com/docs/DOC-6562

  • Windows 7 crashed after Creative Suite 6 Design and Web Premium completed an update. The only Windows restore point that worked was pre-installation of CS6 software. Now when trying to reinstall I get the 'installer failed to initialize' message. Have tri

    Windows 7 crashed after Creative Suite 6 Design and Web Premium completed an update. The only Windows restore point that worked was pre-installation of CS6 software. Now when trying to reinstall I get the 'installer failed to initialize' message. Have tried using the CC Cleaner Tool but nothing works? Any solution please. Was new computer and newly purchased CS6 software downloaded 2 days prior to the upgrade.

    make sure you follow all the steps here, Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6

  • How can I obtain a version of Print Studio Pro that works with Photoshop Elements 13 (64 bit)?

    How can I obtain a version of Print Studio Pro that works with Photoshop Elements 13 (64 bit)?  The advertising refers to Print Studio Pro 2 but all I find available to download is version 1.35.

    Thanks - I did notice that the 2 was a superscript on one site but on another (I think the one for the Pro-10 printer) it was definitely a 2 in line with the rest of the text and separated by a space (at least on my browser).  At any rate, I suspected something of the kind and will simply use Photoshop Elements 11 when I want a pattern print until the change is made.
    If you have an inside line to Canon you might also suggest some changes to their Image Garden program, specifically its handling of DVD label projects.  It has several themes and within each theme several layouts.  As far as they go these are fine but they do not give nearly enough flexibility.   The boxes for insertion of images are useful as is the simple procedure for rescaling the image so it is cropped in varying ways while staying within the fixed box.  However, it should be possible (a) to relocate the boxes on the page and (b) to resize and reshape the boxes - probably by a control which would become available by right-clicking on the box.  For example, there are times when the user might want to include a full 16 x 9 frame shot as one of the images, and in general the aspect ratios of the provided boxes do not permit this.
    I have over the years preferred to use Word for this purpose after setting up masks to expose just the printable area of the DVD or Blu-ray disc, setting up the margins so that the center of the disc is in the horizontal center of the page, and finally introducing text and pictures and adjusting the font size of blank lines above the disc to line everything up properly in the vertical direction.  A typical layout might involve one large picture, located so the center hole and the curved outer edge do not block anything important, or two pictures side by side, or four pictures centered vertically (to minimize the effect of the outer edge of the disc) but possibly of different widths (so as to make both close-ups and wide scenes optimal on the same disc label).  The text then goes above and below the pictures.  All of this works perfectly so I probably wouldn't use Image Garden very often for this purpose, but the inability to resize and relocate the boxes must be very limiting for others as well. 
    Some of the layouts have image locations severely reduced by the edge of the disc.
    As I said ... if you have an inside line to Canon .. but if not, please excuse the length of this post!

  • RMI in 1.3.1 vs. 1.1.7 - code that works in 1.1.7 fails in 1.3.1

    I have an RMI server and client that works great under JRE 1.1.7. At initialization, the server installs RMISecurityManager, creates a registry using LocateRegistry.createRegistry(), creates a remote-server object and registers it in the registry. This set-up takes roughly 1 second. Clients are able to locate the remote object by its registry entry and make remote calls without trouble.
    Under JRE 1.3.1_03, this same code, unchanged, is totally worthless. The server initialization takes nearly 3 minutes. The LocateRegistry.createRegistry() call alone takes 40 seconds. Client code takes 2 minutes to locate the remote object by its registry entry, and then all remote calls fail with this exception: java.rmi.UnmarshalException: invalid method hash.
    I realize that "invalid method hash" is supposed to mean that the remote interface used by the client is out of synch with that used by the server, but I can't figure out how this might be. I've deleted all .class files from my project and rebuilt entirely from scratch. Everything compiles cleanly.
    I'm running this under NT 4.0 Workstation SP6. My code is built with Visual Cafe 4.1. (Please don't hold that against me. I know Cafe sucks, but it did produce working code.) I've tried switching Cafe's VM to 1.3 but that didn't help. I've tried creating new stubs manually with "rmic -vcompat" but those stubs are identical to the ones created by Cafe.
    When I threw out 1.3.1_03 and reinstalled JRE 1.1.7, all my code worked again.
    Any ideas? I'm stumped and will appreciate any suggestions.
    -hersker

    Progress report for those who might be interested:
    * Persuade Visual Cafe to not generate ANY stubs or skeletons.
    Either use -normi with the sj.exe compiler,
    or change the project options to use the Sun compiler.
    * Use JDK's rmic with -v1.2 to generate the stubs (no skeletons)
    * Create the RMI server's Jar directly with JDK's jar utility.
    Cafe's archiver appears to be stuck on having skeletons
    and can no longer be used for the server Jar. It can still be
    used to create the client Jars, however.
    This produces an RMI server and client that run under 1.3.1
    without the "invalid method hash" UnmarshalExceptions.
    Of course, it will no longer run under 1.1.x -- <sigh>.
    But the performance problems remain:
    * LocateRegistry.createRegistry() takes 40 seconds
    * Client code takes 2 minutes to locate the remote object by its registry entry
    I'd welcome suggestions from the experts out there.
    -hersker

  • Recording Interfaces that work with Logic Studio

    Hey there! I'm pretty much a noob to Logic Studio. I've been using garageband and reason 4 before that. I've had an M-Audio Fast Track that worked alright with Garageband, but it won't work with Logic, at least for me. I did some research and found out that this happened for most people.
    So I was wondering, what's a good recording interface that would work well with Logic (which should then work with garageband) that works very well and worth the money that's paid for it?
    Specs:
    Macbook Pro
    version 10.5.2
    2.4 GHz Intel Core 2 Duo
    2 GB 667 MHz DDR2 SDRAM
    Thanks alot.

    Welcome to the forum jareddddddd, i do believe the problem your having with the M-Audio is the the drivers for intel, at the moment are Beta drivers.
    Beta meaning they are going thought testing and isn't official drivers, therefore it might work or it might not.
    As flood123 said the Duet will be much better, compare to low end M-Audio interface, which will sound far better and integrates well with Logic.
    Also Fire-Face by R.M.E is a good interface, almost forget to mention Lavry interface which sounds way better than the two already mention that's only my opinion though.
    Personally i have found it to be my preferred choice compare to Apogee low end interface that hasn't got the C77 clock work that Apogee flag-ship interface has, such as the Rossette 800 and AD/DA 16 carries.
    Try and find a local music store and try out a few interface that is hook-up to L.P. by Fire wire and maybe you'll have a better choice in choosing.
    Fr.BlayZay.

  • Final Cut Studio 7 full suite -- Cheapest priced new computer that works?

    I purchased the full retail FCS 7 suite along with Logic 9 Pro.
    My shoots are basic music video's and shorts shot with Canon consumer level amateur camcorders, mini dv and hard drive in both standard and HD, Elura 100, Optura 50, HV20.
    I can shoot and record everything in standard definition if I need too.
    I just want to learn how to run this software in a real time editing situation, and finished product situation that works.
    Simple stuff.
    Which is the minimum computer that will function realistically and efficiently in all suites please.
    I have the learning books and DVD's.
    I just want to learn efficiently.

    Would this do it effectively.
    Refurbished iMac 27-inch 2.66GHz Quad-Core Intel Core i5
    27-inch LED-backlit glossy widescreen display
    4GB memory
    1TB hard drive
    8x SuperDrive (DVD±R DL/DVD±RW/CD-RW)
    ATI Radeon HD 4850 graphics with 512MB memory
    Built-in iSight camera
    $1599 @ Apple Refurb Store

  • Are there ANY firewire interfaces that work with 24" imac 2.16 Core 2 duo?

    This is really getting frustrating. I have now tried and failed at getting both an m-audio profire lightbridge and a TC electronic studio konnekt 48 to work on this computer. Both interfaces were tested with Leopard and Tiger, no success.
    My computer is NOT the aluminum imac, it's the earlier whiteface version, so it's supposed to have the TI chipset(I've been told that the aluminum imacs don't work because they have a agrere chipset....) The firewire port works fine with an external hard drive, but no one seems to be able to write software drivers that work.
    If anyone is successfully running a firewire interface with this model computer please let me know what OS you are running, the interface, and what software you are using.
    I'm starting to think that the problem is on apple's end, it shouldn't be this hard for third party manufacturers to write reliable drivers. both m-audio and tc electronic's forums are littered with complaints about bad drivers for the last year or so.
    Message was edited by: MNMinstrel

    Yildox - I've been doing a little more research... Your imac has a known problem, it's the particular firewire chipset it uses, made by Agere. The older white versions have a Texas instruments chipset, which is supposed to be better, though I haven't had any success with mine so far in the audio interface department.
    I really think that the problem is bigger than that though. Everyone having a problem with a firewire audio interface seems to have one similarity, a mac made in the last 2 years running OS 10.4.9 or later.

  • Actionscript not working right

    hi
    sorry if this is the wrong place to post this, but it seems like the right place.
    basically, i have some actionscript which works fine when i export an SWF using flash, or run the swf as a standalone, but when i make the SWF a projector / exe file, the actionscript fails to work correct.
    what the actionscript is, is an rss feed that scrolls, and when it gets to the end its supposed to refresh and continue scrolling.  as an exe its scrolling fine, but not refreshing.  it picks it up when it first runs, but nothing after that.  when i run the SWF it refreshes fine.
    is there something in the settings that i need to change?
    hope that this makes sense.
    Thanks

    ignore this, i've sorted it.  didn't realise that in the flash player settings manager you could put in EXE's as well.  put it in, and it works fine.
    sorry should have looked at that first!!!

  • Help - installing final cut studio keeps failing

    I am trying to install final cut studio - I selected all options for download, got to the part where the audio content 1 disc was asked for, at some point in that it asked for the original install disc - which I put back in, and then the installation failed.
    I attempted re-installation 3 more tomes - always failing at this point.
    Anyone experienced this or know what I should do now?
    ThankYou

    Hello
    I did as You suggested and it still fails at the same place, with the same generalised message - ie "the Installer encountered an error that caused the installation to fail".
    Can it be an issue to do with licensing? My co-worker and I work in the same organisation - he has it loaded onto his macbook pro and said it had two "usages" available, and so I would be able to do the same(the organisation owns the software). I may be a bit innocent(!) but it wouldn't suprise me if programmers embedded such checking procedures to take place during installation - and the message given in relation to it be general - like it's failed but not specifically saying why. Or am I being overly "worried"!!!

  • Logic 8:  Plugins that WORK!

    Post plus that WORK here, not the ones that don't please.
    (All latest versions updated from sites today)
    Ozone
    Trash
    Vinyl
    Spectron
    Melodyne Plugin
    Melodyne Studio
    UAD-1 4.7.1
    Liquid Mix 2.x
    URS S-Series EQ

    Stylus RMX
    Atmosphere
    Trilogy
    Absynth
    AIR (Kontakt Player)
    Darbuka
    The multi-out versions don't work on RMX or AIR (or anything 3rd party from what I can tell), I think this is a pretty confirmed bug. I'll also note that my ohmforce plugs don't work/failed validation, but I do need to update them.

  • Script that worked in CS does not work in CS4 - multiple open page, print , pdf export and close

    I had a script that worked great for me in Indesign CS. But now does not work in CS4. Anyone knows what needs to be done to make it work again ?
    When I drop folder with indesign files on top of this script:
    1. opens first page
    2. turns specific layer on
    3. prints using preset
    4. exports using preset
    5. close without saving
    6. next page
    Anyone who can give me solution or idea how this should work is greatly appreciated.
    on open sourceFolders
    repeat with sourceFolder in sourceFolders
    tell application "Finder"
    try
    -- If you would like to include subfolders, you say - every file of entire contents of folder…
    set idFiles to (every file of folder sourceFolder whose file type is "IDd5") as alias list
    on error -- work around bug if there is only one file
    set idFiles to (every file of folder sourceFolder whose file type is "IDd5") as alias as list
    end try
    end tell
    if idFiles is not {} then
    tell application "Adobe InDesign CS4"
    set user interaction level to never interact
    repeat with i from 1 to count of idFiles
    open item i of idFiles
    tell document 1
    try
    set visible of layer "ImagesTag_Layer" to true
    end try
    set myPreset to "letter size" -- name of print style to use
    with timeout of 700 seconds
    print using myPreset without print dialog
    end timeout
    set myPreset1 to "pdf preset name" -- name of pdf export style to use
    set myName to the name -- name includes .indd should remove at some point          
    with timeout of 700 seconds
    export format PDF type to "users:temp:Desktop:pdf:" & myName & ".pdf" using myPreset1 without showing options -- set path here format ComputerName:Folder1:Folder2:......:FileName.pdf
    end timeout
    close without saving
    end tell
    end repeat
    set user interaction level to interact with all
    end tell
    end if
    return 10 -- try again in 10 seconds
    end repeat
    end open

    (Disclaimer: me not an AS guy!)
    First thing I noticed is the interaction level is set off. If you comment out this line
    set user interaction level to never interact
    you might be able to pinpoint the exact error -- ID will display a standard "failed" dialog, hopefully showing the line that it fails on.
    A quick question: the script assumes two presets in your InDesign: one for print ("letter size") and one for PDFs ("pdf preset name"):
    set myPreset to "letter size" -- name of print style to use
    set myPreset1 to "pdf preset name" -- name of pdf export style to use 
    Do these actually exist in your CS4, with the same (non)capitalization and spaces?

  • Is there a NAS box that works well with OSX

    I've always struggled with NAS boxes & OSX.  Sure, I can connect them up, and copy files to and from a mac, but eventually I always seem to run into issues.  Suddenly I can no longer access the files, or I can no longer connect at all, or it fails to connect with a specific user, etc.   I end up grovelling around support forums, typing sudo this & sudo that and eventually I can access the files again - until the next time.  They seeem to be more trouble than they are worth.  At least for me.  I've had these problems with Leopard, Snow Leopard & now with Lion.
    I've got a macbook pro that only I use, plus an iMac that all the family use (including me).  What I want to be able to do is to have a NAS box set up with a private share for each member of the family that only they can access, plus a public share that everyone can copy files to and from. 
    I want to be able to access the public share from both computers at the same time. 
    Suppose my wife is logged on on the iMac, and she's streaming a movie from the public share using iTunes to the ATV2.  I want to be able to fast-user-switch to my account & access the files in the public share, and also my private share.
    I want to be able to access files on my private share from both my macbook pro and the iMac.  At the same time.
    I want family members to be able to access their private shares, and also the public share from their Windows laptops as well as the iMac.
    I can't see the problem with doing these things.  As long as permissions a managed by the NAS box not the individual pcs & macs it should be easy.  But of course it isn't!
    Does anyone run this sort of setup, where it works seamlessly?  If so, what sort of NAS box are you using?
    If not, maybe the way to go would be to get a Mac Mini and set it up with Lion Server as a file server.  Would that work better?

    You're welcome - make sure you follow Epson's instructions when you get it; don't know if they've changed it, but about 2 years ago, I had to connect it via USB first before connecting it wirelessly; also had to get the MAC address via the setup on the LCD panel so the router could recognize it.
    Some of that has gotten easier/automatic with Lion, so just be sure you follow whatever the quick setup sheet says. Their support is pretty good, they usually respond within a reasonable amount of time.

Maybe you are looking for