On a shell movie I have 5 buttons inside a Menu MC. The buttons load external swf's to a container MC (named holder or holderLeft). In test mode I only have to click the buttons once. On the web I have to click them twice to get them to work. I waited between clicks to test if it was a loading time issue, but nope, requires 2nd click.
Once the external movie has been loaded once, it only takes one click to replay it.
See Photography button is not yet active.
Button Code
on (release) {
_root.holder.loadMovie("mySwf.swf", 5);
}
mc "holder" actions to slide in menuitems MC
onClipEvent ( load ) {
_x=1000;
_y=110;
xtgt=125;
_alpha=30;
setProperty(_root.holderLeft, _visible, false);
setProperty(_root.holderRight, _visible, false);
}
onClipEvent (enterFrame){
_x+=(xtgt-_x)/10;
if (_alpha < 100){
_alpha+=5;
}
}
eSearing.com
a work in progress
Once the external movie has been loaded once, it only takes one click to replay it.
See Photography button is not yet active.
Button Code
on (release) {
_root.holder.loadMovie("mySwf.swf", 5);
}
mc "holder" actions to slide in menuitems MC
onClipEvent ( load ) {
_x=1000;
_y=110;
xtgt=125;
_alpha=30;
setProperty(_root.holderLeft, _visible, false);
setProperty(_root.holderRight, _visible, false);
}
onClipEvent (enterFrame){
_x+=(xtgt-_x)/10;
if (_alpha < 100){
_alpha+=5;
}
}
eSearing.com
a work in progress