ActionScript 3.0 :: Display Captions From XML?

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


Similar Posts:


ActionScript 2.0 :: Display Special Characters For Captions With XML In A Photo Gallery

Jul 8, 2009

I have a question about XML in flash.I have a photo gallery that utilizes XML to call out the photo as well as the caption.See XML data below:[code]This is the AS that calls for the photos and captions (The whole script is very long, so I am only going to annote the part that calls for the XML): It goes like this:[code]My problem is that the data won't display special characters.I am worried because I am using multiple languages, and as it is I am having to remove important characters from translations..I also have a second AS that calls for XML data for body copy which which works great, displays all characters in multiple languages, and allows HTML code to be used:[code]Any idea on how to get the XML for the photo gallery to display all characters?

View 0 Replies

Professional :: Set Captions To Be OFF By Default, Using The Captions Component In Flash CS3?

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

ActionScript 2.0 :: FLV Cue Points And Captions

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

IDE :: FLVPlayback With Captions Off By Default?

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

ActionScript 3.0 :: Possible To Make Captions Disappear?

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

Flash :: Professional - Video With Captions Using CS5

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

ActionScript 3.0 :: Attatching Captions To Images?

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

ActionScript 2.0 :: Have A Movie That Has Captions On Different Frames?

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

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

ActionScript 2.0 :: Add Captions To Flash - Convert Into A Flv?

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

ActionScript 2.0 :: StartDrag And Hover Captions?

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

ActionScript 3.0 :: FLVPlayback Captioning Hide Captions?

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

ActionScript 3.0 :: Load Multiple Images And Captions With XML

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

ActionScript 2.0 :: Fade-in Slideshow With Captions And Buttons?

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

ActionScript 3.0 :: Captions Automatically Appear When Video Starts?

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

ActionScript 2.0 :: Loading XML Video Playlist With Captions

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

ActionScript 2.0 :: Hot Area - StartDrag And Hover Captions

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

ActionScript 2.0 :: Dynamically Created Hover Captions

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

ActionScript 2.0 :: Captions Will Appear Over The Buttons No Matter Where Drag Them With Fla

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

ActionScript 2.0 :: Rollover Captions In XML Flash Gallery?

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

ActionScript 2.0 :: Hover Captions On Random Movement?

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

ActionScript 2.0 :: Dynamically Created Hover Captions?

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

ActionScript 2.0 :: Listbox Load Images And Captions?

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

ActionScript 2.0 :: Hover Captions In Movie Clip?

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

ActionScript 2.0 :: Captions Will Appear Over The Buttons No Matter Where I Drag Them?

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

Flash Video : Full Screen Mode And Captions?

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

ActionScript 3.0 :: Captions Moving In Full Screen Mode

Sep 11, 2009

I am displaying captiongs using flvPlayback and Captioning component. I've included the option for Full Screen and that is causing problems. The captions look great normally, but when a user clicks Full Screen the captions move. They initially display in the correct position, and their size has correctly adjusted to match the larger movie size. But then they move, or crawl, upwards on the screen by 1 or 2 lines. This is very distracting and I cannot seem to control it. Again, it only happens in Full Screen.

View 1 Replies

ActionScript 3 :: Extract Captivate 4 Text Captions Using Flex

Oct 31, 2010

I'm developing an application in Flex 3.5 for video tutorials, which uses a lot of Captivate 4 (AS3) videos (>200). In the front end, the user can navigate thorough the videos in a menu structure. In the administration part, the admins can upload more videos and organize them into the menu structure. Since we have more than 200 Captivate videos, we wanted to build in a search functionality into the fronted, which would be based on the text contents of the Captivate videos. The idea is: every time the admin uploads a new Captivate video into the system, an index will be created based on the contents of the video.

My question: how can I extract the text captions of a Captivate video using Flex or rather ActionScrip 3? (I know, there is an Export/Import function of Captivate, but I would like to access those texts dynamically from Flex.)

View 1 Replies

ActionScript 2.0 :: Use Japanese Characters In XML For Text And Photo Captions?

Aug 4, 2009

I have built a website that pulls languages from multiple XML sources.I have been able to do Russian, Spanish, French, English and Italian, now I am stuck on Japanese.[code]...

View 0 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved