all groups > flash actionscript > august 2006 >
You're in the

flash actionscript

group:

What does this code do???


What does this code do??? WALLIEDIRT
8/22/2006 10:11:37 PM
flash actionscript:
Ok I don't know what I did. I'm working on a site that has it's own pop up
windows. When you click read more, you can adjust the Horizontal size and move
the window around with in the flash movie. Ok now the problem. I can't seem to
get more that 4 different kinds of windows. Some links open with info that's on
another link (I hope that made since). I'm sorry I don't have it on a server
just yet. Here is the code for the read more links:


I'll be honest... I don't know what these codes mean. What do I need to change
to be able to open other Pop up windows. I'm just doing this for fun and not
for profit. If this doesn't make since please let me know what kind of info
you'd like from me.

Thank you in advance
-WALLIE

on (release) {
if (_root.m<>1) {
_root.scrHEIGHT = 200;
_root.scroller._x = 100;
_root.scroller._y = 150.7;
_root.scroller.scroller.gotoAndStop(2);
_root.TM_title = "Home.01";
_root.READ = 1;
}
}

on (release) {
if (_root.m<>1) {
_root.scrHEIGHT = 200;
_root.scroller._x = 100;
_root.scroller._y = 150.7;
_root.scroller.scroller.gotoAndStop(2);
_root.TM_title = "Home.04";
_root.READ = 4;
}
}
Re: What does this code do??? sanbabu
8/23/2006 3:05:19 AM
check the condtion value
if (_root.m<>1) {
Re: What does this code do??? WALLIEDIRT
8/27/2006 7:59:28 PM
Thank you for the reply. I've been doing some reading and been looking around.
I feel dumb asking this question but, where do I put in that command?

Do I add it here? When I do I get this error:

**Error** Symbol=t1, layer=Layer 1, frame=1:Line 1: Mouse events are permitted
only for button instances
on (release) {

Total ActionScript Errors: 1 Reported Errors: 1

Thank you again,
-WALLIE



on (release) {
if (_root.m<>1) {trace
_root.scrHEIGHT = 200;
_root.scroller._x = 100;
_root.scroller._y = 150.7;
_root.scroller.scroller.gotoAndStop(2);
_root.TM_title = "Home.01";
_root.READ = 1;
}
}
AddThis Social Bookmark Button