-
Hi there.
Problem is: I have a mainmovie. This mainmovie includes some targets to load external swf's in.
In some of the external swf's I have a scrolling function realized with setting the _y Property new in a "onClipEvent" handler.
Playing the external file on its own, it scrolls fine.
I also included a function that user can't scroll further than the content.
Loading now this movie in the mainmovie target,
Scrolling is sometimes disabled or the function scrolling not ffurther than content doens't work. Why ?
Thanx in advance.
-
When you load your movie into another level you change the path. You have to write the code for the scroll bar to work in that level not on its own.
-
But I use in every swf the _root.variable .
-
I'll try my best to explain:
When referring to a clip like _root.MC its like:
current movie(or level0) and then the clip
When you load it into another movie or clip
It is now level1.MC or _root.otherclip.MC
Either way there is another level of object to your clip.
SO if you loading into another clip you need to put that clip in your path.
-
So I guess:
_root.otherclip.mc....
I have to name it this way, ok ?
_root.layer1.swf.scrollme
does the "otherclip" reference means the whole name of the movie clip loaded before ?
-
In movie one you have a clip called "container". You load movie 2 into this clip(container). In movie 2 you have a scrollbar called "scroll".
In movie 2 you reference _root.container.scroll._x
Hope that helps.
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
|