In CS5, why won't Action Script 3 allow me to add a stop(); code before my label frame?

This is something the CS4 book says I need to so that my animation stops at the photo when I click the button, rather than seeing it scroll through all the pictures at once. BUT, in CS5, it won't allow me to do this. I am wondering if it has to do with me having changed the action code from "gotoAndStop" to "gotoAndPlay" before I tried to add the stop(); command? I need the animation to stop at each photo as I click the link. The book I've been referencing is "Adobe CS4 Classroom In a Book" - Lesson 6, with the peacock photo gallery, for anyone who has that book. I don't know how to get this to work properly.

Here is the message I get when I try to add a stop command for each photo:
" In Acton Script 3.0, code cannot be placed directly on objects. Please select a frame or use the Code Snippets panel to apply code to the current selection on stage" .
I changed my AS3 code back to "gotoAndStop" but its still giving me this message.  My first photo is on frame 20, so I clicked frame 19 in the action layer per the instructions, to add the stop command. It won't work still.
Now, in the textbook, it says to go to the frame immediately before my photo's frame, and add "stop ();" but it won't allow me to do this now. Also, in the book, when I added a  tween, it doesn't add a separate layer in the examples for each photo. But it DOES when I actually add  tweens to the photos.

Similar Messages

  • Why won't my security scan allow me to download creative cloud?

    Why won't my windows 8 allow my download to pass the security scan?

    At a guess (you don't list the error), what maybe happening is that you have booted from the original OS install disc, told it to install the (old) original OS on to the hard disk and it has said - no thanks you cannot install an older version because it already has a newer version installed.
    This is 'normal', what you have to do is totally erase the hard disk first. You do this by booting from the original OS install disc, but rather than trying to do an install straight away, you should first use Disk Utility and use that to erase the hard disk. Then you can run the install again and because the hard disk will be empty it will not have a newer OS on it and the installer will be happy.
    Obviously this means any files you have on the hard disk will be erase as well. If you want to keep them you are going to need to back them up first, the easiest way would be to use Time Machine to backup to an external hard disk.

  • HT4101 Why won't my iPad mini allow my gopro 32gb SD card to transfer video using the lightening to SD card camera reader?

    Why won't my iPad mini allow my gopro 32gb SD card to transfer video using the lightening to SD card camera reader?
    The gopro transfer worked with my original iPad. Is it the lightening technology?

    If you've gone through all that and it's the right kind of SD card, right naming convention etc. try giving your iPad a reset. Sometimes that port gets turned off (for lack of a better term) and a reset turns it back on. Hold down the sleep and home keys until you see the silver apple. Let it reboot and try again.
    If it still doesn't work, if you have access to another iPad try the reader on that. THere are some defective ones out there. If it works on another iPad then there's something going on with yours. If it doesn't work on another iPad then you may want to take that reader back and exchange it because it may be bad.

  • Why won't my airport express allow internet connection on TV blu ray? I have internet connection on iMac

    Why won't my Airport Express allow internet connection on my Blu Ray when there is internet connection on my IMac?

    I'm guessing you only have the modem/router supplied by your isp and the Airport Express.  Is the Airport Express connected to the modem/router with an ethernet cable?  If not, plug one end of the cable into an available port on the modem/router and the other end in to the WAN port, indicated with a dashed circle, on the Airport Express.
    Have a nice day.

  • Why won't ITunes 10.5 allow me to import m4v's anymore?

    Before my computer crashed and was set back to factory settings, I had an older version of Itunes, 7 I think. I regularly converted videos to m4v files that I could then drag and drop into Itunes playlists or a playlist on my IPod. After the crash/repair, I installed Itunes 10.5, but now I cannot import m4v files. ITunes gives the error message "some files, including "(file name)" were not copied to the iPod because they cannot be played on this iPod". By "some", it means "none". I'm doing nothing different than I previously did. Why won't the files go to ITunes or my IPod anymore? Any assistance is appreciated. Thanks in advance!

    I am having the same problem with a a new iMac running Mountain Lion.
    However, I was able to add a .m4v just fine.  Could it be that iTunes no long accepts .mov's?!  Ridiculous!

  • Why won't this script run in task scheduler properly?

    Hello,
    I've created a script find all opened windows applications on the local computer.  The script creates an html outfile to report the opened windows and who is logged in. 
    When I run this script from the Powershell ISE or from Powershell command line it works fine.  When I schedule this script to run in windows Task Scheduler (either in Windows 7 or on Windows Server 2008) and I use 'Run only when user is logged in' the
    script again runs fine and reports in the html file the opened windows.
    But when I am logged into the server and I schedule this script to run in windows Task Scheduler (either in Windows 7 or on Windows Server 2008) and I use 'Run whether user is logged in or not' the script will run without error, it creates the html report,
    but it does not list the opened windows applications  That part of the report is missing.
    Why would this happen?  Do I need to change something in my script to make this script work whether or not someone is logged in?
    Here is the script:
    $a = "<style>"
    $a = $a + "BODY{background-color:peachpuff;}"
    $a = $a + "TABLE{border-width: 1px;border-style: solid;border-color: black;border-collapse: collapse;}"
    $a = $a + "TH{border-width: 1px;padding: 0px;border-style: solid;border-color: black;background-color:thistle}"
    $a = $a + "TD{border-width: 1px;padding: 0px;border-style: solid;border-color: black;background-color:PaleGoldenrod}"
    $a = $a + "</style>"
    get-wmiobject Win32_ComputerSystem | ConvertTo-HTML -head $a -body "<H2>Logged in UserID</H2>" -property username | Out-File C:\Powershell_Scripts\Test.htm ; Get-Process |where {$_.mainWindowTItle} |Select-Object name,mainwindowtitle | ConvertTo-HTML -head $a -body "<H2>Open Applications</H2>" | Out-File C:\Powershell_Scripts\Test.htm -Append
    Thank you.

    Its hard to get a full grasp of the errors from task scheduler.  Try rewriting the Action portion of the Scheduled Task in a cmd prompt (with or without the elevated credentials). When the cmd line runs, the cmd host will convert to a black
    powershell host and you will be able to read the errors.
    C:\> powershell.exe -command { update-help }
    or
    C:\> powershell.exe -noprofile -file c:\scripts\dosomething.ps1
    I solved a similar problem this week.  When I ran my script from within powershell, all the required modules are normally present and the script ran fine.  It was pretty clear which module I forgot to load at the beginning of the script once I could
    watch it from start to finish
    or, your script could dump the Error logs to a text file.
    $Error | select * | out-file c:\errors.txt
    Not the point.  Look at the task scheduler history first.  If the history is not enabled enable it. If it shows no error code then the script ran successfully but had an internal error.
    There is only one place that an error can occur. This will trap it and set the exit code which will be visible in the event history:
    $a=@'
    <style>
    BODY{
    background-color:peachpuff;
    TABLE{
    border-width: 1px;
    border-style: solid;
    border-color: black;
    border-collapse: collapse;
    TH{
    border-width: 1px;
    padding: 0px;
    border-style: solid;
    border-color: black;
    background-color:thistle;
    TD{
    border-width: 1px;
    padding: 0px;
    border-style: solid;
    border-color: black;
    background-color:PaleGoldenrod
    </style>
    Try{
    $username=get-wmiobject Win32_ComputerSystem |%{$_.username}
    $precontent="<H2>Logged in User: $username</H2><br/><H2>Open Applications</H2><br/>"
    $html=Get-Process |where {$_.mainWindowTItle} -ErorAction Stop|
    Select-Object name,mainwindowtitle |
    ConvertTo-HTML -cssuri c:\scripts\style.css -preContent $precontent -body "<body bgcolor='peachpuff'/>"
    $html | Out-File C:\Scripts\Test.htm -ErrorAction Stop
    Catch{
    exit 99
    This is really an exercise in how to manage background tasks.
    Using an error log is good assuming it is not the file system that you are having an issue with
    ¯\_(ツ)_/¯

  • Why won't my script work on all files in the folder?

    Hi, below is a script I hobbled together from various sources using the search function on this forum. It is supposed to change hyphens to en-dashes in a ai files in a folder. However, when I run it, it only works on one file. After it makes the change and closes the first file, it stops. Can anyone help me troubleshoot and fix the problem?
    var destFolder, sourceFolder, files, fileType, sourceDoc, targetFile, pdfSaveOpts;
    sourceFolder = Folder.selectDialog;
    if ( sourceFolder != null )
        files = new Array();
        fileType = "*.ai";
        files = sourceFolder.getFiles( fileType );
        if ( files.length > 0 )
            destFolder = sourceFolder;
           for ( i = 0; i < files.length; i++ )
                sourceDoc = app.open(files[i]); // returns the document object
    var active_doc = app.activeDocument;
    var search_string = '-';
    var replace_string = "\u2013";
    var text_frames = active_doc.textFrames;
    if (text_frames.length > 0)
        for (var i = 0 ; i < text_frames.length; i++)
              var this_text_frame = text_frames[i];
               var new_string = this_text_frame.contents.replace(search_string, replace_string);
               if (new_string != this_text_frame.contents)
                        this_text_frame.contents = new_string;
             sourceDoc.save();
             sourceDoc.close();

    no easy way as you may wish, but not as difficult either. For eps files, you have to use SaveAs() method,
    if ai - do save
    if eps - do saveAs
    here's a sample from the Documentation, or search the forum for other samples
    // Exports current document to destFile as an EPS file with specified
    // options, destFile contains the full path including the file name
    function exportFileAsEPS (destFile) {
    var newFile = new File(destFile);
    var saveDoc;
    if ( app.documents.length == 0 )
    saveDoc = app.documents.add();
    else
    saveDoc = app.activeDocument;
    var saveOpts = new EPSSaveOptions();
    saveOpts.cmykPostScript = true;
    saveOpts.embedAllFonts = true;
    saveDoc.saveAs( newFile, saveOpts );

  • Why won't the iTunes Store allow me to make purchases and view my account information?

    Hello,
    I'm having several issues with my iTunes store account and was wondering if someone could help me. This is basically what happened...
    Problem #1 - iTunes store will not let me purchase music:
    I signed into iTunes (i.e. entered my Apple ID and Password). I looked up some music and pressed "Buy." A pop-up appears and says, "Are you sure you want to buy and download "Song Name?" As a response, I press the "Buy" button. Then another pop-up appears and says, "Improve Apple ID security - To help ensure the security of your Apple ID, choose 3 security questions and answers" and it also requires my Apple ID and Password. I enter my Apple ID and Password and press the "Continue" button. Another pop-up appears saying, "Sign in Required - enter your Apple ID and Password" (Note: I am already signed in at this point). So, I enter my Apple ID and Password again. However, the "Sign in Required - enter your Apple ID and Password" appears again. I'm signed in, but the iTunes store apparently believes that I'm not. Why is this happening and how do I solve this?
    Problem # 2 - iTunes store will not let me view my account information:
    While signed in, I click the button at the top right corner of the iTunes store (i.e., the button with my Apple ID on it - [email protected]). Then I click "Account." A pop-up appears saying, "Sign in to view account information - Please enter your Apple ID and password and click "Account Info." So I enter my Apple ID and password and click the "Account Info" button (Note: I am already signed in at this point). Then another pop-up appears saying, "Sign in to view account information - Please enter your Apple ID and password and click "Account Info." Once again, I enter my Apple ID and password, then press the "Account Info" button. Then, the same "Sign in to view account information" pop-up appears again.
    Basicially, I can sign into my iTunes store account, but when I want to make purchases or view my account information, iTunes continuously asks me to sign in even when I am already signed in.
    Also, it might be helpful to note the following:
    - I want to change my account info because my old credit card expired and I now have a new one (and would like to change my payment info accordingly)
    - Also, I changed my password in hopes that it would help solve these problems. However, this did not help in the least.
    I hope someone can help me out because I do not want anyone else to access my account (and spend my money) due to its apparent malufunctioning. And thanks in advance for your help!
    Cheers,
    K.E.K.

    I had similiar problems with my itunes account and after some searching found a response that helped me - perhaps it will help you also...
    It has to do with the cookie settings in Safari (of all things!)
    https://discussions.apple.com/thread/3559322?start=0&tstart=0
    I had the problem where when I started up itunes I was constantly prompted for my password regarding something about "automatic downloads". No matter how many times I typed it in, the prompt would just keep re-appearing (I tried about 8-10 times).
    When I tried to resolve the issue (based on another thread) by viewing my itunes account (in the top left drop down window where your user name is), I was getting odd messages about "make sure the date is correct", and itunes would not let me view my account.
    By turning OFF the option to block ALL cookies in Safari, the problem(s) have gone away.
    Open Safari - go to prefs - click on Privacy tab - make sure "block cookies" is set to "from third parties..."
    Good luck.
    key search terms:
    can't log into itunes
    sign in to view account
    can't access account in itunes

  • Why won't my computer recognise my iphone?  Never had any problems before?

    My computer won't recognise my iphone for some reason.  Do i need to update Itunes or something on my phone perhaps? Thanks for any responses.

    Device not detected in iTunes for Windows

  • Photoshop CS5 - Why can't I have the choice to tile Horz or Vert as before?

    I use tile on 95% of my jobs. It is a waste of space when I tile all vertical pictures because I do not have the choice of Tile Vertically or Tile Horizontally as on previous version of Photoshop. I tried the different choices offered on "arrange document" and there is non with the vertical choice, unless you choose one that displays my photos some on one size and the remaining or two or three remaining, a different size to fill up the screen.

    Hi Puntinglesa,
    In photoshop cs5 if you don't mind using tabs when the images are Tiled Vertically, you can
    see some other choices under the Arrange Docments menu.
    Click on the screenshot below for a bigger view.
    Added: after reading your other post you already know about the above and i see what your talking about
    http://forums.adobe.com/thread/1088278?tstart=30
    Message was edited by: R_Kelly

  • Why won't the Itunes Bookstore allow me to upload my Ebook?

    Hi,
    I have signed up and been approved to be selling my Ebook on Itunes Connect, however... there's no foreseeable way to upload my Ebook without buying a Mac computer....
    Apple want's me to download their program as soon as I login to my account called "Itunes Producer 2.6" and I'ts a MAC ONLY program. I've tried researching this and it appears there's no way around this?
    Why can't I just upload my ebook when I login directly to the Itunes Connect website and not through this 3rd party program? It seems like a total unnecessary step.
    Does anyone know of any way around this? You'd think Apple definitely would of considered that maybe half of the people that write ebooks maybe wrote them on a PC.
    Any thoughts?
    Thanks!

    These types of uploads require security that relies on the keychain on a Mac.
    You can always take advantage of an aggregator...
    Apple - iTunes - Partner Programs - Book Publishers

  • Why won't my iPhone 5s allow me to answer FaceTime calls on the new iOS 8.0.2?

    In addition to my iPhone 5s not allowing me to answer any FaceTime calls, my iPad Air freezes the FaceTime screen and has to be restored to be able to use it again. My Macbook Pro freezes the FaceTime screen and the visual is always blurry. In addition it drops the call after no longer then five minutes. EXTREMELY IRRITATED. Feels like I'm dealing with another set of Dell products.

    Hi, Farticus10. 
    Thank you for visiting Apple Support Communities. 
    I would recommend the steps in the article below.  See the section labeled Verify that the Apple Mobile Device USB Driver is installed > For Windows Vista, Windows 7, and Windows 8 > Update the Apple Mobile Device Driver.
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    If the issue persists, try the remaining steps the attached article. 
    Cheers,
    Jason H.

  • Why won't my Time Capsule allow me to connect more than one device to the network at a time?

    Ok here is the shortest story I can come up with...
    Several months ago lightening struck my house and ruined the power cord for my old AIR PORT EXTREME....after replacing the power cable my wireless network began to prohibit more than one device at a time to connect to the wireless network.
    I replaced that network with a new TIME CAPSULE and it is doing the same thing.  I took my old AirPort Extreme to my work and it works like a charm.  My ISP says it is an Apple problem but I have had the same settings both at home and at work.  Work is great, multiple devices connect but home is one at a time and in order to connect ANOTHER device I have to power down one, and reboot the router and fire up the device I wish to connect.
    Any suggestions?

    I am running off a Fiber line....the unit that is a battery back up and appears to be a modem as well is called CyberPower CS24U12V-NA3
    Techincally, there is no "router" in my house, there is a LOCKED control box outside, a battery back up module in the garage that shows battery life and connection, then a cat5 outlet in my laundry room..All of which was installed by my ISP.
    I am using a 2TB Time Capsule running DHCP in Bridge Mode.  I can't find the software version but updated it while installing it within the last two months.
    Under Network Tab
    Enable NAT Port mapping is checked
    Under the Wireless Tab
    we have a 5ghz Network
    Radio mode is set to:  802.11a/n-802.11b/g/n (Automatic)
    2.4 GHz is Auto
    5 Ghz is Auto
    I hope this helps....

  • Why won't iTunes for PC allow me to sync with my iPod touch?

    I have songs on iTunes on my old PC and on my newer Macbook Pro.  I synced the songs form the Mac onto my new iPod Touch, but iTunes will not let me sync the songs from the PC, saying only one computer at a time can have an iTunes account.  It will only let me transfer the PC songs to the iPod if it erases all the songs already there form the Mac.  How can I get my songs from the PC over to the iPod?  Thanks.

    Hi,
    Have a look here
    Moving iTunes Library from PC to Mac
    http://www.macworld.com/article/146958/2010/03/move_itunes_windows_mac.html

  • TS3694 why won't my iTunes connect to the iTunes store ? (error code 310)

    I have a laptop with windows 7. i uninstalled and reinstalled iTunes 4 times already and I keep getting the same error message that I can't connect to the itunes store (error code 310) and there is nothing on here that helps me. I tried everythimg and it still doesn't work.

    Hi, Darron32. 
    Thank you for visiting Apple Support Communities.
    Below, you will find the best troubleshooting articles for issues connecting to the iTunes Store.
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    iTunes: Advanced iTunes Store troubleshooting
    http://support.apple.com/kb/TS3297
    Regards,
    Jason H.

Maybe you are looking for

  • S_P00_07000139 Amount is showing '0'

    Dear Sir, i am using this community network first time i want to know the SAP standard report tocde S_P00_07000139 when we executing then in Amount colomn its showing zero see the attached sheet or below screen shot. Material no.     : 11001776 MX435

  • How can I get the directory a program is running in?

    Hello again! Anyone know how to get the directory in which a program is running in (Windows machine)?

  • Implementing recursive taskflows

    Hi We have a requirement that a taskflow is allowed to call itself. As per documentation this seems to be allowed. These taskflows should be opened as a dialog. While i am able to invoke the taskflow recursively the issues i am facing: 1. If i a open

  • Upgrade from 4.6C to ERP ECC 6.0

    Hi, Help!!! I'm running the prepare the first time and encountered this problem during the Kernel extract.  I received this message from '/usr/sap/put/EXTRKRN.LOG' 1 ETQ201XEntering upgrade-phase "EXTRACTKRN_PRE" ("20061016131342")        2 ETQ367 Co

  • Reverse Proxy

    Hi, Does it make sense to use a reverse proxy in the scenario below ? I am trying to access a web based internal application (ports not opened up to the outside world) through a reverse proxy using the Oracle HTTP server that is installed with OAS 10