header
ask question
Click here to ask Question Now Its free No registration required. Flash, Flex, Flash Media Server, ActionScript,Adobe Air. Most questions receive a response in an hour.
Yll
Points:0
Posts:0

11/25/2010 5:47:31 AM

Title: Button to target f.label 3 levels Up


does anyone Know how to link a button to a frame label that stands three levels Up
im Using this code

button1.addEventListener(MouseEvent.CLICK,play1);

function play1(event:MouseEvent):void{
MovieClip(parent).currentLabel;
gotoAndStop("imazhe1");



1
yll
Points: 0
Posts:0
11/25/2010 5:49:51 AM



without the MovieClip(parent).currentLabel;
Tx ////

2
Rex
Points: 1280
Posts:0
11/25/2010 7:40:29 AM



you can use the reference from root or use parent for every level

root.movieClip1.movieclip2.play()

or

parent.parent.parent.play()


Post your Reply
Name  

Email

Type your Reply or Answer

Are you human? What is 6+4 



Members Login

Email  
Password
Forgot Password





This website focus on: Flash | Flex | FMS | RED5 | WOWZA | Flash Media Server | Adobe AIR | ActionScript,Flash Solutions | Flash Question | Flash Answers | Flash Developers | Flash Problem, Flash Help, Flash bugs, Flash workaround | Flash Blog | Flex Question Answers | Flash Forum | Flex Development | Actionscript development | Flash development | Adobe AIR development
Copyright © 2008 AskMeFlash.com. All rights reserved. Privacy Policy | Terms & Conditions