Raised This Month: $ Target: $400
 0% 

[Flash CS3, AS2] Variables linkage, help!


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Dark Killer
Senior Member
Join Date: May 2005
Location: Kowloon, Hong Kong
Old 05-03-2007 , 05:50   [Flash CS3, AS2] Variables linkage, help!
Reply With Quote #1

So I still prefer using ActionScript 2.0...

I got 2 flash files, 1.fla and 2.fla.

1.fla
This flash files includes 1 empty movie clip called empty.
I've placed it in the scene, and then I named the instance name as placeHolder_mc.

I've added these lines to Frame 1...
stop();

loadMovie("2.swf", placeHolder_mc);

2.fla
This flash files includes a button (not empty, press-able).
I've placed it in the scene.

I've added this line to Frame 1...
var gogogo = 0;

Then I've added these lines to the button...
on (release) {
gogogo = 1;
}


I just wonder how to link the flash files so that when gogogo is 1 and then 1.fla will do play();.

Thanks for helping me
__________________

Last edited by Dark Killer; 05-03-2007 at 11:46.
Dark Killer is offline
 



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


All times are GMT -4. The time now is 11:23.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode