This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Flash Site Design > February 2004 > Please someone help me! I can't call movies with checkboxes
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Please someone help me! I can't call movies with checkboxes
|
|
| benmaxwood@aol.com 2004-02-03, 3:34 pm |
| Here is a link to the sample file.
http://www.geocities.com/benmwood45/
This is what I would like to do with it. When I check the boxes I would like the swfs to play one after another in the order that I checked them. They programming is on a submit button at the moment and this is what it looks like. I thought perhaps I woul
d use "then" to tell it to go to the next one instead of "else" but that dosn't seem to work. Does anyone know how to do this. I am out of ideas and very frustrated. I hope someone can help!
Here is the actionscript in the submit button. Thankyou!
on (release) {
_root.gotoAndPlay("move");
if (base.checked)
loadMovie("base.swf", this._parent.rect);
else
if (cost.checked)
loadMovie("costs.swf", this._parent.rect);
else
if (invoice.checked)
loadMovie("invoice.swf", this._parent.rect);
else
if (inventory.checked)
loadMovie("inventory.swf", this._parent.rect);
else
if (schedule.checked)
loadMovie("scheduledwork.swf", this._parent.rect);
else
if (punch.checked)
loadMovie("scheduledwpunch.swf", this._parent.rect);
else
if (time.checked)
loadMovie("timecard.swf", this._parent.rect);
}
Projectionist
Referring URLs
http://www.geocities.com/benmwood45/
| |
| _posted.by\(Vern\); 2004-02-04, 4:28 am |
| For starters, you have a number of syntax errors.
if (base.checked)
loadMovie("base.swf", this._parent.rect);
is missing some brackets. Should look more like
if (base.checked){
loadMovie("base.swf", this._parent.rect);
}
Regards,
--Vern
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|