Question about Macromedia Flash MX

1 Answer

Button into MC

I Have given a button inside a MC. on release the MC (button inside) should go to play a specified label in the main stage .is " _ parent " is suitable for tis . pls help me

Posted by on

1 Answer

  • Level 1:

    An expert who has achieved level 1.

    Governor:

    An expert whose answer got voted for 20 times.

    Corporal:

    An expert that has over 10 points.

    Mayor:

    An expert whose answer got voted for 2 times.

  • Contributor
  • 12 Answers

Step:1 - Make MovieClip at first keyframe in Scene of Flash
Step:2 - Extend timeline of Scene upto hundered frames
Step:3 - Insert Another Layer at main timeline of scene.
Step:4 - Write [First frame] on textbox at First keyframe of second layer.
Step:5 - Write [100th frame] on textbox at Hunderedth frame of second layer
Step:6 - Insert third layer and write [label:-"a"] at hundredth keyframe on timeline.
Step:7 - Make a button inside MovieClip then write the Code on button writen below
on(release){
_parent.gotoAndStop("a");
}

Step:8 - Look the change in screen.

Note:- The above code is valid for flash versions upto Flash player version Eight.

Posted on Sep 26, 2008

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

How do I make a CD label?


There is a user manual on the install disc, pdf-format. To get to the manual, insert the install disc and wait for the small window to appear. At the bottom are some options, one being "View User's Guide". Click that. Or you could access the pdf-file itself manually and copy it to your hard drive: After inserting the install disc, go to "My Computer", right-click on your writer drive, choose "Explore", double-click on the folder named "SE1", and look for a file called "SE1 Guide.pdf". Open it, or copy it and paste somewhere on your computer for future reference. Read Chapter 4 of the user guide - it is titled "CD&DVD LabelMaker". Here follows the chapter, illustrations excluded:

Chapter 4

Introduction

CD&DVD LabelMaker makes designing and printing disc labels

and CD/DVD inserts fast, simple, and fun. Customize labels with

your own photos, text, video stills, and music playlists. Hundreds of

professionally-designed themes are included inside. Supports

label paper templates by Avery®, Memorex®, Neato®, CD
Stomper®, and Direct to CD/DVD Printing with supported printers.

Getting Started

When you first start the program, you're prompted to select the type of

project you want to design and print: Disc Label, Jewel Case Insert,
and DVD Case Insert.

Once you've selected the type of project, you'll be prompted to select

the paper to which you'll be printing. Select your template from the list,

and then click OK. (You can also change your project type by selecting
a new one from the top pull-down.)

Designing your label

You can customize various sections of your label/insert depending

on the selected paper type/template. The main workspace in the

Design Label tab starts by focusing on one section of the label/

insert. For example, if you're using paper that has two disc labels, the
focus will be zoomed onto one of those labels.

Adjusting your view

Notice the two up/down arrows on the left side of the screen. When

applicable, you can click either arrow to shift the focus to the top/

bottom of the page. Click the Paper View button in the lower left

corner to see a small thumbnail of the page. Click the section that
you'd like to edit, and it will appear in the main workspace.

Changing the Background

The right side of the screen lets you change the paper background,

either by applying a color (Use Color) or graphic design (Use
Theme).

To change the background color, select Use Color. A color palette will

appear. Click the color you want. The color will then appear on the

label/insert in the main workspace. The palette is fairly robust. If you

select a new color that doesn't appear on the grid, you can add it to

your My Favorite Colors.

To delete a custom color, select the color, then click the - icon.

To add a design, select Use Theme. A pull-down at the top lets you

select from a variety of categories. Each category offers a variety of

designs. To select a design to apply to your project, simply click it.

Click the button to the right of the pull-down to search for additional
designs online.

Printing your project
A print preview displays your project.

If there are certain sections/components that you'd prefer to exclude

when printing, simply click that object (it will appear dulled in color).

If you change your mind and decide to print the object, simply click the

object again and it will become active for printing.

Print with Mask: This option is only applicable when printing disc

labels. If you notice that your prints aren't aligning properly with your

labels, uncheck this box. Instead of printing over the circular area of the

label only, a square version of each photo will print to cover more area
and fill the disc label.

Select Your Printer: From the Printer pull-down, choose your

printer.

Modify Your Printer Settings: Click the Printer Setup button to

view/modify your printer settings.

Set the Number of Copies: Use the arrow buttons to increase/

decrease the number of copies you'd like to print, or key in the value in
the available box.

(To be continued - ran out of space) From: 11407336

Dec 01, 2010 | Individual SlideShow Expressions

1 Answer

Creating youtube video in flash for only play and pausethe video


try downloading and installin flash player 8 or update ur graphic accelerator.......thn q...

Sep 12, 2009 | Macromedia Graphics Publishing, Design &...

1 Answer

Actionscript to playback to a certain frame


you need to make sure that your button is a button not a movie clip.
then enter the following:
on (release) {
//Movieclip GotoAndStop Behavior
_root.gotoAndStop("5");
//End Behavior

}

were it says 5 change to another frame number also change stop to play if you want it to auto play.

Try action script 2.0 it is easier to use:

First click on your symbol and got the behaviors menu
Then click the + symbol movie clip goto and stop or play
then click absolute and type in the frame you want



Jul 01, 2009 | Macromedia Flash MX

1 Answer

Actionscript and buttons


please clarify.
in AS2.0 you can use
on(release){
playingClipName.stop();
}
or in AS 3.0 u need to addEventListener to a button like
btStop.addEventListener(MouseEvent.CLICK,dothisFunction);
function dothisFunction(evt:Event){
playinClipName.stop();
}
Thats it.

