This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > February 2004 > SOS! Checkboxs components to call movies dosn't work! please please help.





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 SOS! Checkboxs components to call movies dosn't work! please please help.
benmaxwood@aol.com

2004-02-03, 12:29 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 wou
ld 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/




Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews