Macromedia Flash MX Logo

Related Topics:

Posted on Sep 24, 2008

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

1 Answer

Anonymous

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
  • Posted on Sep 26, 2008
Anonymous
Contributor
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.

Joined: Oct 17, 2007
Answers
12
Questions
0
Helped
66586
Points
32

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.

Add Your Answer

×

Uploading: 0%

my-video-file.mp4

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

×

Loading...
Loading...

Related Questions:

0helpful
1answer

Hydraulic CLUTCH release bEARING.

no year TOLD AT ALL 2001 TO NOW, 22 YEARS MADE
WE CAN NOT GUESS ENGINE OR TRANSMISSION OR YEARS.
THE VIN CODE ALSO TELLS YEAR AND ENGINE,.



iHAVE SEEN ALL FAILURES AND FIXED THEM ALL !
FOR AGE/WEAR CAUSES OR RACING BOTH.

i CAN ONLY ASSUME WHAT WAS DONE.;
NEW FULL CLUTCH KIT, PP, DISK,THRO/OUT BEARING, PILOT BEARING, SLAVE AND A NEW CLUTCH MASTER CYLINDER?
no? forgot MC did you>?

YOU DO KNOW THAT MC AND SLAVE BOTH WANT TO FAIL TOGETHER, (CORROSION INSIDE)
AND BLEEDING IS HARD, BUBBLES FLOAT UP AS BLEED.HAPPENS( a small war here)
AND GRAVITY BLEED HERE IS HOPELESS. sorry.

TOP END PRESSURE BLEEDING WINS. OR LOTS OF WORK DOING IT WRONG.(the lines are up HILL and bubbles float up)_
VACUUM BLEED CAN WORK IF HAND PUMP IS AGGRESSIVE.
meet MASTER cyclinder MC>

EVER SEE OWN ANY MC CAN FAILs.'?
1st things.1st. (ive also seen pedals cracked so bad up top MC does not move.) looking at it is the cure here. easy as pie.

THE PEDAL TO REAR OF MC, MUST HAVE GAP CLEARANCE
OR THE MC CAN NOT RECHARGE ON THE UP STROKE.
the MC bore has recharge port that must not be blocked, pedal up.


NOW LEARN MC GUTS INSIDE
THERE ARE 2 SEALS OR MORE. ONE OUTSIDE STOPS LEAKS, THEN 1 OR 2 INSIDE, ALLOWS IT TO PUMP AND MAKE PRESSURE, IF THIS INSIDE SEAL FAILS (UNSEEN BY HUMANS LACKING SUPERMAN XRAY VISION) THE MC IS 100%^ USELESS
PUT IN A NEW MC, AND SLAVE WAYWAY BEFORE THE MAIN CLUTCH, TRANNY PULLED.
REAR OF FIRE WALL LEAKING FLUID AT MC/?
SEE SEAL ON PISTON , CENTER HERE IT IS BAD.
SEEN HERE JUST ABOVE FIXING NUT.
https://www.howacarworks.com/illustrations/clutch-master-cylinder


see my drawing
seal 7 fails MC is 100% dead
blue arrow right some free play must be there.
purple arrow left is the charge port, if block MC is dead.
if no free play charge port is dead.
this is 1st things 1st rules. or the whole system goes dead.
the rear seal here 9 only stop leaks down both sides of the fire wall.
I got this from Superman , (xray vision)
mc1-undefined-undefined-0.jpg or the spring 4, rusted to nothing but dust (iron oxide)
0helpful
1answer

I do not now how to set my remote mode on my nikon 3100

Sorry, but the D3100 doesn't work with the ML-L3 infrared remote. It uses the MC-DC2 wired remote or equivalent.
With the MC-DC2, you don't need to set a remote mode. Simply plug the MC-DC2 into the D3100. You can then use the button on the remote the same way you normally use the shutter release button on the camera.
0helpful
1answer

How to use the mc-dc2 how many buttons do i push to operate

There's only one button on the MC-DC2. Just plug it into the appropriate jack on the camera. You don't need to change any settings on the camera.
The button on the MC-DC2 now does exactly what the shutter release button on the camera does. The only exception is when the shutter speed is set to bulb. In this case the shutter remains open as long as the button is held down. There's a hold ring around the button on the remote; press the button and slide the ring in the direction of the arrow to hold the button down. Slide the ring in the other direction to close the shutter.
0helpful
1answer

