ActionScript 2.0 :: Hover Caption Within Movie Canvas
May 9, 2004I followed the hover caption tutorial but sometimes the hover caption goes out of the movie.How to make it stay inside the movie and a certain distance of the mouse?
View 9 RepliesI followed the hover caption tutorial but sometimes the hover caption goes out of the movie.How to make it stay inside the movie and a certain distance of the mouse?
View 9 RepliesI followed the hover caption tutorial but sometimes the hover caption goes out of the movie. How to make it stay inside the movie and a certain distance of the mouse?
View 8 RepliesI've done the Tutorial written here by Kirupa on how to display an hover captionTutorial It works perfectly in the stand alone movie.But i need to put this in another movie as external.When i do so, it doesn't work , actually 'cos it drag ALL the external movie and not only the item i want to do a Hover Effect.Why this??Maybe because it consider the command_root.x = 1 (and so on whenever there's _root)the root of the Main movie and not the one of the external??Must i correct all the code with level1 or there's another way??
View 1 Repliesam having totally 30 movie clip ( name it as layout_1 to layout_30 ) for that i want hover caption to each movie clip from xml data note: not load dynamic movieclip only xml data load dynamic
View 1 Repliesam having totally 30 movie clip ( name it as layout_1 to layout_30 )for that i want hover caption to each movie clip from xml data note: not load dynamic movieclip only xml data load dynamic
View 5 Repliesi am trying to use the excellent hover caption effect in my movie. the buttons i want to put the captions on are inside a movie clip named mcRobot. so i tried to modify all the paths to go into the mc...but not working.
here is original code from tutorial and then the one i try. basically i put "mcRobot." before most of the paths where i think it should go.
does anyone have a version already modified to put into an mc?
original code:
b1.onRollOver = function() {
captionFN(true, "E-Mail!", this);
this.onRollOut = function() {
captionFN(false);
[Code].....
I followed the hover caption tutorial, everything worked, etc. What I want to do is experiment with different uses for the hover captions. I tried to put longer text inside the quotes ("something something blah blah blah" instead of "Portable Devices", etc), but it extends the yellow box way past the text, and if I try to make it multiple lines I get this error mesage:
[Code]...
My query is in respect to the tutorial posted on kirupa : [URL] Now :
1) If I want to add a line of caption ,the moviclip expands in a horizontal manner. So , if I write a big description , the caption movieclip occupies whole stage width. How can i make this movieclip exapand in a vertical fashion after a fixed no. of characters
2) Suppose a button which is inside a movieclip has been applied this function , the button action doesnt work !!!! only the hover caption appears. ( specifically the button on(release) action ) !! What is the possible solution.
I have a problem with a caption. When i load a picture, the picture goes in front of the caption. I tried a swapdepths between the 2 mc's but it seems not to work. Here's my code : You can also see the swf online here : [URL]
[Code]...
You'll see that i have also a problem with the pictures loaded. I place the pic ni the middle of the scene, but when i click the button, i can see the picture moving.
I'm using the kirupa fla source file for the hover caption URL...and have created an external movie file where I want the hover captions to appear to be loaded into the main movie swf. The hover captions don't work once this swf has been loaded but works as a standalone swf.
View 2 RepliesI've completed the Hover Caption tutorial at [URL] successfully. What I'd like to do in addition, is to resize the caption box to match the caption text's length.
I've tried giving the background box a name (box) and turning it into a button and then doing:
_root.caption.box._width = _root.caption.help.length * 8;
But the box never aligns with the text properly after that. don't know what methods to call in order to get the bottom corner of the text and bottom corner of the box and align them properly.
I have an audio slide show and I need to add caption and on off button to show and hide the caption. how can I make on and off button to show the caption?and is it possible to add caption on my audio (not video) using actionscript 3.0?
View 1 RepliesI have the following code in my flex project.
[Code]...
I want to dynamically add different items to thumbContent canvas and use scroller canvas to scroll. I see than the height of thumbContent bigger than 7977 it truncate from scrolling. So - I see the scroller canvas with empty space on top. Then I scroll to bottom - I see the content of thumbContent and at bottom scrolling I see empty space too.
I'm trying to skin a canvas with an image (which is essentially a custom border for the canvas). I've been trying the backgroundImage style as well as the borderSkin style. I can't get the image to scale to the full size of the canvas though. I was wondering what the best way to go about this is.[code]...
View 2 RepliesI want a movie clip to play upon mouse over. Much like: [URL]
The images hanging off the cloth line.
I tried putting a clip in the Hover state of a button but the clip stopped playing upon mouse out.
I've stumbled my way through making the animation that I want to play and have saved it as a swf. I've now started a new project, added a symbol to a stage and am trying to make it so that the movie clip I created will play when I hover over it.
I've tried making a button where I add the movie clip in the hover state, and it will play, but it just keeps repeating even though I have a stop (); at the end of the movie clip (the one I had created before in a different project). Also, the button is way too sensitive and the clip starts playing when my mouse is still pretty far away from it.
I've been told that I should be doing this with action script - telling it to play my clip on hover. I've tried copying so many pieces of code I've found online but none of it has worked. I've read somethings that said I should be making a button and adding the action script to the button and then others that say not, and then others that say it should be a movie clip.
I'm so frustrated at this point, I could really really use some help. How do I get my movie clip to play when I hover? Please be specific - does the thing that I am hovering on need to be a movie clip that I'm adding the script to or can it be a symbol? Do I need to add any script to the original movie clip I created?
I'm following along the "Hover Captions" tutorial on kirupa.com. everything works as it should, but I'm having a bit of a problem. I want to have the button that will be hovered over inside a movie clip. When I do this, though, that movie clip is moved around by my mouse.
View 1 RepliesI'm working up a flash file that will eventually be controlled by the Kinect. So I've hidden the mouse and put a startDrag on a custom cursor. The problem is that I can't get a reliable result for a hover/over state when the cursor is over a movieclip. It only registers the over state sometimes and when it does, it's very brief, even if you hold the cursor over it for a long time.The problem seems to have something to do with the drag or the enter frame listener. It's like it can't process fast enough to realize when it's over the buttons.
ActionScript Code:
stop();
import GlobalClass;
[code]......
I have got a very obscure problem that I cannot for the life of me figure out. I have a flash movie which contains a number of pages which contain dynamic text fields containing HTML read from my database. This works absolutely fine, however for reasons that I cannot understand when you hover over some of my links they move to the right so they are inline with the edge of the first linked image at the bottom. The code is as follows:
PHP Code:
<p><a href="http://www.testlink.com">A LINK</a></p><p>Test text <a href="http://www.testlink.com">ANOTHER LINK</a>More text</p><p>
[code]....
I am going to be working on a site that has various mechanical products for sale. The customer wants me to make a model and movie of each product to show how the product works. Here is an example product:
Flash Clip The problem I am having is, he wants the movie to only play when a user puts their mouse over the video. I attempted doing this with a mp4 file and it worked using jQuery, but only when in Chrome. Here is that link:
MP4 Clip I want these demos to be viewable by the largest possible audience, so I was trying to stay away from Flash (also because I don't know Flash very well if at all). Does anyone know of a way to get this video to work in other browsers like in the second example? If not, how can I achieve that same idea using Flash?
randomly perhaps. I would like to figure out a way to animate a movie clip so that it is slightly moving a little bit up and down and left and right. What is the easiest way to do this?
View 4 RepliesI am trying to embed a flash movie into a facebook (iframe) canvas. When i request the page locally to test the movie is embedded. When I view the same page via the facebook application url - the movie doesn't appear (but other page content does).
[Code]...
Are there any special tricks required to make a flash movie play in a facebook canvas application?
I have Flash 8. I created a Flash movie a number of years ago, probably in an early version of Flash. I use it on my website. I want to redesign my site and make the movie smaller from the standpoint of making the canvas/stage size smaller. I don't mean just compressing the flash movie to a smaller swf. Is there some quick way to do this without having to recreate the movie and put in smaller elements?
View 3 RepliesBasically I want to go to frame2 when the cursor leaves the canvas. The code below contains no errors when tested but it still does not work.
[Code]...
We know that the function gotoAndStop(frame2); works in multiple situations which means the first 3 line is fine. I don't know if the problem is the MOUSE_LEAVE event or this.stage which i suppose is the identifier for the canvas. I sure that there must be an alternative code for the identifier this.stage or the whole code. Any solution on how to fire the given function in the event when the cursor leaves the canvas?
I'm wondering if there's a way to re-size a movie clip so that there's extra empty space (or even white) around it current size? Like changing the canvas size of an image in Photoshop.
Basically my MC is currently 687 x 481 pixels and I want to expand it to 980 x 700 (size of the document) while leaving the current graphics in their same location and position. I'd rather not have to re-create the movie clip entirely. Also, the MC is part of an entire website, so I can't simply change the document size.
I have written a tab nav class for learning purposes but have run into an issue with the tab captions. I invoke the tab class by sending in an array of the buttons that are needed, tabs are displayed accordingly. with the tab creation loop, I create the textfields for earch tab caption which is displayed as expected. I then have MouseOut and MouseOver effects which works (tab color changes accordingly), however, when MouseOver and MouseOut effects are triggered, the caption is no longer visible because, the mouse effect changes the caption text color which I don't know how to stop. I just want the the tab to change color NOT the caption.
[Code]...
I can set captioning to true in component inspector; is there any other way that we can set the caption to true?
View 1 RepliesI am trying to learn Flash and as soon as I think I am in good shape, comes along this "curve ball". Take a look at the .FLA from this site ([URL]) How in the world do the alpha buttons get their captions? I understand the numeric ones, but alphas completely baffle me as there is no code (that I can find) that sets them. I have deleted all of the Actions, I have deleted virtually everything there is, and I still can't figure out how does the button instance appear as the caption in the text box.
View 6 Replieshow to attach background to caption
View 11 Replieswhat the subject says: Closed Caption for Video Flv. Every documentation on internet speak about FlvPlaybackCaptioning.. I would like to made a flv player with caption on my own...
I also found an interesting component called CCForFlashAs3, but I'm not able to use it...