IDE :: CheckBox Component: Increase Size Of Hit Area?
Mar 10, 2009
I'm trying to make selectable thumbnail images for a touch screen app where the user can touch the thumbnail image and turn a CheckBox on or off to select/deselect it.
The thumbnail images measure 100x100 pixels, and I want the CheckBox to be in the upper right hand corner of each image. When I go to the Adobe AS3 help site, it says that it should be possible to increase the size of the CheckBox hit area in one of two ways:
1) Select the component on the Stage and use the Free Transform Tool or any of the Modify > Transform commands.
2) Use the setSize() method or applicable properties of the CheckBox class.
According to this same site, if you increase the size of the instance, you also increase the size of the hit area.
I've tried both of these, and none expand the hit area over the entire thumbnail. In fact, neither seems to increase the size of the hit area at all. In order to select a particular thumbnail, the user still has to hit the CheckBox.
View 1 Replies
Similar Posts:
Jan 21, 2010
I want to use the checkbox component in my flash app, but it's really tiny. According to this article 1, the size and scale parameters only affect the invisible bounding box. Does anyone know of a quick solution on how to scale up (enlarge) the visual area of the checkbox component in flash CS3?
View 2 Replies
May 23, 2011
I need to implement a functionality where a user adds some text into a text field. Next if a user clicks on a button, then the font size increase/decrease so as to accomodate entire text in the available area. That means if a user has added just hello world in 12 px font and text field size is say 400*200 and user clicks on the button, the font size increases such that the text is occupied in the complete text field. Similarly if lot of content is added at a font size of 16 or so then clicking on the button reduces the font size to make it fit into the available text field area.
View 1 Replies
Aug 15, 2010
this must be possible but i can't find any info on it. how do i increase the size of the combobox component scroll bar? i know it's a list component but i can't figure out how to set it's size. i want to use it with a touch screen and it's much too small.
View 3 Replies
Mar 19, 2012
I need a datagrid, which contains checkbox (4 no's) without multiple selection. And I also need a text area which should contain the selected checkbox's label/data. I tried using arraycollection but I am not getting.
View 2 Replies
Feb 11, 2010
I have a MovieClip that is just a 100x100 circle with a stroke but no fill. When I change this to 200x200 using as3 the stroke size doubles. How can I increase the diameter of the circle without changing the stroke size?
View 7 Replies
Jan 14, 2010
how to increase the work area of a flash document? Not the stage but the empty space around the stage. [URL] It seems to be limited to about 4,000 pixels wide regardless of the zoom level. This is a big problem for me as I'm working with a movie clip with a width of 8000 pixels and if I want to add text to part of the clip that's at 6,000 pixels in, I can't see it because its outside the work area. I can't shift the clip to the left to access the part on the right because if I do, the text area doesn't move with it. Is there any way to link objects together? When I select multiple items on the stage and Right Click, there's an option called "Break Apart" but I don't see one to join them or link them.
View 5 Replies
Dec 18, 2011
I made some custom buttons in flash cs5 and AS3. How do I increase the hit area on the buttons?
View 4 Replies
Dec 29, 2009
I'm trying to get an object to increase in size the lower it goes down the stage, and decrease in size the high it moves up the stage.
It only needs to increase or decrease by a small amount. Basically, it's for a game character. To ad realism to his movements, it would be nice to have this feature.
This is where i'm up to so far:
Code:
import fl.transitions.Tween;
import fl.transitions.TweenEvent;
import fl.transitions.easing.*;
[code]....
I think I need something like:
if (object moves up)
decrease
else if (object moves down)
increase
View 6 Replies
Oct 28, 2009
increase the actual workspace. Not the size of my stage but the actual box that is around the stage. Mines a light gray. Its just I have stuff the needs to be way way off screen and there seems to be a limit on how far the project extends.
View 2 Replies
Nov 17, 2009
how can I increase the size of flash CS4 interface? Meaning also to enlarge tools buttons, so they are easier to see. I have to strain my eyes, because all of the toolbars and text related to them are too small, for constant work.Is this possible? I know there is one way - to increase display DPI settings, but that would also increase the whole desktop, but I would like just to increase flash interface text size and if it is possible then also tool buttons.
View 1 Replies
Jun 19, 2010
i have a question about code comments do they increase the size of the compiled .swf or are they completely ignored by the compliler the reason i ask is i have several lengthy functions written various ways and I have the functions i'm not currently using commented out......is it ok to leave these commented or should I make several class files ?
View 3 Replies
Sep 3, 2009
How do you increase the size of an entire movie into an actual swf file? I note that increasing the stage size increases the "frame" that the movie opens in, but does not increase the size of the movie itself. I find a lot of stuff on the internet about sizing a flash movie using html embedding, and perhaps that is what I need...but what I really mean is change the size of the whole movie before it is saved as an SWF and within Flash itself. Is there a simple way to do this? I mean, once you have the movie in place but have simply not saved it to SWF yet. Again, I note that cghanging "size" on document properties enlarges the frame that the movie opens in but not the movie itself.
View 4 Replies
Feb 25, 2010
Recently i worked in a project where i used 5 radio button to select a page number. Now the clients wants a big radio button. how can i increase the size of radio button in flex?
View 1 Replies
Feb 24, 2011
i'm developing an AIR application in Flash Professional CS5 and noticed that my .swf file size jumps from around 100kb to 900kb just for using TLF?! is this normal? that seems like an awful lot of extra weight for a few more options over regular TextField objects.
View 2 Replies
Apr 25, 2010
I am trying to make my circle (mcCircle) shape size increase every time i click on a button (btnIncrease).
I already create the circle and got it all in place but I couldn't figure out the way to increase the circle when i click on the button.
View 4 Replies
Jul 19, 2011
I have a button and a movie clip. By pressing a button and hold it, the movie clip will keep non reducing or increasing its size until the button is released.
View 3 Replies
Nov 7, 2011
I am building a site where it has a section that when i mouse over it, a new window with more buttons show up, except when i take my mouse out of the area of the Movieclip that contains those extra buttons, that area disappears
View 3 Replies
Feb 12, 2009
This PHP contact form works well and is very simple. I have one checkbox in the fla file. However, it keeps displaying 'No' in the email message field, whether the checkbox is selected or not. It should display 'Yes' if the checkbox is selected, and 'No' if the checkbox is unselected.Here is the PHP:
PHP Code:/DESTINATION--------------------------
$destination="***@***.com";
//-------------------------[code]....
View 4 Replies
Apr 28, 2010
I'm looking for a way to increase the click size so when I click, it would effectively count as a click on anything that is in a 100px by 100px radius around the click.
View 2 Replies
Mar 17, 2011
I have a movieclip slider_mc that can be dragged across the screen. There are also lots of small movieclips on the stage that I would like to increase and decrease their size depending on how close the draggable movieclip is to them
View 1 Replies
Sep 12, 2003
How can I increase the size of a movieclip(to 800x600) which is not in the main time line and place it in the (0,0) position of the stage?
_x,_y properties give the position relative to current movieclip ,isnt it?
View 3 Replies
Dec 9, 2009
In Flex, is there an easy way to change the size of a Checkbox? I want to make the checkbox bigger, but the label beside it the same font size
View 2 Replies
Nov 3, 2009
I have TextArea component added via actionscript onto the stage.I wanted to increase the size of the font since its too small.How to do that via actionscript?
View 1 Replies
Jan 17, 2011
I have a <s:Scroller> surrounding a <s:Group>. The scroller works, but I want to increase the vertical step size on the scroller. I've tried everything, but am having no success. Modifying the scroller.verticalScrollBar.stepSize value in the init function seems logical; however, this approach fails.
View 2 Replies
Nov 3, 2009
As the piece of music I use on the intro page to my site has become quite lengthy, I decided to stream it rather than imbed the file. I used (AS2):
var mySound:Sound= new Sound();
mySound.loadSound("melange.mp3" , true);
mySound.onLoad = function() {
mySound.start();
}
Which worked fine, the only problem being that after a certain amount of time (which varies depending on computer, bandwidth etc.) the tune will stop and then immediately start again from the top. After this, it will play back fine every time I load the page, until I empty the cache, turn off the computer, etc.
All this leads me to believe that I have a problem to do with buffering. Im thinking that if there was a line of code to override the default buffer size, I might be home free.
View 1 Replies
Jun 29, 2011
I have a small question about the size of images imported to flash.Recently I imported a series of png images to flash CS5 to be used in an animation, 92 images to be exact. Each image was 34Kb size. Before I imported the images, the FLA was 6kb, and after I imported them the FLA was 160 MB large. Now 33Kb * 92 isn't 160 MB, so why does this happen? Is there any way to decrease the image quality or something when importing, or do I have to do that manually when creating the images?
(I used photoshop, and the images have a transparent background if that makes a difference).
View 1 Replies
Dec 14, 2005
I have an animation that is contained within a movieclip. It is an animation of a car traveling round a globe. The car is set to a circular motion guide. I would like to use this as a preloader. What is the best way to get an animation to play in time proportionally as it is loading. i.e the animation finishes when the site loads. If this is not possible what other methods are there to create circular loaders as opposed to linear bars that increase in size.
View 5 Replies
Aug 3, 2011
i want to change checkbox's tick box size?,
i try this
var myTf:TextFormat = new TextFormat();
myCb.setSize(150, 22);
myTf.size = 16;
myTf.color = 0xFF0000;
myCb.setStyle("textFormat", myTf);it change checkbox font size and object size, but tick box remain the same, what should i do?
View 1 Replies
Aug 21, 2011
Is there any way to prevent a movie clip from increasing width and height when its children go outside its initial bounds? The problem I'm having is that I'm adding moving objects to a movie clip which often go outside its bounds, and I'm also trying to apply a displacement map filter. However, since the bounds are constantly changing, choosing the correct mapPoint is giving me grief.
View 8 Replies