Copy link to clipboard
Copied
Hello folks i have a simple interactive media and this 1120 error keeps appearing everytime theres a frame added behind it. Basically speaking the button works like charm when both stop and go to and play code applied on irst frame of timeline. But the moment i added frames behind them they immediately malfunction.
Link Below are examples of the problem
https://www.youtube.com/watch?v=Xk6PPcqUvSw - The error problem situation
https://www.youtube.com/watch?v=3FmgBj4DXtA - The project im working on
Copy link to clipboard
Copied
if you're adding keyframes before keyframe with an object reference, you'll cause instance name problems.
Copy link to clipboard
Copied
so how can i solve it? bc im super new to animate coding. and what do you mean by object reference?
Copy link to clipboard
Copied
object reference = a reference in code (actionscript in your case) to the object.
to remedy,
add whatever frames/keyframes you want.
then copy and paste the problematic object to the first keyframe where you want to reference it (or even safer, drag that object from the library to that first keyframe).
assign it an instance name.
delete the keyframes with that object that are further down the timeline.
now create all the other needed keyframes that will contain that object.
note: this is only needed when adding keyframe before all existing ones with the problematic object. adding keyframes after the first keyframe with the object shouldn't be a problem (unless you remove and re-add the object).
Copy link to clipboard
Copied
Okay. I will give it a try. Thanks anyways
Copy link to clipboard
Copied
you're welcome.
update your progress.