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








Checkbox Size


Hi all,

I've scoured the internet far and wide, and have found nothing about changing the size of a checkbox in Flash CS3. I'm not talking about the bounding box size or the label size - I mean the checkbox itself. I'm developing an application that needs large checkboxes (for a touchscreen), and have thus far been frustrated with what should be an easy issue.

Any thoughts? Thanks.




Adobe > Flash General Discussion
Posted on: 08/07/2007 09:10:46 AM


View Complete Forum Thread with Replies

Sponsored Links:

Flash Quiz Template Checkbox Font Size
Has anyone figured out how to change the size of the font and checkboxes that are in the Flash Quiz templates?
I can change the size by breaking apart the checkbox and converting it into a symbol, but then it won't work with the quiz template anymore.
Any ideas?

View Replies !    View Related
Changing Of The Font And Text Size In CheckBox Component
hi,

Components are very useful, but they seem difficult to customize.

Is it possible to change the font and maybe color of the text in CheckBox components. Under their "Parameters", I can only see a few options.

thank a million.

Lawrence

View Replies !    View Related
[F8] Checkbox & Masks - How Do I Embed The Checkbox Font?
i'm trying to put checkboxes under a mask, but can't seem to succesfully embed the font for the checkboxes so that they labels actually appear...

can someone please give me directions as to how/where to set the checkbox font to be embedded? the default font is fine...

TIA

View Replies !    View Related
Checkbox Help Please
I have a flash form that i'm working on that has 5 checkboxes. And i only want them to select 2 of the 5.
I believe i have to write a "change handler" function...am i right?
If so, how would i go about doing that?
please help!!!

View Replies !    View Related
Set CheckBox Value
This is a small part to a bigger thing, but what I am trying to do is load a movie clip that contains an instance of a checkbox and then set the value of the checkbox from the parent movie. I know this is probably really simple, but I can't seem to get my relative addressing right to make it work.

What I have been trying is
this.new_name_of_attached_mc.inst_name_of_box.setV alue(true);

This is one of those really irritating little things, and I would appreciate the help.

Here is an example fla.

View Replies !    View Related
Add Checkbox
I need to modify this script to add a column for checkboxes..
i think this part of the script that i got to modify...
Muz i modify the php file as well??
Can anyone help??

Thanx in advance!!!

function initializePHP(file) {
//Defining url string
//Result array initialization
dataArray = [];
//Loading and processing function
loadedData = new LoadVars();
v = new LoadVars();
v.host = hostName;
v.user = user;
v.pass = pass;
v.db = dbName;
v.table = tbName;
v.sendAndLoad(file, loadedData, "POST");
loadedData.onLoad = function(success) {
if (success) {
if (loadedData.link == "false") {
errorMessage();
} else {
columns = [];
for (var i = 0; i<loadedData.colnum; i++) {
columns.push(eval("loadedData.column"+i));
}
var count = 0;
for (var i = 0; i<loadedData.rownum; i++) {
var obj = new Object();
//Feeding Object with its properties
for (var j = 0; j<loadedData.colnum; j++) {
obj[columns[j]] = eval("loadedData.row"+count);
count++;
}
//Feeding Result array with Objects
dataArray.push(obj);
delete (obj);
}
dragPos(loadedData.colnum);
//make Table At Startup
createTable(dataArray);
}
} else {
errorMessage();
}
};
//initialize pages number
pages = 1;
}

View Replies !    View Related
How Do I Set A Value In A Checkbox?
Hey guys,

This is my first try at doing Flash so I don't know anything. I have a job where an associate is going to be doing flash pages and I have to do the ASP back side scripting. So... I need to understand a few basic things about actionscripting to do it.

if someone could help me understand the object model that is used that would be great.

What I need to do is set the value of a checkbox from a value collected from an ASP.

I got the value from the ASP into Flash. Now I don't know how to set the value of a checkbox.

Any help would be appreciated.

View Replies !    View Related
Checkbox Help
newb question...

how would i go about setting up a checkbox component in a movie clip which makes the clip invisible when unchecked, and visible when checked?

something like

