.FLA - How Does The Button Instance Appear As The Caption In The Text Box

Mar 19, 2009

I 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 Replies


Similar Posts:


Professional :: Add Caption And On Off Button To Show And Hide The Caption

Mar 1, 2011

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 Replies

ActionScript 2.0 :: Resize The Caption Box To Match The Caption Text's Length

Jul 24, 2003

I'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.

View 5 Replies

Flash :: Change The Text Of A Button Instance Without Affect The Other Button Text?

Feb 20, 2012

How can I change the text of a button instance without affect the other button text? I belive an AS aproach would solve it but I don't know how to do it.

View 1 Replies

ActionScript 2.0 :: XML - Load A Text Caption Into An Empty Text Box

Feb 12, 2004

Most of the threads about loading xml data into Flash text boxes and MCs involve menus or photo galleries. I'm trying to do something simpler (well, it's kinda gallery-like I guess). I have a column of 10 buttons (not dynamically generated).

Clicking on button number ones should:

a) load a jpg into an empty MC (done).

b) load a text caption into an empty text box -- no thumbnails here. All the samples I've browsed have the text loading tied into figuring out which dynamically generated thumbnail is being clicked (the old i++). I just want one at a time:

[Code]....

View 5 Replies

Caption Button In FLVPlayback Skin Disappears

Feb 24, 2011

I am working in CS5/AS3 with an FLVPlayback component and a pre-made skin with some custom colors. It is a skin with the caption button included (SkinUnderAll to be exact). I'm using Timed-Text files for the caption content. The captions work just fine. All other buttons on the skin show up, but the toggle button isn't showing up.

I checked all of the linkage in the skin's FLA, checked the AS that creates the FLVPlayback and FLVPlaybackCaptioning objects. All seems fine there.

I've checked the paths and SWF locations to be sure all are in the right places.

I've also included a SKIN_LOADED event listener to get around the default captions-on issue. I'm just not seeing what the issue is. I'd prefer to not go back through my code and make a custom control panel with button components. Started this in CS3 and moved the file to CS5, so I'm not sure if there's something I overlooked in the documentation that spells this out.

View 4 Replies

ActionScript 2.0 :: Dynamic Caption Text - TXT Or XML?

Nov 13, 2005

I am looking for some opinions or ideas for the best way to do this. I have a scene that is loading a swf. I have a dynamic text field that is displaying captions relating to what is happening in the loaded swf. The captions are relatively short and I am wondering what the best way to display them would be? Right now I am loading from a text file and can dynamically load the next file using this:

