ActionScript 2.0 :: Code Fading In And Out Captions?
Mar 3, 2010
Is there any reason why some of these captions aren't displaying? The scalpal, knife, and blade arent displaying all the others are fine, the code is basically the same the whole way through.
// OBJECT - FELT STRIP
feltstrip.onRollOver = function() {
this.onEnterFrame = function () {
caption._alpha += (100-caption._alpha)/3;
caption._x -= (caption._x-_xmouse)/2;
[code]....
View 2 Replies
Similar Posts:
Dec 12, 2008
Using Flash CS3, v9, AS 3. I have got a Flash movie that I have set up to have captions display over it.I am using the included FLVPlayback component for the movie, and the included FLVPlaybackCaptioning component to set up the captions. My movie uses the included
[Code]...
View 1 Replies
Mar 30, 2012
I'm trying to play 2 external flash movies. its already running ok but i need the scene to be somewhat to gradually become transparent so that the timebased scene2 will comeout to of the screen.
Here is the script of it:
var myLoader:Loader = new Loader();
var url:URLRequest = new URLRequest("scene2.swf");
myLoader.load(url);
addChild(myLoader);
[Code]....
View 2 Replies
Apr 7, 2009
I can't work out why - but when I try to fade out some text (by calling fadeoutSecondText), the text fades out, and then immediately fades back in. Fading in and out struggle against each other, resulting in rapidly flashing text!
[Code]...
View 7 Replies
Oct 11, 2003
when i test the movie all i see is a large grey box (border color) with a medium white box (box color) in the bottom right.when i edit the border and lose the grey box but leave its line borders then i get the image with the white box in the bottom right. i've got an image: instance named 'image', a box: instance named 'box' and a border: instance named 'border' and pasted in the actionscript in
View 5 Replies
Oct 11, 2003
i've done the Fading Grid tutorial that Voetsjoeba wrote but i seem to be de-railing somewhere when i test the movie all i see is a large grey box (border color) with a medium white box (box color) in the bottom right.when i edit the border and lose the grey box but leave its line borders then i get the image with the white box in the bottom right. i've got an image: instance named 'image', a box: instance named 'box' and a border: instance named 'border' and pasted in the actionscript in place but it still hangs.
View 5 Replies
Nov 1, 2009
I've got the photos displaying from an xml file the way I'd like but I'm having trouble trying to get the photos caption to display. Here is want I have so far. Right now only the last caption in the loop is displaying. I would like to have the caption only display when you click on the photo. I've sort of come to a stand still when it come to doing this and.
Code:
package {
import flash.display.Loader;
[code]......
View 2 Replies
Aug 14, 2010
In FLVPlayback working in as2.0, created cuepoints for FLV and i added captions wit xml file. but captions not loading.I did following steps and script.[code]
View 1 Replies
Jan 13, 2009
I have captioning working with the FLVPlayback/FLVPlaybackCaptioning components. My skin has a caption button, and it toggles the captions on and off. What I can't figure out is how to get the player to start with captioning off by default.
I've googled around a bit and all I've found so far indicates that this might not be possible if the caption button is in a skin. Is this true? I find it hard to believe that this is so difficult to accomplish.
View 1 Replies
Feb 4, 2011
I have a Flash website that consists of 6 different Scenes. The Home scene and the Videos scene each have a FLV player that I dragged from the library and I called it "vid". So I'm basically using the same player for both scenes. I'm also using the caption component and am assigning the xml via actionscript when the user clicks on a link, so it reloads the player with the correct video and the correct captions. The problem I'm having is that say they are watching the video on the Home scene with captions. If they click on the Contact Us scene, the video player disappears, but the captions stay on the screen by themselves. Looks really odd. I need a way to turn off the captions (called the component "myCaps") so they disappear both when changing scenes and changing movies. On the Videos scene, if you click a different movie's link, the old captions form the last movie stay on screen and just move up a line and the new movie's captions appear below that one. So, how do I get rid of the captions when I don't want them?[code]...
View 15 Replies
Apr 8, 2011
I'm inexperienced with Flash. A client has insisted on a captioned flash video file and we're trying to figure that out using CS5. I've followed the steps outlined in the Adobe, but when I test the movie, I get no captions. I see an error in the output tab under the stage:
[Code]...
View 1 Replies
Jan 14, 2010
I need help adding captions to images in a swf and picture gallery. I have added a dynamic text box in the flash file and have managed to import the text from XML but I have been unable to attatch it to different images to display different caption messages. I have followed a tutorial to make this gallery and only have the very basics so far. I am using XML to pull the information for the location and size of the images and gallery into the flash file.
ActionScript Code:
import fl.controls.ProgressBar;
import fl.transitions.Tween;
import fl.transitions.easing.*;[code]............
View 1 Replies
Aug 11, 2004
i have a movie that has captions on different frames and that works but when i load a movie that also has captions for areas it does not work.this is the caption code that is loaded in the main movie first frame.
/*tooltip metod for MovieClip object
parameters definition:
m= the message for tooltip.
rgb= the background color for the tooltip.
[code]..
then i have a invisible movie clip named Laurel that when you mouse over it should show up.
View 1 Replies
May 12, 2010
I know how to add captions to flash that I can convert into a flv. but interactive flash cannot be converted. I believe there is a way to do captions by adding the words on their own keyframes but some of the video's I need to caption have no real keyframes just scripts pointing to a audio holder such as:
[Code]...
View 1 Replies
Dec 17, 2003
I have a "hot" area where the user can drag around this newspaper looking thing. Also, there are hover captions that say, "Drag" and a caption that says "Close" over what will be the close button.Everything works fine.Until....Click to drag the paper thingy, then release it. Move your mouse off the paper, then back onto the hot area. The captions snap right to the center of the hot area.
View 8 Replies
Sep 13, 2008
I'm using the flvPlayback and Captioning component/skin for some videos. Works great, but I can't figure out how to have the captions off by default, and use the caption button to turn them on for users who want to see the caption buttons.
flvCaption.showCaptions=false;
--hides the captions, but also disables the captionButton in the skin, so there is no way to toggle showing and hiding the captions.
View 1 Replies
Aug 11, 2009
I'm having a hard time figuring out how to do something with xml in flash and don't even know where to begin.I'm building a flash piece for the header of a website that will contain six images and six captions. I plan on integrating the xml file with a cms so that the user can simply upload images and type in captions and the xml file will dynamically populate the swf.I know how to execute the back-end development with the cms and xml file, but I'm not quite sure how to tie the pieces I need from the xml to the flash file.
View 2 Replies
Aug 17, 2009
I just started to mess with Flash past week, however I will learn all that's necessary. This time I AM looking for a quick fix though, since I already know how to make the simplest slideshows with next, previous buttons, but I don't know how to make images fade into each other and add captions, as well as stop the animation when mouse is over the image. I may be ignorant - still a newbie - but I think it all has to do with just adding right tags in Actions.[URL]
View 2 Replies
Sep 10, 2009
I have a flvplayback component on my stage at the end of my presentation that plays a .flv with an external .xml file for captions (using the flvplaybackcaptioning component targeted to my flv player). When the video begins to play, the captions automatically appear over the video. Is there a way to make it so the video begins to play without the captions automatically turned on?
View 1 Replies
Mar 19, 2009
I am using the XML playlist tutorials to dynamically load my video s and link them through the playlist [URL]. Now, I would like to add captions, I have added the 'caption' attribute to my xml node, but cant seem to get it to work in AS2!!
Here is where I am so far:
var vlist:XML = new XML();
vlist.ignoreWhite= true;
vlist.onLoad = function(){
var videos:Array = this.firstChild.childNodes;
for(i=0;i<videos.length;i++){
[Code] ......
View 1 Replies
Dec 17, 2003
I have a "hot" area where the user can drag around this newspaper looking thing. Also, there are hover captions that say, "Drag" and a caption that says "Close" over what will be the close button. Everything works fine. Until.... Click to drag the paper thingy, then release it. Move your mouse off the paper, then back onto the hot area. The captions snap right to the center of the hot area.
View 8 Replies
May 10, 2004
this worked in a simple file where it was the only thing on the stage (see this thread). Now I am implementing it in a much more complex scenario and the movie clip in question is quite buried so bear with me:
This is in my main timeline:
Code:
Movieclip.prototype.hover = function(sometxt) {
this.onRollOver = function() {
_root.m = 1;
[Code]....
The resize() function is just some simplified code from the resizing slideshow. Now this works as in when the ktn MC is rolled over the box appears where the mouse is and resizes to fit the text. When I do a trace on sometxt it reports back the correct text but the text itself doesn't show. The box is a light blue and the default for createTextField is black so that shouldn't be a problem.
View 14 Replies
Sep 29, 2004
how i can change my AS in this fla, so that the captions will appear over the buttons no matter where i drag them. you'll see what i mean. in the fla.
View 1 Replies
May 10, 2007
I've been asked to make an XML photo gallery and followed the tutorial on Kirupa [URL]
The person who I'm making it for would like to have some rollover captions rather than have them under the image, like this:
View 4 Replies
Jun 21, 2003
pom kind of helped me before (one of many times), but im really stupid and don't understand. I have randomly moving movie clips, and i want them to be links and have hover captions.
View 1 Replies
May 10, 2004
This is in my main timeline:
Code:
Movieclip.prototype.hover = function(sometxt) {
this.onRollOver = function() {
_root.m = 1;
[code]....
The resize() function is just some simplified code from the resizing slideshow. Now this works as in when the ktn MC is rolled over the box appears where the mouse is and resizes to fit the text. When I do a trace on sometxt it reports back the correct text but the text itself doesn't show. The box is a light blue and the default for createTextField is black so that shouldn't be a problem.
View 14 Replies
Feb 18, 2004
Ok basically i wana make a list box and when u click somethign in the list box it shows a thumbnailed image and a caption under it. i found this script which i think is the script im lookin for
var loadText = new LoadVars();
loadText.load("infolist.txt");
loadText.onLoad = function(success) {
[Code]....
View 10 Replies
Jun 28, 2004
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 Replies
Sep 29, 2004
how i can change my AS in this fla,so that the captions will appear over the buttons no matter where i drag them.
View 1 Replies
Jan 27, 2009
I am using an flvplayback component and an flvplaybackcaption component to create a video with captions read from an external xml file. The captions from the xml are read into a dynamic text box just below the video player. I am using a default Flash skin with full screen and caption icons.Upon entering full screen mode, the captions default to play at the bottom of the video, just above the video controls - which is just what I want.
However, if I turn off captions in full screen mode, and then exit full screen mode, I no longer have control of captions when not in full screen mode. IE, I cannot get captions back on after exiting full screen mode, and the caption button in the skin becomes useless. If I re-enter full screen mode and enable captions, then when I exit full-screen mode, I have my normal usage of captions.
View 1 Replies