HeJeg sitter å jobber med en nettside, og alt har vel for såvidt gått helt fint. Helt til jeg fant ut jeg trengte en Frame helt på brgynnelsen av resten av timelinen. etter jeg ordnet dette, fikk jeg feilmelding på alle knappene..
Koden er:
Feilmeldingen er:
Blir veldig glad hvis noen klarer å finne ut hva feilen er : ) For nå begynner jeg å bli litt lei av å prøve alt mulig ^^
-Sondre
Koden er:
Kode
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. */ button_2.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_11); function fl_ClickToGoToAndStopAtFrame_11(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. */ button_1.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_12); function fl_ClickToGoToAndStopAtFrame_12(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. */ button_3.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_13); function fl_ClickToGoToAndStopAtFrame_13(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. */ button_5.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_14); function fl_ClickToGoToAndStopAtFrame_14(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. */ button_6.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_15); function fl_ClickToGoToAndStopAtFrame_15(event:MouseEvent):void { gotoAndStop(6); }
Kode
Attempting to launch and connect to Player using URL C:\Users\Sondre\Documents\Olav\Nettside.swf [SWF] C:\Users\Sondre\Documents\Olav\Nettside.swf - 710042 bytes after decompression TypeError: Error #1009: Cannot access a property or method of a null object reference. at Nettside_fla::MainTimeline/frame1()[Nettside_fla.MainTimeline::frame1:10]
-Sondre