Groups | Blog | Home
all groups > flash (macromedia) > july 2003 >

flash (macromedia) : Byron - you there? Prob. performing three things at once



Byron Canfield
7/21/2003 3:24:59 PM
Not quite sure what you're doing, but if you have a movie, say "movie1.swf"
already loaded into a movie clip, but stopped, you should be able to launch
it with a script in any frame on the timeline as long as the movie clip
containing that movie is still on the timeline (has not be terminated by an
empty keyframe on its layer. And as long as you do not attempt to load the
second movie to the same target, it should work fine to play one while
loading the other (we use this technique extensively with all the Headsprout
stuff).

--
"There are 10 kinds of people in the world. Those who understand binary
numbers and those who don't."
----------------------
Byron "Barn" Canfield
http://www.headsprout.com
Flash examples: http://www.byronc.com/flash5
[I do not respond to private emails regarding issues for which the
appropriate venue is this newsgroup, nor do I reply to posts by email.]




[quoted text, click to view]
frame label w/ anchor, then at a keyframe on an actions layer the action
script should - both load one movie, and play another already loaded movie
at frame 2.
[quoted text, click to view]
Both ways work to either goto the label and play a movie, or go to the
label and load a movie. But can not go to label, play movie, and load
other movie. I can split the actions between the nav button and the the
frame on the actions layer, or I can put the commands all in the nav button.
[quoted text, click to view]

centralodude
7/21/2003 9:17:11 PM
My main movie has nav buttons that send the main timeline to labels w/anchors.
It has actions on keyframes on an actions layer at the labels keyframe.

What it should do:
on a navigation button click, the main movie timeline should advance to a frame label w/ anchor, then at a keyframe on an actions layer the action script should - both load one movie, and play another already loaded movie at frame 2.

The Problem:
I am able to perform any two of these actions, but not all three together. Both ways work to either goto the label and play a movie, or go to the label and load a movie. But can not go to label, play movie, and load other movie. I can split the actions between the nav button and the the frame on the actions layer, or I can put the commands all in the nav button.

If the nav button (still visible) is clicked a second time while at the frame label, the movie which would not play, will start as intended.

Any ideas???
--thanks -
if you are unsure, please let one of the senior members answer -



centralodude
7/21/2003 11:21:45 PM
Seems simple right?
If you can follow the logic here perhaps you can spot something I can't see -
You click a nav button
The movie adances to a labeled frame & gets action script instruction to load a new movie - which is working, then it also gets instruction to play frame two of an already loaded movie. This action is not happening.
If I remove the load movie command from the action at the label then the movie will play as intended.
For some reason, it will not play when the load movie command is included.

Should I put these as two seperate on enter frame instructions? How would you combine these commands at the label to both load a new movie and play another already loaded movie located on the root level of the main movie?

Thanks,
Greg




AddThis Social Bookmark Button