My document plays as a continous loop even with the stop(); code at the start of the document HELP!

I really need help for a school project im working on, it seems as though flash doesnt even recognise the actions in the layers, the codes in the first frame are as follows:
stop();
/* Click to Go to Frame and Stop
Clicking on the specified symbol instance moves the playhead to the specified frame in the timeline and stops the movie.
Can be used on the main timeline or on movie clip timelines.
Instructions:
1. Replace the number 5 in the code below with the frame number you would like the playhead to move to when the symbol instance is clicked.
btnOS.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame);
function fl_ClickToGoToAndStopAtFrame(event:MouseEvent):void
    gotoAndStop(8);
/* Click to Go to Frame and Stop
Clicking on the specified symbol instance moves the playhead to the specified frame in the timeline and stops the movie.
Can be used on the main timeline or on movie clip timelines.
Instructions:
1. Replace the number 5 in the code below with the frame number you would like the playhead to move to when the symbol instance is clicked.
btnia.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_2);
function fl_ClickToGoToAndStopAtFrame_2(event:MouseEvent):void
    gotoAndStop(41);
/* Click to Go to Frame and Stop
Clicking on the specified symbol instance moves the playhead to the specified frame in the timeline and stops the movie.
Can be used on the main timeline or on movie clip timelines.
Instructions:
1. Replace the number 5 in the code below with the frame number you would like the playhead to move to when the symbol instance is clicked.
btnDD.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_3);
function fl_ClickToGoToAndStopAtFrame_3(event:MouseEvent):void
    gotoAndStop(64);
/* Click to Go to Frame and Stop
Clicking on the specified symbol instance moves the playhead to the specified frame in the timeline and stops the movie.
Can be used on the main timeline or on movie clip timelines.
Instructions:
1. Replace the number 5 in the code below with the frame number you would like the playhead to move to when the symbol instance is clicked.
btnCA.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_4);
function fl_ClickToGoToAndStopAtFrame_4(event:MouseEvent):void
    gotoAndStop(2);
/* Click to Go to Frame and Stop
Clicking on the specified symbol instance moves the playhead to the specified frame in the timeline and stops the movie.
Can be used on the main timeline or on movie clip timelines.
Instructions:
1. Replace the number 5 in the code below with the frame number you would like the playhead to move to when the symbol instance is clicked.
btnSpt.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_5);
function fl_ClickToGoToAndStopAtFrame_5(event:MouseEvent):void
    gotoAndStop(3);
/* Click to Go to Frame and Stop
Clicking on the specified symbol instance moves the playhead to the specified frame in the timeline and stops the movie.
Can be used on the main timeline or on movie clip timelines.
Instructions:
1. Replace the number 5 in the code below with the frame number you would like the playhead to move to when the symbol instance is clicked.
btnent3.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_6);
function fl_ClickToGoToAndStopAtFrame_6(event:MouseEvent):void
    gotoAndStop(4);
/* Click to Go to Frame and Stop
Clicking on the specified symbol instance moves the playhead to the specified frame in the timeline and stops the movie.
Can be used on the main timeline or on movie clip timelines.
Instructions:
1. Replace the number 5 in the code below with the frame number you would like the playhead to move to when the symbol instance is clicked.
btntvf.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_7);
function fl_ClickToGoToAndStopAtFrame_7(event:MouseEvent):void
    gotoAndStop(5);
/* Click to Go to Frame and Stop
Clicking on the specified symbol instance moves the playhead to the specified frame in the timeline and stops the movie.
Can be used on the main timeline or on movie clip timelines.
Instructions:
1. Replace the number 5 in the code below with the frame number you would like the playhead to move to when the symbol instance is clicked.
btnmus.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_8);
function fl_ClickToGoToAndStopAtFrame_8(event:MouseEvent):void
    gotoAndStop(6);
/* Click to Go to Frame and Stop
Clicking on the specified symbol instance moves the playhead to the specified frame in the timeline and stops the movie.
Can be used on the main timeline or on movie clip timelines.
Instructions:
1. Replace the number 5 in the code below with the frame number you would like the playhead to move to when the symbol instance is clicked.
btntrans.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_9);
function fl_ClickToGoToAndStopAtFrame_9(event:MouseEvent):void
    gotoAndStop(7);
/* Click to Go to Frame and Stop
Clicking on the specified symbol instance moves the playhead to the specified frame in the timeline and stops the movie.
Can be used on the main timeline or on movie clip timelines.
Instructions:
1. Replace the number 5 in the code below with the frame number you would like the playhead to move to when the symbol instance is clicked.
btnHome.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_10);
function fl_ClickToGoToAndStopAtFrame_10(event:MouseEvent):void
    gotoAndStop(1);
Surely this should stop the document from looping when tested, when testing the images and buttons ect seem to be distorted and in different positions.
if it helps here is a download of the document:
http://www.sendspace.com/file/oxqciv

Again, you must read your "Compiler Errors" panel and fix the issues in there. Exporting clearly states:
Scene 1, Layer 'Actions', Frame 8, Line 71
1021: Duplicate function definition.
So go to scene 1, in the layer named "Actions", on frame #8, code line 71 and check the function name there which is: fl_ClickToGoToAndStopAtFrame_3. It tells you there's a duplicate function definition which means the function name needs to be changed because it's colliding with another function that has already used the same name. The timeline remembers functions and variables frame to frame so you can't use define the same function or variable twice without errors.
Change the function name to something you know will be unique like: fl_ClickToGoToAndStopAtFrame_999999999 on both that line and the function below it to match (2 occurances of it in that script) and the error goes away.
After that it compiled and ran fine but I received errors as I clicked through other pages. Your job is to read those syntax errors, go to the place specified and fix it until you no longer get errors.

Similar Messages

  • I can't open any of my Word documents on my Apple Mac. The error code is EXC_CRASH (SIGABRT) and the  blame module name is WordArt. The documents are still there, and I can open them on my iPad when I email them there. Any ideas?

    I can't open any of my Word documents on my Apple Mac. The error code is EXC_CRASH (SIGABRT) and the blame module name is WordArt. The documents are still there, and I can open them on my iPad when I email them there. Any ideas?

    Uhhhhh... Thank GOD... Got all of my files.
    Spent some time on the phone with Apple Care... who was great to deal with but actually... not as helpful as I was hoping. It was suggested that I try DiskWarrior 4 to try to recover the files. $108 later, I had no files.
    More calls with Apple Care and they were pretty sure that everything was gone since once the External drive was installed, like a moron, I let TimeMachine go ahead and back up my new MacBook... so it overwrote who knows how many gig that was my entire MacBook.
    I wasn't giving up so I called Maxtor, the manufacturer of the external drive itself. They suggested file recovery software from I365... which is also a Seagate company (the makers of the drive). The suggested I simply use their demo because the demo version would find the files. If it found them, I could buy the software to restore them.
    It found them! Another $129 after and I was able to restore all of them back to my old PC laptop.
    NOW, I just need to figure out how to get the 50gig of HD video files off of my old laptop now and into my Mac and IMovie so I can actually make some DVDs out of them!
    I get that Macs and PCs are different formats but I think it is ridiculous that formatting still means basically just wiping out or at least treating massive lots of old data as if it isn't there. There's gotta be a better way to do that.

  • I'm trying to play this new movie i bought with my macbook but every time i put the movie in it makes a noise and only stays there for 6 seconds then ejects itself how can i fix this problem?

    I'm trying to play this new movie i bought with my macbook but every time i put the movie in it makes a noise and only stays there for 6 seconds then ejects itself how can i fix this problem?

    Restart your phone,hold the home button and the off button down till the apple symbol comes up. If that doesnt fix it , you need to do a restore in itunes by connecting to itunes , click on your phones name to the left, then click restore in the center of the screen and restore from backup.

  • My iphone 5s (7.1) has permanently the search icon, as if searching network. This affects the speed of email and consumes a lot of battery. This happens even with all applications closed. I have restored the iPhone but the problem persists. Do you have an

    My iphone 5s (7.1) has permanently the search icon, as if searching network. This affects the speed of email and consumes a lot of battery. This happens even with all applications closed. I have restored the iPhone but the problem persists. Does anyone  have an idea of the solution?
    Thanks!!

    Try to reboot the iPhone, if that doesn't help make a backup via iTunes, and restore the iPhone via iTunes.
    Otherwise disable background refresh, and kill all apps

  • Flash CS5 Won't Stop Looping, Even with Stop Action in Place

    The timeline has a stop action at the end of the movie (frame 770), but continues to loop. Publish Settings HTML tab has "loop" unchecked as well.
    The movie has a lightning storm that plays throughout the entire timeline that was purchased from iStockPhoto. Perhaps some of their coding is conflicting (see below coding). Other than those two codes for the storm, the only other code in the Action script is a stop action at the end of the movie. Hope someone can help me out. Thanks!
    ACTION: LAYER FRAME 1
    setProperty("", _x, random(420));
    if (random(2) == 0)
        setProperty("", _xscale, -100);
    else
        setProperty("", _xscale, 100);
    } // end else if
    ACTION: LAYER FRAME 13
    if (random(50) != 0)
        gotoAndPlay(12);
    } // end if
    ACTIONS FRAME 770
    stop();

    Hi, I noticed your thread. Did you know you are on the Flash Player Forum that is for the browser plugins?
    I'm not even sure which Adobe Forum would be the best but you can choose from here:
    http://forums.adobe.com/index.jspa
    Thanks,
    eidnolb

  • Flash still won't play files in Firefox 4, even with latest version 10

    Despite what a Firefox support article states, Adobe Flash will not play videos in Firefox 4, even after Flash has been upgraded to the most recent version of Flash 10 (10.3.181.14). That is because the problem is not with Flash, it is in fact a problem with Firefox 4 (what a surprise!). After trying all the useless suggestions here, I finally just went back to Firefox 3.16. Flash had always worked for me prior to switching to Firefox 4. Sure enough, no sooner did I go back to 3.16, Flash immediately began playing videos properly again. Same latest version of Flash, old version of Firefox equal proper video operation. Any version of Flash, Firefox 4 equals no videos play.

    I've upgraded from flash 10.0.45 to 11.2.202.235, using Synaptic.
    Then, when i saw it didn't work, i've returned to 10.0.45 and upgraded it to 11.2.202.233, no success.
    There is an screenshot from a Youtube page, as you can see the video doesn't work, even if i wait a few minutes...
    Screenshot from a Dailymotion page,

  • My three year old was playing with her sisters IPOD and somehow figured out how to lock it. No one knows the unlock code can you soehow reset the device

    My three year old was playing with her sisters IPOD and somehow figured out how to lock it. Now it is locked and noone knows the unlock code, Is there a way to master reset/wipe the unit?

    Gretchen,
    What iPod model does she own?  If it's a Nano, simply connect it to iTunes and restore it. 
    If it's an iPod touch, you will need to connect to iTunes in Recovery Mode and restore it using the instructions in this Apple support document.
    http://support.apple.com/kb/HT1808
    B-rock

  • What is the ok code for Save (to post a document)

    Hi all Technos
    How to post a document(Save it) in BDC In Tr Code F-02 after all entry? What is code for that.
    In simple what is the ok code for SAVE. For your kind infromation ENTER is not taking.
    Plz any body help me For that.
    Every usefull answer will be rewarded with points..
    Thanks in advance
    shovan

    Hi Shovan,
    OK-code for save is =BU
    Check this recording..Award points if useful
    perform bdc_dynpro      using 'SAPMF05A' '0100'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'BKPF-BLDAT'
                                  '06.05.2008'.
    perform bdc_field       using 'BKPF-BLART'
                                  'SA'.
    perform bdc_field       using 'BKPF-BUKRS'
                                  'BP01'.
    perform bdc_field       using 'BKPF-BUDAT'
                                  '19.05.2008'.
    perform bdc_field       using 'BKPF-MONAT'
                                  '5'.
    perform bdc_field       using 'BKPF-WAERS'
                                  'USD'.
    perform bdc_field       using 'FS006-DOCID'
    perform bdc_field       using 'RF05A-NEWBS'
                                  '40'.
    perform bdc_field       using 'RF05A-NEWKO'
                                  '630020'.
    perform bdc_dynpro      using 'SAPMF05A' '0300'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'BSEG-WRBTR'
                                  '100'.
    perform bdc_field       using 'BSEG-MWSKZ'
                                  'I0'.
    perform bdc_field       using 'BSEG-TXJCD'
                                  'ca0000000'.
    perform bdc_field       using 'DKACB-FMORE'
                                  'X'.
    perform bdc_dynpro      using 'SAPLKACB' '0002'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=ENTE'.
    perform bdc_field       using 'COBL-KOSTL'
                                  '1201'.
    perform bdc_dynpro      using 'SAPMF05A' '0700'.
    perform bdc_field       using 'BDC_OKCODE'
                                  *'=BU'.* 
    Thanks,
    Rvaee..

  • Phone works even with incorrect lock code

    The phone presents me with a locked screen after boot. No matter what code I type in, it first shows a message saying 'code error' and then lets me through.
    Strange, but any idea why this works like this? I don't see any use of the lock code with this behaviour.
    My c6 is updated with the latest available firmware as of today.

    Hi ryanc6,
    We're sorry to hear about your problem.  
    Have you tried the default lock code 12345?
    Usually the lock code is requested after the update only if you have defined it earlier by locking your phone. You will be able to use the phone even if a wrong code is entered, but your phone will continue to ask for the lock code every time you start your phone. Your phone will also prevent you from performing secure operations, such as locking your phone manually or restoring factory settings, until the correct code has been entered once.
    Please check this thread for Nokia E51, it may contain some solutions you could try.
    If the problem persists, please visit your local Nokia Carepoint and let them have a look.
    Let us know if this helps,
    Puigchild
    If you find this post helpful, a click upon the white star at bottom would always be appreciated.
    If it also solves your problem, clicking ACCEPT AS SOLUTION below it will benefit other users!

  • FF5 is a worse resource hog (335,544 K!) than previous versions, even with only 2 tabs open and I cleared the cache, so what can be done?

    Plug-in container never goes below 28,000 K (and that's lowest). Twice it froze up looking at a page of book cover images. If I listen to Pandora while working, the plug-in container goes up to 105,000 K (and keeps rising), while FF can increase to over 361,000 K.
    COMPARISON:
    FF5 - 2 tabs (no Pandora) - drops to @357,000 K and plugin-container eventually down to @29,000 K
    IE8 - 2 tabs (Pandora & Amazon) - @135,000K & @28,000K
    Win XP Pro, Svc pk 3
    Intel core 2 duo cpu
    T7500 @ 2.20 GHz
    Anti-virus - Panda online
    Firewall - Online Armor
    SuperAntispyware 4.54
    Advanced System Care 3
    Spybot S&D

    I just downloaded the Memory Fox add-on and it helped immensely! Between the plugin container and FF5 it was using about 325,000K. Now it's down to operating at around 160,000K and will then drop the total for the 2 to about 55,000K periodically. Works for me, hope it will for you.
    https://addons.mozilla.org/en-US/firefox/addon/memory-fox/
    Vista SP2 32-Bit, 1G RAM, Intel Celeron 550 @ 2.00GHz

  • Two Laptop Computers, Latitude-XP & Prasario-Vista both with 4.0.1 are having trouble keeping navagation window visable even with navagation checked. Any other reports of the same?

    I have been using firefox for a few years now. I like it better than I-explorer but in the last version, 4.0.1 I am having problems accessing the navigation window.
    On two computers: Dell Latitude D530 running XP with XP standard browser. The other is a HP Compaq Presario CQ50 running Vista and Stardock Windowblinds.
    Both computers have the same problem with the current version of Firefox only. The navigation window will not stay displayed. I right click to view that the navigation option is checked but navigation is not there. If I right click and pick options, the navigation window suddenly appears but when I pick done, it disappears again.
    I either have to use a bookmark to navigate where I want or go to my Google search bookmark to get where I want.

    I have been using firefox for a few years now. I like it better than I-explorer but in the last version, 4.0.1 I am having problems accessing the navigation window.
    On two computers: Dell Latitude D530 running XP with XP standard browser. The other is a HP Compaq Presario CQ50 running Vista and Stardock Windowblinds.
    Both computers have the same problem with the current version of Firefox only. The navigation window will not stay displayed. I right click to view that the navigation option is checked but navigation is not there. If I right click and pick options, the navigation window suddenly appears but when I pick done, it disappears again.
    I either have to use a bookmark to navigate where I want or go to my Google search bookmark to get where I want.

  • I use classical Hebrew for my work, and Pages will only display English characters even with a Hebrew font selected. If I cut and paste Hebrew characters from another document, as long as the font is supported, it will appear in Pages.  If I type it won't

    I use classical Hebrew for my work, and Pages will only display English characters even with a Hebrew font selected. If I cut and paste Hebrew characters from another document, as long as the font is supported, it will appear in Pages.  If I type it won't continue in Hebrew.  I have tried downloading several fonts, including those from professional societies, but the only way to get Hebrew in my document is to cut and paste.  Does anyone know how to fix this?  I use an older MacBook running OS 10.9.1.  I used to do my Hebrew work in Word, but it is no longer supported by Mac OS.

    Just clarifying:
    Pages '09 has bad support for Hebrew, Arabic etc but will accept pasted text.
    Pages 5 has much better support but with bugs.
    If you have columns they are in the wrong order ie Text starts in the left column and ends in the right column.
    If you type English into Hebrew text it tends to fall in the wrong position eg instead of to the left of Hebrew punctuation it goes to the right.
    As Tom recommends the only real solution on the Mac is Mellel.
    Peter
    btw Tell Apple, they are amazingly slow to fix this running sore which has been broken since RtoL was supposedly introduced in OSX 10.2.3 over a decade ago.
    Peter

  • How do i stop my flash animation from constantly looping even though i added stop code?

    how do i stop my flash animation from constantly looping? I can't seem to find the answer. I put the stop(); code on it's own layer and at the end of the timeline. it still doesn't work when i test it or publish. I'm new to Flash.

    if you're publishing for html5, use:
    this.stop();
    to stop the timeline that contains the code.  if you want to stop other timelines, you must reference them.  eg,
    mc1.stop();
    mc2.stop();
    mc2.mc3.stop();

  • Adobe Premiere Pro CS6 crashes with not finding a capable play module on a windows desktop with a AMD Radeon R9 200 series board.

    I installed Premiere Pro CS 6.0 on a brand new system.
    Win 8.1,
    i7 3.4 GHz on an Asus Sabertooth
    16 Gig memory
    AMD Radeon R9 290 Graphics Board with the latest drivers and Bios.
    On starting Premiere I get the (as I noticed quite frequent appearing) error message that Premiere cannot find a capable play module and the suggestion to update my video drivers.
    I tried everything I found in this forum or on the web:
    Installed the latest drivers
    Run the program as an administrator
    Updated the Graphics board Bios
    Updated Premiere CS6
    Started Gpusniffer in CMD-mode to find out what board it found and added that to the cuda_supported_cards.txt in the Premiere directory.
    All to no avail. The app will simply not start.
    The Gpusniffers report states:
    Loadlibrary “n” failed 
    Loadlibrary “n” failed 
    --- OpenGL Info ---
    Vendor: ATI Technologies Inc.
    Renderer: AMD Radeon R9 200 series
    OpenGL Version: 4.4.13084 Compatability Profile Context 14.301.1001.0
    GLSL Version 4.40
    Monitors: 1
    Monitor 0 properties –
    Size: <0, 0, 1920 1080>
    Mex texture size: 16384
    Support non-power of two: 1
    Shaders 444 :1
    Shaders 422: 1
    Shaders 420: 1
    --- GPU Information Info –
    Did not find any devices that support GPU computation.
    As I invested a lot in the CS6 Master Collection I am not considering an update tot the CC version, also because the same problem occurs in that version too.
    I would be much obliged if someone has an answer that truly will work.  This problem costed me the best part of two days’ work and fouled up my workflow considerably.

    ==========
    I tried to go into display settings and disable the Intel card. (this caused low resolution which is unexceptable)
    ==========
    This makes me think it's using that graphics "card" ( probably built into mobo ? ...called 'onboard graphics ? )
    This stuff gets tricky and sometimes the only way to make windows 'recognize' the pci graphics card is to actually take it out and boot, and then put it back in...
    Then you get mssg " windows detected new hardware" and you install the drivers...
    usually bios gives you choice of using onboard graphics or not ( but this too is wanky sometimes...sorry to say ...)
    I recently ( this past year ) had a similar sort of situation but have a desktop, where its easy for me to take off side panel and pull the pci-e graphics card and boot, and get that horrible low res default screen...turn off, install card, reboot etc...
    but anyway, it sounds to me like you're notebook is using that mobile graphics driver stuff and not the radeon. Somehow you've got to make it switch to that graphics card is maybe your solution.
    sorry I dont have notebook but maybe someone else here does and can help more...
    good luck.
    ps..its always a weird fact of life...when things aren't working 'right' something has to get done fast....
    edit:
    I dont know how much you know about windows stuff, but after you disable that intel thing and get your low res screen.. you DID try to update the driver for that card using 'my computer / device manager  '   right ??

  • How to find out the condition type of the tax code in the PO document

    Hi friends,
    My questions is how to find out the condition type of the tax code in the PO document.
    When you use me23n to display one PO document. In the invoice tab, there is one text field named 'tax code' whose value could be T1, T2, J1, J2 and so on. Beside the text field, there is one button named taxes. When you click the button taxes, it will show you the condition type of the tax code. For example, if the tax code is 'T1', then its condition type 'mwcn'.
    I want to use the information on the PO to find out the value 'mwcn' of the tax code 'T1'. Could anybody help to describe the logic?it looks like the value is saved in the table konp. But I don't know the logic. Please describe. Thank you.

    Hi,
    Hope you have asked for select query..
    select single knumh from a003 into wa_knumh
      where mwskz = wa_itpotab-mwskz
      and kappl = 'TX'
      and aland = 'IN'.
    select single kbetr from konp into wa_kbetr
      where knumh = wa_knumh.
    cheers,
    Dep

Maybe you are looking for