if(checked){
myMovieClip._visible = false;

right?

but how do i find out what variable the check box is making true/false?

View Replies !    View Related
Checkbox
I have a checkbox through out my entire flash movie. Depending on its state and what buttons are clicked on next will take them to a different 'slide'. I would like perform an action immediately after the checkbox is first checked or unchecked. Can someone tell me how to perform this action.

Thanks,

Nate

View Replies !    View Related
Checkbox
I've made a form that people can fill in and send to my email address. I want to add a checkbox to that form that is send with the form to my email address. How do I do that. I used the component inside flash. What actionscript do I use to make sure that the information (true or false) is send with the rest of the form variables!
The checkbox is used to let the sender of the form deside if he wants extra information or not.
Thanks for helping me out!

View Replies !    View Related
CheckBox
Hi, I am trying to create a quiz in flash MX, one of the questions involves picking 3 correct answers from 7 possible. I want to be able to make the user taking the test to check they have selected the correct answers.

I am trying to use the checkbox component, however I am not really sure how to go about it as i want a variable to record which answers are selected and give a mark ie 1/3 correct. Can anyhow help me on the actionscript I would need to go about this? Or point me towards a helpful simply tutorial?????

Please help....

Michelle

View Replies !    View Related
Checkbox
I want to make a form using the checkbox component
Let's say I have 6 checkbox and 6 variables
I dont know how to modify the 6 variables when
the user clicks the checkboxes

View Replies !    View Related
Checkbox Help
I need help with my checkbox componenet. I have a checkbox labeled Resident and a component name of TNUR. From within another MC on the next frame, I have the action:

ResCHK = _root.inrec.TNUR.getValue();

Now shouldn't the variable ResCHK be equal to the Checkbox? Shouldn't something appear on the screen if I set a variable on the screen with the name of ResCHK? If not, can someone please help?

View Replies !    View Related
Checkbox Help
I am trying to tell when a checkbox is selected... then display something. Below is the code I am using.


Code:
var t1 = myAccordion.jobDept.createChild("CheckBox", "label1", { label: label1 });
t1.setSize(200,25);

if (t1.selected=="true"){
trace("SUCCESS");
}
Any help is greatly appreciated!

/z

View Replies !    View Related
Checkbox
Hello

I have a movie loaded into my flash program and I have created several check boxes for which I want to give the user the control to stop at a particular frame within the movie. I am not sure where to start. My end goal is to provide the User with three checkboxes. If they check the first one they start at the beginning of the movie and stop at the specified frame. If they check the second box then they start at the beginning of the movie and continue past where the first check box would stop and stop and a second specified frame and so on. Does anyone know how to do this?

Thanks

View Replies !    View Related
Can't See My Checkbox
I have some simple checkboxes set up, not embedded in a movie clip. They seem fine in Flash, but when I test or export the movie, there's a white box (the size of the bounding box) where the checkbox and the label should be. I copied the checkboxes to a fresh project, and they seem fine. I'm sure there's a simple solution, but I've yet to find it. Any ideas?

Thanks.
apVance

View Replies !    View Related
Checkbox
If checkbox is clicked, movie has to go to particular label & play. If it is unclicked it has to go to other lable & play. How to do that?

View Replies !    View Related
Checkbox?
i just want to globally change the theme color of the check box.

for an instance
myCB.setStyle("themeColor", 0xff0000); // works
_global.styles.CheckBox.setStyle("themeColor", 0xff0000); //doesn't???

View Replies !    View Related
Checkbox Help
I'm having troubles transposing the tutorial for creating the checkboxes into the project I'm working on. I just need one checkbox linked to a Boolean variable called exitOnLoad. What is the easiest way to go about this? Is it better to accomplish this by actionscript or via the components? I must be making this harder than it really is.

View Replies !    View Related
Help With Checkbox Please...
hi, I am having some trouble trying to get flash check boxes work with php, can anyone help please...
I've been banging my head against the wall..hehe...
I apreciate any help at all

View Replies !    View Related
CheckBox And MCs
I am trying to create a small movie where users select a number of images (MCs) by ticking a CheckBox for each image they wish to select. Then they press continue_btn and they are taken to another frame where their chosen MCs can be found. Is this even possible?

Gabriel

View Replies !    View Related
[F8] Checkbox Help Please
Trying to set a price to 25.00 once the checkbox is selected and set the price back to 0.00 once its unselected.
I have the following code in the frame's actionscript;



Code:
myCheckbox.click = function() {
if (myCheckbox.selected) {
photo_pricet.text = rounding(25, 2);
return;
}
photo_pricet.text = rounding(0, 2);
};
}

the dynamic text doesn't change at all...any ideas? Thanks!

View Replies !    View Related
[F8] Help With Checkbox Please
HI

I build an image gallery with AS2 and XML, now I want the user to be able to check a checkbox next to the image whenever they want to select it as one of their favourates...it's kind of like a catalouge and it should just write the image info to a seperate word file or spreadsheat. Is there any way of doing this?

This is the code for one of the frames in my swf.

//thank you cards

stop();

Fuse.AUTOSTOP = true;
Fuse.AUTOCLEAR = true;

this.tin_mc.slideTo('260', '0', .6, 'easeInOutBack');
this.organza_mc.slideTo('260', '0', .7, 'easeInOutBack');
this.boxed_mc.slideTo('260', '0', .8, 'easeInOutBack');
this.unique_mc.slideTo('260', '0', .9, 'easeInOutBack');
this.serv_mc.slideTo('260', '0', 1, 'easeInOutBack');


this.tin_mc.alphaTo(100, .6, 'easeInOutBack');
this.organza_mc.alphaTo(100, .7, 'easeInOutBack');
this.boxed_mc.alphaTo(100, .8, 'easeInOutBack');
this.unique_mc.alphaTo(100, .9, 'easeInOutBack');
this.serv_mc.alphaTo(100, 1, 'easeInOutBack');


