Skip to main content
Participating Frequently
May 24, 2017
Answered

Error #1009 : fl.containers::ScrollPane/endDrag()

  • May 24, 2017
  • 2 replies
  • 545 views

Hi, i want ask to all of you.

How to solve the problem of Error #1009 : fl.containers::ScrollPane/endDrag()?

Anyone can help me?

Because i've tried any suggestion from internet but it can't work.

If i remove checklist for scrollDrag on tab components parameters, the error not appear, but i need srollDrag because the application will be used on smartphone or tablet.

I am very happy if anyone can help me

This topic has been closed for replies.
Correct answer Ned Murphy

The 1009 error indicates that one of the objects being targeted by your code is out of scope.  This could mean that the object....

 

- is declared but not instantiated

- doesn't have an instance name (or the instance name is mispelled)

- does not exist in the frame where that code is trying to talk to it

- is animated into place but is not assigned instance names in every keyframe for it

- is one of two or more consecutive keyframes of the same objects with no name assigned in the preceding frame(s).

 

If you go into your Publish Settings Flash section and select the option to Permit debugging, your error message should have a line number following the frame number which will help you isolate which object is involved.

2 replies

Ned Murphy
Legend
May 24, 2017

Sometimes when a component is involved the problem is due to the component not being in the library.

Ned Murphy
Ned MurphyCorrect answer
Legend
May 24, 2017

The 1009 error indicates that one of the objects being targeted by your code is out of scope.  This could mean that the object....

 

- is declared but not instantiated

- doesn't have an instance name (or the instance name is mispelled)

- does not exist in the frame where that code is trying to talk to it

- is animated into place but is not assigned instance names in every keyframe for it

- is one of two or more consecutive keyframes of the same objects with no name assigned in the preceding frame(s).

 

If you go into your Publish Settings Flash section and select the option to Permit debugging, your error message should have a line number following the frame number which will help you isolate which object is involved.

Participating Frequently
May 26, 2017

thank you for your explanation, i'll try for my project

If you dont mind, can i ask you about the script for scrollPane?

I mean script scrolldrag for scrollpane