Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Remove List Component Background



Ok, this might seem easy, that's what I thought at first aswell

I've got troubles removing the background color of my List Components, on both disabled and enabled states. I was able to remove the background color on the enabled state, using the folowing code:
code: _global.styles.ScrollSelectList.backgroundColor = undefined;
But this removes fucntionality aswell.

I'm guessing this is because it's using hitTest somewhere (that's just growse), so if I could set the alpha of the background mc to 0, it should work aswell. However, I can't find this background movieclip anywhere.

The disabled status is a bit harder, since I can't even remove the background at all.

Any help is appreciated
~Sph



FlashKit > Flash Help > Flash ActionScript
Posted on: 09-09-2006, 05:46 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

[F8] List Component - Transparent Background? Or A Custom Bitmap Background?
I have a custom bitmap I'd like to use as the background for my List Component in Flash 8 Pro.

I can't for the life of me find any documentation on how to make the list component background transparent or how to put a bitmap in the background of it.

Can anyone help with this? Please!

FOO

Component - ComboBox - Remove Subject From List
Hi,
I re-skinned a comboBox and have "Subject" as the Title of the comboBo. But now I'm not sure how to get "Subject" out of the drop down list.

Does anyone know how to how to do this?

Also, the last thing on my drop list gets cutt off. Is there a way to set the size of the spacing for the drop list???

This will help to see what I'm talking about

Thanks,

Remove User List From Audio Conference Component
Hi,
I have a simpleconnect and Audioconference components and a logout button.

I'm calling the components close functions into the logout button. But when I clicked the logout button all the components close functions are executing, but the user name with which I logged in is not removing from the audioconference component.

Any idea on how to do this.......

Thanks in Advance
Anil Golla

Remove User List From Audio Conference Component
Hi,

I have a simpleconnect and Audioconference components and a logout button.

I'm calling the components close functions into the logout button. But when I clicked the logout button all the components close functions are executing, but the user name with which I logged in is not removing from the audioconference component.

Any idea on how to do this.......

Thanks in Advance
Anil Golla

? How Do I Remove Background In Scrollpane Component ?
please help...

In Flash 8, how do I remove the background from the scrollpane component so that it's not showing the default white?

Thanks!!!!!!

How To Disable/remove Tree Component's Background ?
I am using Flash MX 2004 Professional.

I am building an application which uses the Tree Component over a movie clip.

Is it possible to remove/disable/hide the white background of the tree component, so that it seems as if the tree menu is floating above the movie clip ?.

I am using default Halo Theme.

Please help me.

Thanks in advance.

Kannan.

How To Disable/remove Tree Component's Background ?
I am using Flash MX 2004 Professional.

I am building an application which uses the Tree Component over a movie clip.

Is it possible to remove/disable/hide the white background of the tree component, so that it seems as if the tree menu is floating above the movie clip ?.

I am using default Halo Theme.

Please help me.

Thanks in advance.

Kannan.

Transparent List Component Background?
is there a way to make the list component in MX to have a clear transparent background?
My project consists of a multiselection screen which stores info into an aray on submittion. this is information is then reffrenced to possible outcomes of the options and inserts the different outcomes into paragraphs in the list.

So can I make the background transparent, or do I need to make a dynamic text box to display the outcome results.

If I do need a text box, when doing a for loop to parse an aray, what is the character I need at the end of the statement to return after each textline inserted.


example.
for(i=0;i<comments.length;i++){
textfield.text = textfield.text + comment[i] "i want a return character here";
]

List Component, Transparent Background
Anyone know what CSS declaration to use to make the background of a LIST component transparent?

I've tried using the following:


Code:
_root.myList.setStyle("backgroundColor", "transparent");

Code:
_root.myList.setStyle("backgroundColor", transparent);
Somewhere on some Google search result page I also got a hint that this could be used too:


Code:
_root.myList.setStyle("backgroundColor", undefined);
But none of this works. I know the same style declaration works on all other components like TextArea and all, but it doesn't seem to work on the List. Any ideas, please?

Transparent List Component's Background
I wanna make my List component's background transparent and i found this piece of code which seem to work :
_global.styles.ScrollSelectList.backgroundColor = null;

BUT,the problem is that(if u made a video player with a XML playlist) the videos are not selectable which is totally fucked up :cry:


Your inputs are welcome

note:i said transparent but a ALPHA effect would be ok too

AS2 - Any Way To Make List Component Background Transparent?
I can change the background color of a list box component but I don't see any way to make the background transparent.

Can it be done? I'm using CS3 and AS2.0.

TIA,

rgames

List Component - Transparent Background Color
Hi,

I'm wondering is it possible to set the background color of the list component to transparent (alpha) with setStyle method.

Example:

Code:

list.setStyle("backgroundColor", "0xFF00FF");

If it's not possible, can you tell me which component to skin, because if I open the HelloTheme.fla for skining, the list component is not there, maybe because the list component is combined from different components?
I know that I have to skin the scrollbar too.

Thanks in advance,

bye Mario :D

How To Remove XML List
HI... I have created a a dropdown menu list using XML. Now, How can I remove or hide those currently opened dropped down menu when I clicked on another dropdown menu?

thanks a lot guys...

(Flash MX Or 8) List/List Component Issues
Hello all.

I recently completed Kirupa's "Creating a Listbox" tutorial, (http://www.kirupa.com/developer/mx/listbox.htm) but have been having a difficult time modifying the event attributes of each list item. Basically, I want to click on an item and have an object on the stage move to a unique xy coordinate. I can get the object to move already (object._x = object._x +10, but unfortunately ALL items on the list execute this script command. I've tried fooling around with the code to get each item to do a unique movement but...well, clearly I haven't succeeded yet.

I'm a Flash nooby and help in the form of specifics would be greatly appreciated. If you can provided modified code from the tutorial to move an object to a unique positions that's even better.

Thanks.

David

List Component. Help. Looked Everywhere. Button And List.
Trying to use a list component and a button. When user selects something from list component and clicks button it takes them to new page, if user doesnt select something from list and hits button, (this is where my question lies) I want it to do nothing and setFocus to list component.

Here is how I am going about it now: New if statement (however it still transfers user if nothing is selected from list component) How can I get it to not transfer? I have tried rewritting this many ways, searched all over the nets, and Nada.


Code:
var arUrl:Array=["/browsecategory.aspx?cat=1","/browsecategory.aspx?cat=2","/browsecategory.aspx?cat=3","/browsecategory.aspx?cat=4"];

var provider:Array=[{label:"Option 1",data:0},{label:"Option 2",data:1},{label:"Option 3",data:2},{label:"Option 4",data:3} ];

mcList.dataProvider=provider;
var obj:Object={};
obj.click=function(eo:Object)
{
var count:Number=mcList.selectedItem.data;
getURL(arUrl[count],"_blank");
trace("count="+arUrl[count]);
}
but.mcSubmit.addEventListener("click",obj);/////here is where I am sending off
if(mcList.selectedIndex == undefined) {
setFocus.mcList;
}
So this thing works perfectly, however if user hasnt selected anything how can I get it to not transfer and setFocus?

I have tried setting if to check it for - 1 (since starts at 0) set to 0? Any ideas please help. Thanks in advance MT

Remove List Of Movieclips
i have an array containing the instance names of various of movieclips

can i use this array to remove them all at once? like a reset button?

'list' Event Of List Component
oops i mean 'change' event of list component

Hi guys/gals. Ive made an xml/list component driven mp3 player as can be viewed at http://www.flashmatics.co.uk/blog/sa...mp3player.html

When someone selects a new song from the list that songs starts to play. Everything is working fine.

I now want to add an extra bit of functionality i.e When one song finishes i want the next song to start playing. But this means I have to tell the list component that a change has occured as well (even though there has been no user interaction to cause this 'change'). How would I go about this. Here is a snippet of relevant code.


Code:
mySound.onSoundComplete = function():Void{

//from here i need to tell the component a change has occured and to move it
//to the next song in the menu
}


//create a listener for the list component
var compListener:Object = new Object();
list_comp.addEventListener("change", compListener);

compListener.change = function(info:Object):Void{
//how do i get this to move to the next track?
}
Thanks for any help in advance. I dont actually need the whole code or anything but rather a point in the right direction..cheers

Loading XML List Into RMP List Component
I have several XML lists to load into a RMP List Component List Box.
I was told the code should be like:

myButton.onRelease=function(){
myList.load(String(search.text));
}

So I made a button and named the instance "myButton"
Add the list component called "myList"
The XML files are named test1.xml, test2.xml etc.

I tried variations of:

myButton.onRelease=function(){
myList.load(String(test1.xml));
}

Result....

Nota

I think I may need a Listener or I am not sure...
Can anybody please advise me what I am doing incorrectly?

Remove JPG's Background
I import a jpg but my movie background is black and the jpg bacground is white how do i make picture background black too?. As you can see in the movie the a plug comes from left but having a white background. i gave it a blur effect by using adobe photoshop.But please dont say to make a jpg in black background bcoz i want to make the background color full.

Remove Transparent Background
Hi all,

I would like to know if it's possible to remove a background transparent of png

- load my png
- copy it in my new Bipmadata with draw

But how i can copy my png without th background ?

thanks all

Remove Background On MenuBar
Hi, I am currently making a flash website where all of the text is loaded externally from a single xml document. I have now decided to include a MenuBar as my way of navigating. Because I wanted it going down I have stuck it in a for loop, as you can see in the code.

I am in need of one last thing that i can't for the life of me figure out; I need to make the background of the menubar(s) transparent.

Would anyone be able to help me with this?

Many thanks,
Kyle








Attach Code

//*********************
// Create navigation menu
//*********************
for(e=1;e<6;e++){
createClassObject(mx.controls.MenuBar, "navMenu"+e, 20+e);
_root["navMenu"+e].move(500,-27+(e*30));
_root["navMenu"+e].setSize(195, 30);
_root["navMenu"+e].setStyle("color", "0x000000");
_root["navMenu"+e].setStyle("themeColor", SiteContent_colour7);
_root["navMenu"+e].setStyle("fontSize", "13");
_root["navMenu"+e].setStyle("fontWeight", "bold");
_root["navMenu"+e].setStyle("fontFamily", "Tahoma,Verdana,Arial");
}

How To Remove Background Of An Image
Does anyone knows how to remove the white frame of images I need to combine into a flash MC? Thanks!

Datefield Component And Combo List Component
Hello All,
Im creating a form for a booking system. When the user chooses the date and submits. The booking gets emailed to a specific address. Im using the datefield component and combolist component. in flash. I usually use PHP to push data from a text field and email. But i'm stuck here, because the datefield and combolist is not a text field. Can anyone please help me.

I wanna email the data from the fields to an email address. Im new in flash. Can anyone please help me.

Datefield Component And Combo List Component
Hello All,
Im creating a form for a booking system. When the user chooses the date and submits. The booking gets emailed to a specific address. Im using the datefield component and combolist component. in flash. I usually use PHP to push data from a text field and email. But i'm stuck here, because the datefield and combolist is not a text field. Can anyone please help me.

I wanna email the data from the fields to an email address. Im new in flash. Can anyone please help me.

Remove Part Of The Alpha Of A Background
Apologies for the confusing title.

I will try and explain.


Ok first of all I have a picture, and on top of that is a layer whose alpha is set to 85%.

Now another layer I have is a graphic of a mobile phone.

Now whilst using the mobile phone as a cursor, by using startDrag, I am wondering is the following possible.


How would I go about making the centre of the phone remove the alpha area that it is on. For example, the entire picture looks white-ish, but my idea is that when I place the drag the mobile phone over the picture, a small section of the image becomes clear, i.e. the alpha is removed.

Does anyone have any pointers or know how to complete this?

Again my apologies if I havent explained myself any better.

Import AVI Into Flash, Remove Background
I am creating a small swf file that has an avi file of a man giving an interview.

The AVI background of the avi is black and I would like to remove this or make transparent when played.

Is there anyway to edit the background of the AVI file removing the black background and making it transparent?

Thanks in advance.

How Do I Remove Background From Image In Flash? Use Another Program?
i have a background image of a scenery and i have an image of a person. if the person's image has a background to it how can i cut the background out of it so i can just animate the person?

an example of what i am talking about is on the opening part of https://www.amadeodecada.com/Secure.html where u can notice the girl is in in color and looks as if she is a seperate image from the background which is in black and white.

thanx in advance.........

Can't Remove Pause In Background Music Loop
Hi. I am wondewring how to make a background music loop that doesn't pause when the song restarts. I have seen flash files that loop and you can't really tell where the loop ends and begins again because it imediately begins again. Is this possible with Flash MX 2004 or do I need to use another program?

Thanks

Scrollpane: Can I Change The Color Or Remove The Background?
I was wondering if anyone knows how to change the background color of a scrollpane, make it translucent, or delete it altogether so you can see graphics behind it.

Thanks!

[F8] Remove Background From Camera/Webcam Input
I'd like to take a webcam input and remove the background (i.e. non-moving areas) for something I'm working on, rather like one of the examples on the gskinner gallery if anyone has seen it or the Nissan Interactive thing.

Is this technique fairly easily achievable? I have seen a tutorial on the Adobe site which explains how to display motion detection which seems quite understandable. I would have thought some modification of that would achieve the desired effect.

Thanks!

[F8] How To Remove The Background And Stroke Of Input Text?
Hey guys,

Ok I've this customised search bar on this site im building and for some reason whenever i convert the text field to input text it adds a white background and black stroke to the text field. But when its static text it looks perfect. Does anybody know how to take away this bg and stroke?

Thx!

Remove Background From Camera/Webcam Input
I'd like to take a webcam input and remove the background (i.e. non-moving areas) for something I'm working on, rather like one of the examples on the gskinner gallery if anyone has seen it or the Nissan Interactive thing.

Is this technique fairly easily achievable? I have seen a tutorial on the Adobe site which explains how to display motion detection which seems quite understandable. I would have thought some modification of that would achieve the desired effect.

Thanks!

Remove Video Background With Blend Mode?
Hi,

Does anyone know if it's possible to remove a white (or black, or specific colour) background from video using blend modes (or anything else!) in flash 8?

Thanks in advance,
Douglas

How Do I Remove The Background From A Movie / Sound Problems
Apologies, not really sure what I’m doing…

How do I remove the background from a movie I made?

I imported a QT movie at 368/272 pixels, but for whatever reason the HTML jumps up to 550/400.

The movie is still 368/272 but there is a background border making it 550/400. Tried all sorts of settings in Publish but can’t get rid of it. Can I keep the movie (and controller) and not the background?

I can get round it by changing the background colour, but surely there must be another way.


Also: My QT file was fine but the .flv has a stuttering sound, any idea what could cause that?


Thanks, and Thanks!

Remove Background From Imported Vector (EPS) Images
Okay, I am stuck. I will give the first person who can correctly get me past this problem one free year of web hosting on my server (reasonable bandwidth constraints will apply). Now on to my problem.

I have to import clipart (all EPS format and a lot of it), So far that works just fine, the image background is transparent (so far so good), the interior of the clipart is white and the lines are black, I have figured out how to change the line color from black to other colors,

What I need help with ---- I need the ability to set the white interior to transparent as well as change it to other colors.

This needs to be done in Actionscript. If it would help I can email you a sample EPS image. To request an image just shoot me an email to cnash@ix.netcom.com.

Thanks, and I am not joking about the hosting if you can use it and before I get questions about hosting, we are not a hosting company, we have private servers only for our development clients.

Clint...

How To Remove Only The Background Of A Video Clip In Flash
The problem which I am facing is that I have a video clip which has a black background. Now the website which I am working on has images in it. When i load this video clip externally by the action loadMovie("fire.swf", 2); the black background of the video clip also starts showing. I want this video clip to be transparent "without the black background".

I have googled it, but all helps explains the "transparent Flash overlay", which is done with the help of HTML tags i.e
<param NAME="wmode" VALUE="transparent">.

I want to do it in flash, not in HTML or DHTML

How Do Your Remove White Background When Movie Loads In Browser?
Hello
I hope someone can help me with this question. I have seen on other flash websites that the background that they chose for the movie is the only one that appears.
On my movie, let's say I choose black as my background in flash, I complete my movie and then put it up on the web, my problem, is when I load the movie to view it, a white background appears first where the movie will be played, how do I eliminate this white background?
As always, I appreciate the help.
Deb

[f8] Remove Component With As
I am having problems removing some movieclips - I have tried the whole swapDepth thing and I think the reason it doesn't work for two of my movieclips is because they contain components.
The movieclips are created dynamically - as are the combobox components.
So I figure if I delete/remove the components I can then remove the movieclips.
but I can't find anyway to make it work
I've tried delete(bkgCombo) and it doesn't work, and searches on here and online, and in the help provide no clues.
Cheers
Boris

Loader Component And List Component
Hello everyone,

using AS2.0 does any one know if i can push or add a list component inside a loader component?

This would allow me to add as many List components as i want "dynamiclly" while letting the loader component grow as needed with the usuability of the scroll bar on a small stage.

thx

Remove SetFocus From Component
How can i remove green highlit from component.

How To Remove Attached Component?
hi dude's

i know is a silly question, but i cant get it right,
all i wont is to remove some instanze of component (without using closeHandler). does this removeMovieClip work at all on attached components?

_root.attachMovie("FLoadingBoxSymbol", "save_song_transfering_mc", 100);
save_song_transfering_mc.setTitle("Transferig data!");
save_song_transfering_mc.setAnimation("flb_transfe r");

//doesnt work
removeMovieClip("save_song_transfering_mc");
_root.save_song_transfering_mc.removeMovieClip();

what do i do wrong?

Remove Component Halo?
Okay so I have already figured out how to get the outline border around a scrollpane component not to display (using setStyle("borderStyle","none");

But when I click on the scroll bar to move it a green outline pops up. How do I get rid of that?

[F8] ScrollBar Component - Remove Buttons ?
hi guys,

was wondering if any of you lot had any idea how i can get the arrow buttons
on the wonderfully skinable scrollbar component to not be there ?? i've got
rid of them in my new skin but the actionscript code still thinks they are
there and the thumbtrack wont reach the very top or bottom of the scroll track
any one have any ideas ??

cheers

mr tim x

TileList Component - How To Remove Spacing?
So I've created a tilelist component.

Populated 15 images into it, in a 3x5 grid.

I removed the "CellRenderer" skin from it (that little black border around the images). However, now the images have white space in between them.

How can I remove this whitespace between the images?

Remove Loader Component Temporarily?
Hi,
I am loading images dynamically into a loader component named myPicLoader.
I want myPicLoader to be "unloaded" when I go to the home page, then reloaded when I go to the image page.
Making the loader visible = false doesn't work since it only hides it.
Any suggestions?

Remove A Component From The Event Chain?
I have a canvas that listens to mouse events. Inside that canvas is another canvas with an image inside it. I'm finding that the mouse event currenTarget can be the image as well as the outer canvas. I would like to prevent this by, say, taking the image out of the event (target/bubble) chain. Is this possibe?

Remove A Component From The Event Chain?
I have a canvas that listens to mouse events. Inside that canvas is another canvas with an image inside it. I'm finding that the mouse event currenTarget can be the image as well as the outer canvas. I would like to prevent this by, say, taking the image out of the event (target/bubble) chain. Is this possibe?

Remove TextArea Component With Actionscript?
I've used something like...

Code:
this.createClassObject(mx.controls.TextArea, "tA"+ntA, ntA);
... to attach a TextArea component to the stage. Now I want to remove it with a button onRelease event, something like...


Code:
btnRemove_btn.onRelease = function(){
// this._parent["tA"+ntA].removeClassObject(); ???
}
...which obviously doesn't work. Perhaps the answer is in the manual, but I tried and tried and just couldn't understand. Could someone please explain how to do this?

Also,while I know how to embed fonts inside a textInput field, I'm really stumped about how to do it with a TextArea component that's been created like the one above. Do I have to use a stylesheet?

~Fingers~

TextArea Component- Remove Focus
Hi ,

Just when I leave the scrollbar of the TextArea component from HTML page, the whole text in the Textarea component goes 'selected'. How can I remove the auto selection while scrolling ?

very simple issue, but troublesome. Please help


//-Below is the script applied------------

//ta= textarea
ta.html = true;
ta.wordWrap = true;
ta.multiline = true;
ta.label.condenseWhite=true;

//load css
XStyle = new TextField.StyleSheet();
XStyle.load("style.css");
ta.styleSheet = XStyle;

//load in XML
homeContent = new XML();
homeContent.ignoreWhite = true;
homeContent.load("home.xml");
homeContent.onLoad = function(success)
{
if(success)
{
ta.text = homeContent;
}
}





Thanks
Nasih

Copyright © 2005-08 www.BigResource.com, All rights reserved