[AS]
function loadCaptionText(){
textnum ++;

[code].....

View 3 Replies

ActionScript 2.0 :: Text Box Not Displaying First Caption?

Jun 21, 2006

I cant see why the first caption of a dynamic text box want load. Its the caption from a xml gallery Once I go to the second pic it starts loading and if I go back to the first pic it loads.

View 3 Replies

ActionScript 1/2 :: XML Text Into Button Instance?

Jun 30, 2009

I have created seven buttons in flash called "button1" through "button7" within each button is a text box. Is there a way to load XML text into each text box within the button instance?

View 4 Replies

Modify Text In Button Instance?

Apr 30, 2009

My library has an instance of a button symbol which brings up a popup with more information when clicked. All i want to do is change the display text of the button instance. From what i've read i thought i could just double click the instance and modify in the properties but there is nowhere in the properties to change the text.

View 2 Replies

ActionScript 2.0 :: Text.caption = +1 On Enterframe Doesn't Work

Dec 17, 2006

I have a dynamic text on my scene. this text is inside a MC. inside my text MC i have add an action script layer with this code.

[Code]...

but, it doesnt work of course i would like when i launch my project, on enterframe, the caption of my text = +1. i am really lost !!

View 3 Replies

ActionScript 1/2 :: Get Instance Name From Button To Display In Dynamic Text Box

Apr 30, 2009

I have a website i designed which contains buttons that navigate the user to different points on the timeline using frame labels. when they get to the appropriate frame label, they are presented with a movieclip containing two layers. The bottom layer is a map, and the upper layer is a collection of printer buttons that have a tooltip component on them that show you detailed printer info on mouse over and takes you to the printer remote ui on release. each button has a unique queue name for the appropriate printer as its instance name (ex. itm100_btn). Here's the jist... I want to be able to place a dynamic text box near the printer button and using action script have it display the printer queue name automatically simply based on the button its targeting, or even placing the dynamic txt box inside the printer button mc. See, on some pages, there are like 24 printers... I DREAD having to put all these names in manually as there are like 150 printers total

View 7 Replies

ActionScript 2.0 :: Custom Button Instance Sub Text Wont Change

Sep 9, 2011

Ive made a button (Convert to symbol > Button)and set that up, then made a new layer for a dynamic text box and gave that the name btn_txt so my plan is to just have instances of that button and be able to change the text through actionscript2this is my code and i thought it would work but nothing happens

[code]...

ive traced one of the text fields and it returns with undefined ive also tried using _level0. but that does nothing

View 1 Replies

ActionScript 2.0 :: Naming Instance Of A Text Field Inside A Button?

Mar 12, 2011

I have a problem with a button.It has 4 keyframe and a text field with the same instance name "myText".I use this button in a MC, and its instance name is "myBtn".I'm trying to change myText with actionscript in the MC without any results.Debugging it I find a text field insiede this button named "instance6", so i think there is some problem with instance name.

I trying with:
trace(myBtn.myText);
and it says "undefined"!

How can i correctly give instance name to this text field?Is there any way to find out the name of the instance of an object (the text field) knowing the instance name of its parent (the button)?

View 6 Replies

Flash :: Play Movie Clip Instance Inside Of Button Instance?

Apr 16, 2011

I placed a movie clip instance inside a button, and I want this movie clip to play when the button is released. I'm using this code on the frame containing the button:

function playMovie(event:MouseEvent)
{
this.theButton.theMC.gotoAndPlay(3);

[code].....

View 2 Replies

ActionScript 2.0 :: Possible To Scroll Graphic / Movie Instance As Well As Text Instance In Flash

Jul 19, 2004

Does anyone know if it is possinle to scroll a graphic or a movie instance as well as a text instance in flash. I want to scroll text and images as well. Actually text with imges embedded in it.

View 3 Replies

ActionScript 2.0 :: Alt Text Layer - Caption "balloons" To Appear Above All Dots

Jan 30, 2009

when you hover over some of the dots, their caption "balloons" appear under some of the other dots. I would like for the caption "balloons" to appear above all dots. Were this HTML I would just use CSS to adjust the Z-index. But this doesn't seem as simple. Attached is a copy of my program and a screenshot so you can see what I have so far.

View 3 Replies

ActionScript 3.0 :: Called InfoBox That Contains A Text Field Called Caption?

Oct 24, 2011

i have a box called infoBox that contains a text field called caption. infoBox expands on mouse-over. When it does so, I do not want the text in caption to scale up - I want it to stay at 11 pt. So far my code to prevent this from happening is not working:How do I fix this?[URL]..

View 2 Replies

ActionScript 2.0 :: Load A New External JPEG Image Into A MC With A String Var Encoding A String Caption In The URL Link / Text Fader

Jun 6, 2003

I have a very general requirement that seemed very simple: Step 1: Load a new external JPEG image into a MC with a string var encoding a string caption in the URL link (VALUE="../fadeTest.swf?someTextVar=TestCaption") within the EMBED / OBJECT sections. I know how to do this and it semed to work fine. STEP2: When the JPEG is loaded I would like the substituted Text to Fade In over the JPEG. The JPEG should also fade in before the Text. The fade rate should be programmable.

[Code]....

View 1 Replies

ActionScript 3.0 :: Variable Instance Names - Fill Text Fields With Text That Have In An Array

May 21, 2011

Alright so lets say I have a number of movieclips or text fields or something with instance names test1, test2, test3 and so forth. Now say I want to fill these text fields with text that I have in an array and I want to do this with a loop, how do I do this? What I'm really asking is if there is a way to use a variable in an instance name if you catch my drift.

[Code]...

View 1 Replies

IDE :: Display Dynamic Text When The Instance Name Of The Text Box To Do The Displaying Is Dynamically Stored Within A Variable?

Nov 6, 2009

There's a movieclip, lets call it myMovieClip. Inside this movieclip there is a dynamic text box, lets call this one myText. Now to change the text within this text box that is embedded in a movieclip, it's simply:

[Code]....

However, what if there is a variable, called myVariable that stores the instance name of the text box. With only one text box I know it's pointless, but for the sake of example, lets leave it simple. So, suddenly the code looks like:

[Code]....

View 2 Replies

ActionScript 2.0 :: Objects - XML - Creating A New Instance Of An Object That Uses An Identical Name To An Older Instance Delete The Previous Instance?

Mar 20, 2009

Does creating a new instance of an Object that uses an identical name to an older instance, delete the previous instance? Or should the original instance be deleted first? The code uses a ridiculous amount of XML vars. Isn't it less memory intensive to parse the XML and save the properties to an Object, and then delete the XML Object, rather than keep the XML Object around and reference it's child nodes directly? Is it better form to break up a huge XML file (>600lines/3200vars) into smaller chunks?

View 1 Replies

ActionScript 3.0 :: Tab Navigation.Having With Caption?

Jun 15, 2009

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]...

View 5 Replies

ActionScript 3.0 :: Set The Caption To True?

Aug 7, 2009

I can set captioning to true in component inspector; is there any other way that we can set the caption to true?

View 1 Replies

ActionScript 2.0 :: How To Attach Background To Caption

Mar 20, 2010

how to attach background to caption

View 11 Replies

ActionScript 3.0 :: Closed Caption With No Component?

Jul 8, 2010

what 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...

View 3 Replies

ActionScript 2.0 :: Auto-resize A Caption?

May 6, 2004

I just can't see it. I took a resizing prototype function from the compiled fla in the resizing slideshow thread (found here, post #171) and combined it with the concepts from the hover caption tutorial on kirupa. But instead of creating a dynamic text box in the hover movie clip I am creating the text dynamically using createTextField and then autosizing it using textfield.autoSize = true (didn't seem to work when I used "left"). When you use createTextField you have to specify a width and height. The autoSize command seems to dynamically resize the textfield in height but not in width. When running a trace the width is always the same though the height changes

View 14 Replies

ActionScript 2.0 :: How To Change Caption On Photos

Mar 21, 2008

how to get a scrolling thumbnail photo gallery to work with an imbedded bonus array. What I can't figure out is how to change the caption on the photos so that when I click on the bonus thumbnails (b2, b3, b4, etc) the text/caption changes on the website.I can upload the flash file if anyone is interested in helping. [code]

View 14 Replies

IDE :: FLV Playback And Caption Component For Videos

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 4 Replies

ActionScript 2.0 :: Caption In A Image Gallery?

Dec 24, 2008

I have made an image gallery using a tutorial by blue chiIt is basically constituated of thumbs that once clicked let a large image appear. I now want to add captions to these large images, on a rollover. I tried applying the tutorial "Hover Captions" to my movie, without success.Being relatively new to all that language, I am not sure it is appliable, and mostly where I should put it, i.e, should i include it to my main timeline or to each image (which are movie clips), on an other layer and so on.Here is the code I have for now

Code:
this.createEmptyMovieClip("container",1);
import mx.transitions.Tween;

[code].....

View 1 Replies







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