July 9, 2007

asfunction – Use more than one variable!

Filed under: actionscript, design, musings, open source, program, software, tech, tutorial, web development — bardicknowledge @ 10:40 am

So I was trying to use asfunction to pass two variables, well because I needed two. So after a few hours of looking for a pre-existing script to do this or some other way to do it I just do frustrated and wrote my own script that will let me pass (theoretically) as many variables as my heart desires.

It’s a rather simple/small script that plays off how asfunction treats all text after the first comma as a string. So realizing this you can use special characters (I use a comma) to separate your variables. You then pass the single string that contains your vars to a function that searchers for that special char and breaks the string apart and puts your vars into an array.

Get it? Simple, eh?

Anyways, link to source script.


1 Comment »

  1. […] A pawns history « asfunction – Use more than one variable! […]

    Pingback by asfunction - multiple variable update « PaperKingdoms — July 10, 2007 @ 3:30 pm

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at

%d bloggers like this: