View Full Version : scrooling image!?
Fresh_ales
09-06-2005, 09:12 AM
o.k.
i know how to make scrooling text and so..
now im trying to make a scrooling...hmmm image??
Its like this...
I have a graphic created in flash for background and on that i have movie clips and within puctures that are loading outside flash like MC.loadMovie("some.jpg") everithing works great, but now i want to have this graphic exact the same size (on the stage) but in reallyti this graphic is much bigger, and i wanna mannage this with scrool, and of corse i want to have on this graphic external images that loads in movie clips...
Any idea?
Fresh ales :confused:
Fresh_ales
09-06-2005, 02:00 PM
WHAT?
anyone??? or is this not going in flash?
Fresh ales
finchou
09-06-2005, 02:12 PM
have a layer set as "mask" with a shape on it (usually a rectangle), that will define the visible shape of the layer below.
below it is the layer where is your "MC".
then define buttons that set MC._x and MC._y.
Fresh_ales
09-06-2005, 05:03 PM
1.have a layer set as "mask" with a shape on it (usually a rectangle), that will define the visible shape of the layer below.
2.below it is the layer where is your "MC".
then define buttons that set MC._x and MC._y.
o.k.
1. i got it!
2. i dont get it?
i dont get the second part "below it is the layer where is your "MC"." .........
Can you explain it to me?
THANX!
Fres ales :confused:
Fresh_ales
09-06-2005, 05:08 PM
i think you missunderstood my problem..i guess...
Now i have a mask layer and a shape on it, so this is the shape (size) of a movie clip? right?
Now i want to have IN this movie clip (let say its 300x300 px) i want to have a "object" that is 300x600 px. BUT its only wisible 300x300 px just like the mask layer size is and i want to make 2 buttons and be able to scrool this "object" 300x600px in 300x300px window...
Fresh ales :p
Fresh_ales
09-06-2005, 05:20 PM
..... now that i have called external image into movie with it set size, becouse the image is larger, the image desplays full, and that is outside the movie clip :(
Fres ales :mad:
Fresh_ales
09-06-2005, 06:00 PM
YEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEES!!!!
i did it!
i have read a tuttorial about scrooling txt, and tried to load external image into movie clip and then scrool it, and IT's WORKING!!,
now i just have to manage to set max and min y position
i did it like this
First i load a image into movie 1 layer
2 layer i created a rectangule the size i wanna to display, then have "mask" the layer
3. on this layer i have created 2 buttons and programed it like this:
on(release)
{
MC._y -= 30;
}
and alsow for +....
O.K. i know, this is really nothing for exterts like you are here, bu for me (im new here) i am really happy to discover every day something new in actionscripting ;)
Take care!
Fresh ales :D
Fresh_ales
09-07-2005, 08:40 PM
o.k i have another question....
How can i defin the psozision of this external image?
Let say the image is so big, that when i load it in a movie i cannot have 0 defined in proerties of a movie y = o pix, i have defined -300 px, and when i now load this image it dosen start at the top!
So how can i determin the y posision of an loaded image (ok i load sfw file but i think this is erelleveant) i load it with MC.loadMovie("movie.swf");
THANX!
Fresh ales
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.