//back
this.back_mc.slideTo('260', '0', 1.1, 'easeInOutBack');
this.back_mc.alphaTo(100, 1.1, 'easeInOutBack');
//


//code wat images load van xml
var x:XML = new XML();
x.ignoreWhite = true;
var urls:Array = new Array();
var captions:Array = new Array();
var wis:Number;

x.onLoad = function() {
urls = new Array;
var photos:Array = this.firstChild.childNodes;
for (i=0;i<photos.length;i++) {
urls.push(photos[i].attributes.url);
captions.push(photos[i].attributes.caption);
}
holder.loadMovie(urls[0]);
caption.text = captions[0];
wis = 0;
}


tin_mc.onRelease = function() {
x.load("XML/gallery/thanx/tTin.xml");
}
organza_mc.onRelease = function() {
x.load("XML/gallery/thanx/tOrganza.xml");
}
boxed_mc.onRelease = function() {
x.load("XML/gallery/thanx/tBoxed.xml");
}
unique_mc.onRelease = function() {
x.load("XML/gallery/thanx/tUnique.xml");
}
serv_mc.onRelease = function() {
x.load("XML/gallery/thanx/tServiette.xml");
}

/////////////////////////////////////
p = 0;
this.onEnterFrame = function() {

filesize = holder.getBytesTotal();
loaded = holder.getBytesLoaded();
preloader._visible = true;
if (loaded != filesize) {

preloader.preload_bar._xscale = 100*loaded/filesize;

} else {

preloader._visible = false;
if (holder._alpha<100) {

holder._alpha += 10;

}

}

};

/////////////////////////////////////////////////

//previous button
previous_btn.onRollOver = over;
previous_btn.onRollOut = out;
previous_btn.buttText.buttonText.text = "previous";

function over () {
this.gotoAndPlay(2);
}

function out () {
this.gotoAndPlay(7);
}
previous_btn.onRelease = function() {
if(wis > 0) {
wis--;
holder.loadMovie(urls[wis]);
caption.text = captions[wis];
}
}
//next button
next_btn.onRollOver = over;
next_btn.onRollOut = out;
next_btn.buttText.buttonText.text = "next";

function over () {
this.gotoAndPlay(2);
}

function out () {
this.gotoAndPlay(7);
}

next_btn.onRelease = function() {
if(wis < urls.length-1) {
wis++;
holder.loadMovie(urls[wis]);
caption.text = captions[wis];
}
}


//submenu settings

back_mc.subText.subbText.text = "Home";

tin_mc.subText.subbText.text = "Tin Favours";
organza_mc.subText.subbText.text = "Organza Favours";
boxed_mc.subText.subbText.text = "Boxed & Other";
unique_mc.subText.subbText.text = "Unique Favours";
serv_mc.subText.subbText.text = "Serviette Rings";

//back
back_mc.onRollOver = over;
back_mc.onRollOut = out;

back_mc.onRelease = function() {
gotoAndPlay(2);
}
//

tin_mc.onRollOver = over;
tin_mc.onRollOut = out;
organza_mc.onRollOver = over;
organza_mc.onRollOut = out;
boxed_mc.onRollOver = over;
boxed_mc.onRollOut = out;
unique_mc.onRollOver = over;
unique_mc.onRollOut = out;
serv_mc.onRollOver = over;
serv_mc.onRollOut = out;



//about us button en contact us
aboutUs_btn.onRollOver = over;
aboutUs_btn.onRollOut = out;
function over () {
this.gotoAndPlay(2);
}

function out () {
this.gotoAndPlay(7);
}
aboutUs_btn.onRelease = function() {
gotoAndPlay(8);
}
contactUs_btn.onRollOver = over;
contactUs_btn.onRollOut = out;
function over () {
this.gotoAndPlay(2);
}

function out () {
this.gotoAndPlay(7);
}

contactUs_btn.onRelease = function(){
gotoAndPlay(10);
}

Thanx for any help

View Replies !    View Related
Checkbox To Php
Hi there,

I working on a send a friend script and I am trying to ad a "yes I want to receive the newsletter" checkbox. I want to send a yes or no to sendfriend.php but it won't work? What is the problem?


PHP Code:



