Hi, There's a good bit in the docs about using flash based graphics in Flex apps p.666 of the Developer Guide "Using SWF files as Skins". Basically you just end up using the swf as a graphics library. All the graphics have to be on the stage so that they're actually included in the swf (or export in 1st frame in the linkage properties). You don't actually run the swf in your Flex app, but import the graphics using their library linkage name. For example: <mx:Button id="SoundOffBtn" x="342" y="310" upSkin="@Embed(source='../../../assets/icons/GalleryButtons01.swf', symbol='VolumeOffUpSkin')" overSkin="@Embed(source='../../../assets/icons/GalleryButtons01.swf', symbol='VolumeOffOverSkin')" downSkin="@Embed(source='../../../assets/icons/GalleryButtons01.swf', symbol='VolumeOffOverSkin')" click="toggleMute()" /> HTH Phil pinkmongrel wrote:
-- ______________________________________________________________ Phil Marston Technology Enhanced Learning Centre for Learning & Teaching University of Aberdeen Aberdeen AB24 3QY Email: [EMAIL PROTECTED] Tel: +44(0)1224 273329 Mob: +44(0)7798 723660 Web: http://www.abdn.ac.uk/clt/ ______________________________________________________________ The University of Aberdeen Open Day 29th August 2006 Booking is essential www.abdn.ac.uk/openday email [EMAIL PROTECTED] or call 0800 027 1495__._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
__,_._,___ |