0

I'm trying to send variables from my WebPage to a Flash object. But it doesn't work.

Here is the way I call the animation inside the webpage :

<object type="application/x-shockwave-flash" data="/flash/Reintegrate.swf" width="1150" height="800" value="idu=Salut"></object>

Here is my code in AS3, LblTst shows nothing :

var userid:String = loaderInfo.parameters.idu;
LblTst.text = userid;

Any idea ?

1 Answer 1

1

add this between the <object> tag :

...><param name="flashvars" value="idu=Salut"/></object>
Sign up to request clarification or add additional context in comments.

1 Comment

@Bahaïka instead of loaderInfo.parameters.idu use root.loaderInfo.parameters.idu

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.