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

flash actionscript

group:

edit variable



edit variable LSNsaltlamp
6/8/2006 8:22:18 PM
flash actionscript: I need to take a variable with the name "11.swf" and restrict it to just the
number.

I know this code is wrong but it gets the idea across.

on (release) {
var page = "11.swf";
var pagenumber = (page-".swf");
trace(pagenumber);
}

I want the trace function to return 11
Re: edit variable NSurveyor
6/8/2006 8:33:57 PM
You could do:

Re: edit variable LSNsaltlamp
6/8/2006 8:38:11 PM
Re: edit variable NSurveyor
6/8/2006 10:23:41 PM
AddThis Social Bookmark Button