Carousel - Image Instead Of Text Upon ROLLOVER
I watched all 3 Carousel tutorials but can not figure out how to use an image instead of dynamic text for the rollover bubble that appears above each icon. I found a few threads on this forum with similar questions but none were answered.Thanks in advance for your help.
General Flash
Posted on: Fri Aug 22, 2008 6:37 pm
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Carousel Tut. Image Instead Of Text
Hi
I am trying to work with the carousel tutorial. It is possible to display text on the right when an icon is clicked. Is it possible to display an image instead of the text (reading from the Xml)?
Henk
Multiple Rollover Text For One Image
Hi,
I have one image that I need to create multiple hotspots (add an icon to identify). Once the mouse goes over the hotspot, I want to display some text associated with the hotspot. When the mouse is moved away from it the text fades or moves away. I have tried a sample where I can have one hover effect for the whole image. IS there a way to have more than one hover/rollover effects on one image? Any guidence is appreciated.
Thanks!
Rollover Text To Display Image
I run a website for a local football team. I was thinking about creating a flash movie that would display a football field with all the positions listed on it (i.e. QB, RB, TE, etc...) When a person overs the mouse over each position, it would bring up an image of the player (or players) that play that position. I have the image of the field and the players, but that's where I am at, not sure how to get started on this. Any ideas on how to do this?
AS3 Image Carousel
Hi I am trying to replicate the an image carousel like the one on nissanusa.com.
I have created a movie(image1) with five layers containing the images.
and given them instance names ClipA, ClipB, etc.
I then moved ClipA from the top layer to below ClipB but then the listeners dont catch any mose roll over.
Any Ideas?
Is there a way to dynamically move them up or down layers?
image1.clipA.addEventListener(MouseEvent.ROLL_OVER,overFunction1);
image1.clipA.addEventListener(MouseEvent.ROLL_OUT,outFunction1);
image1.clipB.addEventListener(MouseEvent.ROLL_OVER,overFunction2);
image1.clipB.addEventListener(MouseEvent.ROLL_OUT,outFunction1);
function overFunction1(obj:Object) {
trace ("on roll called");
display_txt.text = "CLIP A";
bgdark.visible = true;
image1.stop();
image1.clipA.gotoAndStop(10);
image1.clipB.gotoAndStop(20);
image1.clipC.gotoAndStop(20);
image1.clipD.gotoAndStop(20);
image1.clipE.gotoAndStop(20);
}
Thanks
Chris
Anyone Know Any Image Carousel Tutorial?
Hi,
I'm looking for an image carousel (rotating like those found in carnival rides) done in Flash5. Preferably horizontally rotating and customizable...
Anyone seen one lately? Somewhat looks like this except this one is done with java applets and is more like a ferris wheel rather than a carousel.
Thanks!
Carousel Image Gallery
i am interested to know how this IMAGE GALLERY was created and worked out.
i searched on FK and found THIS Carousel sorta thing but i was not successful implementing images within it.
anyhelp is greatly appreciated.
I Need An Image Carousel, Scroller Like This One...
Hi there,
Im looking to build a scrolling image carousel like the one shown here
http://www.nikoleramsay.com/
The requirements are:
The images must be loaded in individually to reduce preload time.
For it to be scrolling.
To have a dragable bar
To remain 100% width in any browser.
Does any know of a script, a site, a tutorial that might help me complete this? Doesn’t have to be a free script, i don’t mind paying for this.
To be honest, any help in the right direction would be fantastically helpful here.
Tim
I Need An Image Carousel, Scroller Like This One...
Hi there,
Im looking to build a scrolling image carousel like the one shown here
http://www.nikoleramsay.com/
The requirements are:
The images must be loaded in individually to reduce preload time.
For it to be scrolling.
To have a dragable bar
To remain 100% width in any browser.
Does any know of a script, a site, a tutorial that might help me complete this? Doesn’t have to be a free script, i don’t mind paying for this.
To be honest, any help in the right direction would be fantastically helpful here.
Tim
Carousel Image Quality
Trying to figure out how to make the images in my carousel not jump around so much. Does anybody know of an effect, file type, flash setting or anything else that can help smoooth this out?
Thanks fo the help.
if you want to see what im talking about go here
http://www.symbioticmeg.com
A Static Image To 3D Carousel
I did the fantastic 3D carousel tutorial and got it working properly. I'd like to put a statis picture in the middle of the carousel though, something that the items revolve around, so I'd need the items to go behind the image somehow. I imagine this can be accomplished by a mask but I have no idea how to mask the dynamically created items and now they just move on top of the middle image. Can someone help me with this?
Carousel - Foreground Image
What would be the best way to overlay an image on the carousel script. I'm trying to make the icons in the rear pass behind the overlayed image.
Here's an example of what's happening now when I simply place the image on it's own layer.
http://pmgroup.com/ready2go/_caro2/caro ... enter.html
Bug In The Attached Carousel Image Gallery
I need to fix the bug in a carousel based image gallery. I tried to figure it out but I couldn't.
Can anybody help me in this. I would be glad if somebody can explain what's going on in the action script
Carousel Image Gallery Scale
I finished my first design in flsh 8 using autoscript. It is a carousel gallery of 14 images rotating around.
I am very new to this area but i hava a knowledge on programming language.
What i want is when an image comes in the center of the monitor to scale
automatically, stay at the max scale for around 2 secs then scale back to its original size.
when an image is in the proccess of scaling, the other images should stop and wait until the image gets its original size.
actually the proccess goes like that:
1st image in screen center - scale for 2 secs - remain at max size for 2 sec - scale back to original size - carousel rotation -
2nd image - scale.....and so on
Actually what i am lookin for is in url http://www.greekmilitary.net/
I would be very gratefull if anyone can supply me with an appropriate actionscript code or any reference tutorials on this
Best Practices - Flash Image Carousel
When creating an image Carousel in flash for a web page, what are the best practices for loading quickly and changing images?
So for instance, on an ecommerce site, the home page often has a block created in flash in which 4-6 images are included with arrows or image numbers are displayed at the bottom as buttons. The images automatically change to the next ever x seconds unless the user selects an image number or the forward/back arrows.
Obviously, smaller the image the better. But how about best practices for things like:
Do you include one image in the block and then load dynamically the other images? Should all images be dynamically loaded if you want to change them on a daily/weekly basis? Any suggestions for making sure the images, especially the first one is loaded quickly?
Anyone have sample ~gpl code that demonstrates a block like this?
Two examples - kohls.com, jcrew.com
Image In Center Of Carousel Menu?
Hi, I recently built myself a carousel menu that works well, and was just wondering if it was possible to place a movieclip at it's center? the problem i've been having is that the icons at the back still seem to display overtop of the central movie clip, is there perhaps some way to set the depth of the movie clip I want in the center, so that the icons in front pass in front of the movie clip while the ones in back pass behind?
sorry if this is a bit confusing, i've been up all night trying to figure this out =/
thx in adv.
-wraith
3D Carousel Weird Image At Loading?
Hello
The 3d carousel is fantastic but i seem to have encountered an issue
when it loads it has a very odd royal blue blue box about 2 inches tall by half inch wide appear on the screen briefly. this appears in the upper left portion of the screen
any ideas what this might be? would like to make it go away! since it is all loading dynamically i have no idea where this little gremlin is coming from
thanks
justin
How Can I Load An External Image Using This Carousel Code
I found this beautiful carousel ported to actionscript 3.0.
http://board.flashkit.com/board/atta...7&d=1188450564
How can I change the code so I can click one of the carousel images and have it load the companion large image located in a different folder into a movieclip on stage.
I am a newbie to AS3 and struggling to learn how to do things.
Hopefully, someday I will be smart enough to contribute to the forum with intelligent submissions.
Can't Find A Simple Image Rotator Tutorial (not Carousel)
Hi,
I need to make a simple movie that rotates through images/swfs, in order, and has a small navigation to select any of the images in the rotator. Probably will only contain 3 - 6 images/swfs at a time. I have come across many pre-made flash image rotators, but I need something a bit more open that I can customize to my liking. I'm not necessarily looking for ease of use or automated. I know enough AS that I understand it, I just need help writing it sometimes. Kinda like when you can read a language, but you're not fluent in writing it. Anyway, I'm not asking for someone to write AS for me, but if anyone has something already on hand that they don't mind sharing or if you know of a tutorial that may help, I would appreciate it. Thanks.
Rollover Image Gallery With Swap Image Effect?
I'm trying to do a flash banner like the one from:
http://www.eyeblaster.com/
when you rollover the buttons that say: eyeblaster ACM v2.0, advanced analytics, etc. the nice artistic banner appears. when you are no longer over it, it still stays to that same banner until you rollover the other buttons. so it's like a swap image effect, only in flash.
how would i go about this?
Photo Gallery Rollover Image Image Swap
I am using the XML Photo Gallery with thumbnails, and i have managed to modify it to suit my needs for the most part. However, some of the work i want to use it to display is photo restoration and i would like to be able to rollover the image and have a different image show on rollover. Something like you see here...http://homepage.mac.com/gapodaca/digital/bikini/ only using the XML Photo Gallery.
Any ideas?
Xml Loaded Image On Rollover Loads Another Image
I have a xml flash gallery, that has thumbnails when clicked loads the image, now when a user rolls onto that loaded image I want it to load another image/swf from specified in the xml file. Anyone know how I can do this?
Text Hyperlink In Carousel
I am using goandlearn.com demo files to create a product carousel. Once I choose the product and it displays the image and text (after the tween) I need to add a text hyperlink within the product description to link to the product page. Can You help me with this?
Here is the xml I am using:
<icons>
<icon image="icon1.png" title="Getting Started with e-Sign and e-Closing CD " content="The industry has been talking about the e-transaction for years, but significant developments recently are turning the idea into reality." link="Click here for more information" url="http://www.octoberstore.com/Getting_Started_with_e_Sign_and_e_Closing_CD_p/er111507.htm"/>
<icon image="icon2.png" title="NS3 2008 Expanding and Diversifying Your Title Agency: Expanding into Appraisal CD " content="Hear one of the nation's leading appraisal authorities outline the new regulations and discuss the financial opportunities that may be available for title agents to expand their services with lenders and real estate agents by offering a menu of appraisal and valuation products." link="Click here for more information" url="http://www.octoberstore.com/Expanding_Your_Title_Agency_into_Appraisal_p/ns308-cd3.htm"/>
<icon image="icon3.png" title="Real Estate Law 101: Fiduciary duty and dual agency CD" content="In the world of real estate law, few issues are as controversial these days as those surrounding an agent’s dual representation of buyers and/or sellers.
" link="Click here for more information" url="http://www.octoberstore.com/Real_Estate_Law_101_p/rel052808.htm"/>
<icon image="icon4.png" title="RESPA Radio: Eye on Reform - Mortgage Focus - CD " content="It’s finally here…RESPA reform rule emerges!" link="Click here for more information" url="http://www.octoberstore.com/RESPA_Radio_Eye_on_Reform_Mortgage_Focus_CD_p/rr032808.htm"/>
<icon image="icon5.png" title="RESPA Q & A Marketing Agreements CD" content="It’s a critical time for title companies to market their services." link="Click here for more information" url="http://www.octoberstore.com/RESPA_Q_A_Marketing_Agreements_CD_p/rr121207.htm"/>
<icon image="icon6.png" title="Title Companies: Reeling in New Revenue PDF Special Report " content="Our latest special report provides insight into how title agencies can hook new clients." link="Click here for more information" url="http://www.octoberstore.com/Reeling_in_New_Revenue_PDF_Special_Report_p/ttr-sp-100.htm"/>
<icon image="icon7.png" title="Appraiser Survival Series: Succeeding in Declining Markets CD" content="We drill down on the complex criteria for checking the declining market box and providing the substantiating information you need to back up your opinion.
" link="Click here for more information" url="http://www.octoberstore.com/Succeeding_in_Declining_Markets_p/vr050108.htm"/>
<icon image="icon8.png" title="Appraisal Survival Strategies PDF Special Report" content="A new exclusive report from Valuation Review tells you what survival strategies your colleagues are embracing for 2008 and helps you determine the path that’s right for you.
" link="Click here for more information" url="http://www.octoberstore.com/Appraisal_Survival_Strategies_p/vr-sp-100.htm"/>
</icons>
and here is the action script as I have it so far:
import mx.utils.Delegate;
import mx.transitions.Tween;
import mx.transitions.easing.*;
var numOfItems:Number;
var radiusX:Number = 220;
var radiusY:Number = 50;
var centerX:Number = Stage.width / 2;
var centerY:Number = Stage.height / 2;
var speed:Number = 0.05;
var perspective:Number = 50;
var home:MovieClip = this;
theText._alpha = 0;
theTitle._alpha = 0;
link._alpha = 0;
var tooltip:MovieClip = this.attachMovie("tooltip","tooltip",10000);
tooltip._alpha = 0;
var xml:XML = new XML();
xml.ignoreWhite = true;
xml.onLoad = function()
{
var nodes = this.firstChild.childNodes;
numOfItems = nodes.length;
for(var i=0;i<numOfItems;i++)
{
var t = home.attachMovie("item","item"+i,i+1);
t.angle = i * ((Math.PI*2)/numOfItems);
t.onEnterFrame = mover;
t.toolText = nodes[i].attributes.tooltip;
t.title = nodes[i].attributes.title;
t.content = nodes[i].attributes.content;
t.link = nodes[i].attributes.url;
t.url = nodes[i].attributes.url;
t.icon.inner.loadMovie(nodes[i].attributes.image);
t.r.inner.loadMovie(nodes[i].attributes.image);
t.icon.onRollOver = over;
t.icon.onRollOut = out;
t.icon.onRelease = released;
}
}
function over()
{
//BONUS Section
var sou:Sound = new Sound();
sou.attachSound("sover");
sou.start();
home.tooltip.tipText.text = this._parent.toolText;
home.tooltip._x = this._parent._x;
home.tooltip._y = this._parent._y - this._parent._height/2;
home.tooltip.onEnterFrame = Delegate.create(this,moveTip);
home.tooltip._alpha = 100;
}
function out()
{
delete home.tooltip.onEnterFrame;
home.tooltip._alpha = 0;
}
function released()
{
//BONUS Section
var sou:Sound = new Sound();
sou.attachSound("sdown");
sou.start();
home.tooltip._alpha = 0;
for(var i=0;i<numOfItems;i++)
{
var t:MovieClip = home["item"+i];
t.xPos = t._x;
t.yPos = t._y;
t.theScale = t._xscale;
delete t.icon.onRollOver;
delete t.icon.onRollOut;
delete t.icon.onRelease;
delete t.onEnterFrame;
if(t != this._parent)
{
var tw:Tween = new Tween(t,"_xscale",Strong.easeOut,t._xscale,0,1,tru e);
var tw2:Tween = new Tween(t,"_yscale",Strong.easeOut,t._yscale,0,1,tru e);
var tw3:Tween = new Tween(t,"_alpha",Strong.easeOut,100,0,1,true);
}
else
{
var tw:Tween = new Tween(t,"_xscale",Strong.easeOut,t._xscale,100,1,t rue);
var tw2:Tween = new Tween(t,"_yscale",Strong.easeOut,t._yscale,100,1,t rue);
var tw3:Tween = new Tween(t,"_x",Strong.easeOut,t._x,80,1,true);
var tw4:Tween = new Tween(t,"_y",Strong.easeOut,t._y,180,1,true);
var tw5:Tween = new Tween(theText,"_alpha",Strong.easeOut,0,100,1,true );
var tw6:Tween = new Tween(theTitle,"_alpha",Strong.easeOut,0,100,1,tru e);
var tw7:Tween = new Tween(link,"_alpha",Strong.easeOut,0,100,1,true);
trace (t.link);
link.onRelease = function ()
{
trace(t.url);
getURL(t.url);
}
theText.text = t.content;
theTitle.text = t.title;
var s:Object = this;
tw.onMotionStopped = function()
{
s.onRelease = unReleased;
}
}
}
}
function unReleased()
{
//BONUS Section
var sou:Sound = new Sound();
sou.attachSound("sdown");
sou.start();
delete this.onRelease;
var tw:Tween = new Tween(theText,"_alpha",Strong.easeOut,100,0,0.5,tr ue);
var tw2:Tween = new Tween(theTitle,"_alpha",Strong.easeOut,100,0,0.5,t rue);
var tw2:Tween = new Tween(link,"_alpha",Strong.easeOut,100,0,0.5,true) ;
for(var i=0;i<numOfItems;i++)
{
var t:MovieClip = home["item"+i];
if(t != this._parent)
{
var tw:Tween = new Tween(t,"_xscale",Strong.easeOut,0,t.theScale,1,tr ue);
var tw2:Tween = new Tween(t,"_yscale",Strong.easeOut,0,t.theScale,1,tr ue);
var tw3:Tween = new Tween(t,"_alpha",Strong.easeOut,0,100,1,true);
}
else
{
var tw:Tween = new Tween(t,"_xscale",Strong.easeOut,100,t.theScale,1, true);
var tw2:Tween = new Tween(t,"_yscale",Strong.easeOut,100,t.theScale,1, true);
var tw3:Tween = new Tween(t,"_x",Strong.easeOut,t._x,t.xPos,1,true);
var tw4:Tween = new Tween(t,"_y",Strong.easeOut,t._y,t.yPos,1,true);
tw.onMotionStopped = function()
{
for(var i=0;i<numOfItems;i++)
{
var t:MovieClip = home["item"+i];
t.icon.onRollOver = Delegate.create(t.icon,over);
t.icon.onRollOut = Delegate.create(t.icon,out);
t.icon.onRelease = Delegate.create(t.icon,released);
t.onEnterFrame = mover;
}
}
}
}
}
function moveTip()
{
home.tooltip._x = this._parent._x;
home.tooltip._y = this._parent._y - this._parent._height/2;
}
xml.load("icons.xml");
function mover()
{
this._x = Math.cos(this.angle) * radiusX + centerX;
this._y = Math.sin(this.angle) * radiusY + centerY;
var s = (this._y - perspective) /(centerY+radiusY-perspective);
this._xscale = this._yscale = s*75;
this.angle += this._parent.speed;
this.swapDepths(Math.round(this._xscale) + 100);
}
this.onMouseMove = function()
{
speed = (this._xmouse-centerX)/3500;
}
Carousel Text Link
Hi guys!
I've sarched like crazy on the forum but i've founded no answers...is possibile to make a word linkable in the carousel text?
I mean the xml..i want a word or some words to be linkable to other pages..
tnx in advice and great forum!!!!!!!!!!!!!
Carousel Hyperlinks In Text Description
I was wondering if anyone knows a way to play hyperlinks in the description for the items in the Carousel. So for example you have 5 items in the carousel you click on one it moves to the upper left and you get the description that comes up. That description is in the xml document and seems to be just plain text. Is there anyway to add html to it like to have a word link to another page?
Thanks in advance and hope this makes sense
PS I tried messing around with CDATA but couldn't get it to work.
Here is an example of what I want.
To see more about this item you can click Code:
<a href="www.anywhere.com">here</>.
Flash Carousel..(adding Swf's Instead Of Text)
I need help, I completed the carousel tutorial with no problems, only now I want to create a site based around this idea, but I'm having problems figuring out how to put in actual content like an individual SWF, or a movie clip rather than the Text box ....Help!!!
Carousel Part 3 With Links Under The Text
Hello, I just watched all the carousel tutorials and liked them but I would like to add a little thing to my carousel:
Under the text you get when you click on an icon I would like to add an link to another place. But I dont want the link to be displayed like normal (http://www.example.com..) I would rather get "Click here for an example"
So my question is:
Can I do this in the " content=" inside the .xml file and if not how do you do it under a new name. I also watched the basic xml tutorial but I didn't find what I was looking for there..
basically I want the same thing as if you write [ url=<domain> ]name[ /url ] in this forum
Text Link In The Carousel XTML
I just did Carousel tutorial and was wondering if there was a way to place a link in the text that is referenced in the XTML file that goes with that tutorial.
Idealy, when you click on the icon and the text comes up, you would have a link that would open a pop-window to another site, much in the way it does with a Code:
traget="blank" tag in regular HTML.
I'd venture to day it's possible, but due to my newbieness in both, actionscript and XTML, I havent been able to figure out how.
Could someone help me please?
Can The 3D Carousel Open Images And Or Text?
I have been having the hardest time trying to figure this out. I am trying to use the 3D Carousel from the tutorials,
But what I am trying to do, is to have the item open with a larger picture or just with text in the holder. so some of the items can just have text and others can have a lager photo. or even others can have video. Can anyone help me figure this out?
Any Help would be greatly Appreciated!
Flash Carousel- Amending To Include New Text?
Hi, I've created a carousel of items using (initially) the tutorials from gotoandlearn.com, and then also the modified version here:
http://www.box.net/public/6rhb01kcja
- which was posted in another link.
This modified code allows you to click on one of the carousel items, which then brings up a new screen that plays an SWF file (specified in the accompanying XML file). Meanwhile the carousel item moves to one side.
What I need is for that carousel item to also have on it some text along the lines of "Click here to return to the carousel of videos" or similar. However I can't see a way of doing this within the ActionScript- has anyone got any ideas?
This is the current ActionScript for my carousel:
Code:
import mx.utils.Delegate;
//transitions for icon tween
import mx.transitions.Tween;
import mx.transitions.easing.*;
var numOfItems:Number;
var radiusX:Number = 300;
var radiusY:Number = 75;
var centerX:Number = Stage.width/2;
var centerY:Number = (Stage.height/2.6);
var speed:Number = 0.05;
var perspective:Number = 130;
var home:MovieClip = this;
//text field invisible at startup
myLoader._alpha = 0;
var tooltip:MovieClip = this.attachMovie ("tooltip","tooltip",10000)
tooltip._alpha = 0;
var xml:XML = new XML ();
xml.ignoreWhite = true;
xml.onLoad = function ()
{
var nodes = this.firstChild.childNodes;
numOfItems = nodes.length;
trace(numOfItems);
for (var i=0;i<numOfItems;i++)
{
var t = home.attachMovie ("item", "item"+i, i+1);
t.angle = i * ((Math.PI*2)/numOfItems);
t.onEnterFrame = mover;
//attributes called from XML
t.toolText = nodes[i].attributes.tooltip;
t.movie = nodes[i].attributes.movie;
//t.content = nodes[i].attributes.content;
//t.loadClip = nodes [i].attributes.movie;
//t.myLoader = nodes[i].attributes.movie;
//t.loadMovie = nodes[i].attributes.movie;
//t.myLoader.loadMovie = nodes[i].attributes.movie;
//t.movieClip = nodes[i].attributes.movie;
//t.myLoader.loadMovie = nodes[i].attributes.movie;
//t.page = nodes[i].attributes.movie;
t.icon.inner.loadMovie (nodes [i].attributes.image);
t.ref.inner.loadMovie (nodes [i].attributes.image);
t.icon.onRollOver = over;
t.icon.onRollOut = out;
t.icon.onRelease = released;
}
}
function over ()
{
home.tooltip.tipText.text = this._parent.toolText;
home.tooltip._x = this._parent._x;
home.tooltip._y = this._parent._y - this._parent._height/2;
home.tooltip.onEnterFrame = Delegate.create (this,moveTip);
home.tooltip._alpha = 100;
}
function out ()
{
delete home.tooltip.onEnterFrame;
home.tooltip._alpha = 0;
}
function released ()
{
home.tooltip._alpha = 0;
for (var i=0;i<numOfItems;i++)
{
//var to refer to icons in carousel
var t:MovieClip = home["item"+i]
t.xPos = t._x;
t.yPos = t._y;
t.theScale = t._xscale;
//undo icon properties when fired
delete t.icon.onRollOver;
delete t.icon.onRollOut;
delete t.icon.onRelease;
delete t.onEnterFrame;
//if statement to animated selected icon in a different way to all other items
if (t != this._parent)
{
var tw:Tween = new Tween (t,"_xscale",Strong.easeOut,t._xscale,0,1,true);
var tw2:Tween = new Tween (t,"_yscale",Strong.easeOut,t._yscale,0,1,true);
var tw3:Tween = new Tween (t,"_alpha",Strong.easeOut,100,0,1,true);
}
else
{
var tw:Tween = new Tween (t,"_xscale",Strong.easeOut,t._xscale,100,1,true);
var tw2:Tween = new Tween (t,"_yscale",Strong.easeOut,t._yscale,100,1,true);
//Next 2 lines determine where the carousel item moves to when clicked and the video plays
var tw3:Tween = new Tween (t,"_x",Strong.easeOut,t._x,40,1,true);
var tw4:Tween = new Tween (t,"_y",Strong.easeOut,t._y,207,1,true);
var tw5:Tween = new Tween (myLoader,"_alpha",Strong.easeOut,0,100,1,true);
//theText.text = t.content;
//mcLoader.loadClip(t.page ,myLoader);
//myLoader.loadMovie = t.page;
//myLoader.movieClip = t.movie;
//myLoader.loadMovie = t.loadMovie;
myLoader.loadMovie(t.movie);
var s:Object = this;
tw.onMotionStopped = function()
{
s.onRelease = unReleased;
}
}
}
}
function unReleased()
{
delete this.onRelease;
var tw:Tween = new Tween (theText,"_alpha",Strong.easeOut,100,0,0.5,true);
var tw2:Tween = new Tween (scroller,"_alpha",Strong.easeOut,100,0,0.5,true);
for (var i=0;i<numOfItems;i++)
{
var t:MovieClip = home["item"+i]
myLoader.unloadMovie();
if (t != this._parent)
{
var tw:Tween = new Tween (t,"_xscale",Strong.easeOut,0,t.theScale,1,true);
var tw2:Tween = new Tween (t,"_yscale",Strong.easeOut,0,t.theScale,1,true);
var tw3:Tween = new Tween (t,"_alpha",Strong.easeOut,0,100,1,true);
}
else
{
var tw:Tween = new Tween (t,"_xscale",Strong.easeOut,100,t.theScale,1,true);
var tw2:Tween = new Tween (t,"_yscale",Strong.easeOut,100,t.theScale,1,true);
var tw3:Tween = new Tween (t,"_x",Strong.easeOut,t._x,t.xPos,1,true);
var tw4:Tween = new Tween (t,"_y",Strong.easeOut,t._y,t.yPos,1,true);
tw.onMotionStopped = function()
{
for (var i=0;i<numOfItems;i++)
{
var t:MovieClip = home["item"+i]
t.icon.onRollOver = Delegate.create (t.icon,over);
t.icon.onRollOut= Delegate.create (t.icon,out);
t.icon.onRelease= Delegate.create (t.icon,released);
t.onEnterFrame = mover;
}
}
}
}
}
function moveTip ()
{
home.tooltip._x = this._parent._x;
home.tooltip._y = this._parent._y - this._parent._height/2;
}
xml.load ("icons.xml");
for (var i=0;i<numOfItems;i++)
{
var t = this.attachMovie ("item", "item"+i, i+1);
t.angle = i * ((Math.PI*2)/numOfItems);
t.onEnterFrame = mover;
}
function mover ()
{
this._x = Math.cos (this.angle) * radiusX + centerX;
this._y = Math.sin (this.angle) * radiusY + centerY;
var s:Number = (this._y-perspective) / (centerY+radiusY-perspective);
this._xscale = this._yscale = s * 100;
this.angle += this._parent.speed;
this.swapDepths (Math.round (this._xscale) + 100);
}
this.onMouseMove = function()
{
speed = (this._xmouse-centerX)/2500;
}
This is the XML file:
(at present I'm just testing with a single image and SWF but obviously different ones will eventually be used)
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<icons>
<icons image="iconbigger01.png" tooltip="Customer" movie="mov01059.swf" />
<icons image="iconbigger02.png" tooltip="Customer" movie="mov01059.swf" />
<icons image="iconbigger03.png" tooltip="Customer" movie="mov01059.swf" />
<icons image="iconbigger04.png" tooltip="Customer" movie="mov01059.swf" />
<icons image="iconbigger05.png" tooltip="Customer" movie="mov01059.swf" />
<icons image="iconbigger06.png" tooltip="Customer" movie="mov01059.swf" />
<icons image="iconbigger07.png" tooltip="Customer" movie="mov01059.swf" />
<icons image="iconbigger08.png" tooltip="Customer" movie="mov01059.swf" />
<icons image="iconbigger09.png" tooltip="Customer" movie="mov01059.swf" />
<icons image="iconbigger10.png" tooltip="Customer" movie="mov01059.swf" />
</icons>
[edited by admin: Use code tags!]
Place Links To Flv Files In Text Field On Carousel?
I need some help please...
I made everything like in that great carousel tut but i need to make autoplay menu and i dont know how to place some text links in text field that will trigger flv files from cd...
Maybe to use swf that loads into the main movie and place links there but how to write the scipt in xml? And do I need to modify the script in flash?
Thanks!
Image When Rollover
Hi,
Need Help ... I want an image to be showed when I do a mouse over
on (rollOver) {
startDrag ("map1", true);
tellTarget ("map1") {
play ();
}
}
on (release, rollOut) {
tellTarget ("map1") {
gotoAndStop (1);
}
}
This is the code I used but I get an error (Target not found)Even if my graphic is in my library
Thanks
Franjo
IMage When Rollover
Hi i am creating a menu for my site
and i already got the buttons to do the effect i wanted now i want to create an image in a little square i made so that everytime i rollover a specific button an image will appear according to what it is.
I have attached the menu so u can take a look.
Image Pan On Rollover...
Hi guys. Can someone please help me?
I have a large MC that is behind a smaller mask. I want the large MC to pan with inertia based on where the mouse is located and stay within the boundaries of the smaller mask.
The following code get's me close, but not exact. Any ideas?
Code:
function slideHorizontal(mc) {
// check if mouse is within boundaries //////////////
if ((xMice>leftBoundary) && (xMice<rightBoundary)) {
ratio = (xMice/maskWidth) - .5;
widthRatio = maskWidth/mc._width;
targetLoc = (((mc._width)*widthRatio) - (mc._width*ratio));
mc._x += (targetLoc-mc._x)/speed;
}
}
onLoad = function () {
// List frame width ////////////
maskWidth = mask._width;
// List the Boundaries /////////
leftBoundary = mask._x;
rightBoundary = mask._x+maskWidth;
// Speed of Sliding ////////////
speed = 9;
};
onEnterFrame = function () {
// Get Mouse Location //////////
xMice = this._xmouse;
yMice = this._ymouse;
// Make layers move ////////////
slideHorizontal(front);
slideHorizontal(middle);
slideHorizontal(back);
};
Image Pop-up On Rollover
im fairly new here so if this is in the wrong forum i apologize.
i am working on a map and i want to have a magnifying glass icon next to a specific location where on rollover it displays a larger image showing that location in detail, what is the easiest and most efficient way of accomplishing this effect?
thanks!
Image Map/Rollover
Ok so I am trying to take a drawing I have. One is a line drawing and the other in color. I want to make it so when various parts are rolled over it changes from the line to color but only in that section. I also want that section to be a link.
Example: The drawing of a person. I want just the head to change color the rest to stay the line drawing and then also link.
Does this make sense? I have myself so confused trying to figure out to create this.
Please help! Thanks.
Image Rollover
so i know how to use as3.0 to change the alpha and to create rollovers that way. but is there a way to use as3.0 code to substitute rollover images like you can in css. what would that code look like?
thanks.
Image Rollover Transition
Can someone direct me to an Actionscript that will perform an image rollover WITH transition effects? Gracias.
Swish - Image On Rollover.
In Swish 2.0 I have created a number of buttons and I am trying to bring up a jpeg image on rollover removing it on rollout. I cannot seem to figure it out. I know how to use the actions/effects but configuring the entry and exit of the image has me stumped. Any Swish people out there to help me please?
Inserting A Rollover Image...
Hi, Just wondering if anyone can help me insert a rollover image in Flash. I want to make a .swf file that has rollover images in it. and have links on each image. Is this possible? If so, I need your help. Thanks in advance.
Joewevee
Image Rollover Buttons
This should be pretty easy. I have 3 image rollover buttons, ( on the over state a small version of image appears on the button- click on it and the small version remains on the button) and a larger version of image fades from white, in an alpha animation, to a solid image, in the field to the right. I have the animation set up so that the other buttons do the same thing with their perspective images, and the previous button reverts back to its original mode (a black square). The animations run 9 frames for each button.
My question is what code do I put on each button to prevent it from loading on a second click. ( If I press button #1, it loads the image and if I press it again , it loads again . I don't want it to do that). I only want it to load after I've already went to another button and gone back to #1 to see that image again. You get the idea, Right?
Presently my code is:
On (press) {
mymc.gotoAndPlay (1);
}
On the first button. The second one has a target of (9) and the third has (18). Each has a Stop code on the first and last frame.
Any takers?
Rollover, Scrolling BG Image.?.? HELP
OK, im trying to make a calculator-based site, simply because im bored. And i want to have the calculator scroll up and down, as you move your mouse over it, up-up, down-down. I used a large image so it would look clear. But, i cant figure out how to do it quite right... im gonna try to look for examples of what i mean, in case i dont make any sense at all(as usual) ANywho, if you have any ideas or links, Please Post. I can use all the help i can get.
The testing site is: www.freewebs.com/gkd
THe SWF is 760x530
The Image is 760x1503
This might help ytou understand, what im trying to do.
Thx
Nanascalala
EDIT: Found an example:
www.freewebs.com/ryro/temp3.swf
Swap Image By Rollover-how?
I am sure it's simple, but I don't know it yet.
I want to change the main image of the page, each time the user,
is rollover the sub menu.
each menu item has it's own image, and I want to activate it just when the user rollover one of the sub-menu's items.
thanks
Yaniv
Image Rollover->enlarge
Hey,
I was wondering if I could easily make it so that when people roll over my pictures it will enlarge and the background will fade so that it is easy to see and then rollout. Thanks!
Button's Image Rollover
Hi again,
May I know how to set this up?
When your mouse is NOT over the buttons, there would be my company logo on a specified area. Then when my mouse is over a button, a image will appear in the specified area.
(sorry for my English)
Button's Image (Rollover)
Hi again,
May I know how to set this up?
When your mouse is NOT over the buttons, there would be my company logo on a specified area. Then when my mouse is over a button, a image will appear in the specified area.
(sorry for my English)
Getting An Image To Appear On Rollover From Within A Mask?
Hello,
I am having problems in that I have a series of buttons that are behind masks (Because they are irregular shapes) however on rollover of the buttons I would like an image to appear outside of the masked image.
Can get my head round this one so any help would be much appreciated.
Many thanks in advance,
Wink.
Help With Actionscript Rollover Image
I am making a website and I am using KoolMoves and doing ok on my own but have got stuck. In the smenu.fun which I got off of FlashPulse.com made by Tim Moore, I have email him but recently figured what it was I wanted his help with on my own. I am having trouble making the text apper in the box it is on page 4 here is my fun file.
Thanks
http://www.freewebs.com/thecains/webpage.fun
|