// SETTING VARIABLESvar bedanktBericht = '';var errorBericht = '';var fout1 = false;var fout2 = false;var fout3 = false;var fout4 = false;var fout5 = false;var fout6 = false;var signup:mx.controls.CheckBox;scherm._visible = false;// check ENTERvar keyListener:Object = new Object();keyListener.onKeyDown = function() {    if (Key.getCode() == Key.ENTER) {        checkData();    }};Key.addListener(keyListener);// SET BUTTONthis.send.onPress = function() {    checkData();};// CHECK EMAILfunction emailCheck(address:String):Boolean {    if (address.indexOf("@")<0) {        return false;    } else {        return true;    }}// CHECK INPUTfunction checkData() {    // FIELD 1 -------------- correct emailaddress needed    if (emailCheck(this.txt.email1.text) == true && this.txt.email1.text != "") {        email1 = this.txt.email1.text;        this.fout1.gotoAndPlay(6);        fout1 = false;    } else {        fout1 = true;        this.fout1.gotoAndPlay(1);    }    // FIELD 2 ------------------------------------------     if (this.txt.email2.text == "") {        fout2 = false;        this.fout2.gotoAndPlay(1);        //trace("niets ingevuld");    } else if (emailCheck(this.txt.email2.text) == false && this.txt.email2.text != "") {        fout2 = true;        this.fout2.gotoAndPlay(1);        //trace("geen geldig emailadres, maar wel wat ingevuld");    } else {        email2 = this.txt.email2.text;        this.fout2.gotoAndPlay(6);        fout2 = false;        //trace("goed");    }    // FIELD 3 ------------------------------------------    if (this.txt.email3.text == "") {        fout3 = false;        this.fout3.gotoAndPlay(1);    } else if (emailCheck(this.txt.email3.text) == false && this.txt.email3.text != "") {        fout3 = true;        this.fout3.gotoAndPlay(1);    } else {        email3 = this.txt.email3.text;        this.fout3.gotoAndPlay(6);        fout3 = false;    }    // FIELD 4 ------------------------------------------    if (this.txt.email4.text == "") {        fout4 = false;        this.fout4.gotoAndPlay(1);    } else if (emailCheck(this.txt.email4.text) == false && this.txt.email4.text != "") {        fout4 = true;        this.fout4.gotoAndPlay(1);    } else {        email4 = this.txt.email4.text;        this.fout4.gotoAndPlay(6);        fout4 = false;    }    // FIELD 5 ------------------------------------------    if (this.txt.email5.text == "") {        fout5 = false;        this.fout5.gotoAndPlay(1);    } else if (emailCheck(this.txt.email5.text) == false && this.txt.email5.text != "") {        fout5 = true;        this.fout5.gotoAndPlay(1);    } else {        email5 = this.txt.email5.text;        this.fout5.gotoAndPlay(6);        fout5 = false;    }    // FIELD 6 ------------------------------------------    if (this.txt.email6.text == "") {        fout6 = false;        this.fout6.gotoAndPlay(1);    } else if (emailCheck(this.txt.email6.text) == false && this.txt.email6.text != "") {        fout6 = true;        this.fout6.gotoAndPlay(1);    } else {        email6 = this.txt.email6.text;        this.fout6.gotoAndPlay(6);        fout6 = false;    }    // ALS ER GEEN FOUTEN ZIJN    //if (fout1 == false && fout2 == false && fout3 == false && fout4 == false && fout5 == false && fout6 == false) {    //sendData();    //}    //     // we give "myCheckbox" a default value    var myCheckbox:String;    myCheckbox = "yes";    //    // we create a listener for the checkbox to increase either number    var checkListener:Object = new Object();    checkListener.click = function() {        //        // here we let the user select        if (nieuwsbrief.selected) {            myCheckbox = "yes";        } else {            myCheckbox = "no";        }    };    // ALS ER GEEN FOUTEN ZIJN    if (fout1 == false && fout2 == false && fout3 == false && fout4 == false && fout5 == false && fout6 == false) {        sendData();    }    //   }// VERZENDEN VAN DATA NAAR PHPfunction sendData() {    scherm._visible = true;    this.output.text = 'Moment geduld...';    var sendData = new LoadVars();    sendData["_parent"] = this;    sendData.email1 = email1;    sendData.email2 = email2;    sendData.email3 = email3;    sendData.email4 = email4;    sendData.email5 = email5;    sendData.email6 = email6;    sendData.myCheckbox = nieuwsbrief;//    sendData.nieuwsbrief = nieuwsbrief;    sendData.sendAndLoad("sendfriend.php",sendData,"POST");    sendData.onLoad = function(success) {        this['_parent'].bedanktBericht = 'Bedankt voor het doorsturen!';        this['_parent'].gotoAndStop('bedankt');    };}stop();

View Replies !    View Related
CheckBox And MCs
I want to create a small movie where users select a number of images (MCs) by ticking a CheckBox for each image they wish to select. Then they press continue_btn and they are taken to another frame where their chosen MCs can be found. Is this even possible?

wB

