Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 11-26-2008, 05:49 AM   #1
vinayak.kadam
Senior Member
 
Join Date: Feb 2008
Location: Pune-India
Posts: 122
Send a message via Skype™ to vinayak.kadam
Default [FlashLite 1.x] Refrencing movie clip in root!

Hello all,

I have two movie clips on stage named: mc_1 and mc_2. Now mc_1 contains a button, which when clicked, should play the mc_2 movieclip.

My question is how do I reference this movie clip? I need the syntax?

As ever,
Vinayak Kadam
vinayak.kadam is offline   Reply With Quote
Old 11-26-2008, 06:17 AM   #2
kk_kiran
New Member
 
Join Date: Mar 2008
Posts: 24
Send a message via Yahoo to kk_kiran
Default

Hi Vinayak,

You can write following code on the button inside mc_1.

on(release)
{
trace(_parent.mc_2);
}

This way you an reference mc_2. Sorry but I don't know the code to play it in flashLite 1.x version.
kk_kiran is offline   Reply With Quote
Old 11-26-2008, 06:55 AM   #3
vinayak.kadam
Senior Member
 
Join Date: Feb 2008
Location: Pune-India
Posts: 122
Send a message via Skype™ to vinayak.kadam
Default

Yup....thats the issue.... I cannot use _parent in FlashLite 1.x!

As ever,
vinayak Kadam
vinayak.kadam is offline   Reply With Quote
Old 11-28-2008, 08:46 AM   #4
vinayak.kadam
Senior Member
 
Join Date: Feb 2008
Location: Pune-India
Posts: 122
Send a message via Skype™ to vinayak.kadam
Default

Can anybody please help me. I want something which means '_parent' in FlashLite 1.x. We cannot use the _parent keyword in FlashLite 1.x. Can somebody tell me the alternative, any e.g. etc.....please?

As ever,
Vinayak Kadam
vinayak.kadam is offline   Reply With Quote
Old 11-28-2008, 10:48 AM   #5
vinayak.kadam
Senior Member
 
Join Date: Feb 2008
Location: Pune-India
Posts: 122
Send a message via Skype™ to vinayak.kadam
Default

Fortunately I have found a solution from the link below:

http://www.adobe.com/devnet/devices/...nowhow_02.html

As ever,
Vinayak Kadam
vinayak.kadam is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FocusManager has Bugs? firestar Components 5 01-09-2008 06:54 PM
play movie clip before attaching second movie clip!!! marijanca ActionScript 2.0 0 12-09-2007 04:24 PM
Converting the root timeline to a movie clip? lightnb Other Flash General Questions 7 12-29-2006 06:44 PM
Rollover Sound in a movie clip Shaun ActionScript 2.0 3 08-17-2006 09:40 PM
Opening movie clip from root movie ikkon ActionScript 1.0 (and below) 6 07-13-2005 08:09 PM


All times are GMT. The time now is 03:16 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.