Search:
Type: Posts; User: jasonmSF
Search:
Search took 0.05 seconds.
-
Yeah, I actually ended up going another way because there was something strange going on the the variable P that was messing up other parts of my code.
I ended up actually using the button path...
-
I thought about trying to pull the variable back out of the path using target path(this) but this is much better. Actually here is the code that worked:
for (n=1; n<=phase1total; n++) {...
-
Nope. Same problem. With every loop, the variable changes and wont stay fixed within the button object. Maybe if it's specified as _local?
Looking into incrementing the variable name as well so it...
-
Yeah. I get it now. This is getting a little convoluted for my right brain.
p stands for the current image of a slide show. Each button object is a thumbnail. Clicking on a thumb should call the...
-
Thanks for the reply. I actually had tried that already but it threw an error because I forgot to omit the "." before the first bracket [.
Now seeing an issue with the p variable not incrementing....
-
Hi. Just getting up to speed on looping and incrementing variables. A real time saver.
I have a onRelease function that I would like to apply to several button objects:
phase1a.but1.onRelease =...
-
Thanks so much. Not sure why the target must be grouped with the variable but whatever works. Thanks again.
J
-
First time poster - hope this forum is still getting some use.
I'm trying to create a "for" loop to load thumbs into existing movie clips using the following code:
var total=17;
for (i=8;...
|
Click Here to Expand Forum to Full Width
|