AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Off-Topic (https://forums.alliedmods.net/forumdisplay.php?f=15)
-   -   [Flash CS3, AS2] Variables linkage, help! (https://forums.alliedmods.net/showthread.php?t=54759)

Dark Killer 05-03-2007 05:50

[Flash CS3, AS2] Variables linkage, help!
 
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


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

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