|
-
hoping someone is still awake...
what is the correct syntax for this....
in level0 i have
Set Variable: "_level7:nextscene" = "photo-nav"
Begin Tell Target ("_level7")
Go to and Play ("wipe1")
End Tell Target
in level1 at the end of wipe1 i have
Begin Tell Target ("_level0")
Go to and Play ("nextscene")
End Tell Target
the variable "photo-nav" is actually a label in level0 movie and i want level1 to make level0 go to that label.
this does not seem to be working and it has to be becasue i am not targeting correctly....
my email is
[email protected]
-
Set Variable: "_level7:nextscene" = "photo-nav"
Begin Tell Target ("_level7")
Go to and Play ("wipe1")
End Tell Target
in level1 at the end of wipe1 i have
wipe1 is in level1 ?? or level7 ???
-
wipe1 is a label in level7
photo-nav is a label in level0
ignore that crap at the bottom.. i am getting tired....
use the cut and pasted script.... i am only dealing with level0 and level7
does this make sense?
click a button in level 0... play a transition in level 7.. when transition in level 7 is finished, tell level 0 to go to and play the label that corresponds to the button click.
arrrgh.
-
Begin Tell Target ("_level0")
Go to and Play ("photo-nav")
End Tell Target
try this ?
-
but the same level 7 movie will not always play just for photo-nav which is why i am setting the variable from level0 navigation buttons.
especially if i set up more than 1 transition to play randomly at the click of one of 6 navigation buttons.
if i set a variable (in this case a label = "photo-nav")what is the syntax for saying
go to label variable
i have tried
go to "variable"
go to variable
go to eval(variable)
go to eval("variable")
go to :variable
go to :"variable"
-
Now it is not the label thing that is causing the problem,you see where is the "variable" that you want to use a s a lable being set(which level??)as you are using:
Begin Tell Target ("_level0")
Go to and Play (variable)
End Tell Target
the syntax is correct but for that to work,the variable called "variable" above has to be available on the timeline of "_level0" this is because you are targetting thsi level,so i suggest you do something like this:
set variable: "_level0:variable"
Begin tell target("_level0")
Go To And Play(variable)
end tell target
Post a little more explanation for me and tell me where the veriables are begin set and ill write the code exactly(unless using the above you can sort it yourself)
Hope it helps!!
Regards FlashGuru
-
guru,
thanks... i got it working around 3am... ha ha (tired ass laugh)
i did what you said and someone else said.. to tired to remember but i will shout out all who helped when this beast goes live hopefully tomorrow.
once i set the variable in _level0 and called to it from _level7 it worked like a charm... part of my problem was thinking TOO much. i made the whole thing overly complicated.
works decent. testing will be done tomorrow... hopefully it will work out but this one is a broadband site so i don't wanna hear the 56k people crying about it... hahaha
should be posting a link tomorrow under cool sites since i couldn't post it for site check... legal issues.
anyway thanks to all who helped with scripting issues. soon i will help others with the knowledge i gained here. karma.
peace,
kc
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|