View Single Post

  #17 (permalink)  
Old 24-08-08, 02:47
drudy drudy is offline
Junior Member
 
Join Date: Aug 2008
Location: Jakarta, Indonesia
Posts: 4
Rep Power: 0
drudy is on a distinguished road
Re: Passing variables from HTML to Flash CS3

You may try this one (just a simple short-code):

var obj:Object=LoaderInfo(root.loaderInfo).parameters;
try_txt1.text = String(obj['id']); // get value from variable named as 'id'
try_txt2.text = String(obj['ir']); // get value from variable named as 'ir'

Thank's.

Last edited by drudy; 24-08-08 at 02:51..
Reply With Quote