ThemeForest

Posts by Reaper-Media

4335 posts
  • Beta Tester
  • Bought between 10 and 49 items
  • Community Moderator
  • Contributed a Blog Post
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Grew a moustache for the Envato Movember competition
  • Has been a member for 4-5 years
+6 more
Reaper-Media moderator says

hi, i’m trying to create a search box in as2, and the only thing i haven’t yet managed to do is create a var from the value of a text box, now i’m not to farmiliar with creating vars from object values, i’ve managed to get the url working,

var entireURL = “http://site.com/search/?s=” + _root.item();

on(press) {getURL(_root.entireURL);}

now i’m getting to the url, http://site.com/search/?s=undefined

how do i obtain the input text from a textbox using values and what-not,

i’ve tried lots, i need the exact code for the var item… and what i need to do to the textbox (probably just values), it would also be nice if you could test it first, try changing a text value to test.

I’ve also tried

var item:text = [label]

but it doesn’t seem to work

Help pleeeease…

by
by
by
by
by