Handling parameters in ActionScript

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Vijayasekar
    New Member
    • Sep 2007
    • 2

    Handling parameters in ActionScript

    Hi,

    I am quite new to this kind of implementation, would appreciate if I could get any help in this regard.

    I am in need of using parameters to transmit data from Java to SWF.
    Like... the ActionScript code should fetch the value from that parameter.

    For example:
    I am using a test.swf and am embedding it to the HTML as follows;
    <EMBED src='test.swf?u name=" + username + "' />

    How can I fetch the value of the parameter 'uname' inside the ActionScript of 'test.swf'?

    Thanks in advance,
    Vijayasekar
Working...