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();
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] scrolling dynamic movie clip
David,
Looks like you're trying to change the y-value of your library object
(class) rather than the instance on your stage.
Where you now have:
this.backgroundvalue._y+=20;
I think you want
;
btnUp._y -= nudge;
btnDown._y -= nudge;
}
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of David
Brunswick
Sent: Wednesday, January 10, 2007 1:37 PM
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] scrolling dynamic movie clip
Good catch I
'
Subject: RE: [Flashcoders] scrolling dynamic movie clip
If you want the buttons in the movie clip, you just need to scroll the clip
and the buttons at the same time. Something like this:
btnUp.onPress = function(){
scrollMe(-1);
}
btnDown.onPress = function(){
scrollMe(1);
}
function scrollMe(dir:Number
I really want the scroll buttons in the loaded library item.
You should rethink the way you're doing this. Putting a scrollbar
inside the clip that is being scrolled is illogical. If you want them
to appear together as one clip, put the scrolling content in one
movieclip in the library clip
| BLITZ
Sent: Wednesday, January 10, 2007 1:12 PM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] scrolling dynamic movie clip
I really want the scroll buttons in the loaded library item.
You should rethink the way you're doing this. Putting a scrollbar
inside the clip that is being
list'
Subject: RE: [Flashcoders] scrolling dynamic movie clip
OK so what would the code look like?
David Brunswick
Senior Multimedia Developer/OLP Administrator
FedEx Customer Information Services
Customer Service Organizational Learning
901-434-6605
-Original Message-
From: [EMAIL
7 matches
Mail list logo