ActionScript 3.0 :: Removing Yellow Border Around Buttons?
Aug 22, 2008Is there any way to disable the yellow border (focusrect) that appears around buttons when tabbing through them or at least make it more eye pleasing?
View 4 RepliesIs there any way to disable the yellow border (focusrect) that appears around buttons when tabbing through them or at least make it more eye pleasing?
View 4 Repliesq) One problem I still have. How do I remove this awful yellow border around the sprite container in AS3
private function checkNumber(e:Event=null):void{
trace("Globalvars.vars.noLoaded" + Globalvars.vars.noLoaded);
if(Globalvars.vars.noLoaded>=15){
[code].....
there is a yellow stroke appearing on my Flash buttons sometimes and i really have no idea why..anyone had this before? I didnt put there...and sometimes it appears on random buttons..
View 5 RepliesIs there a way to remove the left+right+bottom border of a mx:Panel?
basically I want to have the right UI instead of the left one ( check the screenshot )
I know that the default spark Panel is able to do so, but I just need to use Flex 3.
Here is what I tried already :
padding (seems only changing the children)
borderStyle = none is removing the color of the header
Highlighted portion in red! How do i remove it? Code to render list is below:
<s:List id="ui_lstIndexList" width="175" height="600" fontFamily="TwinCen"
fontSize="24"
alternatingItemColors="[]" borderVisible="false" downColor="#7fceff"
[code].....
After importing the video using one of the default skins I see a green border on the play button. It's possible to change it to another color?
View 0 RepliesHow can i have 15 buttons load different images into one border.When the swf loads picture 1 is loaded. When you click some of the other buttons picture 1 stays into the border. A preloader bar and percent shown up under picture 1. After the preloader and percent bar reaches 100% picture 1 "alpha-fades" out and the picutre correspnding the button you clicked "alpha-fades" in ?
This transissions will happen beetween all the pictures you load.The pictures must be loaded dynamic .
How can i have 15 buttons load different images into one border.When the swf loads picture 1 is loaded. When you click some of the other buttons picture 1 stays into the border. A preloader bar and percent shown up under picture 1. After the preloader and percent bar reaches 100% picture 1 "alpha-fades" out and the picutre correspnding the button you clicked "alpha-fades" in ? This transissions will happen beetween all the pictures you load !
View 2 Replieshow to remove the border of a togglebuttonbar button, with keeping the theme color??
i want to put the style in css file
I have 5 movieClip buttons. I want the GALLERY button to stay on the stage at all times, "which it does" but i want when the user clicks on 1 of the other 4 buttons for the remaining 3 to disappear. Example...when the user clicks on the KIDS button, the COUPLES, PORTRAITS AND BELLIES buttons disappear, or when the user clicks on COUPLES, for the KIDS, PORTRAITS AND BELLIES buttons to disappear, and so on.
Code:
import fl.transitions.Tween;
import fl.transitions.easing.*;
[code]......
I have 5 movieClip buttons. I want the GALLERY button to stay on the stage at all times, "which it does" but i want when the user clicks on 1 of the other 4 buttons for the remaining 3 to disappear. when the user clicks on the KIDS button, the COUPLES, PORTRAITS AND BELLIES buttons disappear, or when the user clicks on COUPLES, for the KIDS, PORTRAITS AND BELLIES buttons to disappear, and so on.
Code:
import fl.transitions.Tween;
import fl.transitions.easing.*;
var currentPage:MovieClip = gallery_mc
[code].....
I am using the following code to remove all buttons on a scene but it throws a RangeError and leaves behind one button.
ActionScript Code:
var childCount:int = _mc.numChildren;
var i:int;
for (i = 0; i < childCount; i++)
[Code]....
Iīd like to know if itīs necessary to remove event listeners from buttons. I know it's good practice to remove event listeners when its use is over. But itīs necessary to remove event listeners for buttons as well?
View 1 RepliesBelow is my code that works GREAT for using buttons to run functions that either create shapes or load a *.jpg image (I have attached image if you want to run the code and need the image)Problem: When I click on button 1 and it creates and drops my "square" as new movieclip named "stl" and then I go click on button 2 - it places the new shape onto of the first shape create from button 1.
I have tried removechild, removechildat, using numchildren-1, and I thought about creating an if else statement to remove previously placed movie clips from the stage before it runs and places a new instance on the stage but I can't get it to work.
[Code]...
I am no flash expert however I need to edit the source of the flash project here:It's the "Wordpress audio player" I need to remove the skip forward and back buttons when there is more than one audio file.Anyone know how to first of all use this folder structure, I thought it would simply be a .fla file that you edit but it seems to be loads of files. And then how do I compile it?
View 1 RepliesI've been trying to convert and AS2 project to AS3. I've been able to load all the static items from the library and been able to get the buttons to load different text. However when I select a previously clicked button it doesn't remove the old text. here's a section of the code.
ActionScript Code:
//Add the FactFind button
var factFind_btn:factFind = new factFind();
addChild(factFind_btn);
[Code].....
I understand that the major difference between AS2 and AS3 is that in AS3 you have to put all your script in a separate layer, and unlike AS2 you can't add them to buttons or movie clips themselves on their respective layers.
I'm doing a project for school where I'm required to make a flash portfolio.
I have Five buttons, and right now, two of those buttons goes to a frame to display a picture. However, I've made the other buttons dynamic, and they call other swf files to show an image gallery, a game and another image viewer.
What I have a problem with is when I click the first dynamic button, and the swf if added to the parent movie clip, it does not leave the stage when another dynamic button is clicked.
So what I have is all the SWFs loaded on top of each other.
writing a code that will remove child for each button when ANY other button is clicked.
here is the code I have:
stop();
btn3.addEventListener(MouseEvent.CLICK, buttonClick);
function buttonClick(event:MouseEvent):void{
gotoAndStop(3);
[Code].....
im doing an accessible site and i know that objects areaccessible by default. all my buttons were highlighted in yellowwhen tabbing through...then i opened my accessiblity panel to add labels and now theyellow boxes are gone. i've deleted all the additions but still nosign of the yellow boxes.accessibilty is checked for everything, i've gone through thewhole site. nothing seems to be missing. is there some way i canglobally re-set the accessibility settings.
View 5 RepliesCan someone explain why a yellow box sometimes appears when a user clicks a button in a swf? It doesn't happen all of the time and, frankly, it's never been an issue before.
View 1 RepliesI had made a custom Youtube player in Flash CS4 in AS3 with Play/Pause, Mute, Stop, Seekbar and VolumeBar Controls. My problem is "only" with the Seekbar and the VolumeBar. It always shows up a bounded Yellow retangle over the controls when you try to drag it (scrub it) using a mouse which looks really ugly... I have tried every possible ways to remove the tabstop, like tabEnabled, tabIndex , and the like but all in vain. Also I have tried to remove the focus from the stage of the FLVPlayback component, still in vain...
You can see 2 screenshots here... [URL]
Is there a way to remove the yellow rectangle that appears on objects when the Tab key is pressed. This mostly applies to MovieClips that are Simple Buttons.
View 5 RepliesI have 5 movieClip buttons. I want the GALLERY button to stay on the stage at all times, "which it does" but i want when the user clicks on 1 of the other 4 buttons for the remaining 3 to disappear. Example... when the user clicks on the KIDS button, the COUPLES, PORTRAITS AND BELLIES buttons disappear, or when the user clicks on COUPLES, for the KIDS, PORTRAITS AND BELLIES buttons to disappear, and so on.
[Code]....
I've been trying to figure out how to disable the mouse focus that you see when you tab through a swf file. I'm getting them pop up now and then and the client doesn't want them.I've been trying to work out how to disable focus for the entire movie but I've got nowhere. Is there an easy way to do this?
View 1 RepliesI tried using:
btnname._focusrect = false;
It did kill the yellow outline but then I can't navigate using the up/down/right/left key anymore.
IntelliJ displays yellow markers in the scrollbar on the right for warnings. Is there a way to disable warnings or just the yellow markers in the scrollbar?Follow-up: The file in question is from Adobe Flex SDK 4.1 frameworks/projects/framework/src/mx/controls/listClasses/ListBase.as. I have all inspections disabled. I've also disabled the JavaScript Intention Power Pack plugin. I have Highlighting Level set to None. With all this I still see warnings.
View 2 RepliesI'm using a keyboard event listener to move a sprite around, however, I have to click on the stage before the keys work. I'm even giving focus to the sprite that is supposed to move and telling flash not to use the yellow box. However, the box shows up around the sprite until I click anywhere on the stage.
Code:
public function activate_photo():void {
stage.focus = photoContainer;
[code].....
anyone has any tips about why i have these yellow marked classes in my actions panel?
View 3 RepliesHow to set the yellow focus rect to a movieclip to enable tab navigation? This is my current code:
mymc.tabEnabled = true
stage.focus = mymc
Does anyonen know how to globally disable/hide the yellow focusrect without affecting key listeners?
View 3 Repliesjust wondering how i can add a small explosion like thing when the ball hits the yellow circle, and not just a picture appearing on the hit (game attached, and using adobe Cs5)
View 2 Replies