hi!
I use FlashVars in the HTML, with Flex 2.0
Works fine to me
import flash.display.SWFLoaderInfo;
import flash.display.Loader;
public function Test() {
if (SWFLoaderInfo(loaderInfo) != null){
var FlashVar_arguments:Object = SWFLoaderInfo(loaderInfo).arguments;
if (FlashVar_arguments["strVariable"] != undefined){
trace(FlashVar_arguments["strVariable"].toString()) }
}
}
and in the HTML
<param name='flashvars' value='strVariable=ABCDEFGHIJLMNOPQRSTUVXZ'/>
--- In [email protected], "yaagcur" <[EMAIL PROTECTED]> wrote:
>
>
> I raised this in the livedocspage but have not received an answer
> Can parameters be passed via an html rather than swf URL?
> e.g I would like to have something
likehttp://www.mysite.com?player=Jeter as a link to lead to a
pagerelating to that player's data
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Most low income homes are not online. Make a difference this holiday season!
http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~->
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/