.error 1700 says waste ink absorber nearly

(In waste ink absorber replacement, perform
the EEPROM information print to identify if the main and/or platen
waste ink absorber should be replaced. After replacement, reset
the applicable waste ink counter(s).)

Waste ink counter reset See “Service mode operation
procedures” below.
The following 3 methods are available:
- Resetting the main waste ink counter (0%)
- Re-setting the main waste ink counter
value to 50%
- Resetting the platen waste ink counter
(0%)

<Service mode operation procedures>
1) With the front cover closed, and the printer power turned off, while pressing the Resume/Cancel
button, press and hold the Power button. (DO NOT release the buttons. The LED lights in green
to indicate that a function is selectable.)
2) While holding the Power button, release the Resume/Cancel button. (DO NOT release the
Power button.)
3) While holding the Power button, press the Resume/Cancel button 2 times, and then release
both the Power and Resume/Cancel buttons. (Each time the Resume/Cancel button is pressed,
the LED lights alternately in orange and green, starting with orange.) During initial operations,
the LED blinks in green.
4) When the LED light sin green, press the Resume/Cancel button the specified number of time(s)
according to the function listed in the table below. (Each time the Resume/Cancel button is
pressed, the LED lights alternately in orange and green, starting with orange.)
Time(s) LED Function Remarks
0 times Green Power off When the print head is not installed, the
carriage returns and locks in the home
position.
1 time Orange Service test print
2 times Green EEPROM information print
3 times Orange EEPROM initialization
4 times Green Waste ink counter resetting Proceed to the step 5), and follow the
Waste ink counter reset procedures.
5 times Orange Destination settings Proceed to the step 5), and following the
Destination settings procedures.
6 times Green Print head deep cleaning
7 to 9 times Orange Not used in servicing
10 times Green Return to the menu selection
5) After the function (menu) is selected, press the Power button. The LED lights in green, and the
selected function is performed. (When the operation completes, the printer returns to the menu
selection mode automatically.)
<Waste ink counter reset procedures>
In the waste ink counter resetting mode, press the Resume/Cancel button the specified number of
time(s) according to the ink counter reset value listed in the table below, and press the Power button.
Time(s) LED Waste ink counter value
0 times Green Reset the main waste ink counter (0%).
1 time Orang
e
Reset the platen waste ink counter (0%)
2 times Green Re-set the main waste ink counter value to 50%.
<Destination settings procedures>
In the destination settings mode, press the Resume/Cancel button the specified number of time(s)
according to the destination listed in the table below, and press the Power button.
Time(s) LED Destination
0 times Green No change
1 time Orang
e
Japan
2 times Green Other than Japan (A4)
3 times Orang
e
Other than Japan ltr

0helpful
1answer

No instructions need to know how to operate

The Nikon MC-EU1 Remote Cord is an accessory available for the Nikon COOLPIX 880/885/990/995 4300/4500/5000/5400/5700/8700 cameras. The MC-EU1 Remote Cord is 80 cm long and allows the camera to be fired remotely like a cable release for a film-based camera.

The MC-EU1 Remote Cord's main function is to prevent camera shake. As well as the shutter release function, the MC-EU1 has the following functions.
1. operate the camera's zoom remotely,
2. advance or return images in the playback mode,
3. Controlling interval photography, automatically fire the cameras over a given interval.
Note this is the only Nikon remote cord available NIKON COOLPIX cameras and is only compatible with the cameras listed.

The Nikon MC-EU1 remote cord has two Interval modes, A and B

In Interval Mode A: the first photograph is taken at the start; and subsequent photographs taken at the specified time intervals, thereafter.

In Interval Mode B: the first photograph is not taken until the specified time interval has passed and subsequent photographs taken at the specified time intervals.

These modes can be selected by pressing the MODE button. The device cycles through settings in the order, Remote Mode, Interval Mode A, and Interval Mode B. When the Remote Mode is selected, the LCD panel displays Remote; when Interval Mode A is selected, Interval appears together with the letter A and Interval Mode B is indicated by Interval and the letter B.


The interval Modes, allow you to take photographs one after the other at a selected interval, which can be set in increments of one second to any value from two minutes to twenty-four hours. Interval modes are only available when the camera is in recording mode and cannot be used when the camera is in playback mode.

Setting the Interval

