Featured Post

Practical Music Player v1

xml driven. as3.0,size just 3kb of separate module. simple,easy,clear. support play,stop,set volume. four kinds of skin selection. $6 BUY NOW IN ACTIVEDEN.NET

Read More

Flash, Flex and Html to pass parameters

Posted by activetofocus | Posted in Flash Technology | Posted on 03-09-2009

0

FLASH access to HTML Lane came to achieve the parameters:
Here are Flash and HTML-value between the two ways: url address parameters and flashVars.

Method 1. HTML code:

3

Method 2. Flex code:

4

The above method is the FLEX project:
the time required to use flash in the constructor where you can obtain the parameters of.

  • stage.loaderInfo.parameters.lan;
  • stage.loaderInfo.parameters.theme;
  • stage.loaderInfo.parameters.nickname;

Write a comment

Powered by WP Hashcash