Flash Games
 FAQ   Search   Memberlist   Usergroups   Register  Profile   Log in to check your private messages   Log in 


Can someone take a look and advise



 

Post new topic   Reply to topic  
   DEVPPL Forum Index -> Flash Forum
View previous topic :: View next topic  
Author Message
bgspoonz



Joined: 28 Jan 2007
Posts: 5

PostPosted: Sun Jan 28, 2007 2:14 am    Post subject: Can someone take a look and advise Reply with quote

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
View user's profile Send private message
flabbyrabbit
500+ Club


Joined: 25 Jan 2007
Posts: 564
Location: UK

PostPosted: Mon Feb 19, 2007 11:55 am    Post subject: Re: Can someone take a look and advise Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
bgspoonz



Joined: 28 Jan 2007
Posts: 5

PostPosted: Mon Feb 19, 2007 5:50 pm    Post subject: Re: Can someone take a look and advise Reply with quote

cool.. will try
Back to top
View user's profile Send private message
flabbyrabbit
500+ Club


Joined: 25 Jan 2007
Posts: 564
Location: UK

PostPosted: Tue Feb 20, 2007 12:59 pm    Post subject: Re: Can someone take a look and advise Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
bgspoonz



Joined: 28 Jan 2007
Posts: 5

PostPosted: Tue Feb 20, 2007 5:46 pm    Post subject: Re: Can someone take a look and advise Reply with quote

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
View user's profile Send private message
flabbyrabbit
500+ Club


Joined: 25 Jan 2007
Posts: 564
Location: UK

PostPosted: Tue Feb 20, 2007 9:04 pm    Post subject: Re: Can someone take a look and advise Reply with quote

It was easier than expected Smile 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
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
bgspoonz



Joined: 28 Jan 2007
Posts: 5

PostPosted: Wed Feb 21, 2007 1:37 am    Post subject: Re: Can someone take a look and advise Reply with quote

^ says its not a good archive...
Back to top
View user's profile Send private message
flabbyrabbit
500+ Club


Joined: 25 Jan 2007
Posts: 564
Location: UK

PostPosted: Thu Feb 22, 2007 2:45 pm    Post subject: Re: Can someone take a look and advise Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
bgspoonz



Joined: 28 Jan 2007
Posts: 5

PostPosted: Fri Feb 23, 2007 1:21 am    Post subject: Re: Can someone take a look and advise Reply with quote

thanks... it's bgproject01@yahoo.com
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    DEVPPL Forum Index -> Flash Forum All times are GMT + 1 Hour
Page 1 of 1

 
 
Welcome to DEVPPL.com
You are not logged in, which means that you can't post in the forums.
Click here to Register

If you are a current member here on DEVPPL, please login below:

User: Pass:
Log me on automatically each visit:

 


Powered by phpBB © 2001, 2005 phpBB Group - Modified by DEVPPL

Flash Games - Sitemap