Hello List, I am creating an empty movie clip container dynamically at
runtime. Then when the user selects a specific button a movie clip is loaded
into that container from the library. My issue is getting the loaded movie
clip to scroll.
Here is a sample of the code
stop();
theClip.createEmptyMovieClip("empty_mc", 1);
this.start_btn.onRelease = function() {
attachMovie("backgroundvalue","backgroundvalue_mc", 1);
backgroundvalue _mc._y = .9;
backgroundvalue _mc._x = 0;
}
Then for the movie clip backgroundvalue scroll buttons I have this
Up btn
on(press, release, keyPress "<Up>")
{
this.backgroundvalue._y+=20;
}
Down btn
on(press, release, keyPress "<Down>")
{
this.backgroundvalue._y -=20;
}
This logic works with a movie clip in a frame on the main timeline. I need
to work with a dynamically loaded MC.
Any suggestions?
David Brunswick
Senior Multimedia Developer/OLP Administrator
FedEx Customer Information Services
Customer Service Organizational Learning
901-434-6605
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com