You should be able to use URL params

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of ahorugav
Sent: Sunday, February 10, 2008 7:55 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] How do I pass Flash Player variables with
SWFLoader

 

Hi there everyone... I have a question with an issue I'm having right
now...

Is there a way to pass the same variables that are passed to Flash
Player for the flash.swf loaded with SWFLoader in Flex?

The reason I'm asking is that I'm trying to embed a flash RSS reader
and I need to pass a view variables like the RSS feed, width and
height (overbounds the SWFLoader control I want it in, and such isn't
properly displayed), basically I want to pass these following
parameters to the flash.swf I'm loading with an SWFLoader control:

<object type="application/x-shockwave-flash" allowScriptAccess="never"
allowNetworking="internal" height="351" width="428" align="middle"
data="http://flash.picturetrail.com/pflicks/2/filmstrip.swf";>
<param name="allowScriptAccess" value="never" />
<param name="allowNetworking" value="internal" />
<param name="movie"
value="http://flash.picturetrail.com/pflicks/2/filmstrip.swf"; />
<param name="loop" value="false" />
<param name="quality" value="high" />
<param name="flashvars"
value="ql=0&src1=http://pic30.picturetrail.com/VOL1494/7612756/flicks/1/
1471322&src2=http://widgetize.picturetrail.com/flicks/1471322
<http://pic30.picturetrail.com/VOL1494/7612756/flicks/1/1471322&src2=htt
p:/widgetize.picturetrail.com/flicks/1471322> "
/>
<param name="wmode" value="transparent" />
<param name="bgcolor" value="#FFFFFF" />
</object>

 

Reply via email to