View Replies !    View Related
CheckBox Php Help
Hello there. I am new to all of this and have used this boards postings and tutorials to make a site for our boat in Costa Rica. Link at bottom.
I am solving all the problems I have had so far except 2:
1 -- Is there anyway to prevent the buttons at the top from switching frames on multiple rollovers? I have 3 timelines with 30 frames. 1 TL for the background and main frame with a stop at 1. 1 for the buttons with a stop on every frame. And 1 for the block where the info is posted on every frame. Each button has this Action
on (rollOver) {gotoAndStop(frame number);
}
2 -- And my main problem now is with my script for PHP on my 'Contact' page. Everything shows up in the email except for the check boxes that are checked. At this point the input fields are tagged with letters and the boxes are numbered.
<?php
$sendTo = "myemail@somewhere.com";
$subject = "Reel Deal Inquiery";
$headers = "From: " .
$_POST["a"] ." ".
$_POST["b"] . "<" .
$_POST["d"] .">
";
$headers .= "Reply-To: " .
$_POST["d"] . "
";
$headers .= "Return-path: " .
$_POST["d"];
$message =
$_POST["d"] ." / ".
$_POST["c"] ." / ".
$_POST["e"] ." / ".
$_POST["f"] ." / ".
$_POST["g"] ." / ".
$_POST["message"] ."/".
$_POST["CheckBox01 = CheckBox01.selected"] ." / ".
$_POST["CheckBox02 = CheckBox02.selected"] ." / ".
$_POST["CheckBox03 = CheckBox03.selected"] ." / ".
$_POST["CheckBox04 = CheckBox04.selected"] ." / ".
$_POST["CheckBox05 = CheckBox05.selected"] ." / ".
$_POST["CheckBox06 = CheckBox06.selected"] ." / ".
$_POST["CheckBox07 = CheckBox07.selected"] ." / ".
$_POST["CheckBox08 = CheckBox08.selected"] ." / ".
$_POST["CheckBox09 = CheckBox09.selected"] ." / ".
$_POST["CheckBox10 = CheckBox10.selected"] ." / ".
$_POST["CheckBox11 = CheckBox11.selected"] ." / ".
$_POST["CheckBox12 = CheckBox12.selected"] ." / ".
$_POST["CheckBox13 = CheckBox13.selected"] ." / ".
$_POST["CheckBox14 = CheckBox14.selected"] ." / ".
$_POST["CheckBox15 = CheckBox15.selected"] ." / ".
$_POST["CheckBox16 = CheckBox16.selected"] ." / ".
$_POST["CheckBox17 = CheckBox17.selected"] ." / ".
$_POST["CheckBox18 = CheckBox18.selected"] ." / ".
$_POST["CheckBox19 = CheckBox19.selected"] ." / ".
$_POST["CheckBox20 = CheckBox20.selected"] ." / ".
$_POST["CheckBox21 = CheckBox21.selected"];
mail($sendTo, $subject, $message, $headers);
?>
I really hate to bother someone for their time, but I am trully stumped here...
Be advised...This site is not complete and I am reading now how to make preloader and optimize to make the site lighter. Any suggestions are welcome if you see something that I could improve...Thanks in advance for your time and efforts. TDR
http://www.reeldealcr.com

View Replies !    View Related
Checkbox Php
I have created a form in flash with input fields and checkbox's. I'm using php script to send and receive email. I'm receiving the information from the input fields ok but cannot seem to get any info from the checkbox reply.

Can anyone help?

View Replies !    View Related
Checkbox Help
I need help ASAP. Here's the problem. I have created a 2 page form in Flash Prof 8. I don't have any issues passing the TextField variables to php from either page 1 or page 2, but I can't seem to get the Checkbox values on page 1 to carry over to page 2 and be uploaded to the database when the submit button is triggered.

My script is attached:

