Skip to main content
Participating Frequently
July 22, 2023
Question

TypeError: Error #1010: A term is undefined and has no properties. at FYPFinalresize3_fla::MainTime

  • July 22, 2023
  • 2 replies
  • 1278 views

Can anyone help me please....

 

i have 13 scenes in my adbe animate project where scene 8-12 is video animation sscene, meanwhile 1-7 is static scene with button. on scene 3,4,5,6,7. i put a button to navigate into scene 8-12. however when the button (in scene3-7) are cliched, the whole video animation scene are freezin. either animation and buttons don't wwork on scene (8-12)

 

i did enable permit debugging. and it only show

TypeError: Error #1010: A term is undefined and has no properties.
at FYPFinalresize3_fla::MainTimeline/frame307()[FYPFinalresize3_fla.MainTimeline::frame307:188]
at flash.display::Sprite/constructChildren()
at flash.display::Sprite()
at flash.display::MovieClip()
at flash.display::MovieClip/gotoAndPlay()
at FYPFinalresize3_fla::MainTimeline/fl_ClickToGoToScene_1002()[FYPFinalresize3_fla.MainTimeline::frame302:48]

 

i dont know where is the mistake. it said the problem in 307, but in which scene? i checked all the scene but i didnt put any code to that frame. please help me ass soon as possible. i have been stuck for days in this error

This topic has been closed for replies.

2 replies

kglad
Community Expert
Community Expert
July 22, 2023

click file > publish settings > tick "permit debugging".

retest.

the line number of the code with the undefined term will be in the error message.

fix that line of code.

also, using the trace function is very helpful to debugging as3.

 

if you need more help, copy and paste a few lines of code below and after the problematic line and indicate which line is the one with the error.

Participating Frequently
July 22, 2023

You mean Omit Trace statements enable?

kglad
Community Expert
Community Expert
July 22, 2023

no. i meant what i stated.

 

 

Participating Frequently
July 22, 2023

fyi, my document is sat into advanced layer