Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | Re: FLASH: Streaming Audio |
| From: | Cheri Harder |
| Date: | Wed, 2 Feb 2000 23:24:17 GMT |
Ok, Got it!!!
As soon as you "Begin Tell Target" you are in the context of your
target...so the variable that was set at the "Main Timeline" level has to be
referred to by a path to the main timeline....so:
Set Variable: "channel" = "4"
Begin Tell Target ("/knob_movie")
Go to and Stop ("knob"&/:channel)
End Tell Target
should work for you!
~~~~Cheri Harder~~~~~
charder
Advantage Web Solution
"Developing your internet storefront"
www.awsolution.com
> When I replace the variable with a constant it works fine. The problem is
in the variable in
> the 'Go To' statements.
> > Here are some places to check.
> >
> > 1. I'm not sure if Flash likes the under_score or spaces in the target
> > names. I always try to leave out special characters, including spaces,
in
> > my target name.
> >
> > 2. Verify the path to the targets (that is, each of these movie clips
are
> > present on the main timeline when this code is executed)
> >
> > 3. Verify all label names (ie., in the mc with the instance name of
> > knob_movie there is a frame labelled "knob4" (no quotes, no spaces)
> >
> > 4. As a debugging "tool" try setting a variable equal to the target at
each
> > command, then you can either trace the variables (with the trace action)
or,
> > while in "test movie" mode, hit the Control...List Varibles... menu
option,
> > to see that each target is being specified correctly.
> >
> > HTH
> > I'm trying to put a variable in a "Go To" statement... and it's not
> > > working for some reason. Here's the code:
> > >
> > > If Frame Is Loaded (1)
> > > Set Variable: "channel" = "4"
> > > Begin Tell Target ("/knob_movie")
> > > Go to and Stop ("knob" & channel)
> > > End Tell Target
> > > Begin Tell Target ("/movie_title")
> > > Go to and Stop ("chan" & channel)
> > > End Tell Target
> > > Begin Tell Target ("/channel copy")
> > > Go to and Stop ("chan" & channel)
> > > End Tell Target
> > > Begin Tell Target ("/sub mod")
> > > Go to and Stop ("ch" & channel)
> > > End Tell Target
> > > End Frame Loaded
> > >
> > > Note: I'm declaring a value for "channel" to simulate a variable
coming in
> > from another movie.
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The World�s Premier Flash Solutions Conference and Expo"
March 27-29, Nob Hill Masonic Center, San Francisco, California
-Register before Feb 25 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email help
Replies
RE: FLASH: Streaming Audio, patrickf
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

