You should check out this video tutorial
http://www.webkitchen.be/2008/12/12/video-tutorial-make-flex-components-
with-flash-cs4/ . Note I've tried doing this sort of stuff in CS3 and
the exact same code can sometimes work and other times fail in CS3, and
I do mean the exact same code. But since creating components in CS4
I've had no issues. Something that didn't work in CS3, I imported to CS4
and it works fine, so use CS4 otherwise you could easily be banging your
head for no reason.
Kenneth.
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf 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?
Example Usage: I want an animated button like thing in Flex. I would
be given an swf file created in Flash, which looks like an animated
button, but with no Label on it. I will load this animated swf into my
Flex application using SWFLoader component. Say, I want to pass in a
String value - Login to this swf, so that, I can use it as an
animated button with the label - Login.
-Chandru
Disclaimer
---
This electronic message contains information which may be privileged and
confidential. The information is intended to be for the use of the
individual(s) or entity named above. If you are not the intended recipient, be
aware that any disclosure, copying, distribution or use of the contents of this
information is prohibited. If you have received this electronic message in
error, please notify us by telephone on 0131 476 6000 and delete the material
from your computer.
Registered in Scotland number: SC 172507.
Registered office address: Quay House 142 Commercial Street Edinburgh EH6 6LB.
This email message has been scanned for viruses by Mimecast.
---