
September 8th, 2005
10:26 AM
Rated 'R'
Status: Offline!
Do a action and then open a new swf without changing frames?
Hi.
I have a pretty fatal (for me) problem, i'm just wondering if there are anyway to launch a new script after a special event (in this case, i click a bar which slides and after the slide i want to launch a nestled swf) without having to move in the timeline.
Any help appreciated.
/prewe
___________________
We reserve the right to reserve your rights.

September 9th, 2005
01:49 AM
Freelance Designer
Status: Offline!
Create a empty movieclip and place it in the desired area. Create a new document, do the desired "new swf" there and then use the following AS to include the "new swf" into your empty movieclip.
clipName.loadMovie("new.swf");
___________________


September 9th, 2005
09:46 AM
Rated 'R'
Status: Offline!
oh i forgot to mention.. the barslide is AS only, i'm still on frame 1 when it's completed. isn't there any way to make a script like.. "when blabla happened then play blabla" ?
___________________
We reserve the right to reserve your rights.

September 9th, 2005
02:24 PM
you could test your bar's _x position against a conditional...
// this would have to go into your onEnterFrame function
if(myBar._x >= 20){ //whatever number you need
_root.myEmptyMovieClip.loadMovie("myNew.swf");
}