Upgraded to CS3 - Script not woriking now

Hello. Small ActionScript issue here. I've got a flash
animation embeded in a html file. If at any point you want to skip
the animation and proceed to the next page in the html course you
can by clicking a button. This button contains the following
ActionScript:
on (release) {
getURL("javascript:cDone()");
stop();
And when the animation comes to the end:
getURL("javascript:cDone()");
stop();
It's been working fine until I recently upgraded to Flash
CS3. This script seems to work only upto Flash Player 6. What
changes to I need to do to this script to make it work?
Thanks. Help appreciated.

Hi. You didn't mention whether or not you're using the AS2 or
AS3 compiler. I'll assume you're
using AS3.
if you are trying to call javascript functions that are
embedded in the html page,
read the built-in documentation on
ExternalInterface.call()
AS3 seems like alot of extra typing alot of the time, but
it's neat methods for the built in Classes like this that make it
worth the effort.
Adding scripts directly on buttons isn't allowed in AS3.
You'll need to attach a listener with an event handler that
calls your script.
import flash.events.*;
package{
var myButton:Button=new Button();
myButton..addEventListener(MouseEvent.MOUSE_DOWN,loadMyScript);
//function called when myButton is pressed
function loadMyScript(event:EVENT):void{
ExternalInterface.call("jsFunctionName";"parametersToPass");
hope this helps. :)

Similar Messages

  • How I will be able to download or upgrade Indesign, upgrade fron CS3 to Cs5.5 or Download Indesign 5

    My In Design from my CS5.5 don't install some components they are wrong o corrupted. So I have installed my old CS3 to see if I can upgraded to CS5.5. It is posible to do that. Or How I can download Indesign CS5.5.
    Yours sincerely
    Aji-Picante

    You cannot upgrade from CS3 to CS5.5 now as CS5.5 is no more in picture. Instead, you can upgrade to CS6.
    However, if you need the download link for inDesign or any other CS5.5 applications, you can use the below link to download them and then serialize using your serial key for CS5.5
    http://prodesigntools.com/adobe-cs5-5-direct-download-links.html
    Make sure to read the download instructions properly before downloading CS5.5

  • Getting really frustrated! I bought Photoshop 7, upgaded to CS2 then upgraded to CS3, now I have had computer problems and looks like both are now gone, they were not de-installed. I have limited bandwidth (I live int he country) and need a new box versio

    I bought Photoshop 7, upgraded to CS2 then upgraded to CS3.  I live in the country and have limited bandwidth for my internet, therefore, the cloud will not work and I must have a box version. In Jan Best Buy did work on my laptop and did not de-install CS3, now my desktop has died and believe CS3 on it is also gone. I have the serial numbers and can not find how to contact Adobe.
    I only use it for photography and do not want CS6, so I need help, can anyone help me. Thanks a million.

    Why on Earth are you getting frustrated?  ?? !!  
    You don't even need to "contact Adobe", unless you need to activate that old deleted version.  You are entitled to two activations.
    Just download the CS3 trial version and input your serial numbers (the installer might prompt you for the previous serial number since your CS3 probably has an update s/n).
    Download CS3 products  <=== click on link
    Anytime you want to look for something on the Adobe site, just do a Google search and add "site:adobe.com" (without the quotes) at the end of the string of keywords, for instance, this what to type in Google to find the CS3 downloads:
    download Photoshop cs3 site:adobe.com
    Just change "CS3" for whatever version you want.
    Using the Adobe web site search function is futile.
    Now, if you had two activations already, just call customer service and they will deactivate one or both for you—after quickly verifying your registration..  No big deal.
    Click on the link below, and after that click on "Still need Help? Contact us."
    Then on the next page, click Chat
    There is also a phone option.
    http://helpx.adobe.com/contact.html?step=PHXS_downloading-installing-setting-up_licensing- activation

  • Have Macbook Pro & 4th gen iPod Touch. Downloaded & installed iOS 4.3.2 yesterday. Upgrade went without a hitch, but now iTunes on My Macbook Pro will not open. I get an error that says "iTunes" Data too new to be used with this version of iTunes.

    Have a Macbook Pro and a 4th gen iPod Touch. Downloaded and install iOS 4.3.2 yesterday. Upgrade went without a hitch, but now iTunes on My Macbook Pro will not open. I get an error that says --The file "iTunes Library" cannot be read because it was created by a newer version of iTunes--. I am running iTunes 10.1.  I searched for Updates to my MacBook Pro (running 10.6.7), but comes back saying no updates available. WHAT IS GOING ON??

    Is your computer still authorized in the Store menu in iTunes?
    iTunes Store: About authorization and deauthorization
    When I changed to my new MacBookPro I had to authorize it although I used TimeMachine to transfer my settings and data.
    Did you try to deselect Wi-Fi syncing and enable it again after that?
    iTunes 10.5 and later: Troubleshooting iTunes Wi-Fi syncing
    Did you already transfer your purchases and manually started a backup?

  • TS3899 I upgraded to iOS 7 and I lost emails that were in my inbox - I used to see all emails that I did not delete, now I only have emails from the past month - how can I get the old, undeleted emails back? Or, at least, show email older than one month o

    I upgraded to iOS 7 and I lost emails that were in my inbox - I used to see all emails that I did not delete, now I only have emails from the past month - how can I get the old, undeleted emails back? Or, at least, show email older than one month old?

    I upgraded to iOS 7 and I lost emails that were in my inbox - I used to see all emails that I did not delete, now I only have emails from the past month - how can I get the old, undeleted emails back? Or, at least, show email older than one month old?

  • Last week I upgraded to ios 6.1 and now wifi is hardcoded 'off' I am not able to set it as on

    I upgraded to ios 6.1 and now wifi is hardcoded 'off' I am not able to set it as on
    Does any body have solution to above problem.......

    This is iCloud forum. For iPhone issue go to the Using iPhone forum
    Anyway try this
    IOS: Wi-Fi or Bluetooth settings greyed out or dim.
    http://support.apple.com/kb/TS1559

  • I've upgraded to itunes 11.1.4 Now my ipod and my wife's will not connect/ sync. Itunes says it can detect an ipod but it can't be identified correctly. I have uninstalled and re installed ITunes but it still doesn't work

    I've upgraded to itunes 11.1.4 Now my ipod and my wife's will not connect/ sync. Itunes says it can detect an ipod but it can't be identified correctly. I have uninstalled and re installed ITunes but it still doesn't work

    I too am having the same problem. I'm glad to know it's not just me

  • I just upgraded to Yosemite. Iphoto is now broken.  Upon upgrade receiving error "This update is not available for this Apple ID either because it was bought by a different user or the item was refunded or cancelled."

    I just upgraded to Yosemite. Iphoto is now broken.  Upon upgrade receiving error "This update is not available for this Apple ID either because it was bought by a different user or the item was refunded or cancelled."

    Perform the following, stopping with the first one which works:
    1. Open the Mac App Store's Purchases tab. If you're prompted to accept iPhoto into your Apple ID, do so.
    2. Move it out of the Applications folder(it may need to be put into the Trash temporarily), and then see if you can download it for free from its individual product page.
    3. Click here and contact Apple.
    (116137)

  • Just upgraded to iTunes 10.6 and now it says it does not support Quicktime

    Just upgraded to iTunes 10.6 and now it says it does not support Quicktime.  Not much more to add.  It's a MacPro running Lion.

    warren.b.paul wrote:
    So, I have managed to fix the problem.
    I found that the upgrade had replaced my library files with empty ones.
    So I restored the backup I made of them before the upgrade and
    now all my media is back.
    Great..
    For those who run across this therad and haven't taken the effort to make a backup here is another approach that should work.
    Empty/corrupt library after upgrade/crash
    Hopefully it's not been too long since you last upgraded iTunes, in fact if you get an empty/incomplete library immediately after upgrading then with the following steps you shouldn't lose a thing or need to do any further housekeeping. In the Previous iTunes Libraries folder should be a number of dated iTunes Library files. Take the most recent of these and copy it into the iTunes folder. Rename iTunes Library.itl as iTunes Library (Corrupt).itl and then rename the restored file as iTunes Library.itl. Start iTunes. Should all be good, bar any recent additions to or deletions from your library.
    See iTunes Folder Watch for a tool to catch up with any changes since the backup file was created.
    When you get it all working make a backup!
    tt2

  • I have done upgrade to 8.1.2. Now iPad a iPhone will will not connect to iTunes, iCloud or do updates on apps.Shows message "unable to connect" or "error in connecting"  as well as "unable to verify". How can this be sorted?

    I have done upgrade to 8.1.2. Now iPad a iPhone will will not connect to iTunes, iCloud or do updates on apps.Shows message "unable to connect" or "error in connecting"  as well as "unable to verify". How can this be sorted? Thanks

    Hi,
    Thanks.
    I have tried signing out and in, still does not work.
    Still just get the previously mentioned "messages".
    I wanted to restore, but then you have to turn off "find my ipad/iphone" but this is not allowed, as I cannot connect to the itunes/icloud or app store. The units work with current apps. EG; email etc, and with apps that do not require current updates.
    Thanks

  • I upgraded my ipad 2 to ios8 now also the iwork and the ilfe apps are not free why???

    i upgraded my ipad 2 to ios8 now also the iwork and the ilfe apps are not free why???

    The offer of free apps is tied not only to the version of iOS, but the purchase date of the device: Free Apple apps for your iPhone, iPad, and iPod touch with iOS 8

  • HT1386 I have just rceived an upgrade to an iPhone 3GS. Now, when I visit the Store all the prices are in US dollars, not a big problem but I cannot edit my card details or contact to a UK address. I cannot see how to change this.

    I have just rceived an upgrade to an iPhone 3GS. Now, when I visit the Store all the prices are in US dollars, not a big problem but I cannot edit my card details or contact to a UK address. I cannot see how to change this.

    Hi Roger
    Thank you for your reply.
    My original feed is: http://casa-egypt.com/feed/
    However, because I modified the feed http://feeds.feedburner.com/imananddinasbroadcast and nothing changed, I redirected it to another feed and then I deleted this feed.
    Is there any way to change the feed in itunes? The only feed I have now is  http://feeds.feedburner.com/CasaEgyptStation
    I tried to restore the feed http://feeds.feedburner.com/imananddinasbroadcast but feedburner refused.
    I know that I missed things up but I still have hope in working things out.
    Thanks is advance.
    Dina
    Message was edited by: dinadik

  • Bridge CS4 not showing Photoshop CS3 scripts

    Hi there..
        I recently upgraded Illustrator CS3 to CS4.    The usual Photoshop scripts that I'm used to in Bridge CS3 (contact sheet, PDF etc) are no longer an option in Bridge CS4...   Is there a way to copy the scripts from CS3 into CS4?
      Thanks!
      Mark

    On the extra's CD are the original contact sheet scripts etc that you can
    install using the extension manager.
    But before this you should look in to the new Adobe Output Module in Bridge
    that offers the new features for contactsheet as PDF.
    Be sure to have the updated version from AOM, do a search for this on the
    Adobe.com download section.
    Van: mindveneration <[email protected]>
    Hi there..
        I recently upgraded Illustrator CS3 to CS4.    The usual Photoshop scripts
    that I'm used to in Bridge CS3 (contact sheet, PDF etc) are no longer an
    option in Bridge CS4...   Is there a way to copy the scripts from CS3 into
    CS4?
      Thanks!
      Mark

  • I just upgraded to mountain lion osx and now my applications are crossed out and out of date. they will not run. how do i fix this?

    I just upgraded to mountain lion osx and now my applications are crossed out and out of date. they will not run. how do i fix this?

    Here is a recent post I assembled for a similar question:
    Unfortunately you got caught up in the minor miracle of Rosetta.  Originally licensed by Apple when it migrated from the PowerPC CPU platform that it had used from the mid-1990's until the Intel CPU platform in 2006, Rosetta allowed Mac users to continue to use their library of PPC software transparently in emulation.
    However, Apple's license to continue to use this technology expired with new releases of OS X commencing with Lion (and now Mountain Lion).  While educational efforts have been made over the last 6 years, the fact is that Rosetta was SO successful that many users were caught unaware UNTIL they upgraded to Lion or Mountain Lion.
    Workarounds:
    1. If your Mac will support it, restore OS X Snow Leopard;
    2.  If your Mac will support it, partition your hard drive or add an external hard drive and install Snow Leopard into it and use the "dual-boot" method to choose between your PowerPC software or Lion/Mt. Lion;
    3.  Upgrade your software to Intel compatible versions if they are available, or find alternative software that will open, modify and save your data files;
    3.  Install Snow Leopard (with Rosetta) into Parallels:
                                  [click on images to enlarge]
    Full Snow Leopard installation instructions here:
    http://forums.macrumors.com/showthread.php?t=1365439
    NOTE:  Computer games with complex, 3D or fast motion graphics make not work well or at all in virtualization.

  • I recently bought an Epson Artisan 837 printer. I installed the driver and now Photoshop from CS3 will not open. It quits when the Twain portion of the program starts loading. Does anyone know how to fix this so my printer will work with Photoshop??

    I recently bought an Epson Artisan 837 printer. I installed the driver and now Photoshop from CS3 will not open. It closes every time it gets to the point where it is loading the Twain portion. Does anyone know how to fix this so my printer and Photoshop will work together? Thanks for any help I can get!

    You're welcome. 
    But, no, don't look to  Epson for fixes to their  driver in newer versions, and Adobe has deprecated the TWAIN plug-in.  Hoping for a solution there is futile.  That has not happened and it's never going to happen.  The consensus is that it's pretty foolish to tie up Photoshop to scan.  Honestly.
    Any improvement in the behavior of newer versions of the Epson drivers in that regard would be pure coincidence.
    You need to understand that you never, ever scan "within" Photoshop, as Photoshop has no scanning capabilities whatsoever.  When you use the Import > Twain plug-in all you are doing is blocking Photoshop while you call up the stand-alone Epson scanning software.  If you think about it, its most inefficient.
    VueScan has a pretty powerful scanning plug-in that can be called from the Impost menu—if you insist.  VueScan is not free, but it's a pretty good value, IMO.
    As for the Epson CD printing software, I have no clue.  Sorry. 

Maybe you are looking for