| View previous topic :: View next topic |
| Author |
Message |
bgspoonz
Joined: 28 Jan 2007 Posts: 5
|
Posted: Sun Jan 28, 2007 2:14 am Post subject: Can someone take a look and advise |
|
|
Can someone take a look at this flash, and tell me if there is an app/prog that does this or would it be easier to create by hand.
I'm sure for you guys it is extremely simple... It is how the gallery is being shown using flash.
The part I would like to know how to and what to use to do is the part where the mouse-over moves the image in the background... is there simple FLASH code for this, or do I need to trial & error with FLASH8 or even Dreamweaver?
click on any an image in the gallery...
http://www.xara.com/gallery/ |
|
| Back to top |
|
 |
|
|
flabbyrabbit 500+ Club

Joined: 25 Jan 2007 Posts: 564 Location: UK
|
Posted: Mon Feb 19, 2007 11:55 am Post subject: Re: Can someone take a look and advise |
|
|
It should be very easy to create this effect in flash not that i have tried it yet, iwll try it out soon. My idea is to have the image in the background as a movie clip called say 'background', and do the same for the thumbnail image. Making the background really big so its alot bigger than the size of the movie Then add some sort of code like:
| Code: |
//In the RollOver code of the tumbnail image
_root.background._x = _root._xmouse*10
_root.background._y = _root._ymouse*10
//Mess around with the figure on the end
//This will change how much the background image moves |
Then mask out the rest of the background image so that it just moves around in side the mask just showing the bit you want, if you understand sorry if that was abit messy. If this does not work just mess around and im sure the answer will be simple enough. Btw can you please post the code if you do work it out, thankyou
Flabby Rabbit
Jogos Gaming |
|
| Back to top |
|
 |
bgspoonz
Joined: 28 Jan 2007 Posts: 5
|
Posted: Mon Feb 19, 2007 5:50 pm Post subject: Re: Can someone take a look and advise |
|
|
| cool.. will try |
|
| Back to top |
|
 |
flabbyrabbit 500+ Club

Joined: 25 Jan 2007 Posts: 564 Location: UK
|
Posted: Tue Feb 20, 2007 12:59 pm Post subject: Re: Can someone take a look and advise |
|
|
I had a look at this last night and after thinking about it some more it will be alot harder than i first imagined. You will have to take into account the ratio of the two sizes of the pictures to find out how much to move the big one in the background. Also you will have to take into account where the litle one is on the stage. Apart from these problems the code i sujested makes the background pic move the wrong way, i am working on a sample code for you which will actually work.
Sorry for the inconvenience,
Flabby Rabbit |
|
| Back to top |
|
 |
bgspoonz
Joined: 28 Jan 2007 Posts: 5
|
Posted: Tue Feb 20, 2007 5:46 pm Post subject: Re: Can someone take a look and advise |
|
|
much thanks!! Yea, i kinda figured that the difference in pic sizes large/thumbs may not 'show/move' right UNLESS the code somehow can compensate for various image sizes... but what if ALL thumbs were a set size, and the code said something like with mouseover the thumb, move original image x%.
That way no matter how large/small the big image is, percentage wise a 10% move is a 10% move... if u understand what i mean. Like no matter what size the large image is... if it takes 10 steps/paces to go from absolute left to absolute right (10%)... then it wouldn't matter what size the image is... 10 is 10. |
|
| Back to top |
|
 |
flabbyrabbit 500+ Club

Joined: 25 Jan 2007 Posts: 564 Location: UK
|
Posted: Tue Feb 20, 2007 9:04 pm Post subject: Re: Can someone take a look and advise |
|
|
It was easier than expected but i think this example will only work for this dimension of picture. Saying this it would be quite easy to change it using some constants or getting dimension of the pictures through some simple code.
Heres the zip file: Picture Viewer.zip
Hope this works for you,
Flabby Rabbit |
|
| Back to top |
|
 |
bgspoonz
Joined: 28 Jan 2007 Posts: 5
|
Posted: Wed Feb 21, 2007 1:37 am Post subject: Re: Can someone take a look and advise |
|
|
| ^ says its not a good archive... |
|
| Back to top |
|
 |
flabbyrabbit 500+ Club

Joined: 25 Jan 2007 Posts: 564 Location: UK
|
Posted: Thu Feb 22, 2007 2:45 pm Post subject: Re: Can someone take a look and advise |
|
|
Well hmmm, which version of flash you got?? Ill redo it and try again..whats ur email adress ill just email it you might work then.
Flabby Rabbit |
|
| Back to top |
|
 |
bgspoonz
Joined: 28 Jan 2007 Posts: 5
|
Posted: Fri Feb 23, 2007 1:21 am Post subject: Re: Can someone take a look and advise |
|
|
| thanks... it's bgproject01@yahoo.com |
|
| Back to top |
|
 |
|