Hi,
I have a requirement where I have to send a String value as a
parameter to a swf (created from Flash). If this is possible, can
anybody let me know how this can be done?
Example Usage: I want an animated button like thing in Flex. I would
be given an swf file created in Flash, which looks
Of chandruflex
Sent: 02 March 2009 11:13
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Passing parameter to swf
Hi,
I have a requirement where I have to send a String value as a
parameter to a swf (created from Flash). If this is possible, can
anybody let me know how this can be done
Hi Chandru,
This is actually pretty easy...one the swfLoader.source, simply add
the traditional ? and tabs to the source with the values you want
to pass...then in your called swf, you access the passed values via the
document.parameters.valueName
i.e.
Main App:
var swf:SWFLoader =
3 matches
Mail list logo