on (release) {


//loads variable and submits to .php page
var my_lv:LoadVars = new LoadVars();

my_lv.firstName = _level0.firstName;
my_lv.lastName = _level0.lastName;
my_lv.email = _level0.email;
my_lv.zipcode = _level0.zipcode;
my_lv.myVar1 = _level0.myVar1;
my_lv.myVar2 = _level0.myVar2;


mytmpvar = optIn_chBx1.selected;
if (mytmpvar == true) {
my_lv.myVar1 = true; }
else {
my_lv.myVar1 = false;
}

mytmpvar = optIn_chBx2.selected;
if (mytmpvar == true) {
my_lv.myVar2 = true; }
else {
my_lv.myVar2 = false;
}



my_lv.sendAndLoad("SubmitEntry.php", my_lv,"POST");

View Replies !    View Related
Checkbox Help
I need help ASAP. Here's the problem. I have created a 2 page form in Flash Prof 8. I don't have any issues passing the TextField variables to php from either page 1 or page 2, but I can't seem to get the Checkbox values on page 1 to carry over to page 2 and be uploaded to the database when the submit button is triggered.

My script is attached:

on (release) {


//loads variable and submits to .php page
var my_lv:LoadVars = new LoadVars();

my_lv.firstName = _level0.firstName;
my_lv.lastName = _level0.lastName;
my_lv.email = _level0.email;
my_lv.zipcode = _level0.zipcode;
my_lv.myVar1 = _level0.myVar1;
my_lv.myVar2 = _level0.myVar2;


mytmpvar = optIn_chBx1.selected;
if (mytmpvar == true) {
my_lv.myVar1 = true; }
else {
my_lv.myVar1 = false;
}

mytmpvar = optIn_chBx2.selected;
if (mytmpvar == true) {
my_lv.myVar2 = true; }
else {
my_lv.myVar2 = false;
}



my_lv.sendAndLoad("SubmitEntry.php", my_lv,"POST");

View Replies !    View Related
Please Help With Checkbox
HI

I buildt an image gallery with AS2 and XML, now I want the user to be able to check a checkbox next to the image whenever they want to select it as one of their favourates...it's kind of like a catalouge and it should just write the image info to a seperate word file or spreadsheat or even another movie. Is there any way of doing this and how do I get started?

Thanx for any help







Attach Code

//thank you cards

stop();

Fuse.AUTOSTOP = true;
Fuse.AUTOCLEAR = true;

this.tin_mc.slideTo('260', '0', .6, 'easeInOutBack');
this.organza_mc.slideTo('260', '0', .7, 'easeInOutBack');
this.boxed_mc.slideTo('260', '0', .8, 'easeInOutBack');
this.unique_mc.slideTo('260', '0', .9, 'easeInOutBack');
this.serv_mc.slideTo('260', '0', 1, 'easeInOutBack');


this.tin_mc.alphaTo(100, .6, 'easeInOutBack');
this.organza_mc.alphaTo(100, .7, 'easeInOutBack');
this.boxed_mc.alphaTo(100, .8, 'easeInOutBack');
this.unique_mc.alphaTo(100, .9, 'easeInOutBack');
this.serv_mc.alphaTo(100, 1, 'easeInOutBack');


//back
this.back_mc.slideTo('260', '0', 1.1, 'easeInOutBack');
this.back_mc.alphaTo(100, 1.1, 'easeInOutBack');
//


//code wat images load van xml
var x:XML = new XML();
x.ignoreWhite = true;
var urls:Array = new Array();
var captions:Array = new Array();
var wis:Number;

x.onLoad = function() {
urls = new Array;
var photos:Array = this.firstChild.childNodes;
for (i=0;i<photos.length;i++) {
urls.push(photos[i].attributes.url);
captions.push(photos[i].attributes.caption);
}
holder.loadMovie(urls[0]);
caption.text = captions[0];
wis = 0;
}


tin_mc.onRelease = function() {
x.load("XML/gallery/thanx/tTin.xml");
}
organza_mc.onRelease = function() {
x.load("XML/gallery/thanx/tOrganza.xml");
}
boxed_mc.onRelease = function() {
x.load("XML/gallery/thanx/tBoxed.xml");
}
unique_mc.onRelease = function() {
x.load("XML/gallery/thanx/tUnique.xml");
}
serv_mc.onRelease = function() {
x.load("XML/gallery/thanx/tServiette.xml");
}

/////////////////////////////////////
p = 0;
this.onEnterFrame = function() {

filesize = holder.getBytesTotal();
loaded = holder.getBytesLoaded();
preloader._visible = true;
if (loaded != filesize) {

preloader.preload_bar._xscale = 100*loaded/filesize;

} else {

preloader._visible = false;
if (holder._alpha<100) {

holder._alpha += 10;

}

}

};

/////////////////////////////////////////////////

//previous button
previous_btn.onRollOver = over;
previous_btn.onRollOut = out;
previous_btn.buttText.buttonText.text = "previous";

function over () {
this.gotoAndPlay(2);
}

function out () {
this.gotoAndPlay(7);
}
previous_btn.onRelease = function() {
if(wis > 0) {
wis--;
holder.loadMovie(urls[wis]);
caption.text = captions[wis];
}
}
//next button
next_btn.onRollOver = over;
next_btn.onRollOut = out;
next_btn.buttText.buttonText.text = "next";

function over () {
this.gotoAndPlay(2);
}

function out () {
this.gotoAndPlay(7);
}

next_btn.onRelease = function() {
if(wis < urls.length-1) {
wis++;
holder.loadMovie(urls[wis]);
caption.text = captions[wis];
}
}


//submenu settings

back_mc.subText.subbText.text = "Home";

tin_mc.subText.subbText.text = "Tin Favours";
organza_mc.subText.subbText.text = "Organza Favours";
boxed_mc.subText.subbText.text = "Boxed & Other";
unique_mc.subText.subbText.text = "Unique Favours";
serv_mc.subText.subbText.text = "Serviette Rings";

//back
back_mc.onRollOver = over;
back_mc.onRollOut = out;

back_mc.onRelease = function() {
gotoAndPlay(2);
}
//

tin_mc.onRollOver = over;
tin_mc.onRollOut = out;
organza_mc.onRollOver = over;
organza_mc.onRollOut = out;
boxed_mc.onRollOver = over;
boxed_mc.onRollOut = out;
unique_mc.onRollOver = over;
unique_mc.onRollOut = out;
serv_mc.onRollOver = over;
serv_mc.onRollOut = out;



//about us button en contact us
aboutUs_btn.onRollOver = over;
aboutUs_btn.onRollOut = out;
function over () {
this.gotoAndPlay(2);
}

function out () {
this.gotoAndPlay(7);
}
aboutUs_btn.onRelease = function() {
gotoAndPlay(8);
}
contactUs_btn.onRollOver = over;
contactUs_btn.onRollOut = out;
function over () {
this.gotoAndPlay(2);
}

function out () {
this.gotoAndPlay(7);
}

contactUs_btn.onRelease = function(){
gotoAndPlay(10);
}

View Replies !    View Related
As3 Cannot Use CheckBox ?
hi, I attempt to drag a CheckBox from to the stage, but flash authoring tool insists on employing as2 to use this component. But I don't want as2. I refer to the help document but it says nothing about this problem. Can someone help me?

View Replies !    View Related
Can This Be Done With Checkbox?
Well perhaps it's really simple and obvious for u ppl( i really hope so but i was wondering...

On the new site am making I'd like to use the component CheckBox to turn the music on and off...
But i don't know how..is it possible and how?
tnx

I know it can be done by simple regular buttons as well but the components add that something extra ...am sure u all agree

Happy New Year all...< <

View Replies !    View Related
Checkbox
when i click on a submit button, it sends values to php. i have made 3 checkmoxes. when i select one and then click on a button, i want that the button transfer values that i selected. here is the code.

submit.onPress = function() {

if (checkbox1.value = true) {a1 != ""; a2 != ""; a1value != ""; a2value != "";

myData.a1value = a1value;
myData.a2value = a2value;
myData.sendAndLoad("savebar2.php", myData, "POST");
}

if (checkbox2.value = true) {a1 != ""; a2 != ""; a1value != ""; a2value != "";
myData.a1 = a1;
myData.a2 = a2;
myData.SendAndLoad("savebar2.php", myData, "POST");
}
checkbox1 = checkbox1.value;
checkbox2 = checkbox2.value;
checkbox3 = checkbox3.value;

myData = new LoadVars();
myData.onLoad = function() {
if (this.writing == "ok") {
status.text = "Datas are in the text";
} else {
status.text = "error";
}}
};

UN@

View Replies !    View Related
CheckBox
Hello,

How do I setup a checkBox component? I'm creating a form in flash and the server im talking to is in JSP. However, i don't really think that's the issue... how do I set up a fla with two checkBoxes and after the submit button has been hit, the one that's checked get's sent with the form... what's the actions script for all of that?

Thank you in advance,

Devin

View Replies !    View Related
Checkbox Help
Hi there, new to 2004..

I need to do a simple validation . 2 check boxes need to be checked before a user can go onto the next frame.

This is my code so far.. I only have the one checkbox in the code cos not sure how 2 do both...


Code:

on (release) {
if (myCheckBox1.selected="false") {
_root.alert.gotoAndPlay("2");
} else if (myCheckBox1.selected="true") {

_root.gotoAndPlay("5");
}
}
Any ideas....

It just goes 2 frame 5 the whole time.....

View Replies !    View Related
Help, CheckBox
Can any1 help me please,

Im trying to create a checkbox, and a textbox,

when the checkbox is checked for the textbox, to say, Its Check and when its not checked to say, its not checked. I want to do this on MX 2004, it does not have change handle, can any1 assist me or fix me a quick example, would really appricate it.

Thank You
DNG

View Replies !    View Related
Checkbox.
Hello everyone. I need help please. I have a couple of checkboxes on my stage. The checkboxes(when checked) should add a number to a dynamic text box on the stage. This text box has a variable name "lblmaintotal".
Is this possible?

Here is the code I used:

var lblmaintotal:Number;

lblmaintotal = 96908;

MPListener = new Object();
MPListener.click = function (){
if(MP.selected){
lblmaintotal = lblmaintotal + 2290;
}
else{
lblmaintotal = lblmaintotal;
}
}

View Replies !    View Related
Checkbox Help
Help!

Is there any way to uncheck (clear) checkboxes as long as an animation is playing? And not allow them to be checked again until the animation is stopped?

View Replies !    View Related
CheckBox Help
Hi Fans
Can someone help me how to insert the code for the checkbox link in to the PHP file, in the contact from, i work it ok, but how to let the checkbox go in to that for simply code,
tks for helper
kevin

this the link for the sample
www.bee-ads.com/test/form.swf

View Replies !    View Related
Checkbox
when i click on a submit button, it sends values to php. i have made 3 checkmoxes. when i select one and then click on a button, i want that the button transfer values that i selected. here is the code.

submit.onPress = function() {

if (checkbox1.value = true) {a1 != ""; a2 != ""; a1value != ""; a2value != "";

myData.a1value = a1value;
myData.a2value = a2value;
myData.sendAndLoad("savebar2.php", myData, "POST");
}

if (checkbox2.value = true) {a1 != ""; a2 != ""; a1value != ""; a2value != "";
myData.a1 = a1;
myData.a2 = a2;
myData.SendAndLoad("savebar2.php", myData, "POST");
}
checkbox1 = checkbox1.value;
checkbox2 = checkbox2.value;
checkbox3 = checkbox3.value;

myData = new LoadVars();
myData.onLoad = function() {
if (this.writing == "ok") {
status.text = "Datas are in the text";
} else {
status.text = "error";
}}
};

UN@

View Replies !    View Related
CheckBox
Hello,

How do I setup a checkBox component? I'm creating a form in flash and the server im talking to is in JSP. However, i don't really think that's the issue... how do I set up a fla with two checkBoxes and after the submit button has been hit, the one that's checked get's sent with the form... what's the actions script for all of that?

Thank you in advance,

Devin

View Replies !    View Related
Checkbox Help
Hi there, new to 2004..

I need to do a simple validation . 2 check boxes need to be checked before a user can go onto the next frame.

This is my code so far.. I only have the one checkbox in the code cos not sure how 2 do both...


Code:

on (release) {
if (myCheckBox1.selected="false") {
_root.alert.gotoAndPlay("2");
} else if (myCheckBox1.selected="true") {

_root.gotoAndPlay("5");
}
}
Any ideas....

It just goes 2 frame 5 the whole time.....

View Replies !    View Related
Checkbox
Hi!

i'm sorry but i'm new in using actionscript.
I'd like to use a checkbox component, but i don't know which are it's properties or where to find that..
they might be sthg like name._selected or sthg like that..
can anybody help me?

where can i get all this kind of info next time? searching in flash help it's quite difficult 'cause i never get what i want.

Thanks!

View Replies !    View Related
Checkbox On Flash
hi
can i use check box with value on flash??
and if so how can i do it?
thnx

View Replies !    View Related
How Do I Make A Checkbox?
I've got a script working, I've got textfields working, but I also need checkboxes and dropdown lists in my form. While wer'e at it, lets add some radio buttons.

Can anyone tell me how to do this?

TIA

View Replies !    View Related
Checkbox Smartclip
I have 2 layers; on the first are check-box movieclips, and on the second are the buttons which perform the actions. There are four of each (the button is invisible on top of the checkbox) and the first one contains:

on (press) {
if (_root.one._currentFrame == 1) {
_root.one.play(2);
}
if (_root.two._currentFrame>1) {
_root.two.play(12);
_root.one.play(2);
}
if (_root.three._currentFrame>1) {
_root.three.play(12);
_root.one.play(2);
}
if (_root.four._currentFrame>1) {
_root.four.play(12);
_root.one.play(2);
}
}

the second one contains:

on(press){
if (_root.two._currentFrame==1){
_root.two.play(2);
}
if(_root.one._currentFrame>1){
_root.one.play(12)
_root.two.play(2)
}
if(_root.three._currentFrame>1){
_root.three.play(12)
_root.two.play(2)
}
if(_root.four._currentFrame>1){
_root.four.play(12)
_root.two.play(2)
}
}

etc... my question is how would I make this a smart cliP?

View Replies !    View Related
Checkbox Problem
Hi,

Is this a problem with MM checkbox component or I am doing something horrible wrong!!!

I have 4 checkboxes (check1 - check4)

I try to do some testing on the outcome of different selections of these checkboxes but never got the result I expected.

I then traced the outcome:

Check1.OnPress = function() {
trace(check1.getValue());
trace(check2.getValue());
trace(check3.getValue());
trace(check4.getValue());
};

First time I check Check1 the output is
False
False
False
False

Of course I expected the first one to be True

If I then uncheck it, it becomes True!

If I check some of the orthers checkboxes then are rightfully listed as True in Output window.

The first box just always seems to be one click behind.
Any idea what whent wrong, anybody???

This is killing me

View Replies !    View Related
Checkbox Component
I'm using the Checkbox component but my text for the checkbox is longer than i can fit in only 1 line of text. Can i somehow make the checkbox component to display the text in 2 lines?
thanx

View Replies !    View Related
Checkbox Values....HELP
I am using a checkbox component in MX.

I am wondering if:
Change Handler is comparable to the 'VALUE' in html

Instance Name is comparable to the 'NAME' in html

I don't have a label on it because I am using a special font and the component does not allow me to customize it that far.

Thanks so much!

View Replies !    View Related
Flash Checkbox
ill get to the point. i have a form im creating where i need checkboxes for choices. how do i get them to function where only one check box can be checked and return that checked box's value as to where i can manipulate the data from there. ive been looking all over the web for an example that will give me some kind of jump off point with no luck.

View Replies !    View Related
Checkbox Within A Listbox
Hi,
I am trying to create a listbox which has checkboxes in them. I couldnt find any tutorial or fla file so far.
I want to be able to I manipulate the values of the checkboxes as well as retreiving values of the checkboxes.

Anyone who migh have an exampe file?

kind regards
Patrick

View Replies !    View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved