Flash Help
- Started
- Last post
- 5 Responses
- designer101
I have created a simple button in Flash movie A and I need it to load movie B and target frame 10 of a movie clip X within a movie clip Z of flash move B.
Help!!!
- fues0
AS2 or 3?
- designer1010
AS2. I have limited flash knowledge and don't want to even start with AS3. I need to get a job out ASAP
- vaxorcist0
I'm more familiar with AS3, having learned to forget 2.0.... sometimes painfully, but here goes...
Loading the movie is the easy part:
http://kb2.adobe.com/cps/141/tn_…you probably have to code the part that goes to frame 10 of movie clip x with in a movie clip z ... all that code probably has to be in the movie clip B, not the movie clip A
_root may be able to do some of it if you can setup some methods in the clip X and clip Z parts of movie B
not sure if this helps or just confuses things, I know, flash can do this.... the russian dolls effect of things within things can be irritating
- fyoucher10
Gotta head out but here some quick code, you'll need to fill in the rest...
testButton.onRelease = function():Void {
loadMovie("b.swf");
}
function whenLoadedCompleteAction():Void {
//add event listener that checks when the movie is loaded, because you can't target X movieclip until it is available
}- whoops, you'll need to call that function w/ button too...gotta go!fyoucher1
- designer1010
Thanks for the feedback I'll ee how It goes