Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Strange Blue Border Around Scrollpane

Participant ,
Jan 27, 2013 Jan 27, 2013

hi , i have weired Problem with Scrollpane

when i run my project , there are no any borders around Scrollpane in Normal mode and Hover mode

but when i Click on the Scrollbar the Blue border comes around scrollbar

i try to Edit SKIN and change Color and style in many ways but no success at all

i even try to add some script like :

scrollPane.setStyle("borderStyle","none");

but nothing changed

can anyone help me please ...

thanks

TOPICS
ActionScript
664
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 27, 2013 Jan 27, 2013

I don't know if this is what is involved or not but you could try using:

      scrollPane.focusRect = false;

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jan 27, 2013 Jan 27, 2013

thanks Mr.Murphy

my problem is very strange !!

the problem still exist even with your script ...

it really make me confused cause when i create new file and use my movieclips and scrollpane there is no problems ...

i remove many script ( sound , Video , ... ) from my Project but it seems they are not cause this problem

you can see the Blue line around my sidebar when i drage the sidebar !!

Untitled-1.jpg

i have many movieclips to scrollpane in various frames in my project , am i must do something about it ??!

a when i test my movies the error apear in output sometime :

TypeError: Error #1009: Cannot access a property or method of a null object reference.

    at fl.containers::ScrollPane/endDrag()

is there any chance to trace or find where problem comes from ??!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 27, 2013 Jan 27, 2013

If you are seeing that blue outline while you are NOT running the file, that is normal.  Anything you select on the stage will normally have ablue outline in the editor.

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jan 28, 2013 Jan 28, 2013
LATEST

no i get this border in runnig mode and the screenshot i upload is from test movie mode

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines