Re: [Flashcoders] Very basic question: calling MC from a frame
Thank you so much for the help, and the newbie list address. I appreciate it! - blake On 11/19/05, Radley Marx <[EMAIL PROTECTED]> wrote: > > > > > Unless you're using a really old version of Flash, you don't need to > use "TellTarget". ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Very basic question: calling MC from a frame
Unless you're using a really old version of Flash, you don't need to use "TellTarget". not sure what you mean by "call a label"... key points to remember: Name your MC also in the properties window (not just when you make the MC). Any movieClip_mc can be reused over and over with different names. so movieClip_mc can be used as movieClip01_mc, movieClp02_mc, etc. by placing the MC on the stage, clicking on it, and naming it in the Porperties window. If you don't, Flash won't find it. If you're not going to need to use the same MC several times in different ways, it's best to just type the exact same name so it's easier to recognize. (You don't know how many Flash projects I'm asked to work on that are a huge mess to understand, simply because the original developer failed to do this.) anything within that MC call be targeted using dot notation: movieClip_mc.foo// call to a child or _root.movieClip_mc.foo // call from root movie or _parent.movieClip_mc.foo// up one level or _parent._parent.movieClip_mc.foo // up two levels I think you're trying to get to a variable in your AS that is within your MC. A variable name declared within a MC is available anywhere within that MC, not just in that single frame (in most cases). So for that you'd simply: movieClip_mc.variableName -radley On Nov 19, 2005, at 2:04 PM, Blake Kritzberg wrote: Forgive me for asking such a basic question, but there's a long space between my flash projects and during that interval I always forget everything I ever learned. Now, all in a rush, I have to do something pretty simple (forgive my total lack of jargon): I need to call a specific label within an on-stage MC from an actionscript in one of the frames. I know this should be simple but I can't seem to find a refresher tutorial on how to do that. (I found one ages ago, but ...) I think I'm missing the right lingo. I can't even figure out what basic script command is called for here. TellTarget? Something else? Any suggestions? thanks, - blake ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Radley Marx [EMAIL PROTECTED] 310.220.4088 http://www.radleymarx.com -- ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Very basic question: calling MC from a frame
wow ... telltarget ... it has been a long time, hasn't it ? I assume you mean a frame label ... MovieClip.gotoAndPlay ("label"); you might also want to use the flashnewbie mailing list instead: http://chattyfig.figleaf.com/mailman/listinfo/flashnewbie On 11/19/05, Blake Kritzberg <[EMAIL PROTECTED]> wrote: > Forgive me for asking such a basic question, but there's a long space > between my flash projects and during that interval I always forget > everything I ever learned. > > Now, all in a rush, I have to do something pretty simple (forgive my > total lack of jargon): > > I need to call a specific label within an on-stage MC from an > actionscript in one of the frames. > > I know this should be simple but I can't seem to find a refresher > tutorial on how to do that. (I found one ages ago, but ...) I think > I'm missing the right lingo. I can't even figure out what basic script > command is called for here. TellTarget? Something else? Any > suggestions? > > thanks, > - blake > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Very basic question: calling MC from a frame
Forgive me for asking such a basic question, but there's a long space between my flash projects and during that interval I always forget everything I ever learned. Now, all in a rush, I have to do something pretty simple (forgive my total lack of jargon): I need to call a specific label within an on-stage MC from an actionscript in one of the frames. I know this should be simple but I can't seem to find a refresher tutorial on how to do that. (I found one ages ago, but ...) I think I'm missing the right lingo. I can't even figure out what basic script command is called for here. TellTarget? Something else? Any suggestions? thanks, - blake ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders