Flex integration problem
have 3 swf files. 1. a preloader 2. a screen-wide menu 3. a photo gallery (coding in as3) Each of these files individually is not very large in size. But all this together might be.
My Question:
- Can I import all 3 files in flex and this happen: user click on the preloader, leads to the screen-wide menu. and depending on the button clicked on the menu, the appropriate picture gallery is loaded? in a manner such that each object loaded dynamically
- Can I display 2 swf files like one file over the other... like z-index in css. Eg: a small right-ha开发者_JS百科nd corner floating menu on the corner which bloats up on rollover floating across the screen on top of the screen-wide menu?
PS: I am new to Flex.
You can dynamically load any number of SWFs from within your Flex project. As well, based on interactions with each SWF you can load another SWF.
Check out the Loader class for information about usage and events to listen to.
精彩评论