Web Design Forums
User Name :
Password :
Home
Register
FAQ
Members List
Search
Today's Posts
Mark Forums Read
DesignersTalk
>
Design Forums
>
Programming
> Actionscript Strings and Things
LinkBack
Thread Tools
Search this Thread
14-12-2004, 05:49
#
1
(
permalink
)
paulanthony
mingin dawg baitch
Join Date: Apr 2004
Location: Belfast
Posts: 1,041
Actionscript Strings and Things
I have the following
trace(this);
// returns _level0.pattern.clip2.empty
how do I use substrings etc to obtain a variable with
_level0.pattern.clip2 ?
__________________
Web design Ireland
paulanthony
View Public Profile
Send a private message to paulanthony
Visit paulanthony's homepage!
Find More Posts by paulanthony
14-12-2004, 09:39
#
2
(
permalink
)
paulanthony
mingin dawg baitch
Join Date: Apr 2004
Location: Belfast
Posts: 1,041
Got it
clipname = String(this);
clipnameNew = clipname.substring(0,clipname.lastIndexOf(".empty" ));
__________________
Web design Ireland
paulanthony
View Public Profile
Send a private message to paulanthony
Visit paulanthony's homepage!
Find More Posts by paulanthony
14-12-2004, 16:00
#
3
(
permalink
)
Denver
Registered User
Join Date: Nov 2004
Posts: 14
Better:
clipnameNew = this._name.substring(0,this._name.lastIndexOf(".em pty"));
Denver
View Public Profile
Send a private message to Denver
Find More Posts by Denver
Currently Active Users Viewing This Thread: 1
(0 members and 1 guests)
Thread Tools
Search this Thread
Show Printable Version
Email this Page
Search this Thread
:
Advanced Search
Contact Us
-
Web Design Forums
-
Archive
-
Top
Search Engine Optimization by
vBSEO
3.0.0 RC8
LinkBack
LinkBack URL
About LinkBacks
Bookmark & Share
Digg this Thread!
Add Thread to del.icio.us
Bookmark in Technorati
Furl this Thread!