tags:

views:

29

answers:

1

We presently have one big swf in flex 4. I would like to embed an IFrame in it. I've found some info on doing it in flex 3 but am hoping for some direction on where to start for flex 4. Any links would be very helpful. Thanks

EDIT: I found this one http://code.google.com/p/flex-iframe/ Which I'll be checking out but I am very open to suggestions and/or warnings!

EDIT2: Sorry, I'm dumb... I meant flex 4!

EDIT3: Seems like the dominant way is to generate an iframe on the page then have the divs make the iframe look like it's part of the flash app.

A: 

From our research it simply isn't possible to literally embed an iframe into a flex app.

Instead we used some javascript to overlay an iframe (actually, a fancybox) precisely where we want over the swf. This gives the user the illusion that the iframe is embedded.

There are actually a few commercial products that do exactly this as well.

Matthew PK