Sep 29, 2008 | Macromedia Director MX 2004

1 Answer

Loading movie


var loadListener:Object = new Object();
loadListener.onLoadInit = function(target_mc:MovieClip):Void {
target_mc.play();
}
var mcLoader:MovieClipLoader = new MovieClipLoader();
mcLoader.addListener(loadListener);
var mc:MovieClip = this.createEmptyMovieClip("mc", this.getNextHighestDepth());
mcLoader.loadClip("ani.swf", mc);

Sep 18, 2008 | Macromedia Flash MX

2 Answers

Create the buttion in scene convent


create a MC and name it e.g. my_mc
my_mc.onRelease = function(){
getURL("somePage.htm","_blank");
}

Sep 18, 2008 | Macromedia Flash MX

2 Answers

Pause Actionscript


Button.onRelease
go to the help file in flash and enter your question.
that's what i did here, it should work for you.
if not, let me see the code you have written
bob

Apr 02, 2008 | Graphics Publishing, Design & Multimedia...

4 Answers

Button script


how to link 1 frame to 6 frame with button give me script

Dec 01, 2007 | Macromedia Flash MX

1 Answer

Flv player


hi rananjay is here. try this script....

// flv player..
// developer.. Rananjay Singh
// video instance name = thevideo
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
the_video.attachVideo(ns);
ns.play("vegas.flv");
//made control on new layer button name = Rewind button,play button
rewindbutton.onRelease = function() {
 ns.seek(0);
};
playbutton.onRelease = function() {
 ns.pause();
};
//loader..
// made new symbol named loader with strock
// inside this select the fill color & make new mc named loadbar
var videoInterval = setInterval(videstatus, 100);
var amountloaded:Number;
function videostatus() {
 amountloaded = ns.bytesLoaded/ns.bytesTotal;
 loader.loadbar._width = amountloaded*217.9;
 // 217.9___ width of loadbar
}
// flv setting-- framerate = 1.1,,, frame every 30
// make anew mc for seekbar named scrub
// then it place on loadbar
var duration:Number;
ns["onMetaFata"] = function (obj) {
 duration = obj.duration;
 loader.scrub._x = ns.time/duration*208.9;
 //208.9 width of loadbar
};
// scrubbar firs see what area cover loadbar 0 to x
var scrubInterval;
loader.scrub.onPress = function() {
 clearInterval(videoInterval);
 scrubInterval = setInterval(scrubit, 10);
 this.startDrag(false, 0, this._y, 208, this._y);
};
loader.scrub.onRelease = function() {
 clearInterval(scrubInterval);
 videoInterval = setInterval(videstatus, 100);
 this.stopDrag();
};
function scrubit() {
 ns.seek(Math.floor((loader.scrub._x/208)*duration));
}
//buffering---- made a videosize blackmc & inside that give text alpha animation,, named buffer
ns.setBufferTime(30);
ns.onStatus = function(info) {
 //if(info.code ==)..... see netstream class in help & compleate it
};
// custom ontextmenu..
var themenu:ContextMenu = new ContextMenu();
themenu.hideBuiltInItems();
_root.menu = themenu;
var i1:ContextMenuItem = new ContextMenuItem("video controls", trace);
var i2:ContextMenuItem = new ContextMenuItem("play/pause video", pauseit);
var i3:ContextMenuItem = new ContextMenuItem("replay video", replayit);
var i4:ContextMenuItem = new ContextMenuItem("copy right", trace);
themenu.customItems[0] = i1;
themenu.customItems[1] = i2;
themenu.customItems[2] = i3;
themenu.customItems[3] = i4;
// after that create two functions for context menu
function pauseit() {
 ns.pause();
}
function replayit() {
 ns.seek(0);
}
// and now prepratin foe volume control
//make a four stage movi clip for sound .. named normal,onover,mute , muteover
_root.createEmptyMovieClip("vsound", _root.getNextHighestDepth());
vsound.attachAudio(ns);
var so:Sound = new Sound(vsound);
so.setVolume(100);
// button name = mute
mute.onRollOver = function() {
 if (so.getVolume() == 100) {
  this.gotoAndStop("onover");
 } else {
  this.gotoAndStop("muteover");
 }
};
mute.onRollOut = function() {
 if (so.getVolume() == 100) {
  this.gotoAndStop("normal");
 } else {
  this.gotoAndStop("mute");
 }
};
mute.onRelease = function() {
 if (so.getVolume() == 100) {
  so.setVolume(0);
  this.gotoAndStop("muteover");
 } else {
  so.setVolume(100);
  this.gotoAndStop("onover");
 }
};

Oct 29, 2007 | Macromedia Flash MX

2 Answers

Flash CS3 action script 3.0 "Next Scene button"


please write this code on button u created

 

on(release){

 

_root.gotoAndPlay("scene_Name");

 

}

 

 

Oct 09, 2007 | Macromedia Flash MX

Not finding what you are looking for?
Macromedia Flash MX Logo

Related Topics:

87 people viewed this question

Ask a Question

Usually answered in minutes!

Top Macromedia Graphics Publishing, Design & Multimedia Software Experts

Les Dickinson
Les Dickinson

Level 3 Expert

18299 Answers

Tony

Level 3 Expert

2598 Answers

Sunny Solanki
Sunny Solanki

Level 2 Expert

261 Answers

Are you a Macromedia Graphics Publishing, Design and Multimedia Software Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...