Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
I don't know if this is what is involved or not but you could try using:
scrollPane.focusRect = false;
Copy link to clipboard
Copied
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 !!
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 ??!
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
no i get this border in runnig mode and the screenshot i upload is from test movie mode
Find more inspiration, events, and resources on the new Adobe Community
Explore Now