Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: RE: FLASH: controlling two tell targets....
From: Tim Walters
Date: Tue, 23 Nov 1999 08:15:45 GMT

Hi Sarah,

If you have your buttons and targets nested like that, you will need to
refer to them properly, easiest way to understand (until you have grasped
the relative targeting ideas) is to use the following:

/TellTargetA
/TellTargetB
/TellTargetC

If you are inside "TellTargetA" when you want to control "TellTargetB", you
would have to use the above, otherwise it would be looking for "TellTargetB"
inside "TellTargetA" (eg /TellTargetA/TellTargetB, which wont work for you).

Anyway, probably just confused you more now, I know I'm starting to confuse
myself a little :)

Basically, just use the following instead:

If (variable=1)
Tell Target Begin (/TellTargetB)
Play
Tell Target End
End If

Hope this helps!
---
Tim Walters MVP
Glasshouse101
Tim [dot] Waltersatglasshouse101 [dot] com [dot] au

> -----Original Message-----
> From: owneratchinwag [dot] com [owneratchinwag [dot] com]On">mailto:owneratchinwag [dot] com]On Behalf Of Sarah
> Lamont
> Sent: Tuesday, 23 November 1999 4:22 AM
> To: flasheratchinwag [dot] com
> Subject: Re: FLASH: controlling two tell targets....
>
>
> Thanks alot!
> Okay, but, it doesn't seem to be working for my particular problem.
> Please please bear with me while I try to explain...
> Okay, on the page, is Button1, Button2, and Button3
> Button1 controls Telltarget1, which has ButtonA inside. ButtonA contols
> Telltarget A which plays til the first Stop Action, then when pressed
> again, plays till the next Stop Action, which is at the beginning of the
> TelltargetA, setting it up for the cycle again.
> So both ButtonA and TelltargetA are nested inside Button1.
> The other buttons are arranged the same way.
>
> What I want is for Button A,B, and C (the nested buttons) to have
> control over TelltargetA, B, and C. I don't know if I'm using variables
> in the correct way though. I want to set a variable at the first Stop
> Action in the Telltargets A,B, and C. This is because I want to have
> something to mean this on, for example, the first nested button, ButtonA
> : If TellTargetB is at _this_ frame, then play TellTargetB as well.
>
> I tried to use variables to do this, at the middle of the nested
> telltargets I set a variable, and then in the nested buttons, I put
> If (variable=1)
> Tell Target Begin (TellTargetB)
> Play
> Tell Target End
> End If
>
> meaning, if telltargetB was at that variable, then play that one also.
>
> Ohhhh... this is so hard for me to explain. If anyone can help me I
> would be utterly grateful.
> I really need to get a book.
> thanks!
> :]sarah
>
> 2Nerotik wrote:
> >
> > Yes this is the best way of doing this.
> >
> > One slight addition to make things a little easier.
> >
> > Assign the If statements to a blank Keyframe Label them
> > and then do a Call action to the Label name.
> >
> > Here's how:
> >
> > At the very end of your movie add 3 Blank KeyFrames and by at
> > the end I mean after the last stop action as you don't want them
> > to play with the movie normally.
> >
> > Label Each KeyFrame, for this example KF 1 will be foo1, KF 2
> will be foo2 etc
> >
> > KF1 (Labeled foo1)
> > If (sarah_val=1)
> > Begin Tell Target ("/MC foo1")
> > Go to and Play ("close")
> > End Tell Target
> > End If
> >
> > KF2 (Labeled foo2)
> > If (sarah_val=2)
> > Begin Tell Target ("/MC foo2")
> > Go to and Play ("close")
> > End Tell Target
> > End If
> >
> > KF3 (Labeled foo3)
> > If (sarah_val=3)
> > Begin Tell Target ("/MC foo3")
> > Go to and Play ("close")
> > End Tell Target
> > End If
> >
> > Now in button one:
> > On (Release)
> > Set Variable: "sarah_val" = 1
> > Call ("foo2")
> > Call ("foo3")
> > Begin Tell Target ("/MC foo1")
> > Go to and Play ("open")
> > End Tell Target
> > End On
> >
> > Repeat for the next 2 buttons replacing foo2 with foo1 for the 2nd
> > button and foo3 with foo1 for the 3rd button.
> >
> > open and close would be replaced with your labels for the opening and
> > closing keyframes.
> >
> > As you can see assigning actions that are used several times in
> a movie to
> > blank KeyFrames and doing calls to them saves on typing, time and space.
> >
>
>
> flasher is generously supported by...
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Streaming Media WEST '99 Conference & Exhibition
> "The Worlds largest Internet Audio & Video Event"
> December 7 - 9, San Jose Convention Center, California
>
> Reserve your space today at http://www.streamingmedia.com
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe or change your list settings go to
> http://www.chinwag.com/flasher or email helpatchinwag [dot] com
>
>



flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: controlling two tell targets., Sarah Lamont

Replies
  Re: FLASH: controlling two tell targets., Sarah Lamont

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]