logo-dw

Go Back   Dreamweaver Club Forums > Graphic Design > Flash
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 07-21-2007, 01:33 AM   #1
cocoonfx
cocoonfx's Avatar
 
Join Date: Nov 2006
Location: Tamworth,UK
Posts: 576
Default Help! can't remember some action script

Hello


I am building a photo gallery in flash and i have some images which are landscape and some which are portrait.

At the top of the .swf i have a small thumbnails which the user places their mouse over. When the do this in a predefined area below the thumbnails the full image loads dynmaically using the code below.

on (rollOver){
this.gotoAndStop(2);
loadMovie("port5a.jpg",this._parent.subTarget);
}
on (rollOut){
this.gotoAndStop(1);
unloadMovie(this._parent.subTarget);

}

I want to make the images center if so that the portraits appear center and the same with the landscape images. Could anyone point me in the right direction as i can't remember how to do this?

Rgds
Cocoonfx
cocoonfx is offline   Reply With Quote
Old 08-26-2007, 07:22 AM   #2
wasovs4
wasovs4's Avatar
 
Join Date: Aug 2007
Location: Sheffeild
Posts: 108
Default

[center] is the code to centre an image
wasovs4 is offline   Reply With Quote
Old 08-26-2007, 02:24 PM   #3
davidj
davidj's Avatar
 
Join Date: Sep 2005
Location: The Toon (newcastle upon Tyne)
Posts: 8,256
Default

wasovs4

what do you mean by that
__________________
Would you like to learn PHP from me? Check out -> www.codezenith.co.uk
davidj is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:10 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com