Lelouch Lamperouge
Lelouch Lamperouge

Reputation: 8421

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:

  1. 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
  2. Can I display 2 swf files like one file over the other... like z-index in css. Eg: a small right-hand 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.

Upvotes: 1

Views: 65

Answers (1)

Jason
Jason

Reputation: 2503

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.

Upvotes: 1

Related Questions