PDA

View Full Version : TellTarget


Milie
05-13-2004, 09:35 PM
Hi everyone, first post here for me.

I had learned to do flash web sites a few years ago and was using the command TellTarget for some things... I noticed it's now deprecated and I'm not sure what to use. I want to call a movie clip in a precise space (empty mc) for the 2nd level of my navigation. Can anyone help me? I think it has something to do with dot notation but I'm really clueless as of how to use this.

On my scene, I have a MC called navigation in which I would like to call (and unload) other MCs (example: section1) In the navigation MC, I have an empty MC instance where I want my section1 mc to appear, it's called "section".

Thanks for any help/directions you could give me!

Émilie

subquark
05-13-2004, 09:57 PM
so you have an empty mc in a navigation mc which is on the main timeline?

so let's call the emptyy mc something like placeHolder and the navigation mc just navigation.

you'd target the empty mc as such from the main timeline: navigation.placeHolder.gotoAndPlay("outro"); or_root.navigation.placeHolder.gotoAndPlay("outro");

is that answering what you need. and as a new mc is loaded into the empty one, the prior mc will be replaced.

subquark
05-13-2004, 09:58 PM
hmm, the AS tag is not working . . . and also, welcome to the forum. :)

Milie
05-13-2004, 10:20 PM
Thanks for the quick reply subquark!

I was wondering, when you're saying to call it from the main timeline... Is it possible to do this from a button?

Btw, I checked your profile and I'm french canadian as well so you can speak french! (even though most of that actionscript lingo is better understood in english anyways....)

Émilie

boyzdynasty
05-14-2004, 07:37 AM
welcome Milie


Your question: You can do it from the button...just make sure youhave the right path information.

Milie
05-15-2004, 01:52 AM
One thing I don't get is how do I load a specific mc in placeHolder?

Thanks,

Em

boyzdynasty
05-15-2004, 02:28 AM
just have to be careful about paths...

let's say you have a movie on the _root timeline called placeHolder

then you place an actionscript on the _root timeline as follows...

placeHolder.loadMovie("name.swf")

subquark
05-17-2004, 12:12 AM
hmm, did not get my email notification . . . sorry about that Milie.

Did you get it working okay? What boyzdynasty wrote is absolutely correct. Just be sure to give an instance name to the empty mc and reference that name for loading.

Let us know if we can be of further help. Good luck! :)

boyzdynasty
05-17-2004, 12:30 AM
hey...you PM to help people and not PM to ask questions?
subQuark, you guru...<hehe>

subquark
05-17-2004, 12:28 PM
huh? watcha mean my homie? All I know about PM is that I stay up too late in it!

Guru! he he . . .

boyzdynasty
05-17-2004, 05:09 PM
hmm, did not get my email notification . . . sorry about that Milie.
This means you sent Milie a Private Message (PM)

subquark
05-17-2004, 07:44 PM
I never PM'd Milie?!? :confused: Although she's a French-Canadian from Montreal, she's got to be kewl! :cool:

boyzdynasty
05-17-2004, 08:39 PM
oh...i thought you did...
So I was saying...usually people PM to ask other members for help but you did the opposite...so I figure you must be a guru.

that make any sense? :confused:

CyanBlue
05-18-2004, 08:56 AM
That sounds like too much olive to me... :D

subquark
05-18-2004, 09:58 PM
ah ha, the REAL guru has appeared, hi CB! :)