Copy link to clipboard
Copied
Hi guys!
I'm new to this program. Help would be really appreciated.
I keep getting this error: ReferenceError: Error #1065: Variable TCMText is not defined.
In the Compliers Error tab, it also says: Scene 1, Layer 'actions', Frame 1, Line 1 1086: Syntax error: expecting semicolon before leftbrace.
I'm not sure if this is correct, but I used the code snippets to help me on my Actions Frame, but to no avail.
on(release){
_root.gotoAndPlay("2");
}
/* Click to Go to Next Frame and Stop
Clicking on the specified symbol instance moves the playhead to the next frame and stops the movie.
*/
start_btn.addEventListener(MouseEvent.CLICK, fl_ClickToGoToNextFrame_3);
function fl_ClickToGoToNextFrame_3(event:MouseEvent):void
{
nextFrame();
}
I don't have a moving animation, but I want my Flash to work similar to a Power Point, so that the person can read the screen, then just click the button symbol to see the next scene. This is for an assignment, and it's due pretty soon. Haven't been able to figure out what's wrong since I'm a noob, thanks.
Copy link to clipboard
Copied
The first bit of code, "onRelease..." is Actionscript 2 and the second bit, "start_btn.addEvent..." is Actionscript 3. You can't mix and match versions of Actionscript in the same file. With nothing selected in the Stage window, look at the Properties window. In the Script section at the top, it will tell you which version of Actionscript you selected for this movie. Try just using the one version that your movie expects to see.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now