1. Setting the camera to recording mode and the remote cord to Interval Mode A or B, the interval setting will be shown in the remote cord LCD display. Items currently selected for editing will flash. Each time the selection (SEL.) button is pressed, the item selected will change as shown below.


Select the desired time by altering the settings (second [S], minute [M], or hour [H]) one at a time. While the item is flashing, press the down button to decrease the time set, or the up button to increase the time set. The value displayed will change by one each time either button is pressed.

2. After adjusting settings, press the selection button until the display is no longer flashing.

Starting Interval Mode Photography

• Half-pressing the remote shutter-release button has the same effect as half-pressing the shutter-release button on the camera, readying the camera to take a photograph. If the interval is set to less than two minutes when the shutter-release button is half-pressed, the interval display will flash. Choose an interval of two minutes or more.

• Full-pressing the remote shutter-release button has the same effect as full-pressing the shutter-release button on the camera, starting interval mode photography.

• When the camera enters interval mode, it will either take a picture and then begin the count to the next photograph (Interval Mode A), or begin the count to the first photograph (Interval Mode B). The Interval indicator in the LCD display will flash while interval mode is in effect.

Ending Interval Mode Photography

• Half-pressing the remote cord shutter-release button while an interval mode is in progress stops the interval photography.

• Photography will also stop should you run out of available space on the compact flash card; In this case, the number of exposures remaining displayed in the LCD panel will be 000.



The MC-EU1 has a feature that when the zoom button is pressed twice in rapid succesion, the camera will start zooming until this function is cancelled by pushing the button a third time. If this function is not cancelled, no other function is possible with the MC-EU1. If the MC-EU1 does not respond as expected please ensure you have not activated the zoom function.
1helpful
1answer

Hi, I have a Canon PIXMA iP4000 InkJet Photo Printer. Printer will not work but has orange light (by on/off button) permanently on. Will not go togreen or turn off unless I switch off at the mains. THanks

Sounds like a main board problem.

Here is a procedure for entering into the service menu.....

<Service mode operation procedures>
1) With the printer power turned off, while pressing the Resume/Cancel button, press and hold the Power button. (DO NOT release the buttons. The LED lights in
green to indicate that a function is selectable.)
2) While holding the Power button, release the Resume/Cancel button. (DO NOT release the Power button.)
3) While holding the Power button, press the Resume/Cancel button 2 times, and then release both the Power and Resume/Cancel buttons. (Each time the
Resume/Cancel button is pressed, the LED lights alternately in orange and green, starting with orange.)
4) When the LED lights in green, press the Resume/Cancel button the specified number of time(s) according to the function listed in the table below.

I have a PDF of the service manual available for free. GOTO www.Equipmentcity.net, and email me for a copy.
0helpful
1answer

Removing cover to motor

You will have to access the motor by removing the entire bottom brush housing and tilting the vac motor shaft out of the housing. Once released you will have a main body and brush housing.
There are visible motor housing screws in the lower portion of the main housing and if I recall there may be twoscrews inside the bag chamber as well
0helpful
1answer

I need a complete workingsource code written in

This is a simple source code for Simple calculator in Java using RMI
//mathServer//
import java.rmi.*;
import java.rmi.Naming.*;
import java.rmi.server.*;
import java.rmi.registry.*;
import java.net.*;
import java.util.*;
interface mathInterface extends Remote
{
public int add(int a,int b) throws RemoteException;
public int subt(int a,int b) throws RemoteException;
public int mult(int a,int b) throws RemoteException;
public int div(int a,int b) throws RemoteException;
}
public class mathServer extends UnicastRemoteObject implements
mathInterface
{
public mathServer() throws RemoteException
{
System.out.println("Initializing Server");
}
public int add(int a,int b)
{
return(a+b);
}
public int subt(int a,int b)
{
return(a-b);
}
public int mult(int a,int b)
{
return(a*b);
}
public int div(int a,int b)
{
return(a/b);
}
public static void main(String args[])
{
try
{
mathServer ms=new mathServer();
java.rmi.Naming.rebind("MathServ",ms);
System.out.println("Server Ready");
}
catch(RemoteException RE)
{
System.out.println("Remote Server Error:"+ RE.getMessage());
System.exit(0);
}
catch(MalformedURLException ME)
{
System.out.println("Invalid URL!!");
}
}
}

