This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Flash Site Design > April 2006 > Slide show with a difference
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Slide show with a difference
|
|
| beyondthebrand 2006-04-05, 6:46 pm |
| Hi all,
I am not advanced in flash at all yet but i have many ideas i want to do on my
site. The latest idea i have is as this:
If you imagine an old slide projector, where you click the button and the
slides all move round one in a circle to the front to show that slide. Well i
want that effect but not the projection image. So if you where looking at the
slides in a circle from the front but just above so you can see the front slide
and then the others going off in to the distance.
So on my website if you imagine the slides are all white with logos on them,
each one different and then when you press the button for left or right it
moves round to show the front one and so on.
Is this possible?
If you need more of an explanation then i can give it and i have seen this
effect on a mibile phone where the photos they have scroll round in a circle
and i suppose the best explanation of this is the apple mac ilife screen where
the dvd and iphoto software spin round to pick which one you want.
Anyway if some one can help me then please send some info.
Thank's so much,
Neil
| |
|
|
| beyondthebrand 2006-04-05, 6:46 pm |
| That is fantastic mate, you are a life saver dude!
Thanks so much.
Neil
| |
| beyondthebrand 2006-04-05, 6:46 pm |
| just a quick question, Lets say i wanted to add a get url to each of those
where would i put the code for that as i have tried to put it on each of the
movieclips within the pane movieclips but not working?
Thanks, Neil
| |
| Rob Dillon * ACE* 2006-04-05, 6:46 pm |
| Sure, just put this at the bottom of the existing actionscript and put
in your own urls:
// create an onRelease function for each of the movieClips in the
objectsInScene array...
for (i in objectsInScene) {
objectsInScene[i].onRelease = function() {
useLink(this);
}
}
// this function will figure out which pane was clicked on and execute a
getURL for a specific URL...
//substitute your own urls...
function useLink(thisOne) {
switch (thisOne) {
case theScene.pane :
getURL("firstURL.html", "_blank");
break;
case theScene.pane1 :
getURL("secondURL.html", "_blank");
break;
case theScene.pane2 :
getURL("thirdURL.html", "_blank");
break;
case theScene.pane3 :
getURL("fourthURL.html", "_blank");
break;
case theScene.pane4 :
getURL("fifthURL.html", "_blank");
break;
case theScene.pane5 :
getURL("sixthURL.html", "_blank");
break;
case theScene.pane6 :
getURL("seventhURL.html", "_blank");
break;
case theScene.pane7 :
getURL("eighthURL.html", "_blank");
break;
case theScene.pane8 :
getURL("ninthURL.html", "_blank");
break;
case theScene.pan9 :
getURL("tenthURL.html", "_blank");
break;
case theScene.pane10 :
getURL("eleventhURL.html", "_blank");
break;
case theScene.pane11 :
getURL("twelvthURL.html", "_blank");
break;
case theScene.pane12 :
getURL("thirteenthURL.html", "_blank");
break;
break;
case theScene.pane13 :
getURL("fourteenthURL.html", "_blank");
break;
case theScene.pane14 :
getURL("fifteenthURL.html", "_blank");
break;
default :
trace ("uh oh");
}
}
If you have any further Actionscript questions, it would be best to ask
in the Flash Actionscript forum.
--
Rob
_______
Rob Dillon
Adobe Community Expert
http://www.ddg-designs.com
412-243-9119
http://www.macromedia.com/software/trial/
| |
| beyondthebrand 2006-04-06, 6:44 am |
| Lol, how far off was i!
I was going to just put geturl on each of the mocieclips hehe. I so need to
learn actionscript as i will now have to try and understand this cool code you
have put in. Thanks again and the only way for me to learn is by trial and
error and all of your help on here.
Cheers bud,
Neil
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|