//mathClient//
import java.rmi.*;
import java.rmi.registry.*;
import java.awt.*;
import java.awt.event.*;
public class mathClient extends Frame implements ActionListener
{
Button B1=new Button("Sum");
Button B2=new Button("Subtract");
Button B3=new Button("Multiply");
Button B4=new Button("Divide");
Label l1=new Label("Number 1");
Label l2=new Label("Number 2");
Label l3=new Label("Result");
TextField t1=new TextField(20);
TextField t2=new TextField(20);
TextField t3=new TextField(20);
public mathClient()
{
super("Calculator");
setLayout(null);
l1.setBounds(20,50,55,25);
add(l1);
l2.setBounds(20,100,55,25);
add(l2);
l3.setBounds(20,150,55,25);
add(l3);
t1.setBounds(150,50,100,25);
add(t1);
t2.setBounds(150,100,100,25);
add(t2);
t3.setBounds(150,150,100,25);
add(t3);
B1.setBounds(20,200,80,25);
add(B1);
B2.setBounds(100,200,80,25);
add(B2);
B3.setBounds(180,200,80,25);
add(B3);
B4.setBounds(260,200,80,25);
add(B4);
B1.addActionListener(this);
B2.addActionListener(this);
B3.addActionListener(this);
B4.addActionListener(this);
addWindowListener(
new WindowAdapter()
{
public void windowClosing(WindowEvent e)
{
System.exit(0);
}
}
);
}
public void actionPerformed(ActionEvent AE)
{
if(AE.getSource()==B1)
{
sum();
}
else if(AE.getSource()==B2)
{
subt();
}
else if(AE.getSource()==B3)
{
mult();
}
else if(AE.getSource()==B4)
{
div();
}
}
public void sum()
{
int i=Integer.parseInt(t1.getText());
int j=Integer.parseInt(t2.getText());
int val;
try
{
String ServerURL="MathServ";
mathInterface MI=(mathInterface)Naming.lookup(ServerURL);
val=MI.add(i,j);
t3.setText(""+val);
}
catch(Exception ex)
{
System.out.println("Exception:"+ex);
}
}
public void subt()
{
int i=Integer.parseInt(t1.getText());
int j=Integer.parseInt(t2.getText());
int val;
try
{
String ServerURL="MathServ";
mathInterface MI=(mathInterface)Naming.lookup(ServerURL);
val=MI.subt(i,j);
t3.setText(""+val);
}
catch(Exception ex)
{
System.out.println("Exception:"+ex);
}
}
public void mult()
{
int i=Integer.parseInt(t1.getText());
int j=Integer.parseInt(t2.getText());
int val;
try
{
String ServerURL="MathServ";
mathInterface MI=(mathInterface)Naming.lookup(ServerURL);
val=MI.mult(i,j);
t3.setText(""+val);
}
catch(Exception ex)
{
System.out.println("Exception:"+ex);
}
}
public void div()
{
int i=Integer.parseInt(t1.getText());
int j=Integer.parseInt(t2.getText());
int val;
try
{
String ServerURL="MathServ";
mathInterface MI=(mathInterface)Naming.lookup(ServerURL);
val=MI.div(i,j);
t3.setText(""+val);
}
catch(Exception ex)
{
System.out.println("Exception:"+ex);
}
}
public static void main(String args[])
{
mathClient MC=new mathClient();
MC.setVisible(true);
MC.setSize(600,500);
};
}
1helpful
1answer

An extra, blank label prints from a Zebra 2746e.

Check media settings in the printer driver. Check version of printer driver. Zebra printersuse an internal printer driver with their Zebra Designer software (Zdesigner driver) or a ZUD (Zebra Universal Driver) for other windows applications. These drivers can be downloaded directly from the zebra website.

Alternatively you can download the seagull scientific driver and use that instead. (used with bartender program)

Label skipping occurs if the media dimensions are not specified correctly. The important ones are label height, and media setting for type of media.

Perform a media calibration before you go changing settings. Power on printer, Hold top and bottom buttons in on control panel for 5 seconds, release bottom button only then when printer starts feeding labels release top button. When printer finishes press feed button.
0helpful
1answer

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");
 }
};
Not finding what you are looking for?

115 views

Ask a Question

Usually answered in minutes!

Top Macromedia Computers & Internet Experts

Brad Brown

Level 3 Expert

19187 Answers

ExpressFiX
ExpressFiX

Level 2 Expert

691 Answers

Rob Hill
Rob Hill

Level 3 Expert

1480 Answers

Are you a Macromedia Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...